Go where all this is happening and try "ls -b". This will list what is in the directory printing the octal for any nongraphic characters used in the file names. This may give a clue as to what has happened to the directory and / or anything that might be in it. Also, the file keeping the directory from being removed could be an open file that is being created and has never been closed. From root, try lsof and look for the directory in the list of currently open files. You might have to get rid of a task before being able to remove the directory. ---- Robert P. Nix internet: nix.robert@xxxxxxxx Mayo Clinic phone: 507-284-0844 RO-CE-8-857 page: 507-270-1182 200 First St. SW Rochester, MN 55905 ---- "Codito, Ergo Sum" "In theory, theory and practice are the same, but in practice, theory and practice are different." > -----Original Message----- > From: Alexander Dalloz [SMTP:alexander.dalloz@xxxxxxxxxxxxxxxx] > Sent: Monday, January 05, 2004 1:28 PM > To: fedora-list@xxxxxxxxxx > Subject: Re: How to kill a dir? > > Am Mo, den 05.01.2004 schrieb WipeOut um 20:10: > > Gerry Maddock wrote: > > > > >If that doesn't work try: > > >chattr -R -i test/;rm rf test/ > > > > > > > > > > > > > > > > Got the following output.. > > > > [root@dev02 i386]# chattr -R -i test/;rm -rf test/ > > chattr: Too many open files while reading flags on > > test/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////! //! > //! > > ///////////////////////////////////// > > rm: cannot remove directory `test/': Directory not empty > > God, what the hell did you do with that test directory? > > find test -name "*" print0 | xargs -0 \ > chattr -i > chattr -i test; rm -rf test > > \ means no break but wrapped single line > > Alexander > > > -- > Alexander Dalloz | Enger, Germany > PGP key valid: made 13.07.1999 > PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653 > > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list