fixating USB Storage

Conrad J. Sabatier conrads at
Sat Feb 4 05:18:59 UTC 2012

On Thu, 2 Feb 2012 16:41:39 -0800
"bsalinux at" <bsalinux at> wrote:

> Please ignore, I forgot that I asked this before. Thanks.
> On Thu, Feb 2, 2012 at 4:38 PM, bsalinux at
> <bsalinux at> wrote:
> > Hi,
> >
> > How can I fix a USB storage device to always have the same device
> > name such as da9 irrespective of other da? devices present.
> >
> > Here is the device
> > # usbconfig -u 4 -a 2 dump_info
> > ugen4.2: <USB Flash Drive USB 2.0> at usbus4, cfg=0 md=HOST spd=HIGH
> > (480Mbps) pwr=ON
> >
> > Thanks

I don't know if anyone else has already mentioned it to you in response
to this question, but I just very recently switched over to using volume
labels to mount my partitions instead of device names.  I was having an
ongoing issue where this external USB drive's device number assignment
would change from one boot to the next, toggling back and forth between
da0 and da4 (strange!).  Then just the other night,  something led me to
one of Warren Block's web pages describing how to easily label a volume
and use that instead in /etc/fstab, so shifting device assignments no
longer matter.  How lovely!  :-)

Here it is, "FreeBSD Labeled Filesystems", by Warren Block
<wblock at>

A regular little gem of knowledge that was to discover.  :-)

Conrad J. Sabatier
conrads at

More information about the freebsd-questions mailing list