Re: undeletable files in /lost+found

Anthony Barbachan (barbacha@trill.cis.fordham.edu)
Sat, 20 Jun 1998 21:30:43 -0400


Try rm -r first. If that doesn't work you can unlink the directories.
Remember to run fsck after if you unlink.

-----Original Message-----
From: Pierfrancesco Caci <ik5pvx@penny.ik5pvx.ampr.org>
To: linux-kernel@vger.rutgers.edu <linux-kernel@vger.rutgers.edu>
Date: Saturday, June 20, 1998 2:41 PM
Subject: Re: undeletable files in /lost+found

>Joseph Skinner <joe@snail.earthlight.co.nz> writes:
>
>>
>> Thank for all the suggestions.
>>
>> The rm command from debugfs seems to have done the job [fingers
>> crossed].
>>
>> For those interested in the gory details I used the -f switch with all
>> the commands stored in a file to save time ie.
>>
>> debugfs -w -f commandfile /dev/hda2
>>
>> Where commandfile contained
>>
>> cd /lost+found
>> rm filename
>> ...
>> close
>> quit
>>
>>
>
>Ok, does someone know how to get rid of these:
>
>root@penny:/home/lost+found # ls -lasR
>total 75
> 10 drwxrwxr-x 3 jnos staff 10240 Dec 24 19:48 #101601
> 2 drwxrwxr-x 3 ik5pvx staff 2048 Dec 24 19:48 #34548
> 62 drwxrwxr-x 4 root root 62464 Jun 7 18:33 .
> 1 drwxrwxr-x 8 root root 1024 Dec 13 1997 ..
>
>#101601:
>total 82
> 10 drwxrwxr-x 3 jnos staff 10240 Dec 24 19:48 .
> 10 drwxrwxr-x 3 jnos staff 10240 Dec 24 19:48 .
> 62 drwxrwxr-x 4 root root 62464 Jun 7 18:33 ..
>
>#34548:
>total 126
> 2 drwxrwxr-x 3 ik5pvx staff 2048 Dec 24 19:48 .
> 62 drwxrwxr-x 4 root root 62464 Jun 7 18:33 ..
> 62 drwxrwxr-x 4 root root 62464 Jun 7 18:33 ..
>root@penny:/home/lost+found #
>
>
>the double "." and ".." entries prevent the directory to be deleted.
>
>Pf
>
>--
>
>---------------------------------------------------------------------------
----
> Pierfrancesco Caci | mailto:ik5pvx@infogroup.it -
http://gusp.infogroup.it
> ik5pvx | http://www.geocities.com/SoHo/Lofts/8999
> Firenze - Italia | Office for the Complication of Otherwise Simple
Affairs
> Linux penny 2.1.106 #8 Fri Jun 19 19:53:23 CEST 1998 i586 unknown
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.rutgers.edu
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu