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

Re: how to rename a filesystem



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





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