aparicio
May 8th, 2008, 05:39 AM
Hello
I know how to create a file with an inode the same as another file's inode. This is done simply by ln TARGET LINK
But is there a way to create a file pointing to an inode that I specify by hand? For instance, suppose that I know a certain file's inode and write it down, then I rm the file. The inode now has no files pointing to it, so is there a command to create a file pointing to that inode that I still know?
Thank you
I know how to create a file with an inode the same as another file's inode. This is done simply by ln TARGET LINK
But is there a way to create a file pointing to an inode that I specify by hand? For instance, suppose that I know a certain file's inode and write it down, then I rm the file. The inode now has no files pointing to it, so is there a command to create a file pointing to that inode that I still know?
Thank you