LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-11-2003, 11:32 AM   #1
proton666
Member
 
Registered: Jan 2003
Distribution: FreeBSD 5.3
Posts: 35

Rep: Reputation: 15
Question 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?
 
Old 01-11-2003, 11:38 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 01-11-2003, 11:41 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 01-11-2003, 11:52 AM   #4
proton666
Member
 
Registered: Jan 2003
Distribution: FreeBSD 5.3
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks!!!
 
Old 01-11-2003, 12:54 PM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You're welcome
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr and /opt in 1 partition hottdogg Linux - General 6 08-16-2005 09:51 AM
how to mount linux partition as /opt shams Linux - Hardware 2 04-02-2005 09:33 PM
regarding /opt directory... zameer_india Linux - Newbie 2 01-19-2005 12:48 AM
new /opt partition from / without resizing with parted everal Linux - Hardware 1 12-16-2004 01:50 AM
Use of /opt monz Linux - General 3 05-13-2004 08:56 AM


All times are GMT -5. The time now is 06:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration