From owner-freebsd-questions@FreeBSD.ORG Sat Jul 11 19:05:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD5F3106564A for ; Sat, 11 Jul 2009 19:05:34 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5048FC08 for ; Sat, 11 Jul 2009 19:05:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id n6BJ5V3d047994; Sat, 11 Jul 2009 21:05:32 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 9D857BA99; Sat, 11 Jul 2009 21:05:31 +0200 (CEST) Date: Sat, 11 Jul 2009 21:05:31 +0200 From: Roland Smith To: Sagara Wijetunga Message-ID: <20090711190531.GA18986@slackbox.xs4all.nl> References: <4A560B28.6080705@tomahawk.com.sg> <20090709165927.GB63043@slackbox.xs4all.nl> <20090710014128.13958.qmail@us1.tomahawkonline.net> <20090710184945.GA4323@slackbox.xs4all.nl> <20090711083609.32515.qmail@us1.tomahawkonline.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <20090711083609.32515.qmail@us1.tomahawkonline.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Why this flash drive not detected in devd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2009 19:05:34 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 11, 2009 at 03:36:09AM -0500, Sagara Wijetunga wrote: > Could I know which program print following lines to the /dev/devctl: > !system=3DDEVFS subsystem=3DCDEV type=3DCREATE cdev=3Dpass4 > !system=3DDEVFS subsystem=3DCDEV type=3DCREATE cdev=3Dda4 > !system=3DDEVFS subsystem=3DCDEV type=3DCREATE cdev=3Dda4s1 > !system=3DDEVFS subsystem=3DCDEV type=3DCREATE cdev=3Dmsdosfs/ These lines are "printed" by the kernel. =20 > Is there a way in FreeBSD 7.2 to know what devices (eg. da0, da1, > etc) are attached to a given USB driver (umass0, umass1, etc)? One way I can think of is using 'camcontrol inquiry' and 'camcontrol tags' commands on the daX devices. Obviously the information you seek is available in the kernel. But I don't know how to get at it. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpY4nsACgkQEnfvsMMhpyXbEQCcCpptMBy095p91YWM672H7grQ QZwAn3LvccgyhxO54m2seO+XEb49U3vt =9pv0 -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--