You are not logged in.

#1 2012-09-26 23:11:39

melongex
Member
Registered: 2012-09-26
Posts: 10

Games Partition

Hi guys!
Nowadays I see myself more and more playing in Linux - thanks to humble indie bundle. However, I really do not like to spam my ssd with games, I merely want my day to day applications on there. Is there any solution to change the destination of specific packages, or do I have to edit the PKGBUILD everytime? (Maybe a hidden switch in pacman to override the destination)

Cheers!

Offline

#2 2012-09-26 23:14:43

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Games Partition

Edit PKGBUILD is my guess.  Maybe establish a standard under /opt mounted to a physical disk.

Last edited by graysky (2012-09-26 23:15:19)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2012-09-26 23:42:58

melongex
Member
Registered: 2012-09-26
Posts: 10

Re: Games Partition

Just tried to add a pkgdir=/games/torchlight to the torchlight-hib package (a hdd is mounted to /games). Everything installs fine, but when starting the game the screen just stays blank (installation without the pkgdir didn't give me this issue), so maybe it is not so easy after all ...

Offline

#4 2012-09-27 00:13:46

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Games Partition

You'll likely have to it in the configure step as well.  Is it the prefix flag?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2012-09-27 01:52:21

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Games Partition

For Torchlight you can choose the target dir you want… (if you don’t use any PKGBUILD but simply the installer).

Offline

#6 2012-09-27 08:09:59

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Games Partition

Games don't write that often. In comparison, the web browser writes about 100 times more often, each time you visit a website.

Stop worrying so much. There was a study (on Tom's Hardware, I think), which stated that even if you write 100 GB per day (which is highly unlikely), it would still last 50-something years. Heh. In less than 10 years you'll probably give it away for free to some cousin or something like that anyway, and replace it with something bigger and better.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-09-27 09:05:46

melongex
Member
Registered: 2012-09-26
Posts: 10

Re: Games Partition

Actually, it is the space on my ssd what concerns me, since it has only 70 gb.
However, I think mounting a hdd to /opt seems to be a good solution.

Offline

#8 2012-09-27 09:07:44

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Games Partition

Oh, only 70 GB... Come on!


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-09-27 11:26:02

melongex
Member
Registered: 2012-09-26
Posts: 10

Re: Games Partition

Come on! I am asking for a solution or hints, not your opinion

Offline

#10 2012-09-27 12:10:08

MadCatMk2
Member
Registered: 2010-05-10
Posts: 84

Re: Games Partition

I believe that games with lots of data store those in /opt, so the easiest way around this would be to move /opt to a partition on an HDD.
Try

du -sh /opt

to see how much data there's in there.

Offline

#11 2012-09-27 12:26:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Games Partition

DSpider wrote:

Games don't write that often. In comparison, the web browser writes about 100 times more often, each time you visit a website.

Precisely why I wrote Profile-sync-daemontongue


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#12 2012-09-27 12:57:03

seveg
Member
From: Bratislava, Slovakia
Registered: 2012-04-17
Posts: 33

Re: Games Partition

Do you mean this?

       -r, --root <path>
           Specify an alternative installation root (default is /). This should not be used as a way to install software into /usr/local instead of /usr. This option is used if you want
           to install a package on a temporary mounted partition that is "owned" by another system.  NOTE: if database path or logfile are not specified on either the command line or in
           pacman.conf(5), their default location will be inside this root path.

Just another drug abuser..

Offline

#13 2012-09-27 15:27:53

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: Games Partition

I tried moving the Torchlight folder and creating a new symlink, Torchlike still started as it should. I don't see why this should not work. However, I'm with MadCatMk2, moving the entire /opt to another disk would make sense, as /opt not rarely grows over time.

Offline

#14 2012-09-27 22:50:22

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,131

Re: Games Partition

If it is a laptop, you'd want to check whether anything you need will get installed to /opt lest you end up without access to a critical application while on the move. For example, acroread would be in this category for me.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#15 2012-09-28 01:00:08

melongex
Member
Registered: 2012-09-26
Posts: 10

Re: Games Partition

Kk moved /opt to a hdd now and everythings Works just Fine! Tranks for your help!!!!

Offline

Board footer

Powered by FluxBB