Date: Sat, 11 Jul 2009 21:05:31 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Sagara Wijetunga <sagara@tomahawk.com.sg> Cc: freebsd-questions@freebsd.org Subject: Re: Why this flash drive not detected in devd? Message-ID: <20090711190531.GA18986@slackbox.xs4all.nl> In-Reply-To: <20090711083609.32515.qmail@us1.tomahawkonline.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpY4nsACgkQEnfvsMMhpyXbEQCcCpptMBy095p91YWM672H7grQ QZwAn3LvccgyhxO54m2seO+XEb49U3vt =9pv0 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090711190531.GA18986>
