Mounting USB Hard Drive on boot.

I have googled but have found no clear answer to this. I have an external USB 1 TB HDD that I want to mount on boot. I made a
Code:
dev/da0s1             /media/USB-HDD  ufs     rw              0       0
entry into the /etc/fstab. When the machine boots it aborts the boot saying that /dev/da0s1 is an invalid argument and bring me to the shell. Few seconds later I get a dmesg alert saying that /dev/da0s1 has been detected. I guess I have to figure out how to detect the USB drive before fstab tries to mount it.

PS. I am running 8.2
 
Add the "late" option, see fstab(7). I also advise to use labels. USB harddisks tend to move around, if you have another attached, this one might show up as da1 instead of da0.
 
Sorry I did not copy the /. It is in the fstab. I am new to BSD is there a good tutorial on using labels?
 
Some USB devices are attaching with some delay. You may try to instruct CAM to wait for more devices by setting kern.cam.boot_delay loader tunable. It is measured in milliseconds.
 
Back
Top