file handles in checkpt and sys_checkpoint

_why why at ruby-lang.org
Fri Jun 29 14:28:28 PDT 2007


Hi, friends.  I love DragonFly, I do.  Well done.  Question about
checkpointing.

There's a bit of a catch-22 when using sys_checkpoint().  The file
descriptor which is passed into sys_checkpoint is serialized along
with everything else.  So, when I go to resume, I have to be sure
the file resides at the same path where it was created.

This poses a problem for compressing the file, which I had been
hoping to do.  Any one know of a way to keep the fd from being
serialized?  The only way I can think of to get around this is to
alter elf_getfiles in the kernel to ignore files which can't be
reloaded.

_why





More information about the Users mailing list