Auto-mounting ext2 slices

Kris Kennaway kris at
Sun Apr 25 17:28:57 PDT 2004

On Mon, Apr 26, 2004 at 01:25:35AM +0100, andy_park at wrote:
> Hi, I have recently installed FreeBSD 4.9 on my fileserver to replace 
> RH9, and have put my ext2 slice in /etc/fstab so they mount on bootup. 
> The entry on /etc/fstab is as follows:
> /dev/ad1s5              /mnt/data2      ext2fs  rw              0       
> 2
> However I recently experienced a blackout, and on the next boot, ext2 
> slice, marked 'dirty', wasn't fsck'ed automatically, preventing the 
> normal boot process from finishing. Is this normal behaviour? If so, 
> how would one set up an ext2 slice to auto-mount on bootup, and fsck 
> itself if marked dirty so it continues to mount as rw?

You need to have fsck_ext2fs installed.  This is included in the
e2fsprogs port.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list