LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Can I relocate my /usr directory while the system is running? (https://www.linuxquestions.org/questions/linux-mobile-81/can-i-relocate-my-usr-directory-while-the-system-is-running-779126/)

Jeff91 12-31-2009 02:35 PM

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?

Thanks,
Jeff

affinity 12-31-2009 11:05 PM

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.

Jeff91 12-31-2009 11:58 PM

Ahh, good suggestion! I will set that up later this evening.

~Jeff


All times are GMT -5. The time now is 07:38 AM.