Can the "slots" folder in the Data directory be located on a seperate drive?

Message boards : Questions and problems : Can the "slots" folder in the Data directory be located on a seperate drive?
Message board moderation

To post messages, you must log in.

AuthorMessage
Erich56

Send message
Joined: 30 Dec 14
Posts: 95
Austria
Message 112575 - Posted: 23 Aug 2023, 11:41:12 UTC

I know that the complete BOINC Data directory (containing, among others, die "slots" folder) can be transferred to a different drive by modifying the "DATADIR" entry in the Windows registry.
Can anyone tell me whether there is a way to put the "slots" folder only onto a different drive (e.g. Ramdisk)?
ID: 112575 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2538
United Kingdom
Message 112576 - Posted: 23 Aug 2023, 14:27:29 UTC - in response to Message 112575.  

I suspect there is a way to do it but it would need someone with a greater knowledge of Windows than me. However I found this that may be useful. In Linux, I would have the drive mounted as /var/lib/boinc-client/slots which would make it appear as a subdirectory of the boinc-client directory.
ID: 112576 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 112577 - Posted: 23 Aug 2023, 17:58:43 UTC - in response to Message 112575.  

Can anyone tell me whether there is a way to put the "slots" folder only onto a different drive (e.g. Ramdisk)?
No. The slots directory is part of the data directory, either move all of it, or nothing. The client looks for the slots directory inside the data directory, and if there's none yet, it makes one there. There's no way to instruct the client to put the slots directory outside the data directory in another place, without rewriting the client.
ID: 112577 · Report as offensive
computezrmle

Send message
Joined: 2 Feb 22
Posts: 81
Germany
Message 112578 - Posted: 23 Aug 2023, 18:31:40 UTC - in response to Message 112577.  

You can use /slots/ as mountpoint.
That way the data can be sent to another drive/partition/folder, e.g. tmpfs or zram on Linux or a ramdisk on Windows.

It is a different question whether this is useful or not.
ID: 112578 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2538
United Kingdom
Message 112579 - Posted: 23 Aug 2023, 18:44:23 UTC - in response to Message 112577.  

The link I posted describes how to map a drive letter to a directory so in theory should keep the same directory structure with the slots directory on the wanted drive.
ID: 112579 · Report as offensive

Message boards : Questions and problems : Can the "slots" folder in the Data directory be located on a seperate drive?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.