From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 16:53:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AE3D16A475 for ; Mon, 21 Jan 2008 16:53:31 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 0154413C507 for ; Mon, 21 Jan 2008 16:53:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0LGrS7W026793; Mon, 21 Jan 2008 17:53:29 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 9D035B82A; Mon, 21 Jan 2008 17:53:28 +0100 (CET) Date: Mon, 21 Jan 2008 17:53:28 +0100 From: Roland Smith To: Rakhesh Sasidharan Message-ID: <20080121165328.GA50246@slackbox.xs4all.nl> Mail-Followup-To: Rakhesh Sasidharan , Colin Brace , freebsd-questions@freebsd.org References: <20080120161831.L62033@obelix.home.rakhesh.com> <20080120142042.GA8576@slackbox.xs4all.nl> <20080120211904.D91357@dogmatix.home.rakhesh.com> <20080121085901.R1673@obelix.home.rakhesh.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <20080121085901.R1673@obelix.home.rakhesh.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org, Colin Brace Subject: Re: Fixing a USB disk to a specific device name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 16:53:31 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 21, 2008 at 08:59:30AM +0400, Rakhesh Sasidharan wrote: >=20 > Colin Brace wrote: >=20 >> I use udev rules to do this. See: >>=20 >> < >> http://www.linuxquestions.org/questions/linux-general-1/make-removable-u= sb-hdd-mount-at-fixed-mount-point-511917/ >>>=20 >=20 > That doesn't work on FreeBSD, does it? Udev's a Linux thing last I heard = of=20 > ... You might be able to do that with devd(8). I don't know if you'll get attach events on disk devices, you'll have to try. Keep in mind that you cannot use devd to unmount! You'll have to unmount _before_ the device is detached/destroyed, or you might get a panic. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHlM4IEnfvsMMhpyURAvZJAKCasnZMq45lhYLfDlQFDCgmTmmesQCaAtLw 2XLsdqHvaSFhR8nT4DnOBsk= =B5lB -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--