[lug] cruft from an fsck'ed partition

Kevin Fenzi kevin at scrye.com
Thu Jun 21 16:01:11 MDT 2001


>>>>> "Hugh" == Hugh Brown <hugh at vecna.com> writes:

Hugh> The point is that it is no longer a directory.  It has morphed
Hugh> into a block special file.

Hugh> How do I remove a block special file when I am told "permission
Hugh> denied" when I am root?

see if it somehow has the immutable bit set? 

lsattr lost+found

and if it does:

chattr -i lost+found

then you can remove it. 

Otherwise you are down to booting single user and trying to play with
debugfs (I would make sure and have a backup! ;) 

Hugh> Hugh

kevin
-- 
Kevin Fenzi
MTS, tummy.com, ltd.
http://www.tummy.com/  KRUD - Kevin's Red Hat Uber Distribution



More information about the LUG mailing list