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.43) id 1E7t8c-0007hx-UC for garchives@archives.gentoo.org; Wed, 24 Aug 2005 11:09:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7OB7QrK010302; Wed, 24 Aug 2005 11:07:26 GMT Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7OB003v028890 for ; Wed, 24 Aug 2005 11:00:00 GMT Received: from [82.69.83.178] (helo=desiato.digimed.co.uk) by heisenberg.zen.co.uk with esmtp (Exim 4.30) id 1E7t0A-00006c-7w for gentoo-user@lists.gentoo.org; Wed, 24 Aug 2005 11:01:02 +0000 Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.2]) by desiato.digimed.co.uk (Postfix) with ESMTP id 7364D1405EA2 for ; Wed, 24 Aug 2005 12:01:01 +0100 (BST) Date: Wed, 24 Aug 2005 12:00:59 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] newbie install - emerge: command not found Message-ID: <20050824120059.7260671b@hactar.digimed.co.uk> In-Reply-To: <430C3080.4070606@joli-ciel.com> References: <430B3304.2000507@joli-ciel.com> <430B38FA.60802@gmail.com> <430B4636.4050500@joli-ciel.com> <20050823171948.26fa3e95@hactar.digimed.co.uk> <430C3080.4070606@joli-ciel.com> Organization: Digital Media Production X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.10; 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@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Signature_Wed__24_Aug_2005_12_00_59_+0100_IQoVGz3Sv2MAsBmt; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Originating-Heisenberg-IP: [82.69.83.178] X-Archives-Salt: 9041196d-47c1-416b-b72a-c0ef7266e80c X-Archives-Hash: 856ab24f0be3bb3ce00bcfb4fdf86151 --Signature_Wed__24_Aug_2005_12_00_59_+0100_IQoVGz3Sv2MAsBmt Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 24 Aug 2005 10:32:00 +0200, Assaf Urieli wrote: > In fact, I'm not even quite sure that I understand the whole concept of > mounting... > When I type: > # mount -t ext3 /dev/hda3 /mnt/gentoo > Does the /mnt/gentoo directory already exist somewhere? If it didn't, I > imagine this statement would throw an error. But where can it exist if > it isn't yet associated with any partition (i.e. /dev/hda3)? It must exist, and it exists as a normal directory within /mnt. > # mkdir /mnt/gentoo/boot > Where am I making this directory? I would assume this statement creates > the directory on /dev/hda3. But then, in the next statement, I'm > associating it with /dev/hda4! You are creating it in whatever filesystem contains /mnt/gentoo. At this point, it is simply an empty directory in that filesystem. Only when you mount it does it have any content. Actually, a mount point can have content of its own, which becomes invisible when another filesystem is mounted on it. For example, in Gentoo /mnt/cdrom normally contains a single file called .keep, which you no longer see when you mount a CD, you see the contents of that disc instead. When you unmount the CD, the underlying directory becomes visible again and you can see .keep. > Now that I've got an unused /dev/hda4 partition, what should I mount on > it? I can't mount /usr onto it cause /usr already exists on the root > partition & is full of stuff. Can I just invent any old name for > mounting (like say, /home), and then use it for storing data? Yes, and you could also mount /usr on it.=20 mkdir /mnt/tmp mount /dev/hda4 /mnt/tmp rsync -a /usr/ /mnt/tmp/ umount /mnt/tmp mount /dev/hda4 /usr mount --bind / /mnt/tmp rm -fr /mnt/tmp/usr/* umount /mnt/tmp --=20 Neil Bothwick Due to inflation, all clouds will now be lined with zinc. --Signature_Wed__24_Aug_2005_12_00_59_+0100_IQoVGz3Sv2MAsBmt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDDFNrum4al0N1GQMRAs6iAJ4ueU8nr2pwDydK5i97uMEGyUm5cQCgqalQ ScMjF+MJmecRHrjfRBN0/TI= =fhQU -----END PGP SIGNATURE----- --Signature_Wed__24_Aug_2005_12_00_59_+0100_IQoVGz3Sv2MAsBmt-- -- gentoo-user@gentoo.org mailing list