| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Approved by: markm (mentor)(implicit)
|
|
|
|
|
| |
default, this makes the behavior of gstat more predictable when -c is
specified multiple times on the command line.
|
| |
|
| |
|
|
|
|
| |
delay time of ULONG_MAX when -I is passed a non-numeric arg.
|
|
|
|
|
|
|
|
| |
Geeze, I'll just crawl back into the kernel where I know what's going on...
Use libsbuf instead of pulling a file in from the kernel.
Taught by: jhb
|
|
|
|
|
|
|
|
|
| |
without the /sys symlink pointing to the current tree.
(Revision 1.2 made it non-fatal, but anyway.)
Apply style.Makefile(5).
Fixed ``make checkdpadd''.
|
|
|
|
| |
spotted by: imp
|
|
|
|
| |
the maps which are built by default.
|
|
|
|
| |
Approved by: phk
|
|
|
|
|
| |
This is a small curses based program which shows the diskactivity
inside GEOM.
|
|
|
|
| |
Approved by: markm (mentor)(implicit)
|
|
|
|
| |
MFC After: 2 weeks
|
|
|
|
|
|
|
|
| |
next time the subroutine is re-entered
o s/configrun/configflag/
o Make the prompt make sense if the user was creating a configuration file
Approved by: markm (mentor)(implicit)
|
|
|
|
| |
Spotted by: Andrew Khlebutin <andreyh@perm.ru>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kernel:
Change statistics to use the *uptime() timescale (ie: relative to
boottime) rather than the UTC aligned timescale. This makes the
device statistics code oblivious to clock steps.
Change timestamps to bintime format, they are cheaper.
Remove the "busy_count", and replace it with two counter fields:
"start_count" and "end_count", which are updated in the down and
up paths respectively. This removes the locking constraint on
devstat.
Add a timestamp argument to devstat_start_transaction(), this will
normally be a timestamp set by the *_bio() function in bp->bio_t0.
Use this field to calculate duration of I/O operations.
Add two timestamp arguments to devstat_end_transaction(), one is
the current time, a NULL pointer means "take timestamp yourself",
the other is the timestamp of when this transaction started (see
above).
Change calculation of busy_time to operate on "the salami principle":
Only when we are idle, which we can determine by the start+end
counts being identical, do we update the "busy_from" field in the
down path. In the up path we accumulate the timeslice in busy_time
and update busy_from.
Change the byte_* and num_* fields into two arrays: bytes[] and
operations[].
Userland:
Change the misleading "busy_time" name to be called "snap_time" and
make the time long double since that is what most users need anyway,
fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same
timescale as the kernel fields.
Change devstat_compute_etime() to operate on struct bintime.
Remove the version 2 legacy interface: the change to bintime makes
compatibility far too expensive.
Fix a bug in systat's "vm" page where boot relative busy times would
be bogus.
Bump __FreeBSD_version to 500107
Review & Collaboration by: ken
|
| |
|
|
|
|
| |
retrieve certain nodes.
|
|
|
|
|
| |
Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Approved by: silence on -arch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one three times before we did the dump. Also, we printed 0x00 for the
tuple type rather than the actual tuple type. Now, we print the
actual tuple type. This appears to have no ill effects.
Should get rid of the
Code NN not found
and
code Unknown ignored
messages. The ignored messages are still generated for tuples tuples
who have a minimum length set and we find a tuple of that type that's
shorter than the minimum length.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
how `crc' is actually defined.
- Remove an unnecessary `extern' variable declaration.
Data type corrections:
- Define a variable which contains a file byte offset value as type
off_t as required by the `crc' function.
- Change the type of a variable carrying a CRC checksum from `u_long'
to `uint32_t'.
- Substitute the wrong `extern' variable declaration of `crc_total'
by putting a correct one in the shared header extern.h.
`crc_total' is defined as an `uint32_t', thus fixing
incorrect mtree checksums on big-endian LP64 machines.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
how `crc' is actually defined.
Data type corrections:
- Define variables which contain file byte offset values as type
off_t as required by the `crc' function.
- Change the type of a variable carrying a CRC checksum from `u_long'
to `uint32_t'.
- Parse the length of a file with sscanf as `intmax_t'
(as there is no conversion specifier for `off_t').
Style(9):
- Put an empty line between #include directives for system and user
header files.
|
|
|
|
|
|
|
| |
setfsmac(8) documentation.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
| |
Reviewed by: phk
MFC After: 3 weeks
|
|
|
|
|
| |
Tested on: sparc64 -> i386, i386 -> sparc64
Debugged by: elfdump(1)
|
|
|
|
|
|
|
|
| |
Tested on: sparc64
: FreeBSD/i386 bootstrap loader, Revision 1.1
: (ru@panther.freebsd.org, Tue Mar 11 05:31:14 PST 2003)
: Loading /boot/defaults/loader.conf
|
|
|
|
|
|
|
| |
cross-releasing i386 on different architectures. This version
provides an i386 version of <a.out.h>, and handles endianness.
Tested on: alpha, sparc64
|
|
|
|
| |
(The cross-release needs will be satisfied another way.)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
and due to buffering they would sometimes come out after the actual
error message when mkheaders() failed due to an unknown device, so you'd
get an error messages followed by 20 or 30 lines of harmless warnings.
There are lots of other warning messages in config(8) that are printed
on stdout, but these were the most egregious (at least with LINT).
|
|
|
|
|
|
|
|
|
| |
a filename pattern, and also wrt filenames given on the command line.
Now if a file is listed as a specific entry, it will not *also* be
processed by an entry specifying a pattern. And filename-patterns
will now only match existing files (ignoring directories, etc).
MFC after: 3 weeks
|
|
|
|
| |
were useless for at least seven years and eight months.
|
|
|
|
|
|
|
| |
if we return the entire worklist, instead of just the last entry. A minor
fix to revision 1.57.
MFC after: 15 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will contain the pid for a process group. This means the file must
contain a negative value (as would be needed in the 'kill' commmand).
I still need to write man-page update before MFC-ing.
This started by rewriting the get_pid() routine. Later I looked at
what OpenBSD has, and included a few ideas from their send_signal()
routine. So, parts of this change are from OpenBSD, even though
OpenBSD does not actually have a 'U' flag.
PR: bin/28435
Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks
|
|
|
|
|
| |
not 100% sure that I've done this in the right way. If folks want to
revisit this, please be my guest.
|
|
|
|
|
|
|
|
| |
to sort out noaction messages from -v (verbose) messages. This also
improves a few noaction messages.
Obtained from: OpenBSD
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
| |
warning message if -s is specified and it rotates a file that expects
to be compressed. This warning message is not printed if -R is also
specified, because we assume a -sR request is coming from the process
which would have been signaled, and that it has already released the
logfile.
Indirectly noticed by: sheldonh
|
|
|
|
|
| |
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
MFC after: 20 days
|
|
|
|
| |
MFC after: 20 days
|
|
|
|
|
| |
Sponsored by: Porta Software Ltd
MFC after: 20 days
|
|
|
|
| |
Prompted by: Eugene Grosbein <eugen@kuzbass.ru>
|
|
|
|
| |
Noticed by: maxim
|
|
|
|
| |
install time, and make sure to catch any future .db files as well.
|
|
|
|
| |
will be removed. Give terse pointer to ifconfig h0h0 magic to use.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
ifconfig equivalents. This is the first step in removing them from
the system. Users of wicontrol to configure the wireless card are
strongly encouraged to change their scripts, as sometime in the future
all configuration of the cards that isn't in ifconfig will be removed
with extreme prejustice.
|
| |
|
|
|
|
|
|
| |
PR: 29363 (a small part of)
Submitted by: dinoex
MFC after: 3 weeks
|