3

I was wondering how can i install boinc at /home folder. I have an ssd for root and /home on a hdd. Since boinc does lot of write/read i would like to avoid installing it on my ssd (which i already did via muon). I have trim enabled and working but i would still like to get it on my hdd. Do i have to uninstall/reinstall boinc and if yes how do i install it at /home folder? Thanks in advance :)

BugShotGG
  • 326

1 Answers1

5

There's no need to install application files to your HDD - as any other program files they're very rarely written to. What you need to do is to make BOINC keep its data files on the SSD. From their website:

What the installer does

  • Puts the BOINC binaries (boinc, boinccmd and boincmgr) in /usr/bin .
  • Creates a configuration directory /etc/boinc-client ...
  • Creates the working directory /var/lib/boinc-client/ for BOINC data files and the slots and projects directories. Also creates links from this directory to the files in /etc/boinc-client

So what I would do is to install BOINC first, then move /var/lib/boinc-client/ to somewhere on your SSD (taking care to keep permissions) and create a symlink at /var/lib/boinc-client/ pointing to the new location

(alternatively you may check the configs in /etc/boinc-client and see if it's possible to change the data directory from there)

UPDATE: How to create a symlink:

  1. make sure BOINC is not running

  2. move the directory:

    sudo mv /var/lib/boinc-client /home/boinc-working-dir
    
  3. create the symlink:

    sudo ln -s /home/boinc-working-dir /var/lib/boinc-client
    
waldyrious
  • 2,207
Sergey
  • 44,353