LinuxQuestions.org
Review your favorite Linux distribution.
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 11-08-2003, 08:04 PM   #1
mlsfit
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Rep: Reputation: 15
softlink /usr to /home/usr ???


my / partition is quickly reaching it's 5 gigabyte limit, however there are 40 gigs of unused space in my /home partition. Someone suggested to me that i could copy the contents of /usr into my /home partition, and change /usr into a soft link pointing toward /home/usr.

It sounds kind of scary, but i think i'm dead set. that is what i want to do. I do not want to repartition, buy a new hard drive, reformat or any of that garbage.

I was wondering if anybody else has attempted this, or something similar, and could offer some pointers.

thanks!
 
Old 11-08-2003, 08:22 PM   #2
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
Why not move something else to the /home directory? eg personal files, pictures etc. Try removing unused programs from the system.
 
Old 11-08-2003, 08:38 PM   #3
mlsfit
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Original Poster
Rep: Reputation: 15
i'm running gentoo, and as much as i love it, i'm very frustrated w/ its lack of software removal tools. so removing unused programs isn't really much of an option (let this be a warning to you potential gentoo users. installing software is a cinch, but removing it is a little more complicated) I really don't have anything on my root partition except for program files (no personal files or anything) so there isn't much to move to my /home partition.

another reason that i'd like to symlink /usr is that it just sounds cool. i dunno why, but it hits my nerdy bone.
 
Old 11-09-2003, 12:07 AM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Apart from security considerations,I don't see any harm in symlinking /usr with /home/usr,just copy
everything from /usr to /home/usr
(cp -rf /usr/* /home/usr)
and then do the symlink
 
Old 11-09-2003, 12:16 AM   #5
macie
Member
 
Registered: Oct 2003
Location: /dev/null
Posts: 33

Rep: Reputation: 15
u can also do this....

since you're not using much of /home/ dir, u could reverse the mounting points.. what that means, copy all content of /usr/ to /home/ and and move /home/ to the 5 gig drive... also, another way is to partiton your HD that runs on the /home/ mount point and use one of the partitions for /usr/

i hope this makes sence, i had the same issue u had and this worked out perfectly for me.


anyhow, hope this helps..


peace.
 
  


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 vs /usr/local on linuxpackages.net merchtemeagle Slackware 4 10-18-2005 03:09 PM
Relocat /usr/lib and /usr/lib64 to a different path schokshi Fedora 3 08-30-2005 09:14 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
mount / , /home , /home/usr on different partitions alekoos Slackware 14 05-03-2004 11:39 AM
usr space from /usr for /home ? chanys Linux - Newbie 2 08-26-2003 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration