(Summary) removing 1 of 2 files with same name, diff inode number, same dir

From: Paul (unix@bikesn4x4s.com)
Date: Wed Feb 04 2004 - 12:26:49 EST


> We have 2 files with the same name in same dir. We see it has 2 seperate
> inode numbers. I was thinking that there is a file system corruption and
> the disk may need an "fschck". It won't let me delete by inode number,
> says "file not found". Would be great if we can correct this when it's
> up. What's the best way? Thanks.
>

OK, this did it:

find . -inum 1234 | xargs rm
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:58 EDT