setting usb disc to da1

Daniel O'Connor doconnor at gsoft.com.au
Thu May 12 23:37:56 UTC 2011


On 13/05/2011, at 7:08, Thomas Krause wrote:
> I've plugged a USB disc to a FreeBSD System and it's dedected as da1:
> 
> da1: <Samsung G3 Station > Fixed Direct Access SCSI-2 device
> 
> But when rebooting the machine, it becomes da0 and I cannot boot the
> system. What's the trick to set the USB disc to da1 permanent?

You can, to some degree, wire the device with..
hint.scbus.0.at="umass-sim0"
hint.da0.at="scbus0"

However I would recommend using GPT IDs, UFS IDs or GEOM labels in fstab so the underlying device name is irrelevant.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the freebsd-stable mailing list