Date: Wed, 21 Oct 1998 12:45:54 -0400 (EDT) From: Ted Buswell <tbuswell@mediaone.net> To: asami@FreeBSD.ORG (Satoshi Asami) Cc: scsi@FreeBSD.ORG Subject: Re: for i in disks Message-ID: <13870.3656.235875.122481@tbuswell.ne.mediaone.net> In-Reply-To: <199810211257.FAA27266@silvia.hip.berkeley.edu> References: <199810202025.OAA05317@panzer.plutotech.com> <199810211257.FAA27266@silvia.hip.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
I haven't been following this thread closely, but unless I'm missing something, I think the Disk_Names() function from libdisk(3) is what you're looking for.. [assuming compiled C code is OK]. -Ted /* gcc x.c -ldisk */ extern char **Disk_Names(); main() { char **p = Disk_Names(); while(*p) puts(*p++); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13870.3656.235875.122481>