home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25062 < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.3 KB  |  27 lines

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