summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-05-22 02:39:24 +0000
committergrog <grog@FreeBSD.org>2001-05-22 02:39:24 +0000
commit6532c6627110c4a13866da84cf9c9409794f35bd (patch)
treebe0a1fdc025f9669e0f08bac2e338e7e6fc41820 /share
parent1c309e7d291230594d86083f9eb385d66b4f9928 (diff)
downloadFreeBSD-src-6532c6627110c4a13866da84cf9c9409794f35bd.zip
FreeBSD-src-6532c6627110c4a13866da84cf9c9409794f35bd.tar.gz
Tidy up header files. Don't include stuff we don't need.
Use userland expurgated versions of kernel structures, since that's what the ioctls return now. Remove vinum_perror. main: Check kernel version with userland version in _vinum_conf. This field is a constant which gets incremented every time the kernel-userland interface changes. This enables vinum(8) to check for the correct kernel version and to produce a useful message if it doesn't match. For previous versions, which don't have a version number, the length of the structure is different, so we can recognize it via the EINVAL return from ioctl. Supply count parameter to tokenize(). Change method of recognizing active devfs: replace devfs_is_active with (complemented) no_devfs. make_devices: remove references to devfs. If we're running devfs, we don't need to call make_devices at all. vinum_makedev (user command 'makedev'): Print a warning message if devfs is running and don't do anything else.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud