| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
file for hastd(8) and hastctl(8) and not hast.conf.
- In copyright statement correct that this file is documentation, not software.
- Bump date.
MFC after: 3 days
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
Approved by: phk@
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
requires that errors are passed to the caller.
PR: 163668
Reviewed by: Garrett Cooper
|
|
|
|
|
|
|
|
| |
- Remove unneeded sysexits.h include.
No functional change.
Submitted by: bde
|
|
|
|
|
| |
The dp1 variable is only used when FSIRAND is defined. Just place the
variable behind #ifdefs entirely.
|
|
|
|
|
|
|
| |
fixing the mount(8) "failok" option.
PR: 163668
Reviewed by: Garrett Cooper, delphij (previous version)
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
reduce the size of the partition in the example from 128 blocks to 94
blocks so it will end on a 128-block boundary. Also remove the -b
option from the next example.
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
| |
configuration file.
- Log the fact that pidfile has changed.
MFC after: 3 days
|
|
|
|
|
|
| |
any negative number.
MFC after: 3 days
|
|
|
|
|
|
| |
would create an empty pidfile on start and check if it changed on SIGHUP.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
error: variable 'freq' set but not used
error: variable 'mode_pars' set but not used
Reviewed by: mav
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
error: variable 'blksfree' set but not used
Reviewed by: pjd
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
|
| |
error: variable 'inumber' set but not used
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
error: variable 'secsz' set but not used
Reviewed by: ae
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
error: variable 'op' set but not used
error: variable 'cmd' set but not used
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
|
| |
error: variable 'firstkey' set but not used
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
|
| |
error: variable 'c' set but not used
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
|
| |
error: variable 'origextlen' set but not used
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
|
| |
error: variable 'Sflag' set but not used
Approved by: dim
MFC after: 3 days
|
|
|
|
|
|
| |
Reviewed by: mav
Approved by: scottl
MFC after: 1 week
|
|
|
|
|
|
| |
Approved by: gjb (mentor)
MFC after: 3 days
X-MFC-with: r227774, r227777, r227800
|
|
|
|
|
| |
Approved by: gjb (mentor)
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
stack for the node-local multicast address.
Spotted by: Rainer Bredehorn <Bredehorn__at__gmx.de>
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
| |
recoverdisk(1) wants to know about read errors when doing the 1MB/64k
reads as fast as possible so it can continue and retry them later with
smaller reads (down to sector size). Any retries by lower layers will
only slow it down.
Prodded by: arundel
|
|
|
|
|
|
|
|
|
|
|
|
| |
reality:
1. Only 12-bit VLAN Identifiers, not full 16-bit VLAN tags can be set using
ifconfig vlan.
2. When we mean VLAN Identifiers, spell it that way, rather than as VLAN tag.
MFC after: 3 days
Sponsored by: Adara Networks, Inc.
|
|
|
|
|
|
|
|
|
|
| |
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
writing label into a file image. The most common use - putting disklabel
into ISO file. Before this change the label would always go to
the offset 512, while geom_part code expects it to be in the 1st
sector (i.e. 2048 incase of ISO). BSD disklabels provide good and
lightweight way to logically split livecds. It is non-intrusive as
far as ISO9660 goes (both boot-wise and metadata-wise) and
completely transparent to anything but BSD, so you can have
BSD-specific area appended after regular ISO.
And with a little bit of GEOM trickery you can do even more
interesting stuff with it.
For example we make "hybrid" bootable CDs using this method.
We create bootable ISO with kernel and such and append UFS
image compressed with UZIP and it works like a charm. We put
label based on the offsef of the BSD part into the ISO. The kernel
boots off normal ISO9660 part, tastes label attaches it,
tastes UZIP, attaches it and finally mounts UFS using GEOM_LABEL.
This provides much better way of eliminating waste than doing
"crunched" build.
MFC after: 1 month
|
|
|
|
| |
Sponsored by: Yakaz (http://www.yakaz.com)
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the original Domain Search option patch, an invalid option value
would cause the whole lease to be rejected. However, DHCP servers who
emit such an invalid value are more common than I thought. With this new
patch, just the option is rejected, not the entire lease.
PR: bin/163431
Submitted by: Fabian Keil <fk@fabiankeil.de> (earlier version)
Reviewed by: Fabian Keil <fk@fabiankeil.de>
Sponsored by: Yakaz (http://www.yakaz.com)
|
|
|
|
|
|
| |
PR: 163629
Submitted by: olgeni
MFC after: 1 week
|
|
|
|
|
|
| |
Approved by: pluknet
Found with: Coverity Prevent(tm)
CID: 10125
|
|
|
|
|
|
|
|
|
| |
the now default 32K/4K filesystem the same as the number of inodes in
the previously default 16K/2K filesystem.
PR: bin/16265
Reported by: Olivier Cochard-Labbe <olivier@cochard.me>
MFC: 4 weeks (9 is the only affected branch)
|
|
|
|
|
|
|
|
|
|
| |
The DIOCGSECTORSIZE takes u_int * as an argument, using long *
causes failures on big-endian targets.
Diagnosed by: Michiel Boland <boland37 xs4all nl>
PR: sparc64/163460
Tested by: pho (x86), flo (sparc64)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
Remove C99 initializers: they don't help in this case.
Set errno to 0 before strtoll() (from NetBSD).
PR: 151850
Suggested by: bde
Approved by: jhb (Mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
warnings in sbin/hastd/lzf.c are only emitted for i386 and amd64, and
there they can be safely ignored.
MFC after: 1 week
|
| |
|
|
|
|
|
| |
Inspired by: r228555
MFC after: 1 week
|
|
|
|
|
| |
Detected by: clang
MFC after: 1 week
|