Re: how to rename a filesystem

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

 



On Sat, 2003-11-29 at 15:05, Alexis Vasquez wrote:
> what I need is rename '/home' as '/something'.

Why? Before reading further think about how the system expects users
home directories under that directory. Renaming it will cause all user
logins to fail!

> '/home' is a filesystem on '/dev/hda5'..
> 
> is this as simple as a rename or mv....

Almost. If you have /home under a separate filesystem you can create
"/something" and edit /etc/fstab to mount the /home partition under
/something. Mind that users home directories are set in /etc/passwd and
they cannot be found unless you fix that too.

> I'm concern about the data it holds

Then make sure you know what you're doing.

Klaasjan



-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux