Re: [gentoo-user] /usr and /home to another partition

2005-10-07 Thread Neil Bothwick
On Fri, 07 Oct 2005 14:15:21 +0200, Matthias Langer wrote: > Just to be sure, my fstab will contain something like this: > > /dev/hdx /mnt/nHd reiserfs defaults,noatime 0 2 > /mnt/nHd/usr /usr auto bind 0 0 > /mnt/nHd/home /home auto bind 0 0 That's correct. -- Neil Bothwick A

Re: [gentoo-user] /usr and /home to another partition

2005-10-07 Thread Matthias Langer
Norberto Bensa wrote: Hemmann, Volker Armin wrote: if you want to use copy, I would prefer cp -a ;) Use tar since cp wont preserve empty dirs. # cd /path/to/old/dir # tar cf - * | ( cd /path/to/new/dir && tar xf - ) What about rsync -a ? They used tar, for some reasons the

Re: [gentoo-user] /usr and /home to another partition

2005-10-07 Thread Matthias Langer
Neil Bothwick wrote: On Fri, 07 Oct 2005 09:07:41 +0800, W.Kenworthy wrote: If you want to move directories, avoid wholesale symlinking like this as it always ends in tears ... If you want two directories on the same partition, I prefer to mount them with --bind. I do this to have /u

Re: [gentoo-user] /usr and /home to another partition

2005-10-07 Thread Norberto Bensa
Hemmann, Volker Armin wrote: > if you want to use copy, I would prefer cp -a ;) Use tar since cp wont preserve empty dirs. # cd /path/to/old/dir # tar cf - * | ( cd /path/to/new/dir && tar xf - ) > They used tar, for some reasons they mentioned and I forgot ;) :) -- Norberto Bensa 4544-9692

Re: [gentoo-user] /usr and /home to another partition

2005-10-07 Thread Neil Bothwick
On Fri, 7 Oct 2005 11:40:24 +0200, capsel wrote: > I tryed to do links to directories on other partition on my > experimental server with SELinux. It had some problems with labeling > filesystem. > Is it possible to solve this issue? Yes, use mount --bind instead. read the mail you quoted. --

Re: [gentoo-user] /usr and /home to another partition

2005-10-07 Thread capsel
I tryed to do links to directories on other partition on my experimental server with SELinux. It had some problems with labeling filesystem. Is it possible to solve this issue? 2005/10/7, Neil Bothwick <[EMAIL PROTECTED]>: > On Fri, 07 Oct 2005 09:07:41 +0800, W.Kenworthy wrote: > > > If you want

Re: [gentoo-user] /usr and /home to another partition

2005-10-07 Thread Neil Bothwick
On Fri, 07 Oct 2005 09:07:41 +0800, W.Kenworthy wrote: > If you want to move directories, avoid wholesale symlinking like this as > it always ends in tears ... If you want two directories on the same partition, I prefer to mount them with --bind. I do this to have /usr, /var and /opt on a single

Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Roy Wright
John Jolet wrote: On Thursday 06 October 2005 20:52, Matthias Langer wrote: Joe Menola wrote: On Thursday October 6 2005 7:49 pm, Matthias Langer wrote: I want to move the /usr and /home directories to another partition, because I'm thinking of buying a new HD. It would be grea

Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread John Jolet
On Thursday 06 October 2005 20:52, Matthias Langer wrote: > Joe Menola wrote: > >On Thursday October 6 2005 7:49 pm, Matthias Langer wrote: > >>I want to move the /usr and /home directories to another partition, > >>because I'm thinking of buying a new HD. It would be great if both > >>directories

Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Hemmann, Volker Armin
On Friday 07 October 2005 03:52, Matthias Langer wrote: > Joe Menola wrote: > >On Thursday October 6 2005 7:49 pm, Matthias Langer wrote: > >>I want to move the /usr and /home directories to another partition, > >>because I'm thinking of buying a new HD. It would be great if both > >>directories we

Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Matthias Langer
Joe Menola wrote: On Thursday October 6 2005 7:49 pm, Matthias Langer wrote: I want to move the /usr and /home directories to another partition, because I'm thinking of buying a new HD. It would be great if both directories were on the same partition, as splitting drives never seemed very ap

Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Joe Menola
On Thursday October 6 2005 7:49 pm, Matthias Langer wrote: > I want to move the /usr and /home directories to another partition, > because I'm thinking of buying a new HD. It would be great if both > directories were on the same partition, as splitting drives never seemed > very appealing to me. As

Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread W.Kenworthy
If you want to move directories, avoid wholesale symlinking like this as it always ends in tears ... Using a liveCD, create your partitions and directories, then copy everything over (rsync or tar is best to make sure its accurate), change your fstab then reboot. When you are happy its working, y

[gentoo-user] /usr and /home to another partition

2005-10-06 Thread Matthias Langer
I want to move the /usr and /home directories to another partition, because I'm thinking of buying a new HD. It would be great if both directories were on the same partition, as splitting drives never seemed very appealing to me. As far as I know, one possibility would be to [with the boot-cd]