From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ENhU5-0007GY-Rc for garchives@archives.gentoo.org; Fri, 07 Oct 2005 01:57:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j971lqDn012250; Fri, 7 Oct 2005 01:47:52 GMT Received: from mail.mediainvent.at (mail.mediainvent.at [213.235.200.194]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j971iEDF017293 for ; Fri, 7 Oct 2005 01:44:14 GMT Received: from [80.108.115.144] (helo=[80.108.115.144]) by mail.mediainvent.at with esmtpa (Exim 4.52) id 1ENhPs-0000LB-Kf for gentoo-user@lists.gentoo.org; Fri, 07 Oct 2005 03:52:56 +0200 Message-ID: <4345D4E3.5090108@gmx.at> Date: Fri, 07 Oct 2005 03:52:35 +0200 From: Matthias Langer User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050724) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /usr and /home to another partition References: <4345C603.2040804@gmx.at> <200510062006.17686.menola@sbcglobal.net> In-Reply-To: <200510062006.17686.menola@sbcglobal.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 26a0a5da-a341-45d0-b7fa-e9f285ad96c9 X-Archives-Hash: 83b58b2180c45c72ba678abd2167a4f5 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 appealing to me. As far as I know, one possibility would be to >>[with the boot-cd] >> >># mv /usr /mnt/newHD/ >># mv /home /mnt/newHD/ >># ln -s /mnt/newHD/usr usr >># ln -s /mnt/newHD/home home >> >>However, I'm not sure if this is the suggested method of doing so and to >>be honest, I'm not completley sure if this would even work. >> >>Any comments or suggestions ? >> >> > >In theory I suppose that would work. Myself, I would copy the contents >to /mnt/newHD/ then rename the original directories and create the links. The >renamed directories can be deleted after you've verified positive results. >And if it all craps out, the originals can simply be renamed back to /usr >and /home. >You should consider creating separate partitions for these though. At some >point you may wish to blow out the install but retain your /home. Separate >partitions makes this much easier. And also opens the possibility of sharing >your /home with multiple installs. > >HTH -jm > > Well, maybe you are right and creating a /usr and a /home partition is the better choice. As I want to buy a 250GB drive, I'm thinking of 20G for /usr and 230GB for home, while still 16GB remain for /opt, /root, /bin .... . Now another genooist pointed out that it would be wiser to use rsync or tar instead of just # cp - r /usr /mnt/newHd_part_usr/ So, should I enter # rsync -r /usr /mnt/newHd_part_usr/ or are there some options I should activate to make sure I get what I want ? Thanks, Matthias -- gentoo-user@gentoo.org mailing list