Date: Sun, 26 Jan 2003 23:58:18 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/md md.c Message-ID: <200301270758.h0R7wIRh037982@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2003/01/26 23:58:18 PST
Modified files:
sys/dev/md md.c
Log:
Implement MDIOCLIST which returns the unit numbers of configured md(4)
devices.
We use the md_pad[] array and if there are more units than its size the
last returned unit number will be -1, but the number of units returned
is correct.
Revision Changes Path
1.83 +11 -0 src/sys/dev/md/md.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?200301270758.h0R7wIRh037982>
