home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!cass.ma02.bull.com!mips2!bull.bull.fr!julienas!jussieu!card
- From: card@masi.ibp.fr (Remy CARD)
- Newsgroups: comp.os.linux
- Subject: Re: Linux file systems
- Message-ID: <1993Jan22.140840.27156@jussieu.fr>
- Date: 22 Jan 93 14:08:40 GMT
- References: <1993Jan19.195615.29334@sol.ctr.columbia.edu> <JOHNSONM.93Jan19152556@lars.stolaf.edu> <1993Jan20.200917.19049@jussieu.fr> <93021.073006NU013809@NDSUVM1.BITNET>
- Sender: news@jussieu.fr (Le Facteur)
- Organization: Laboratoire MASI - Universite Pierre et Marie Curie - Paris - France
- Lines: 44
- Nntp-Posting-Host: ares.ibp.fr
-
- In article <93021.073006NU013809@NDSUVM1.BITNET> Greg Wettstein <NU013809@NDSUVM1.BITNET> writes:
- >
- > [...]
- >
- >With the filesystems in such a state of flux I was wondering if anyone
- >has given some thought to incorporating a flag into their filesystems to
- >indicate the state of 'shutdown' of the filesystem. I suppose this would
- >be referred to as a filesystem 'dirty' flag for lack of a better word. This
- >may even already exist, although I have found no references to it.
- >
- >The concept behind this is to provide some indication if the filesystem was
- >shut down in an orderly manner, ie sync'ed before the kernel dropped. Having
- >such a capability would allow the development of smart file system checkers
- >which could determine whether or not a filesystem had to be 'cleaned' upon
- >startup.
-
- Ooops !! I had forgotten that in my previous post. This kind of
- feature is already included in nefs : the super block contains a valid flag
- which is cleared when the file is mounted and set to 1 when it is unmounted.
- When checking a fs, nefsck looks at this flag. If it is set to 1, it only
- says that the fs is clean, otherwise it checks the fs. Note that nefsck
- accepts a -f (force) option which allows checking of valid file systems.
-
- >
- > [...]
- >
- > As always,
- > Dr. G.W. Wettstein
- > Oncology Research Division Computing Facility
- > Fargo Clinic / MeritCare
- >
- > UUCP: uunet!plains!wind!greg
- > INTERNET: greg%wind.uucp@plains.nodak.edu
- > Phone: 701-234-2833
- >
- >`The truest mark of a man's wisdom is his ability to listen to other
- > men expound their wisdom.'
-
-
- Remy
- --
-
- Remy Card
- card@masi.ibp.fr
-