🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #810

Bug in rm?

#810
From: Laurent Amon
Date: Mon, 31 Aug 1992 07:42
20 lines
1386 bytes
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)
Technical Details
Message-ID: <1992Aug31.074255.3821@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!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