DragonFly kernel List (threaded) for 2003-09
Re: checkpoint/restart milestone 1
: fd = open("/foo", O_CREAT|O_RDWR, 0644);
: write(fd, buffer, 1024);
# restart program
Program failed to restart, the file associated with descriptor 3
inode 23434 was deleted. You can still restart the program by
specifying a file for this descriptor or you can give up.
Have a nice day!
In otherwords, the idea behind the checkpointing is to try to cover as
many situations as possible, but one still needs to be running reasonably
well behaved code for it to work. We might, one day, provide
persistent filesystem functionality (say, by bumping the inode's link
count) but it would be unreasonable to try to do something that
sophisticated in step #1.