LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Make an /opt partition? (http://www.linuxquestions.org/questions/linux-general-1/make-an-opt-partition-41093/)

proton666 01-11-2003 11:32 AM

Make an /opt partition?
 
Was wanting to know how to make an /opt partition? Need it for my second drive becuase I've ran out room on my /usr partition. When I try to install a RPM, how will it know to install to the /opt partition?

MasterC 01-11-2003 11:38 AM

Well, you can specify where to install things via rpm:
Quote:

--prefix NEWPATH
For relocateable binary packages, translate all
file paths that start with the installation prefix
in the package relocation hint(s) to NEWPATH.

From the RPM man page.

However, I think you might just be better off increasing or transferring your /usr directory to a bigger partition.

Cool

MasterC 01-11-2003 11:41 AM

If you've got empty space somewhere then I'd look into resizing, check out a program called parted, it's probably on your installation medium. Then, once you've resized, you may need to edit your /etc/fstab to show the changes you've made, check out this tutorial from Aussie, it will give you some ideas on what you'll need to do to attain this:
http://www.p-two.net/modules.php?op=...article&sid=12

Cool

proton666 01-11-2003 11:52 AM

Thanks!!!

MasterC 01-11-2003 12:54 PM

You're welcome :)


All times are GMT -5. The time now is 05:48 AM.