View previous topic :: View next topic |
Author |
Message |
zoomtard Guest
|
Posted: Tue May 28, 2002 5:57 am Post subject: can i specify a different install dir when emerging? |
|
|
I set my /usr partition a little low and now it's starting to fill. When I emerged Opera, it installed the binaries,etc in /opt instead of /usr/bin/*. I was wondering if I can manually change the install dir when emerging new programs? |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Tue May 28, 2002 10:28 am Post subject: |
|
|
Offcourse it's possible, normally you can change it with a configure option like --prefix=/usr or something, but according too the FHS the opt dir is for binary packages and I don't think you want too change every single packages you want to compile. You can also put the /usr/bin /usr/lib or whatever on a other partitions and use the bind option to link them too /usr/bin or /usr/lib. But the best thing too do is too repartition, a simple cp -a should preserve all you files and attributes, you only need a seperate linux-installations / boot-cd. Done it numerous times,
Cya Alex. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
zoomtard Guest
|
Posted: Tue May 28, 2002 7:24 pm Post subject: |
|
|
I like the whole bind idea best. However, would I have to run mount --bind every time i reboot? If so, could i put it in the local.start file? |
|
Back to top |
|
|
craftyc Guru
Joined: 23 May 2002 Posts: 443 Location: Behind You.
|
Posted: Tue May 28, 2002 8:13 pm Post subject: |
|
|
Whats wrong with repartitioning. AFAIK gnu parted will non-destructively partition a hard disk. _________________ Postcount ++ |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Tue May 28, 2002 8:39 pm Post subject: |
|
|
craftyc wrote: | Whats wrong with repartitioning. AFAIK gnu parted will non-destructively partition a hard disk. |
Minor note; it currently won't support xfs for anyone using that. ReiserFS requires a certain lib file -- don't remember what off the top of my head. ext2 and ext3 work fine, but the beginning of the partition must stay fixed.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Tue May 28, 2002 9:28 pm Post subject: |
|
|
This senario is the one of the reasons for LVM's existance |
|
Back to top |
|
|
|