Re: oddlu corrupted file during slink upgrade
On Sun, Jan 17, 1999 at 11:39:39PM -0500, Brandon Mitchell spewed forth:
> > gusgus:~ # ls -l /usr/man/man2/iopl.2.gz
> > prw--ws--- 1 505 38296 0 Jan 2 1970 /usr/man/man2/iopl.2.gz
> >
> > And I can't delete it
>
> This looks familiar. I'd suggest:
> 1) e2fsck -cf /dev/hd?
Haven't run 'fsck -cf', but badblocks does run clean on the partition,
as does 'fsck -f'.
> 2) try to move the file
gusgus:/usr/man/man2 # mv iopl.2.gz /tmp
mv: cannot move `iopl.2.gz' to `/tmp/iopl.2.gz': Operation not permitted
> 3) make a ramdisk, move the file to the ramdisk, reboot (I get a sneaky
> and devilish feeling doing that)
gusgus:/usr/man/man2 # df /mnt
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/ram0 3963 13 3746 0% /mnt
gusgus:/usr/man/man2 # mv iopl.2.gz /mnt
mv: cannot move `iopl.2.gz' across filesystems: Not a regular file
> 4) probably the one you will hear the most: debugfs
This, however, worked.
Thanks!
PeeWee
--
email: peewee@scc.mi.org - useless: http://www.scc.mi.org/peewee/ - efnet: Pwe
"Bad signs are everywhere coach. I tend to ignore them" The Era of Big Numbers
Reply to: