Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2009 21:05:31 +0200
From:      Roland Smith <>
To:        Sagara Wijetunga <>
Subject:   Re: Why this flash drive not detected in devd?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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.
>  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.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v2.0.12 (FreeBSD)



Want to link to this message? Use this URL: <>