On Thu, Feb 20, 2003 at 04:43:34PM -0000, Dave Hooper wrote: > > > Is this true? If you specify a datastore directory, fred SHOULD NOT use > > > a different one to store files in, even if it's the parent of the > > > directory you specify (in fact especially not!) > > > > The datastore is not the only thing that freenet needs. The installer > > should not choose only the datastore dir. It should choose a dir to > > install freenet in, and then make the datastore dir INSIDE that dir. > > I wasn't aware of any directive to make the datastore dir a subdirectory of > the directory containing freenet.jar, is this really required? I know a lot > of freenet users (possibly strictly Windows freenet users) are using a > separate path to hold their datastore, and often in a separate partition. > Is there any particular reason why storePath must be a subdirectory of the > install location, and if so why does storePath accept absolute paths rather > than only relative paths? *nixes can get away with using symbolic links to > achieve the same thing but the majority of Windows users will not be able to > do this (either because they're using Windows 95/98/ME/NT or because they > don't know how to set these up in Windows 2000/XP) and so, either, storePath > should accept only relative paths, or fred should honour storePath and not > create files *above* it in the directory tree. In fact, ls* and rt* files > should either be created within the store folder (there's already an 'index' > file in there, why not ls* and rt* files too), or created within the freenet > installation directory (where node-temp and prng.seed files are created) > > Just in case we're talking at cross purposes, an example which sums up the > problem is: > Freenet Installation Directory -> T:\Somewhere\Freenet > Freenet Store Directory -> M:\FreenetDataStore > > Running the node causes rt* and ls* files (possibly more, I tried it just > now and got lsnodes_a, rtnodes_a and rtprops_a) to be created in M:\ This > is bad and wrong, or at least conceptually very very confusing for the > unintiated first-time users we are hoping to attract.
Okay, the following dirs are specifiable in the freenet config: storeFile (should be storeDir) - the datastore directory routingDir - the store to put the routing files in. Defaults to the parent dir of storeFile. FECTempDir - obsolete, see tempDir tempDir - dir to put temporary files in. If not specified, it will default to store/temp and be counted as part of the datastore. As far as I can see, all the windows installer needs to do is set up a directory to put freenet in, set routingDir to it, and if the user wants to put the store on another drive, set storeDir. > > d > -- Matthew Toseland [EMAIL PROTECTED][EMAIL PROTECTED] Full time freenet hacker. http://freenetproject.org/ Freenet Distribution Node (temporary) at http://amphibian.dyndns.org:8889/1AmszPTmr3I/ ICTHUS.
msg06998/pgp00000.pgp
Description: PGP signature
