Subject: Re: fsck
To: =?iso-8859-1?Q?M=FCller=2C?= Markus <Markus.Mueller@itworks-gmbh.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 04/27/2002 11:48:08
On Fri, Apr 26, 2002 at 11:41:14AM +0200, "Müller, Markus" wrote:
> hi all,
> 
> rookie question again...
> 
> 
> dmesg tells me that:
> 
> /dev/wd1a: file system not clean (fs_flags=4); please fsck(8)
> 
> 
> I never had to use fsck so I just want to know what exactly is it doing,
> how do I use it properly and could there be any serious problems - the data 
> on that disk are *crucial* for our work here (yes, we do have backups...). 

What does your fstab look like ?
The last field of the fstab line should be > 0, to tell the system to run
fsck on this partition a boot if needed.

fsck is a file system checker, which checks that the filesystem is in a
consistent state after an unclean shutdown (it checks for things like
unconnected files, unused blocks or inode not on the free lists, etc ...)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--