diff options
author | grog <grog@FreeBSD.org> | 2001-05-22 02:39:24 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2001-05-22 02:39:24 +0000 |
commit | 6532c6627110c4a13866da84cf9c9409794f35bd (patch) | |
tree | be0a1fdc025f9669e0f08bac2e338e7e6fc41820 /share | |
parent | 1c309e7d291230594d86083f9eb385d66b4f9928 (diff) | |
download | FreeBSD-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