I've seen several reports about files with null names - they evidently
arise through some bad interaction between PCs running
/) in their
They came via NFS from Macintoshes.
The method below should help with them. -JP]
For lots of reasons, it's virtually impossible to delete a
null-named file. The following technique has been recommended:
Use ls -ailF to find out theof the directory with the null filename.
Become superuser and dismount the filesystem that contains the directory with the null filename.
Use the command
filesystem inode to "clear" the
directory's inode, where
inode is the inode number of
the directory that contains the null filename and
the name of the filesystem that contains this directory.
Run fsck, and let it repair the damage.
|23.12 Using Wildcards to Delete Files with Strange Names||23.14 Handling a Filename Starting with a Dash (-)|