DragonFly users List (threaded) for 2007-06
DragonFly BSD
DragonFly users List (threaded) for 2007-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

file handles in checkpt and sys_checkpoint


From: _why <why@xxxxxxxxxxxxx>
Date: Fri, 29 Jun 2007 16:27:48 -0500

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]