Subject: Re: file system not clean
To: Ray Phillips <r.phillips@mailbox.uq.edu.au>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 03/21/2001 09:32:43
On Wed, Mar 21, 2001 at 09:16:34AM +1000, Ray Phillips wrote:
> Manuel:
> 
> >On Tue, Mar 20, 2001 at 12:58:55PM +1000, Ray Phillips wrote:
> >> Dear NetBSD/i386:
> >>
> >> When my PC (which is running NetBSD 1.5) rebooted after a power outage
> >> there was an error message on the console:
> >>
> >> Mounting all filesystems...
> >> /dev/wd0a: file system not clean (fs_flags=8); please fsck(8)
> >
> >What does your /etc/fstab looks like ?
> >fsck shoud be run at beggining of the multiuser startup.
> 
> 
> I've edited my /etc/fstab file.  It contains these lines:
> 
> /dev/wd0a / ffs rw 0 0

This needs to be:
/dev/wd0a / ffs rw 1 1

> /dev/sd0b none swap sw 0 0
> /dev/sd1b none swap sw 0 0
> /kern /kern kernfs rw
> /dev/sd0e /usr ffs rw 1 2
> /dev/sd1e /usr2 ffs rw 1 2
> 
> Does that look reasonable?

Exepct the first line, yes. 
Especially if the last field is 0, fsck will not check it (the 5th field
has the same meaning for dump).

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--