From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RjrFu-00071l-8O for garchives@archives.gentoo.org; Sun, 08 Jan 2012 11:49:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4332B21C032; Sun, 8 Jan 2012 11:49:31 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 7D18321C023 for ; Sun, 8 Jan 2012 11:49:00 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAL6BCU/O+INq/2dsb2JhbAA9BqxDgQaBcgEBBAE6HCgLCzQSFCU3h3q1FYhhFoI3YwSIOYR7AYdThWGIJYRS X-IronPort-AV: E=Sophos;i="4.71,475,1320642000"; d="scan'208";a="155737758" Received: from 206-248-131-106.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.131.106]) by ironport2-out.teksavvy.com with SMTP; 08 Jan 2012 06:48:58 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Sun, 08 Jan 2012 06:48:12 -0500 From: "Walter Dnes" Date: Sun, 8 Jan 2012 06:48:12 -0500 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: locations of binaries and separate /usr Message-ID: <20120108114812.GA15828@waltdnes.org> References: <20120101015947.GA9914@linux1> <20120106175049.GA27854@mailgate.onlinehome-server.info> <20120106192550.7ed4cbd9@pomiocik.lan> <20120106184127.GE27854@mailgate.onlinehome-server.info> <20120107010849.GB13697@waltdnes.org> <20120107190117.GA11762@mailgate.onlinehome-server.info> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120107190117.GA11762@mailgate.onlinehome-server.info> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 1c562d65-ea48-4086-a779-e531b14c6138 X-Archives-Hash: b520f57accd79b740f5db2f03a6ce78c On Sat, Jan 07, 2012 at 08:01:17PM +0100, Enrico Weigelt wrote > Great. Perhaps you could create some unusual setups (perhaps in a > full-VM), so we can build an test platform on it. > > IIRC the main problem are scenarios where /usr is not available > at boot, eg. has to be mounted from somewhere else (eg. NFS). > So, our test platform should have such setups. I run with an "interesting" setup at home which could be a "torture test" for mounting. fdisk shows... Device Boot Start End Blocks Id System /dev/sda1 63 976768064 488384001 5 Extended /dev/sda5 126 996029 497952 83 Linux /dev/sda6 996093 8819684 3911796 82 Linux swap / Solaris /dev/sda7 8819748 976768064 483974158+ 83 Linux sda1 is the entire harddrive sda5 is the 250 megabyte / partition using ext2fs (YES!) sda6 is the swap partition sda7 is the rest of the harddrive using reiserfs /opt, /var, /usr, and /tmp are are bindmounted from /home like so... /dev/sda5 / ext2 noatime,nodiratime,async 0 1 /dev/sda7 /home reiserfs noatime,nodiratime,async,notail 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 This allows me to... * use a really small / partition, without resorting to LVM * not worry about running out of space in other partitions * I started using it years ago when I had not decided which distro to use. I could wipe the contents of /opt, /var, /usr, and /tmp but keep my data, emails, etc, in my user directory and install another distro without blowing away my data. -- Walter Dnes