> Did it actually delete the files in the old dir? I find that strange, > but possible.
No - it deleted the files in the new dir. For more info - I had my datastore in d:\freenet\store. In that directory, there was a file called 'store_<portnum>'. Also, there was a directory there called '<portnum>', which had all the store files. Then, I shut down the node, and created a PGPdisk, which I mounted as drive 'F:'. I moved the datastore files into F:, so there is now: F:\store_<port> F:\<port>\ same directory and file structure as before. I made sure I correctly set the new values in freenet.ini to point to this new datastore. As soon as Freenet came up it deleted all the files in the <port> subdirectory, then went to work as normal. Keys I requested got written to the new datastore directory. Also, indexes got written to the 'store_<port>' index file. You've confirmed that this index file uses absolute rather than relative paths. That might explain Freenet deleting all the existing files. ----- Original Message ----- From: "Mr.Bad" <[email protected]> To: <devl at freenetproject.org> Sent: Thursday, May 03, 2001 10:56 AM Subject: Re: [freenet-devl] Datastore wipeout bug > >>>>> "DM" == David McNab <david at rebirthing.co.nz> writes: > > DM> Hmmm, shouldn't have been the case, unless the store_port file > DM> uses absolute rather than relative paths to reference the > DM> files in the store. > > It does. > > DM> After it deleted all the files, I requested some new files - > DM> freenet obviously cached those files into the new place on my > DM> PGP disk, and wrote entries into the old store_port file. > > Did it actually delete the files in the old dir? I find that strange, > but possible. > > ~Mr. Bad > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Mr. Bad <mr.bad at pigdog.org> | Pigdog Journal | http://pigdog.org/ > freenet:MSK at SSK@u1AntQcZ81Y4c2tJKd1M87cZvPoQAge/pigdog+journal// > "Statements like this give the impression that this article was > written by a madman in a drug induced rage" -- Ben Franklin > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > _______________________________________________ > Devl mailing list > Devl at freenetproject.org > http://lists.freenetproject.org/mailman/listinfo/devl > _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
