Deleting garbage file names
Chris Tresco
rardoe at rarcom.com
Wed May 29 22:32:38 EDT 2002
Sounds like you use reiser... but if it is ext2, you could use debugfs to do
stuff like that.
Chris
> -----Original Message-----
> From: discuss-admin at blu.org [mailto:discuss-admin at blu.org]On Behalf Of
> Jerry Feldman
> Sent: Wednesday, May 29, 2002 10:19 PM
> To: discuss at blu.org
> Subject: Deleting garbage file names
>
>
> Somehow, one of my directories got corrupted, specifically
> /lib/modules.2.2.4-16/kernel/drivers/usb/serial. This was effectively
> preventing me from starting pcmcia. Once I figured out why pcmcia was
> failing, I created a new serial directory, moved in the file names that I
> could read. However, I could not get the rm command to remove the
> directory
> with -rf --directory --force, or whatever.
>
> Years ago on Unix, I used to have a way to delete files by use of
> the inode
> number, but I have since forgotten how.
> What I want to do it to blow the directory away even if it is non-empty,
> and let fsck reconnect the 2 or 3 files in the directory,
>
> The other question is when I do a reiserfsck with --check, fsck
> does report
> some corruption and recommends using the --rebuld-tree option,
> but this is
> on the root file system, and it refuses to run with this option on a
> mounted files system. I could boot from CD Rom except the CD-ROM on my
> laptop likes to disappear each summer (Which I recently tracked down to a
> loose cable).
> --
> Jerry Feldman <gaf at blu.org>
> Boston Linux and Unix user group
> http://www.blu.org PGP key id:C5061EA9
> PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
>
>
More information about the Discuss
mailing list