Finding out which device to mount after plugging in a USB thumb
drive
Juho Vuori
juho.vuori at kepa.fi
Wed May 11 03:07:47 PDT 2005
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.
Juho Vuori
More information about the freebsd-questions
mailing list