home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!blaze.cs.jhu.edu!bogstad
- From: bogstad@blaze.cs.jhu.edu (Bill Bogstad)
- Subject: Re: Linux file systems
- Message-ID: <1993Jan22.052102.17563@blaze.cs.jhu.edu>
- Organization: Johns Hopkins Computer Science Department, Baltimore, MD
- References: <JOHNSONM.93Jan19152556@lars.stolaf.edu> <1993Jan20.200917.19049@jussieu.fr> <93021.073006NU013809@NDSUVM1.BITNET>
- Date: Fri, 22 Jan 1993 05:21:02 GMT
- Lines: 16
-
- In article <93021.073006NU013809@NDSUVM1.BITNET> Greg Wettstein <NU013809@NDSUVM1.BITNET> writes:
- >[asks for a filesystem "clean" flag indicating the system was
- > shutdown normally the last time this filesystem was used.]
- >...
- >I would suspect that an ioctl or a kernel call would have to be implemented
- >which when called would mark all mounted filesystems that had this
- >attribute as clean. The reboot/halt/shutdown suites could be modified to
- >sync the kernel, then mark the filesystems and then either halt or reboot.
-
- I think the "umount()" system call should do this. Shutdown already
- umounts() all mounted filesystems so this will work with everything except
- the root filesystem. Personally, I'm not sure it is such a bad idea to
- force a check of the root filesystem anyway. So being unable to use this
- "trick" with the root filesystem might not be such a bad thing.
-
- Bill Bogstad
-