From owner-freebsd-questions@FreeBSD.ORG Wed May 11 10:07:47 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD2F816A4CE for ; Wed, 11 May 2005 10:07:47 +0000 (GMT) Received: from sender-02.it.helsinki.fi (sender-02.it.helsinki.fi [128.214.205.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3A6B43D2D for ; Wed, 11 May 2005 10:07:46 +0000 (GMT) (envelope-from juho.vuori@kepa.fi) Received: from [128.214.69.106] (f28-avo-vara2.it.helsinki.fi [128.214.69.106])j4BA7jb2002337 for ; Wed, 11 May 2005 13:07:45 +0300 Message-ID: <4281D971.8080106@kepa.fi> Date: Wed, 11 May 2005 13:07:45 +0300 From: Juho Vuori User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Finding out which device to mount after plugging in a USB thumb drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 10:07:47 -0000 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