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