DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: checkpoint/restart milestone 1


From: weingart@xxxxxxxxxxxxxx (Tobias Weingartner)
Date: 15 Sep 2003 19:38:20 GMT

Matthew Dillon wrote:
> 
>     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).

How to handle this?

 fd = open("/foo", O_CREAT|O_RDWR, 0644);
 unlink("/foo");
 write(fd, buffer, 1024);
 CHECKPOINT

-- 
[100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax



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