summaryrefslogtreecommitdiffstats
path: root/etc/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-18 09:30:31 +0000
committerphk <phk@FreeBSD.org>2003-03-18 09:30:31 +0000
commiteef257a93e011a4e140ebc8b497d65adb03449bb (patch)
treecd2934aa49e9d6478486829f3c0ddb9c358b6a5b /etc/Makefile
parent45ffc6d11041c87590d2901a12e448fd7b539d2b (diff)
downloadFreeBSD-src-eef257a93e011a4e140ebc8b497d65adb03449bb.zip
FreeBSD-src-eef257a93e011a4e140ebc8b497d65adb03449bb.tar.gz
If devstat_new_entry() is passed a unit number of -1 assume that
the devstat is for an "interior" GEOM node and register using the name argument as a geom identity pointer. Do not put these devstat structures on the list returned by the sysctl. This gives us the ability to tell the two kinds of nodes apart and leave the current "strictly physical" view of devstat intact without modifications, yet be able to use devstat for both kinds of devices. It also saves us bloating struct devstat with another 48 bytes of space for the name. At least for now. Reviewed by: ken
Diffstat (limited to 'etc/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud