Previous Thread
Next Thread
Print Thread
Rate Thread
#16290 05/13/04 05:39 PM
Joined: Mar 2002
Posts: 1,041
I
UGN Elite Poster
UGN Elite Poster
I Offline
Joined: Mar 2002
Posts: 1,041
So, I'm doing things the hard way again over here... I want to add some more space to my linux install. So what I did was empty out a partition I was using for windows, and reformatted it reiserfs. Now, what I want to do is make this new partition /usr. I'm thinking that a simple:

#cd /usr
# cp -Rp * /mnt/xxx
# rm -rf *

and then edit /etc/fstab with the new location of /usr.

Will that work? or is there a better way?

infinite

Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
#16291 05/13/04 09:01 PM
Joined: Mar 2002
Posts: 815
S
nobody
nobody
S Offline
Joined: Mar 2002
Posts: 815
Seems like it will work just fine. The only thing im curious about is symbolic links and things like that. Don't they point to certain nodes on the harddrive? I would back up /usr to another location before you rm -rf * just to be safe. wink

#16292 05/14/04 06:09 AM
Joined: Mar 2002
Posts: 1,041
I
UGN Elite Poster
UGN Elite Poster
I Offline
Joined: Mar 2002
Posts: 1,041
Well in thory I'll have it backed up in the new location, yes? If [censored] pukes and dies I just copy it back and change fstab again. At least this is the way I'm thinking.

I could also just rename /usr instead.

#16293 05/14/04 01:01 PM
Joined: Mar 2002
Posts: 815
S
nobody
nobody
S Offline
Joined: Mar 2002
Posts: 815
True, I don't think it uses anything from /usr to boot. But I just like to be safe when doing things like that. I've learned plenty of lessons about not backing up.


Link Copied to Clipboard
Member Spotlight
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Girlie 1
unreal 1
Crime 1
Ice 1
Powered by UBB.threads™ PHP Forum Software 8.0.0