home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / sysadmin / 4943 < prev    next >
Encoding:
Text File  |  1992-08-30  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!news
  3. From: lga@sandman.stanford.edu (Laurent Amon)
  4. Subject: Bug in rm?
  5. Message-ID: <1992Aug31.074255.3821@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Reply-To: amon@cs.stanford.edu
  8. Organization: DSO, Stanford University
  9. Date: Mon, 31 Aug 92 07:42:55 GMT
  10. Lines: 20
  11.  
  12.  
  13. OK, I use a perl script that daily backs up the user directories to my
  14. (small) internal drive. It uses zip. Yesterday, one of the user directories 
  15. was so large that the zip temporary file filled up the disk. And I mean
  16. filled up completely, since it was running as root, it completely ate
  17. the reserved space. Zip exited with an error and left a temporary file 
  18. lying around. 
  19.  
  20. So I rm'ed it. It removed the directory entry but did not unlink it. It left an  
  21. unreferenced inode in the table, and I had to fsck to get back my disk space.
  22.  
  23. My guess is that rm fails if the free list pointer is null. Did anybody else  
  24. have that problem? Can somebody corroborate?
  25.  
  26. Lga.
  27. ---
  28.                                        |"I don't know what it's called, but
  29. Laurent Amon                           | we're doing one about going to see 
  30.        e-mail: amon@cs.stanford.edu    | a wizard. Something about following
  31.            lga@sandman.stanford.edu    | a yellow sick toad. (Moving Pictures)
  32.