home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8310 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.8 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: The Third Degree
  5. Message-ID: <1992Aug14.205408.13958@klaava.Helsinki.FI>
  6. Date: 14 Aug 92 20:54:08 GMT
  7. References: <pz91Ht-g*8@atlantis.psu.edu> <1992Aug13.124939.16680@kth.se> <7gh1Hm#z&8@atlantis.psu.edu>
  8. Organization: University of Helsinki
  9. Lines: 28
  10.  
  11. In article <7gh1Hm#z&8@atlantis.psu.edu> bairstow@copland.psu.edu (Steven Bairstow) writes:
  12. >In article <1992Aug13.124939.16680@kth.se> d88-jwn@blofeld.nada.kth.se (Johan W}hlin) writes:
  13. >>bairstow@copland.psu.edu (Steven Bairstow) writes:
  14. >>: ...
  15. >>:     - Has anyone noticed free inodes being left around? I think 
  16. >>:       halt/shutdown is doing it. (This is what I was trying to figure 
  17. >>:       out when it crashed.)
  18. >>Yes I've been having this problem at least with reboot
  19. >>
  20. >
  21. >Okay, so does anyone know where the code is for these programs so I can take 
  22. >a look at them, or who the author is?
  23.  
  24. I doubt it's either reboot or shutdown that results in the fsck errors:
  25. what you are probably seeing is a normal result of the filesystem setup
  26. under unix.  I assume the problem is that fsck reports "inode XXX marked
  27. in use: no file uses it" and "block XXXX marked in use: no file uses
  28. it". 
  29.  
  30. This can happen if you install a new version of a running program (like
  31. 'init') and reboot.  The old 'init' is removed from the directory tree,
  32. but as it's still in use, neither the inode nor the blocks are actually
  33. reclaimed until the program is exited.  And in many cases (like /bin/sh
  34. or init or update), the program is never exited until the reboot has
  35. happened.  "fsck -a" should clear up the problem - or you should be more
  36. careful when rebooting with "deleted" programs still running. 
  37.  
  38.         Linus
  39.