Finding out which device to mount after plugging in a USB thumb
	drive
    Lowell Gilbert 
    freebsd-questions-local at be-well.ilk.org
       
    Wed May 11 05:51:08 PDT 2005
    
    
  
Juho Vuori <juho.vuori at kepa.fi> writes:
> Hello,
> 
> If I plug in a USB thumb drive, which becomes, say, umass0. Normally
> something like /dev/da0 will also be created amd slices of that device
> may be mounted. But is there a API for finding out what is the
> corresponding block device for umass devices ? The device driver
> writes that to syslog, but reading logs for something like that is
> quite clumsy.
You can always wire it down if you need that to be predictable.
See: "man scsi".
    
    
More information about the freebsd-questions
mailing list