| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
statements, now that gcc loudly complains about them.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
the configuration of any other disk-like devices.
This is the non-DEVFS part which is normally not used in 5.x, but due
for MFC into 4.x.
PR: bin/28294, bin/32588
MFC after: 1 week
|
| |
|
|
|
|
| |
Approved by: re (jhb).
|
| |
|
| |
|
|
|
|
| |
Observed by: Chris Bolt <chris-lists@bolt.cx>
|
|
|
|
| |
Reviewed by: grog
|
| |
|
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
Submitted by: mckusick
|
|
|
|
|
|
|
| |
Submitted by: Holger Kipp <holger.kipp@alogis.com>
PR: 37458
MFC after: 5 days
(to get 4.6 code freeze)
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
|
|
|
|
|
| |
Submitted by: Olivier Tharan <olivier.tharan@idealx.com>
PR: docs/37094
MFC after: 1 week
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Noted by: Sean Eric Fagan <sef@kithrup.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Keep document title (.Dt) in CAPITALS, as required by the mdoc(7) manpage.
|
|
|
|
| |
Submitted by: Normand Leclerc <leclercn@videotron.ca>
|
|
|
|
|
| |
header files and sources which depend on it. For userland, define
VINUMDEBUG here. Also remove a now superfluous #ifdef.
|
| |
|
|
|
|
| |
the kernel module is built that way.
|
|
|
|
|
|
|
| |
if the kernel module is built that way.
Remove the gross debug device/non-debug device hack used to recognize
whether the kernel module was in sync with the userland module.
|
|
|
|
| |
message if not present.
|
|
|
|
|
|
|
| |
if the kernel module is built that way.
vinum_info: Check for kernel module debug support, print error message
if not present.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vinum_mirror, vinum_raid4, vinum_raid5.
Correct typos.
Show new output of the 'list' and 'ls' commands.
Update examples to use 279 kB stripe sizes instead of 256 kB.
Clarify some text.
Remove the description of the 'invalid ioctl' messages which now no
longer occur.
Add a description of the 'retryerrors' keyword.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to avoid including the kernel headers.
Move a number of definitions of userland functions from
dev/vinum/vinumext.h.
Desired by: bde
This commit is the first of a general cleanup of the header files..
It won't be enough to make bde happy.
Remove vinum_perror and associated DEVBUG definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove vinum_perror.
Modify 'list' brief printout to fit in 80 columns.
Modify 'ls' brief printout to show the drive to which the subdisk
before instead of the plex offset, which is usually less interesting.
The verbose printout remains unchanged.
Use userland expurgated versions of kernel structures, since that's
what the ioctls return now.
Move checkupdates here to simplify header file mess.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove 'vinum_perror'.
Only call make_devices if we're not running devfs.
Use userland expurgated versions of kernel structures, since that's
what the ioctls return now.
Update help list, which was lagging behind reality.
checkupdates: move to list.c to simplify header file mess.
vinum_stripe, vinum_mirror, vinum_raid4, vinum_raid5: change the
default stripe size from 256 k to 279 k, thus hopefully spreading
superblocks more evenly.
|
| |
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
|
|
|
| |
Reviewed by: grog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Submitted by: Jimmy Olgeni <olgeni@uli.it>
PR: 24233
Fix typos.
Submitted by: "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
|
|
|
|
| |
Reported by: dougb
|
| |
|
|
|
|
|
|
|
|
| |
Correct location of history file.
Change references from /dev/wd to /dev/ad.
Use more appropriate defaults for stripe size in examples.
|
| |
|
|
|
|
|
|
| |
vinum_attach: Get correct names (were being overwritten).
Submitted by: Terry Glanfield <Terry.Glanfield@program-products.co.uk>
|
| |
|
|
|
|
| |
Reported by: Crist J . Clark <cjclark@alum.mit.edu>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
multi-plex volume.
Confusion reported by: many
Clarify recommendations for default plex stripe size.
|
| |
|
| |
|
|
|
|
| |
Tripped-over-by: Nicole Harrington <nicole@picturetrail.com>
|