Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Rakhesh Sasidharan
Jerry McAllister wrote: On Mon, Jan 21, 2008 at 02:19:54PM -0300, Mario Lobo wrote: On Monday 21 January 2008 14:05:04 Mike Bristow wrote: On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: It is possible, but n

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread RW
On Mon, 21 Jan 2008 17:05:04 + Mike Bristow <[EMAIL PROTECTED]> wrote: > Note that you can use UFS (and other filesystems labeling) too: for > example. 'newfs -L bobs_disk' will cause the device containing it to > appear as /dev/ufs/bobs_disk. For an existing filesystem you'll need to use

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Jerry McAllister
On Mon, Jan 21, 2008 at 02:19:54PM -0300, Mario Lobo wrote: > On Monday 21 January 2008 14:05:04 Mike Bristow wrote: > > On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > > > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > > >> It is possible, but not as daX.

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Roland Smith
On Mon, Jan 21, 2008 at 02:16:50PM -0300, Mario Lobo wrote: > On Monday 21 January 2008 14:05:04 Mike Bristow wrote: > > On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > > > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > > >> It is possible, but not as daX. U

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:19:54 Mario Lobo wrote: > On Monday 21 January 2008 14:05:04 Mike Bristow wrote: > > On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > > > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > > >> It is possible, but not as daX. Use the

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:14:56 Mario Lobo wrote: > On Monday 21 January 2008 14:05:04 Mike Bristow wrote: > > On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > > > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > > >> It is possible, but not as daX. Use the

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:05:04 Mike Bristow wrote: > On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > >> It is possible, but not as daX. Use the glabel(8) utility to label > > >> your disks. They will show

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:05:04 Mike Bristow wrote: > On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > >> It is possible, but not as daX. Use the glabel(8) utility to label > > >> your disks. They will show

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:05:04 Mike Bristow wrote: > On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > >> It is possible, but not as daX. Use the glabel(8) utility to label > > >> your disks. They will show

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:05:04 Mike Bristow wrote: > On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > >> It is possible, but not as daX. Use the glabel(8) utility to label > > >> your disks. They will show

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mike Bristow
On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote: > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > > > >> It is possible, but not as daX. Use the glabel(8) utility to label your > >> disks. They will show up as /dev/label/ > > On 7.0-PRERELEASE, 'options GEOM_LA

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Roland Smith
On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: > >>> What I'd like to know is whether there's any way for me to ensure that the >>> da0 disk always appears as da0. I don't want it that tomm I plug in another >>> disk (or change the order of disks, though I'll be more careful w

Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Roland Smith
On Mon, Jan 21, 2008 at 08:59:30AM +0400, Rakhesh Sasidharan wrote: > > Colin Brace wrote: > >> I use udev rules to do this. See: >> >> < >> http://www.linuxquestions.org/questions/linux-general-1/make-removable-usb-hdd-mount-at-fixed-mount-point-511917/ >>> > > That doesn't work on FreeBSD, d

Re: Fixing a USB disk to a specific device name

2008-01-20 Thread Rakhesh Sasidharan
Colin Brace wrote: I use udev rules to do this. See: < http://www.linuxquestions.org/questions/linux-general-1/make-removable-usb-hdd-mount-at-fixed-mount-point-511917/ That doesn't work on FreeBSD, does it? Udev's a Linux thing last I heard of ... Regards,

Re: Fixing a USB disk to a specific device name

2008-01-20 Thread Rakhesh Sasidharan
What I'd like to know is whether there's any way for me to ensure that the da0 disk always appears as da0. I don't want it that tomm I plug in another disk (or change the order of disks, though I'll be more careful with that) and suddenly da0 is no longer at da0! That would hamper the boot proce

Re: Fixing a USB disk to a specific device name

2008-01-20 Thread Colin Brace
I use udev rules to do this. See: < http://www.linuxquestions.org/questions/linux-general-1/make-removable-usb-hdd-mount-at-fixed-mount-point-511917/ > -- Colin Brace Amsterdam http://lim.nl ___ freebsd-questions@freebsd.org mailing list http://list

Re: Fixing a USB disk to a specific device name

2008-01-20 Thread Rakhesh Sasidharan
What I'd like to know is whether there's any way for me to ensure that the da0 disk always appears as da0. I don't want it that tomm I plug in another disk (or change the order of disks, though I'll be more careful with that) and suddenly da0 is no longer at da0! That would hamper the boot proce

Re: Fixing a USB disk to a specific device name

2008-01-20 Thread Roland Smith
On Sun, Jan 20, 2008 at 04:23:58PM +0400, Rakhesh Sasidharan wrote: > > Hi, > > Is it possible to assign a specific device name to a USB disk? As in, say I > have 2 USB disks -- currently they appear as da0 and da1. One of these > (da0) contains the key for a GELI encrypted partition, and so I

Fixing a USB disk to a specific device name

2008-01-20 Thread Rakhesh Sasidharan
Hi, Is it possible to assign a specific device name to a USB disk? As in, say I have 2 USB disks -- currently they appear as da0 and da1. One of these (da0) contains the key for a GELI encrypted partition, and so I mount it from fstab while booting (to get the key). What I'd like to know is