-   Linux - General (
-   -   Make an /opt partition? (

proton666 01-11-2003 12:32 PM

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 12:38 PM

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

--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.


MasterC 01-11-2003 12:41 PM

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:


proton666 01-11-2003 12:52 PM


MasterC 01-11-2003 01:54 PM

You're welcome :)

All times are GMT -5. The time now is 08:15 AM.