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 1OUPL6-0007zh-Ic for garchives@archives.gentoo.org; Thu, 01 Jul 2010 19:22:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A842E09D8; Thu, 1 Jul 2010 19:21:38 +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 57963E09D8 for ; Thu, 1 Jul 2010 19:21:38 +0000 (UTC) Received: from zaphod.digimed.co.uk (zaphod.digimed.co.uk [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.digimed.co.uk (Postfix) with ESMTPSA id 80EC8603E83 for ; Thu, 1 Jul 2010 20:21:37 +0100 (BST) Date: Thu, 1 Jul 2010 20:21:31 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] activating swap by udev event Message-ID: <20100701202131.72c99150@zaphod.digimed.co.uk> In-Reply-To: <4C2CE59F.6040501@gmail.com> References: <20100701151624.11bd166f@zaphod.digimed.co.uk> <20100701162653.592b261c@zaphod.digimed.co.uk> <4C2CB906.8030906@gmail.com> <4C2CE59F.6040501@gmail.com> Organization: Digital Media Production X-Mailer: Claws Mail 3.7.6cvs12 (GTK+ 2.20.1; 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_/XN13u/84v4bDNcw//7G3s1/"; protocol="application/pgp-signature" X-Archives-Salt: b95bf101-c640-474e-b88f-7da632566958 X-Archives-Hash: f52e09167f24a1da57f908c769d81672 --Sig_/XN13u/84v4bDNcw//7G3s1/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 01 Jul 2010 11:59:43 -0700, Bill Longman wrote: > > that's good if I want to mount at a specific location, but for swap I > > need the device name, but this is changes depending on how many other > > usb drives are connected. Looks lik this is a tricky question :) =20 >=20 > No, you don't *NEED* the device name to mount swap, you can use a UUID > or a filesystem label: You have the device name in a UDEV rule, it is /dev/%k. --=20 Neil Bothwick deja noo - reminds you of the last time you visited Scotland --Sig_/XN13u/84v4bDNcw//7G3s1/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkws6sAACgkQum4al0N1GQP2DgCfRzjkcqHAWx0GNxJzaPdoY+Ev JswAn0O1M/VAtXk4gs8rirxx+CNwsxCP =lN9J -----END PGP SIGNATURE----- --Sig_/XN13u/84v4bDNcw//7G3s1/--