Date: Thu, 12 May 2005 18:41:38 +0200 From: Bernd Walter <ticso@cicely12.cicely.de> To: Juho Vuori <juho.vuori@kepa.fi> Cc: freebsd-hackers@freebsd.org Subject: Re: Finding out names of mountable devices Message-ID: <20050512164137.GA72550@cicely12.cicely.de> In-Reply-To: <42836020.4050500@kepa.fi> References: <42836020.4050500@kepa.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 12, 2005 at 04:54:40PM +0300, Juho Vuori wrote: > Tried on freebsd-questions without an answer. I suppose this is not > doable, but I'll ask here anyway. > > If I plug in e.g. a USB thumb drive, which becomes, say, umass0. > Normally something like /dev/da0 will also be created and 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. camcontrol devlist -v The umass-sim instance numer should be identic to the umass one. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050512164137.GA72550>