Re: Switched from ext2 to ext3...no fsck needed after crash?
On Sat, Apr 26, 2003 at 02:13:31PM -0400, Kevin McKinley wrote:
> On Sat, 26 Apr 2003 09:46:49 -0700
> Paul Johnson <baloo@ursine.dyndns.org> wrote:
>
> > The system will periodically fsck at mount when it hits so many days
> > without checking (usually around a month) or after so many remounts,
> > even on normal boots. This is normal, even journaled filesystems need
> > to be checked for consistancy over time.
>
> This happens for the root filesystem. Do you know how to make it happen
> automagically for other filesystems (such as /home)?
Enter a value of 2 in the pass field in /etc/fstab... like for /dev/hda4 in
this example:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda3 / ext2 errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
/dev/hda4 /usr ext2 defaults 0 2
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
Pigeon
Reply to: