fsck with noauto

Jorge Almeida jjalmeida at gmail.com
Sat Feb 26 13:44:28 PST 2011


On Sat, Feb 26, 2011 at 6:40 PM, David A. Bandel <david.bandel at gmail.com> wrote:

>
>>
>> And how about the options of e2fsck, like -c? It doesn't seem to be
>> called by -a, judging by the man page.
>>
>> Also, how does the 30 mounts/180 days stuff enter the picture? The man
>> page doesn't mention it. Maybe something in the init scripts takes
>> care of it?
>
> that's because it's written in the disk metadata -- changed by
> tune2fs.  The disk knows how many times it's been mounted and when the
> last fsck was performed.  It also is the location of the "dirty bit"
> that tells the system if the filesystem wasn't cleanly unmounted.
>
>>
OK, I think I got it, more or less. fsck checks the metadata and only
does a real checking if number of mounts or days have passed, unless
option -f is passed. I was under the impression that it would do the
checking always when run manually.  I suppose the -c option is not
usually needed...

Thanks

Jorge




More information about the Linux-users mailing list