It is currently Tue, 07 Dec 2021 02:11:44 GMT



 
Author Message
 how to rm somthing strange?

i have some strange in my lost+found fold,  "?--xrwS-wT #17791" . I can
not rm them. rm gave a " operation not permittd, when i tried "rm -f" as
root.  can anyone give a idea to take out this file?
thnaks.



 Fri, 13 Oct 2000 03:00:00 GMT   
 how to rm somthing strange?

You may not be able to remove it without playing debugfs games.  Better to
just leave it there and ignore it for the moment....



 Sun, 15 Oct 2000 03:00:00 GMT   
 how to rm somthing strange?

-=>i have some strange in my lost+found fold,  "?--xrwS-wT #17791" . I can
-=>not rm them. rm gave a " operation not permittd, when i tried "rm -f" as
-=>root.  can anyone give a idea to take out this file?
-=>thnaks.
-=>
        Dunno if this will work for you, but I had a 32 meg file on my
root dir called "-M2" that I couldn't delete. (Stupid redirection on my
part). rm I guess thought it was an option, not a file. I just simply
cd'ed to /tmp, and typed "rm -f /-M2".

HtH

=[ Chris xt...@ot.com ]=
Linux: Because a Pc is a terrible thing to waste.
j00 g0t n0 lubbin' f0 my chia?



 Sun, 15 Oct 2000 03:00:00 GMT   
 how to rm somthing strange?

In article <3544F9E4.493AD...@sas.upenn.edu>,

"rm ./?--xrwS-wT #17791"
    ^^
Including the preceding "./" is the trick.

--
  jk...@klis.com   Jack Kern   Yarmouth, Nova Scotia   Debian GNU/Linux i386



 Sun, 15 Oct 2000 03:00:00 GMT   
 how to rm somthing strange?

Note: E-mailed *and* posted.

In article <3544F9E4.493AD...@sas.upenn.edu>,
:i have some strange in my lost+found fold,  "?--xrwS-wT #17791" . I can
:not rm them. rm gave a " operation not permittd, when i tried "rm -f" as
:root.

The inode has been overwritten with garbage.  When you try to remove the
last link, the kernel has no idea how to clean up the mess so it
refuses.  You'll have to run 'debugfs' and use the "clri" command to
zero out the inode.  Then run "e2fsck -f" to clean up any minor
filesystem inconsistancy that results.  Be sure the file system is
unmounted or mounted read-only when you do all this.

--
Bob Nichols         rnich...@interaccess.com
Finger rnich...@cluster.interaccess.com for PGP public key.
PGP public key 1024/9A9C7955
Key fingerprint = 2F E5 82 F8 5D 06 A2 59  20 65 44 68 87 EC A7 D7



 Mon, 16 Oct 2000 03:00:00 GMT   
 
   [ 5 post ] 

Similar Threads

1. who command returns somthing strange

2. rm strange filenames - solution using find

3. chmod/rm strange behaviour

4. strange rm behavior

5. rm command needs rm -r on RedHat

6. (sol8 (intel))alias rm to rm -i in ksh88

7. rm won't rm

8. find rm {} vs. rm -r

9. Ooops i miss somthing..

10. How to link somthing static?


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software