Date: Mon, 16 Apr 2007 12:35:57 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-hackers@freebsd.org Subject: Device sysctl confusion.. Message-ID: <200704161235.58745.doconnor@gsoft.com.au>
next in thread | raw e-mail | index | archive | help
--nextPart1611239.L9zfHD47WD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I am trying to automatically generate a description for a given device (eg= =20 what it's connected to) but I am having trouble with umass. The other disks I have tried (acd, ad, twed) all have dev.name.number sysct= l=20 nodes but umass disks seem to be inconsistently named. =46or example they appear in kern.disks as daX but the corresponding sysctl= tree=20 is dev.umass.X. I can add some code to handle it but it would be nice if it were fixed (if = it=20 really is broken :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1611239.L9zfHD47WD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGIugW5ZPcIHs/zowRAsPHAJ9ydsBoQuN1xOHULRwLjM1aon55pQCfWpVq v90dueFCt5fp3/vfeZj1wLg= =kB+g -----END PGP SIGNATURE----- --nextPart1611239.L9zfHD47WD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704161235.58745.doconnor>