Why this flash drive not detected in devd?
Roland Smith
rsmith at xs4all.nl
Sat Jul 11 19:05:34 UTC 2009
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=DEVFS subsystem=CDEV type=CREATE cdev=pass4
> !system=DEVFS subsystem=CDEV type=CREATE cdev=da4
> !system=DEVFS subsystem=CDEV type=CREATE cdev=da4s1
> !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/
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.
Roland
--
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090711/117076b8/attachment.pgp
More information about the freebsd-questions
mailing list