lkml.org 
[lkml]   [1998]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: undeletable files in /lost+found
From
Date
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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.048 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site