UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#16290 - 05/13/04 08:39 PM Partition Fun
Infinite Offline



Registered: 03/09/02
Posts: 1041
Loc: Canada eh
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

Top
Sponsored Links
      
#16291 - 05/14/04 12:01 AM Re: Partition Fun
sinetific Offline
nobody

Registered: 03/02/02
Posts: 815
Loc: Ann Arbor
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.

Top
#16292 - 05/14/04 09:09 AM Re: Partition Fun
Infinite Offline



Registered: 03/09/02
Posts: 1041
Loc: Canada eh
Well in thory I'll have it backed up in the new location, yes? If shit 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.

Top
#16293 - 05/14/04 04:01 PM Re: Partition Fun
sinetific Offline
nobody

Registered: 03/02/02
Posts: 815
Loc: Ann Arbor
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.

Top

Moderator:  Infinite 
Featured Member
Registered: 02/28/02
Posts: 7193
Forum Stats
2148 Members
46 Forums
35207 Topics
70377 Posts

Max Online: 1567 @ 04/25/10 05:20 AM
Top Posters
UGN Security 28369
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Tim050, Gecko666, defghi795767, Devo60, ali
2148 Registered Users
Who's Online
0 registered (), 435 Guests and 271 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!