There is something else you can do, but it's rather radical.  Overwrite the
entries directly in the directory table.  You would have to write a program
to do it, but it should solve the problem.

----------------
Warren Melnick
Director of Research and Development
Astata Corporation




-----Original Message-----
From: Wade Hampton [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 12:28 PM
To: Redhat List redhat
Subject: RE: files I can't delete on ext2


Thanks.  I figured there was at least SOMETHING to
try short of rebuilding the filesystem.   I'll try 
it tonight or this weekend (system is at home).

BTW, I had one other idea.  Boot in recovery mode,
  mv /mnt/dev /mnt/dev_old
  mkdir /dev
  <fix permissions>
  <create bare minimum number of devices for boot>
  <or copy from /dev_old>
  reboot

Then I'll just have 2 messed up files that I can't 
delete, but at least a working system.  

Of course, I may be best off back up my /, /root,
and /boot directories and reloading RH 7.0 (i.e.,
the Microsoft solution).

> Did you try doing a full fsck on boot?  It should catch a screwup
> of that magnitude.
>
>   shutdown -F now

the -F will force an fsck on reboot.
-- 
W. Wade, Hampton  <[EMAIL PROTECTED]>  
If Microsoft Built Cars:  Every time they repainted the 
lines on the road, you'd have to buy a new car.
Occasionally your car would just die for no reason, and 
you'd have to restart it, but you'd just accept this.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to