Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#251780 - 16/03/2005 09:50 fsck via telnet?
ngchol
stranger

Registered: 04/09/2001
Posts: 78
I've just had a connection drop during a wireless sync, and the only laptop in the house at the moment has no serial port... am I doomed to "Checking Disk Integrity" every time I sync until I get hold of a PC with a serial port, or is there another way of doing

ro
umount /dev/hda4
swapon /swapfile
fsck -fay /
fsck -fay /dev/hda4
swapoff /swapfile
sync

without using a serial cable?

Top
#251781 - 16/03/2005 11:26 Re: fsck via telnet? [Re: ngchol]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
In theory, you could probably put the disk check commands together as a script file, ftp the script file to the server and modify (ftp upload or emplode) the config.ini to include an @exec-once. You will need to remember to clean up when you are done, otherwise you will again be doomed to disk checks at every boot...

Of course, you might be able to execute a shell from FTP, but I have not tried it yet...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#251782 - 16/03/2005 11:35 Re: fsck via telnet? [Re: pgrzelak]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
The shell-over-FTP idea won't work.

But the script might work. It can be run directly from within FTP:

SITE EXEC scriptname

Haven't tried it, though. I suspect the player binary might get in the way (again! -- gotta fix that).

Cheers

Top
#251783 - 21/03/2005 02:37 Re: fsck via telnet? [Re: pgrzelak]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
why not use @EXEC_MENU and have it on command?

Top