On Tue, Mar 04, 2003 at 09:48:14AM -0600, GeckoX wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I like this solution. It allows the most flexibility. > > Regarding the files that will remain in store/temp when tempInStore is off, > are they deleted immediately when the > file is committed to the datastore or will the dir grow until the node is > restarted?
If they are circular buffers, then they only ever exist in store/temp and are deleted when closed. If they are regular buffers, we write to them while in store/temp, and when we have finished writing them, we commit them, by moving them to the appropriate numbered subdir of store (there are some other wrinkles especially when the index file is enabled, but that's the general idea). This is why we can't have the store split between multiple filesystems. > > :GeckoX > >* If tempInStore is off, and tempDir is unset, then fred will use > > routingDir/client-temp (routingDir is where the rt_* files go, it > > defaults to the parent dir of storeFile). There will still be a temp > > dir in the datastore, which is still accounted as part of the > > datastore, but this is only for files in transit through the node, > > that have not been committed yet. > > > > > - -- > - -------------------------------- > Freedom is slavery. > Ignorance is strength. > War is peace. > -- George Orwell > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE+ZMq9SMrcfZpjDKERAudfAJ9Hrb2U9+NPbDYP498mq0rHY4RlJQCgoONh > Qlk5Gul+ZGjbqdcFPRci0a8= > =VoCO > -----END PGP SIGNATURE----- > > _______________________________________________ > devl mailing list > devl at freenetproject.org > http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl > -- Matthew Toseland toad at amphibian.dyndns.org/amphibian at users.sourceforge.net Full time freenet hacker. http://freenetproject.org/ Freenet Distribution Node (temporary) at ICTHUS. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20030304/6c9b96ec/attachment.pgp>