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

Re: how to rename a filesystem



On Sun, Nov 30, 2003 at 11:59:27AM +0100, Klaasjan Brand wrote:
> 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
Keeping all the cautions above in mind mv will do the job without distroing anything.
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam trinity edu




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