RE: Renaming USB device

2009-11-10 Thread Peter Steele
>Labels are an excellent solution in this case. I've done some quick research on this and it will indeed solve the issue regarding a generic fstab. I have a related question though. I want to take this a step further and convert the bootable USB stick into a bootable CD-ROM image. This is a lit

Re: Renaming USB device

2009-11-10 Thread Warren Block
On Wed, 11 Nov 2009, Polytropon wrote: On Tue, 10 Nov 2009 17:19:39 -0600, Peter Steele wrote: When a system has a USB drive present, the system typically names it /dev/da0. However, if the system has SATA drives hooked to an LSI controller, or if the system has SCSI drives, the same drive pref

RE: Renaming USB device

2009-11-10 Thread Peter Steele
>In this case, labelling the USB stick would be a good chioce. The /etc/fstab >entries then refer to those labels instead of device names (that could change). >You can use generic labels as well as UFS labels here; even a reference to the >UFSID would be possible, as well as independant from da d

Re: Renaming USB device

2009-11-10 Thread Polytropon
On Tue, 10 Nov 2009 17:47:38 -0600, Peter Steele wrote: > I have a bootable FreeBSD image on a USB stick that clones > itself on the target system's hard drive, creating partitions > and other configuration as defined in the cloning logic. > The /etc/fstab on the USB image is hard coded to mount

Re: Renaming USB device

2009-11-10 Thread RW
On Tue, 10 Nov 2009 17:19:39 -0600 Peter Steele wrote: > When a system has a USB drive present, the system typically names > it /dev/da0. However, if the system has SATA drives hooked to an LSI > controller, or if the system has SCSI drives, the same drive prefix > is used as is for the USB drive

RE: Renaming USB device

2009-11-10 Thread Peter Steele
>If you could elaborate more on the goal you are seeking, other useful >information could come from this list. At the moment, it's just my wild >guessing. :-) I have a bootable FreeBSD image on a USB stick that clones itself on the target system's hard drive, creating partitions and other confi

Re: Renaming USB device

2009-11-10 Thread Polytropon
On Tue, 10 Nov 2009 17:19:39 -0600, Peter Steele wrote: > When a system has a USB drive present, the system typically > names it /dev/da0. However, if the system has SATA drives > hooked to an LSI controller, or if the system has SCSI drives, > the same drive prefix is used as is for the USB drive