Article View: linux.redhat.install
Article #44Re: Removing files from /lost+found
From: Phil Reardon
Date: Mon, 25 May 1998 00:00
Date: Mon, 25 May 1998 00:00
56 lines
3505 bytes
3505 bytes
I wonder, would it be dangerous to do rm -r lost+found from / as root, then
mkdir lost+found?
david Bowie wrote:
> Listed below are a selection of files stubbornly residing in
> /lost+found. I've managed to remove most of
> them but still over 1000 remain.
>
> The remaining files do not respond to rm '#1234'. Sometimes I may be
> prompted with 'Overiding mode 2152? or 3750?' but I am then informed
> 'rm: #1234: Operation not permitted.'.
>
> I've even tried the following code (dredged from a french newsgroup,
> although I can't read French):
> #include <uninstd.h>
> main (){
> unlink ("/lost+found/#1234");
> }
>
> Chattr -i was something else someone suggested, but doesn't work.
>
> After trawling through all the news groups, I'm at an end.
>
> Any solutions gratefully accepted.
>
> The real problem (why does this keep happening every two weeks) also
> remains a mystery.
>
> Cheers,
>
> David.
>
> ------------------------------------------------------------------------
> p--xr-s-w- 1 362 15336 0 Jun 5 2031 #167064
> srwxr-s--T 1 13600 32131 2428750080 Jan 8 1968 #167095
> br-xr-xrw- 1 25965 25441 101, 115 Mar 24 1987 #167209
> br-sr-xr-x 1 8713 13362 9, 47 Apr 12 13:07 #167227
> br-xrwS-w- 1 8307 26990 32, 115 Apr 4 1987 #167241
> br-xr-xrw- 1 25965 25441 101, 115 Mar 24 1987 #167249
> c--xr-xrw- 1 30309 29254 110, 117 Apr 8 1987 #167265
> c--xrw--wx 1 26743 26980 114, 101 Sep 17 2028 #167266
> b--srw-r-- 1 8293 26996 101, 104 Feb 27 2029 #167267
> c--xr--r-x 1 30055 2675 104, 116 Mar 31 1987 #167268
> c--x-w--w- 1 20291 20302 69, 82 Jul 24 1994 #167274
> b--sr-S--t 1 8308 25972 32, 101 Mar 24 1987 #167280
> br--r----T 1 28257 28257 116, 32 Sep 6 2028 #167281
> c--xr-x--- 1 26740 25441 111, 116 Apr 4 1987 #167282
> br-xr--rw- 1 29801 29545 117, 116 Mar 23 2029 #167314
> br-srwSr-x 1 30063 8238 101, 116 Oct 26 2030 #167315
> pr-srw-r-- 1 26710 30144 0 Dec 18 1969 #167397
> srwsrwxrwx 1 37059 21334 1793427797 Nov 12 1910 #167401
> prw-rwxrwT 1 4587 2181 0 Dec 12 1934 #167410
> s-w---S-wx 1 34056 63619 2340320731 Jan 27 2032 #167434
> s-w---S-wx 1 36876 17805 40371050 Oct 15 1976 #167444
Technical Details
Message-ID:
<356979C6.1CF5FD7@pcrt.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3563CE81.56C6EFF1@turing.une.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd6c,1ad5fe5d5ea6b45c X-Google-Attributes: gidfcd6c,public X-Google-Thread: 111240,1ad5fe5d5ea6b45c X-Google-Attributes: gid111240,public X-Google-Thread: 15ee82,1ad5fe5d5ea6b45c X-Google-Attributes: gid15ee82,public X-Google-Thread: fe2cf,1ad5fe5d5ea6b45c X-Google-Attributes: gidfe2cf,public X-Google-Thread: faa64,1ad5fe5d5ea6b45c X-Google-Attributes: gidfaa64,public X-Google-Thread: 1103af,1ad5fe5d5ea6b45c X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,1ad5fe5d5ea6b45c X-Google-Attributes: gid102983,public From: Phil Reardon <pcr@pcrt.com> Subject: Re: Removing files from /lost+found Date: 1998/05/25 Message-ID: <356979C6.1CF5FD7@pcrt.com> X-Deja-AN: 356333429 Content-Transfer-Encoding: 7bit References: <3563CE81.56C6EFF1@turing.une.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: New Mexico Internet Access Newsgroups: linux.redhat.install,alt.lnux,alt.os.linux,aus.computers.linux,comp.os.linux.misc,linux.redhat,linux.redhat.misc