checkpoint/restart milestone 1

Matthew Dillon dillon at apollo.backplane.com
Mon Sep 15 01:12:34 PDT 2003


:Actually, that ties into the one open question for me:
:Given the file descriptor table, how do I map files/vnodes back to
:the absolute path of the file that they reference?
:
:If anyone knows off hand how to do it, or that it can't be done,
:please chime in. You'll save me at least an hour of mucking around.
:
:>     Anyway, this sounds ilke a really good idea!  :-)
:> 
:
:Thanks.
:
:				-Kip

    This will be possible after my namecache changes, but even with that
    ability you will still need to record the inode number and filesystem
    device as a validator.  For now the inode number & filesystem device
    (as returned by fstat) should have enough info for a primitive file
    reattachment even though you might have to search a filesytem mount
    to locate the file(s).

						-Matt






More information about the Kernel mailing list