>>>>> "Russell" == Russell Senior <[email protected]> writes:
>>>>> "Robert" == Robert Citek <[email protected]> writes: Robert> Greetings all, For a file that is open, but deleted, is there Robert> a way to create a new filename for it given either the file Robert> descriptor from the process or the inode? Robert> Thus far, my Google searches suggest the answer is "no". But Robert> I find that hard to believe. Russell> Check out debugfs or maybe one of the other tools in Russell> e2fsprogs package. This is assuming the filesystem is an Russell> ext2/3/4. Russell> As long as the process doesn't let go of the inode, the Russell> storage won't be reclaimed. Read the debugfs manpage. Particularly, look for: ln filespec dest_file Create a link named dest_file which is a hard link to filespec. Note this does not adjust the inode reference counts. The 'filespec' would be the inode number, I think. -- Russell Senior, President [email protected] _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
