file system check on boot

Florian Diesch diesch at spamfence.net
Mon Nov 13 18:31:12 UTC 2006


Duncan Lithgow <duncan at lithgow-schmidt.dk> wrote:

> On Thu, 2006-11-09 at 22:18 +0100, Florian Diesch wrote:
>
>> 
>> If the last field in this partition's entry in /etc/fstab is 0  (or
>> doesn't exist) this partition will never checked at boot time.
> Any idea how I can make it check every x reboots? I restart my laptop
> all the time - so it's annoying waiting every time.

For ext2/ext3 partitions you can set the maximal mount count using 
 tune2fs -c
If you like time based checks instead use
 tune2fs -i

See the manpage of tune2fs for details.


   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list