| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Use WARNS?= instead of WARNS=.
|
|
|
|
| |
to cope with kernel modules with VINUMDEBUG.
|
|
|
|
|
|
| |
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
|
|
|
| |
I should reconsider whether I just leave them in without #ifdef VINUMDEBUG.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.) prefix all functions in the library with devstat_ (compatability
functions are available for all functions that were chaned in an
incompatible way, but are deprecated).
2.) Add a pointer to a kvm_t as the first argument to functions that
used to get their information via sysctl; they behave the same
as before when NULL is passed as this argument, otherwise, the
information is obtained via libkvm using the supplied handle.
3.) Add a new function, devstat_compute_statistics(), that is intended
to replace the old compute_stats() function. It offers more
statistics data, and has a more flexible interface.
libdevstat does now require libkvm; a library depedency is added, so
that libkvm only needs to be explicitely specified for statically linked
programs.
The library major version number is bumped.
Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>, ken (3)
Reviewed by: ken
|
| |
|
|
|
|
| |
the kernel module is built that way.
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
userland tool:
Use the vfs.devfs.generation sysctl to test for devfs presense
(thanks phk!) when devfs is active it will not try to create the
device nodes in /dev and therefore will not complain about the
failure to do so.
Revert the change in the #define for VINUM_DIR in the kernel
header so that vinum can find its device nodes.
Replace perror() with vinum_perror() to print file/line when
DEVBUG is defined (not defined by default).
kernel:
Don't use the #define names for the "superdev" creation since
they will be prepended by "/dev/" (based on VINUM_DIR), instead
use string constants.
Create both debug and non-debug "superdev" nodes in the devfs.
Problem noticed and fix tested by: Martin Blapp <mblapp@fuchur.lan.attic.ch>
|
|
|
|
| |
Reported by: bde
|
|
|
|
| |
Submitted by: brian
|
| |
|
|
|
|
| |
Fixed some misformattings.
|
| |
|
| |
|
|
|
|
|
|
|
| |
when the kernel module is RAID-5, or the other way round), execve()
the correct one.
Add \n to an error message.
|
| |
|
|
|
|
|
| |
Remove unnecessary additional CFLAGS
Remove BINGRP and BINMODE
|
| |
|
| |
|
|
|
|
| |
Reported-by: Paul Hart <hart@iserver.com>
|
| |
|
|
|
|
| |
Forgotten by: Peter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unused static inlines in headers without -O.
Fixed missing libraries in DPADD.
Use .PATH instead of a symlink farm.
Removed bogus dependency of util.c on statetext.h (only util.o depends
on it). Removed rule for building statetext.h. The dependency was used
to get statetext.h built, but statetext.h is a non-generated source file
so it doesn't need building. This fixes an annoying message for the null
build and use of `make' instead of ${MAKE} to do the null build.
Fixed some style bugs.
|
|
|