*BSD News Article 21765


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!news
From: andrew@werple.apana.org.au (Andrew Herbert)
Newsgroups: comp.os.386bsd.questions
Subject: Re: what is fs_clean for?
Date: 3 Oct 1993 17:12:56 +1000
Organization: werple public-access unix, Melbourne
Lines: 15
Message-ID: <28lu1o$7av@werple.apana.org.au>
References: <28da76$fhf@acsc.com> <wilko.749384609@spoetnix.idca.tds.philips.nl>
NNTP-Posting-Host: werple.apana.org.au

wilko@idca.tds.philips.nl (Wilko Bulte) writes:

>jerry@acsc.com (Jerry Chen) writes:

>>ufs/fs.h:       char    fs_clean;               /* file system is clean flag */
>>ufs/fs.h:       long    fs_state;               /* validate fs_clean field */

>You're guess is right. SysV uses this since ages (?), so does DEC OSF/1,
>which uses the ufs filesystem. fsck -p checks if the fs is clean, and skips
>it if it is. You need to modify both fsck, (u)mount in the ufs code. I've

I got this happening for NetBSD a couple of weeks ago.  It will be hopefully
going into netbsd-current soonish.

Andrew