Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
I am trying to automatically generate a description for a given device (eg 
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 sysctl 
nodes but umass disks seem to be inconsistently named.

For example they appear in kern.disks as daX but the corresponding sysctl tree 
is dev.umass.X.

I can add some code to handle it but it would be nice if it were fixed (if it 
really is broken :)

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBGIugW5ZPcIHs/zowRAsPHAJ9ydsBoQuN1xOHULRwLjM1aon55pQCfWpVq
v90dueFCt5fp3/vfeZj1wLg=
=kB+g
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704161235.58745.doconnor>