Rebooting

Derek Broughton news at pointerstop.ca
Mon Oct 8 12:54:40 UTC 2007


Wulfy wrote:

> D. Michael McIntyre wrote:
>> On Sunday 07 October 2007, Wulfy wrote:
>>   
>>> That's what I thought.  I know that fsck-ing a live partition is death
>>> to the file system and I couldn't see any way to remount everything read
>>> only...
>>>     
>>
>> There *is* a way.  Something with -o remount ro or something, but I've
>> sat down with man mount and played, and never quite hit on the magic
>> words to
>> actually get it to happen.  The syntax is pretty obtuse, and the
>> documentation not exactly enlightening.  I've never been determined
>> enough to plug away at the problem hard enough to solve it.
>>   
> Aye.  Seems like a lot of messing around and a lot slower than rebooting.

And it isn't really possible, anyway.  You could remount /, /boot and /usr
read-only without making it impossible to run the system, but you have to
be able to write to /tmp, /home and /var.
> 
>>> So.  I need to reboot to fsck...  how often?

That's very much dependent on the filesystem.  iirc, only ext2/ext3 actually
have this "every n mounts" concept.  
>>   
> Thanks for the pointers, Michael!  I'll take a look at tune2fs...  :@)
 
You want the -c option, which sets the number of reboots between fscks.
-- 
derek





More information about the kubuntu-users mailing list