Date: Sat, 19 Oct 2002 09:39:28 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: cvs commit: src/lib/libdisk disk.c Message-ID: <200210191639.g9JGdS5n061115@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2002/10/19 09:39:28 PDT
Modified files:
lib/libdisk disk.c
Log:
o since you can't use DIOCGDINFO and DIOCGSLICEINFO on drive nodes with geom,
get the xml configuration for the devices and "parse" the information to
get what's needed
o replace #ifdef DEBUG constructs with DPRINT/DPRINTX to make the code more
readable
Note the xml "parser" is very very hackish and should be replaced with a
real one. This one was done to be very small and special-purpose; don't
think about copying it elsewhere.
Approved by: phk
Revision Changes Path
1.82 +456 -62 src/lib/libdisk/disk.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210191639.g9JGdS5n061115>
