On 02/04/2011 08:32 AM, Christopher Zimmermann wrote:
Hi,
I have a similar problem since I an using softraid to encrypt /var and
/home. The softraid device is usually on sd0. But when I have an usb
mass storage device plugged in during boot up it gets assigned to sd0
and softraid gets sd1. Still, my fstab tries to mount from /dev/sd0X.
This can be annoying.
Is there no way to reserve sd0 or tell bioctl to use a higher number for
the softraid sdX? With vnd(3) this is not so much of a problem, because
vnd(3) devices won't conflict with unpredictable things like usb-sticks,
which share the sd(4) namespace.
Christopher
man diskmap
man mount (search for UID)
Nick.