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

Re: Running fsck automatically on boot



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6-12-2009 21:37, Sergio Padrino wrote:
> 
> Hi!
> 
> I have Debian Unstable and sometimes there are some (typical) errors in my
> partitions:
> 
> /dev/sda7: Superblock last mount time is in the future
> /dev/sda7: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY 
> 
> and I was wondering if there is a way to let fsck to run automatically in
> these cases. I have no problem with this (although it's kind of annoying :P)
> but my sister has no computer knowledge so it's hard for her to check her
> partitions :S
> 
> Thank you in advance!


You can use the sixth field in /etc/fstab. Give the partition a non-zero
value, and it will be (periodically) checked during boot. See `man
fstab` for more information.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkscGWcACgkQkPq5zKsAFijVuQCeP+2WMmaUODnUfOZERNk9/VnA
dgYAn3WcXx1Ue1/mo3qnlJcIftovswyH
=nUnm
-----END PGP SIGNATURE-----


Reply to: