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.
----------------
Warren Melnick
Director of Research and Development
Astata Corporation
-----Original Message-----
From: W. Wade, Hampton IV [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 11:05 PM
To: Redhat List redhat
Subject: files I can't delete on ext2
Greetings.
I had some problems with shutting down my RH 7.0 box (2.4.0) and had to
hit
the reset button. I then tried booting to 2.4.2 which I had just
installed. However,
I got a lot of disk errors and the sizes on quite a few files were
changed to 104.
A second hard reboot and startup of 2.4.0, a single user fsck of all
partitions
and reboot seemed to make all well, however a couple of files are messed
up,
/bin/hostname and /dev/dsp.
I can't move, delete, or do anything with these files. I tried chattr,
touch, etc.
and the only thing I can do is change the access date with touch.
b--sr-s--t 1 1769209956 1852796526 116, 101 May 29 2023
/binold/hostname
prwxr-x--T 1 2232483836 2312881283 0 Mar 1 22:41 /dev/dsp
I recovered /bin by copying /bin/* to /binnew, moving /bin to /binold,
then
moving /binnew to /bin. I then recovered /bin/hostname from the RPM
file,
but now I can't do anything with /binold/hostname....
I tried chattr, chmod, chgrp, mv, cat, vi, touch, etc.
Does anyone have any ideas. I can live with one messed up file in
/binold,
but I can't live with a messed up /dev/dsp. I really don't want the
Microsoft
solution (reload)....
Any help would be MOST appreciated!
--
Wade Hampton
_______________________________________________
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