Re: unattended reboot/fsck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, March 15, 2005 23:45, Tim Allen said:
> with shutdown -F) but I'd also like to make this fsck not require any
> human intervention.

if it's not "/" what is to be checked, then simply unmount the partition,
or mount it readonly and fsck it while you're logged in. if it is "/" you
can only mount it readonly and try to fsck, but be careful letting fsck
"fix" things to quickly. unmounting is really the better choice.

perhaps you can do some nasty chroot tricks to unmount the "real /" on a
running system, but i've never done that.

another solution: setup a new partition (50M) where you populate a working
"/" directory, reboot with "root=/dev/new_partition", then you can check
the real "/".

Christian.
-- 
make bzImage, not war

_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux