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 D50231381F3 for ; Sun, 29 Sep 2013 23:57:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23628E0FFF; Sun, 29 Sep 2013 23:57:30 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 0D4E9E0E0A for ; Sun, 29 Sep 2013 23:57:28 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 4778723CAB for ; Mon, 30 Sep 2013 00:57:18 +0100 (BST) Date: Mon, 30 Sep 2013 00:57:12 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01 Message-ID: <20130930005712.14024dc7@digimed.co.uk> In-Reply-To: <5248B859.4040207@sporkbox.us> References: <20130927222109.GD23408@server> <5246079E.7090406@gmail.com> <20130927223916.GE23408@server> <52460D42.2080109@gmail.com> <52461056.9020604@gmail.com> <5246BE35.3010408@libertytrek.org> <5246E1F5.9050302@gmail.com> <5248B859.4040207@sporkbox.us> Organization: Digital Media Production X-Mailer: Claws Mail 3.9.2-71-gace330 (GTK+ 2.24.21; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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: multipart/signed; micalg=pgp-sha1; boundary="Sig_/+Jcz2HYP6MOMo=M8b4Xf0ZR"; protocol="application/pgp-signature" X-Archives-Salt: ad5934b8-e3d8-4eea-82aa-4ff25dfa709a X-Archives-Hash: c969a5329f7b81b18a2def222d686bcb --Sig_/+Jcz2HYP6MOMo=M8b4Xf0ZR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 29 Sep 2013 18:31:37 -0500, Daniel Campbell wrote: > Curious; how is merging two filesystems done? I don't have a separate > /usr and am completely unaffected by this change, but it's somewhat > interesting to me. /usr stores some pretty important data on it, and I > imagine you'd need to mount it somewhere else in order to move the > files from it to /'s /usr dir. Is a Live environment recommended > instead? How would you mitigate the leftover partition, assuming it's > not adjacent to /'s partition? For /usr you don't need a live CD, because the contents of /usr shouldn't change unless you instal/remove something. You can make sure they don't change during the merge by remounting read-only mount /usr -o remount,ro mkdir /newusr rsync -a /usr/ /new/usr/ Comment out /usr line in /etc/fstab mv /usr /oldusr mv /newusr /usr reboot rmdir /oldusr What you do with the old partition is up to you. In this case the discussion was about /usr on LVM, so you just delete it and allocate the space elsewhere when needed. --=20 Neil Bothwick Top Oxymorons Number 43: Genuine imitation --Sig_/+Jcz2HYP6MOMo=M8b4Xf0ZR Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) iEYEARECAAYFAlJIvl0ACgkQum4al0N1GQOkGwCcCylQ2elKGzq+0svIjrJsyX5A 1hYAn2J2NdDYfPo6PNIgEIocNNDI5bCO =rLkM -----END PGP SIGNATURE----- --Sig_/+Jcz2HYP6MOMo=M8b4Xf0ZR--