Creating /home partition

Derek Broughton news at pointerstop.ca
Fri Jun 16 17:51:21 UTC 2006


Yorvik wrote:

> Derek Broughton wrote:
>> Yorvik wrote:
>> 
>>> On one of my computers I want to move 'home' to it's own partition on an
>>> other disc. Do I copy the 'home' folder or just it's contents to the new
>>> partition.
>> 
>> The contents.
>> 
>> Then you will mount the root of that partition on the empty /home on the
>> root partition and everything will look right.
> 
> Thanks.  I've read various things on this and ended up rather confused.
> strangely non of the articles I read ever mentioned deleting the
> contents of the original folder, some thing i assumed you'd have to do.
> 
You don't _have_ to - but I highly recommend it.  Otherwise, when the
partition is mounted you see what you expect in /home, but if it's
unmounted (which might happen if there were an error on the drive, or you
just accidentally happened to type "umount /home" in a root session :-) ),
you'd still see /home but it would be all the stuff that was there _before_
you created the new partition.  That would be sure to lead to panic, hair
loss, rickets, and England failing to win the World Cup (OK, that's a given
anyway).
-- 
derek





More information about the ubuntu-users mailing list