Logging fsck at boot
T. Horsnell
tsh at mrc-lmb.cam.ac.uk
Tue Nov 14 17:10:13 UTC 2006
>> On Tue, 2006-11-14 at 12:31 -0200, Clodoaldo Pinto Neto wrote:
>> > I want to run fsck at boot and have it logged.
>>
>> Surely you'd need another drive on your system to do that. You couldn't
>> log to the same partition that you're fscking. Yes, you could log to
>> another partition, type of file system problem notwithstanding. But if
>> your /var partition was the one being fscked, you're in a bit of bother.
>
>Ok. Can I make shutdown -F -r tell fsck to correct eventual problems
>like in e2fsck -f -y ?
>
Looking at /etc/rc.sysinit, it would seem that you can specify
some fsck options in a file called /fsckoptions. If that file exists,
then the options in it are applied to the boot-time fsck.
Cheers,
Terry.
More information about the fedora-list
mailing list