Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


  Search this Thread
Old 12-31-2009, 03:35 PM   #1
Bodhi Developer
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 301

Rep: Reputation: 33
Can I relocate my /usr directory while the system is running?

Howdy All,

I have a Nokia N900 and one issue with the device is that the root partition on it is only 100megs - meaning I am running out of space on it when installing standard applications. What I would like to do is move my /usr to reside on the same partition as my home folder (because it has 2gigs there). The issue I am having is that I cannot mount the phone's filesystem on my laptop - meaning I have to move /usr from the phone itself while the device is running... is this possible?

Old 01-01-2010, 12:05 AM   #2
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
Copy the /usr directory to your home directory, then edit fstab to point to the new location for mounting /usr. After that restart the phone and then delete the old /usr if it worked right.
Old 01-01-2010, 12:58 AM   #3
Bodhi Developer
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 301

Original Poster
Rep: Reputation: 33
Ahh, good suggestion! I will set that up later this evening.




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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help me with rpm --relocate kkprankk Linux - Newbie 1 10-23-2008 03:51 AM
/usr Directory Growth mkono Linux - Enterprise 5 06-02-2008 08:19 AM
best way to copy usr directory petersk Linux - Newbie 4 12-12-2005 07:47 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 10:21 AM
What does rpm --relocate REALLY do? JMCraig Linux - Newbie 0 03-31-2003 07:57 PM

All times are GMT -5. The time now is 09:11 PM.

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