Re: removing file by inode



under SunOS there was a way to delete a file given it's i-node.

Yes and no. You probably mean "clri" which cleared the inode, but did
not "remove the file", i.e. all the entries in directories pointing to
it.

In older Unices there was also "ncheck" to find the filesystem names
for inode numbers.

I cannot find either command in Linux.

.



Relevant Pages

  • [PATCH 2.6.12.3] Deny chmod in /proc/<pid>/
    ... temporarily chmod the entries. ... Since the inodes for these entries are only temporary, ... static int maps_open(struct inode *inode, ... #ifdef CONFIG_AUDITSYSCALL ...
    (Linux-Kernel)
  • Re: Severe VFS Performance Issues 2.6 with > 95000 directory entries
    ... >>how about with ftp running on top? ... use math here to hash and post into the inode. ... (above 50,000 entries). ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • How can i run my application.
    ... directory i found the following entries in ioports. ... 3)par port_pc with inode number - 19076. ... can register a new charecter device with the same ioport address. ...
    (linux.redhat)
  • Re: Linux ISO-9660 Rock Ridge bug needs fix
    ... inode number on two different entries? ... Exactly that's why I'd ignore the on-disk "inode number" and instead use ... Even if there are more holes to be plugged, ...
    (Linux-Kernel)
  • Re: Restoring inode information
    ... that the directory inode whose entries yu are viewing is corrupted ... > I guess the inode information is corrupted. ... > fsck, because I'm afraid it will do more harm then good? ... for certain, and that may or may not be mended by a fsck, but no harm ...
    (comp.os.linux.misc)