How do I fix a "still dirty" filesystem?

Paul Richards paul at
Mon Oct 25 16:31:00 BST 1999

Jo Root wrote:
> Ah, do I _have_ to be in single user mode to run fsck?

Not necessarily, but the filesystem you're fixing shouldn't be mounted.
Although fsck will run on a mounted filesystem it will always be dirty
and it can potentially cause damage.

> > What was in this "innocent" archive of yours?
> It was the xfmail-1.3.8-1.tgz archive from
> It contains:
> gatehouse# tar zvtf /home/dm/portdists/xfmail-1.3.8-1.tgz
> drwx------ root/root         0 Oct 24 02:56 1999 ./

> (Oh, hang on, should the permissions on '/' be as above?
> That's what mine is now (except root:wheel instead))

No it shouldn't, that's your problem.

chmod 755 /

should fix everything for you.

Paul Richards
Originative Solutions Ltd

More information about the Ukfreebsd mailing list