Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2005 13:07:45 +0300
From:      Juho Vuori <juho.vuori@kepa.fi>
To:        freebsd-questions@freebsd.org
Subject:   Finding out which device to mount after plugging in a USB thumb drive
Message-ID:  <4281D971.8080106@kepa.fi>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4281D971.8080106>