home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!rpi!ghost.dsi.unimi.it!insa-lyon.fr!univ-lyon1.fr!frmop11!psuvm!cunyvm!ndsuvm1!nu013809
- Organization: North Dakota Higher Education Computer Network
- Date: Thu, 21 Jan 1993 07:30:06 CST
- From: Greg Wettstein <NU013809@NDSUVM1.BITNET>
- Message-ID: <93021.073006NU013809@NDSUVM1.BITNET>
- Newsgroups: comp.os.linux
- Subject: Re: Linux file systems
- References: <1993Jan19.195615.29334@sol.ctr.columbia.edu>
- <JOHNSONM.93Jan19152556@lars.stolaf.edu> <1993Jan20.200917.19049@jussieu.fr>
- Lines: 47
-
- I just wanted to offer a couple of comments. First a note of thanks to
- Remy for supplying us with the original enhanced file system and for the
- upcoming enhanced-enhanced :-) file system. I also applaud him for his
- position on hoping that all filesystem maintainers/creators learn from
- each others endeavors. Linux has profited much from previous associations
- of this kind.
-
- 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.
-
- 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.
-
- The first thing the configuration scripts would do would be to call the
- file system checking programs which would in turn check the devices
- status to determine whether or not there was the potential of a damaging
- shutdown.
-
- If I am overlooking something that already exists I would appreciate a
- pointer on implementing this. I am re-writing our network's configuration
- scripts and would like to include this functionality so that reboots will
- be handled in an elegant fashion. Similar functionality can be kludged
- via invisible files and the like but a kernel/filesystem based approach
- has the flavor of a cleaner implementation. Comments, suggestions??
-
- 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.'
-