Re: How to rename an existing/working partition?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim Christiansen wrote:
> I have sort of a regular method upgrading my Redhat/FC servers by using
> two drives and multiple partitions.  My usual  habit for upgrading
> systems is to recable my old and working master to slave and the old
> slave to master and at install not to reformate the old master-  I just
> relabel it as /old-slash.
> 
> After everything settles down I clear off the /old-slash in stages and
> then write an rsync script to take my new homes across at midnight
> everyday...
> 
> I'm getting tired of seeing /old-slash show up in the root of my file
> system.
> 
> I'm using FC5 now and want to rename /old-slash to something less boring
> :-)  - maybe /backup or maybe /rsync-drive...
> 
> Does anyone know how to do this??  I've searched around but not found
> anything clear yet.
> 
> Thanks,  Jim
> 
> 
I am not clear on what you are after. If you want to change the
mount point for the old drive from /old-slash to /backup, then all
you need to do is create the /backup directory to use as the mount
point, and edit /etc/fstab to use the new mount point. After that,
run "umount /old-slash" and "mount /backup" and you are done.

If you want to change the partition label on the drive, then it
depends on the file system type. For ext2 and ext3, you can use e2label.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux