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 1ENrGW-0004Ps-AU for garchives@archives.gentoo.org; Fri, 07 Oct 2005 12:23:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j97CDRO1025816; Fri, 7 Oct 2005 12:13:27 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 j97C70ms018531 for ; Fri, 7 Oct 2005 12:07:00 GMT Received: from [80.108.115.144] (helo=[80.108.115.144]) by mail.mediainvent.at with esmtpa (Exim 4.52) id 1ENr8d-00015b-AC for gentoo-user@lists.gentoo.org; Fri, 07 Oct 2005 14:15:47 +0200 Message-ID: <434666D9.3070306@gmx.at> Date: Fri, 07 Oct 2005 14:15:21 +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> <1128647261.13734.48.camel@bunyip> <20051007083450.168dc796@hactar.digimed.co.uk> In-Reply-To: <20051007083450.168dc796@hactar.digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 8264e110-444d-42b6-bbe4-133f8a5c84e3 X-Archives-Hash: 6931cec2291379aa116ed5528f14323d 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 /usr, /var and /opt on a single >partition, separate from/. /usr is mounted on the partition itself, which >contains var and opt directories, which are mounted with the following >fstab lines. > >/usr/var /var auto bind 0 0 >/usr/opt /opt auto bind 0 0 > > > 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 As in http://www.gentoo.org/doc/en/articles/partitioning-p1.xml it is suggested to copy the contents of home in single user mode to be sure there are no open files, i'm considering copying the /usr directory after booting with the live-cd. Thank you all for your help ! Matthias -- gentoo-user@gentoo.org mailing list