From: muts@compi.hobby.nl (Peter Mutsaers) Subject: Re: What's the FASTEST FS? Date: Sat, 14 Aug 1993 17:32:18 GMT
>> On Fri, 13 Aug 1993 02:15:49 GMT, dfox@hip-hop.suvl.ca.us (David
>> Fox) said:
DF> One thing I would like to see in SLS is a real etc/rc startup
DF> procedure that runs e2fsck upon boot, and if the file system
DF> gets modified by it, reboot.
This is included in the bootutils package. It looks about like this:
(fsck -A looks in /etc/fstab what type the filesystem is and wether to
run e2fsck, xfsck etc.)
# Check the integrity of all filesystems
/etc/fsck -A -a
# If there was a failure, drop into single-user mode.
if [ $? -gt 1 ] ; then
echo fsck failed. Please reboot.
sh
fi
-- _____________________________________________ Peter Mutsaers, Bunnik (Ut), the Netherlands.