View Single Post
  #1   (View Single Post)  
Old 3rd January 2013
bashrules's Avatar
bashrules bashrules is offline
Aspiring Unix Greybeard
 
Join Date: Mar 2010
Location: Here
Posts: 80
Default usbconfig for fstab

Hi all,

On my FreeBSD 9.0 PC, I have issues with external USB drives. Just figured out, I need to execute a command after plugging one in (and before mounting it):

# usbconfig -d ugen3.2 add_quirk UQ_OPEN_CLEARSTALL


Several questions:

- What does ugen3.2 mean? Can I blindly type this every time, or does this number change, say in the order of attaching USB devices or depending on the USB port?

- The drive is supposed to be mounted in fstab. What is the FreeBSD way of automatically executing the above usbconfig command in conjunction with fstab?

Bash
Reply With Quote