From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CB9B81381F3 for ; Sun, 29 Sep 2013 21:23:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A61F5E0B17; Sun, 29 Sep 2013 21:23:32 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id A2A31E0384 for ; Sun, 29 Sep 2013 21:23:31 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXsL/2dsb2JhbABEvw4Xc4IeAQEFOhwzCxgJExIPBQ0YN4d/Aw+3Sw2JVYwSgU+CSGEDjX6GOYFVhX6FPIM0gV6DEw X-IPAS-Result: Av4EABK/CFFsoXsL/2dsb2JhbABEvw4Xc4IeAQEFOhwzCxgJExIPBQ0YN4d/Aw+3Sw2JVYwSgU+CSGEDjX6GOYFVhX6FPIM0gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="29372252" Received: from 108-161-123-11.dsl.teksavvy.com (HELO waltdnes.org) ([108.161.123.11]) by ironport2-out.teksavvy.com with SMTP; 29 Sep 2013 17:20:19 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Sun, 29 Sep 2013 17:23:20 -0400 From: "Walter Dnes" Date: Sun, 29 Sep 2013 17:23:20 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01 Message-ID: <20130929212320.GA335@waltdnes.org> References: <5246BE35.3010408@libertytrek.org> <5246D674.1010806@hadt.biz> <5246F07F.8050100@gmail.com> <524716C0.203@hadt.biz> <52471D5B.2020506@gmail.com> <52483E04.4040900@libertytrek.org> <52484627.1020102@gmail.com> <5248656F.3060602@libertytrek.org> <524870B4.8090905@gmail.com> <52487531.8080902@libertytrek.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52487531.8080902@libertytrek.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 69ddbe65-b513-4d8b-a0ba-16324f775d56 X-Archives-Hash: 599fb34cc07d14c9708cf64fc64d4f2a On Sun, Sep 29, 2013 at 02:45:05PM -0400, Tanstaafl wrote > On 2013-09-29 2:25 PM, Dale wrote: > > Tanstaafl wrote: > >> The way I see it, if you cannot provide a rational answer to that > >> question, then there is no reason for you to use this as a reason to > >> abandon gentoo, only a reason to merge /usr into /... > > > Simple, I have never had to resize / or /boot before. I have had to > > resize /usr, /var and /home several times tho. THAT is the reason. > > Ok, but... everything I've read and personal experience over the years > shows that space required for /usr should not change much, especially > constantly grow over time (like requirements for /home can and will)- it > may fluctuate (increase, decrease) *a little* over time, but it > definitely should not grow substantially, so, if you had to resize it, > most likely it is because you simply didn't allocate enough room to > start with. > > > For me, it doesn't matter if it is rational to YOU or not. > > Sorry, but rationality is not subjective. Just because something seems > to be rational to you doesn't mean that it is. > > You have still not stated a logical, rational reason for wanting a > separate /usr. Here's my version of "LVM without the overhead of LVM" to allow maximum flexibity, without the overhead of LVM. * /dev/sda is the entire 1 terabyte drive (extended partition) * /dev/sda5 is 200 *MEGA*bytes (YES! 200 * 10^6). It's the rootfs and physically contains / and /boot, etc, etc. It also has empty directories /home, /opt, /var, /usr, and /tmp * /dev/sda6 is swap, a few gigabytes * /dev/sda7 is the rest of the hard drive. It is mounted as /home. It contains directories bindmounts/opt bindmounts/var bindmounts/usr and bindmounts/tmp * Note the following excerpt from /etc/fstab /dev/sda5 / ext2 noatime,nodiratime,async 0 1 /dev/sda7 /home ext4 noatime,nodiratime,async 0 1 /home/bindmounts/opt /opt auto bind 0 0 /home/bindmounts/var /var auto bind 0 0 /home/bindmounts/usr /usr auto bind 0 0 /home/bindmounts/tmp /tmp auto bind 0 0 /dev/sda6 none swap sw The rootfs is currently 22% used, so no worries there. I originally adopted this setup years ago when I was bouncing around between distros. It allowed me to change to an entirely different distro without blowing away my user directory. Even today, it gives me maximum flexibility without the overhead of LVM. -- Walter Dnes I don't run "desktop environments"; I run useful applications