DragonFly kernel List (threaded) for 2003-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: checkpoint/restart milestone 1
: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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]