Article View: news.software.nntp
Article #5263Re: Unknown files in /var/spool/news/lost+found
From: Christopher J. Wargaski
Date: Mon, 26 Feb 1996 00:00
Date: Mon, 26 Feb 1996 00:00
37 lines
1903 bytes
1903 bytes
Jerry L. M. Phillips, M.S. (jerry@troi.evms.edu) wrote: : I discovered dozens of files in /var/spool/news/lost+found labeled in : the format #nnnnn, e.g., #56182. Does anyone know what to do with : these? These files are produced by fsck. These are once orphaned files or directories that were allocated but unreferenced by running fsck. You probably should not spend any time trying to recover them, as it would be pretty difficult, and news articles/files are not *that* important. You should just remove them. : The rm command evidently cannot delete a file that begins with : the # symbol. Please help. Actually, rm can do more than you think. ;-) You probably are using the Bourne shell, which likes to think that # is a special character. You can to a few things: 1) rm \#12345 (escape the # character) 2) rm *[0-9]* (removes all files with a number in the filename which has something besides a number to the left and the right of it.) 3) Try using csh instead of sh $ csh % rm #12345 Get to know the Bourne shell, and fsck, they are standard parts to any and all UNIX systems. cjw Christopher Wargaski -- Network Services -- cjw@is.rpslmc.edu Rush-Presbyterian-St. Luke's Medical Center -- Chicago, Illinois
Technical Details
Message-ID:
<4grha6$n7l@cwis.campus.rpslmc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<312DCCC8.773E@troi.evms.edu>Show Full Headers
Complete Article Headers
Message-ID: <4grha6$n7l@cwis.campus.rpslmc.edu> Subject: Re: Unknown files in /var/spool/news/lost+found Date: Mon, 26 Feb 1996 00:00:00 +0000 From: cjw@is.rpslmc.edu (Christopher J. Wargaski) References: <312DCCC8.773E@troi.evms.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 141152995 Distribution: inet Organization: Rush-Presbyterian-St. Luke's Medical Center Newsgroups: news.software.nntp