NetBSD/usr.sbin
martin 8f65adda90 When MD code requests a reserved area (at the start of the disk)
make sure to properly account for the "lost" space during all calculations
and especially when expanding the main partition to fill the disk.

Avoid using the global "pm" or a passed device descriptons when we are
passing disk limits explicitly anyway.

Simplify/fix a few rounding calculations.
2020-10-09 18:33:00 +00:00
..
ac Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
accton
acpitools Add HAVE_ACPI and HAVE_UEFI flags to bsd.own.mk and use them to 2020-09-12 15:25:41 +00:00
altq usr.sbin/altq: Suppress -Werror=stringop-truncation error. 2020-02-08 01:01:31 +00:00
apm introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
apmd introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
arp arp: Permanence is from the llentry, not the route 2020-09-15 11:14:16 +00:00
autofs autofs: Add missing description for automountd option -T 2019-11-25 16:57:09 +00:00
bad144 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
bootp add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
bta2dpd Avoid running of the end of the array if a file cannot be opened. 2020-05-31 06:17:23 +00:00
btattach Fix copyright error. 2017-09-03 22:54:12 +00:00
btconfig for Read_Local_Version, print also the HCI revision 2017-12-21 09:31:22 +00:00
btdevctl Update for proplib(3) API changes. 2020-06-07 00:12:00 +00:00
bthcid Update for proplib(3) API changes. 2020-06-07 00:51:48 +00:00
btpand introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
catman introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
chroot
cnwctl introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
cpuctl x86: fix several CPUID flags 2020-09-05 07:45:44 +00:00
crash mostly complete basic port of crash(8) to mips. 2020-08-17 04:15:33 +00:00
dev_mkdb Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
diskpart
dumpfs print quota pointers in superblock 2018-03-06 07:45:38 +00:00
dumplfs remove GCC_NO_ADDR_OF_PACKED_MEMBER now lfs_accessors.h works. 2020-09-07 03:19:04 +00:00
edquota introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
eeprom memcpy->strncpy, and avoid copying beyond the static string length 2019-10-05 23:30:22 +00:00
envstat Update for proplib(3) API changes. 2020-06-07 00:51:48 +00:00
etcupdate A few hints that sets may come in .tar.xz format (instead of .tgz) 2018-11-21 20:18:11 +00:00
extattrctl
faithd More K&R style prototypes missed in the previous run 2018-01-23 21:27:20 +00:00
flashctl
fssconfig Use stat() information to decide if the backing store is a directory. 2017-12-21 15:52:19 +00:00
fstyp fstyp: Sync hammer2_disk.h with DragonFly BSD 2020-09-23 14:39:23 +00:00
fusermount
fwctl compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
gpioctl Be consistent in not marking up "GPIO". 2019-10-20 17:45:08 +00:00
grfconfig Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
gspa
hdaudioctl When using show subcommand, display node ID (nid) in hexadecimal to match 2020-07-01 12:19:45 +00:00
i2cscan Use .Sy, not .Em, for bold-faced WARNING of impending doom. 2019-11-30 02:47:14 +00:00
ifmcstat - show " refcount %d" for consistency 2020-03-03 08:56:05 +00:00
ifwatchd ifwatchd: Enable SO_RERROR to re-sync interface state. 2020-10-04 20:36:32 +00:00
inetd s/suport/support/ 2019-12-27 09:22:19 +00:00
installboot add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
intrctl Merge single letter options in usage. 2019-09-24 11:31:06 +00:00
iopctl
iostat Fix mandoc warnings. 2018-07-29 21:17:43 +00:00
ip6addrctl
ipwctl introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
irdaattach New sentence, new line. 2017-10-23 01:07:27 +00:00
isibootd
iteconfig ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
iwictl introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
kgmon Fix typo (s/supress/suppress/). 2019-07-11 03:49:51 +00:00
kvm_mkdb ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
lastlogin Sync usage with man page. 2020-05-07 12:52:40 +00:00
ldpd s/successfuly/successfully/ in comment. No functional change. 2020-06-22 07:50:53 +00:00
link Use Ex. 2017-07-04 07:08:42 +00:00
lockstat Make makelists() a little bit faster. 2020-04-04 16:40:50 +00:00
lpr s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
lptctl Use Ex. 2017-07-04 07:08:42 +00:00
mailwrapper ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
makefs add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
makemandb Register ppoll 2020-06-02 15:43:26 +00:00
map-mbone add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
mdconfig use opendisk()/dehumanize_number 2020-08-18 19:26:29 +00:00
mdsetimage Explicitly print a fs image filename on "fs image is too big" errors. 2020-06-14 18:24:21 +00:00
memswitch Rewrite modify_single() to make compilable on gcc7. 2019-02-08 08:55:35 +00:00
mld6query Use Ex. 2017-07-04 07:08:42 +00:00
mlxctl s/LIButil/LIBUTIL/ in DPADD 2016-12-10 13:55:55 +00:00
mmcformat s/lenght/length/ 2019-12-26 04:53:11 +00:00
mopd loop.c owns iflist 2020-04-22 23:57:56 +00:00
mountd Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users 2020-06-17 00:16:21 +00:00
moused Use .An -nosplit to avoid unwanted line breaks in the middle of a sentence. 2016-08-16 02:04:01 +00:00
mrinfo add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
mrouted change cksum prototype to const void *, and check alignment via assertion. 2020-09-07 18:37:21 +00:00
mscdlabel ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
mtrace add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
mtree Use more markup. Bump date for previous. 2020-06-16 14:26:39 +00:00
ndbootd add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
ndp ndp: Show U for Unreachable 2020-09-15 10:11:35 +00:00
netgroup_mkdb
nfsd Revert previous, don't write to the parent too early because it can exit 2020-09-17 12:48:12 +00:00
npf npftest: Wait at least one tick in each gc busy wait iteration. 2020-08-27 18:51:20 +00:00
nvmmctl Add HAVE_NVMM and use it to control the build of NVMM related components. 2020-09-26 17:49:49 +00:00
ofctl evbmips: add ofctl(8) and /dev/openfirm support 2020-07-24 12:07:09 +00:00
paxctl New sentence, new line. 2016-11-08 08:21:52 +00:00
pcictl Use .Sy, not .Em, for bold-faced WARNING of impending doom. 2019-11-30 02:47:14 +00:00
perfused introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
pf add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
postinstall missing quote 2020-08-28 15:26:23 +00:00
powerd Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
psrset Add a recommendation for SMT to not split threads. XXX This should report 2020-01-09 15:50:16 +00:00
pstat Filter out the VUSECOUNT_GATE bit 2020-10-03 14:01:16 +00:00
puffs remove GCC_NO_ADDR_OF_PACKED_MEMBER for several subdir builds 2020-09-07 03:09:53 +00:00
pwd_mkdb Drop main() prototype. 2017-05-04 16:26:09 +00:00
quot From Michael Plass: 2016-07-28 08:24:58 +00:00
quotacheck convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
quotaon
quotarestore
racoon add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
racoonctl
rarpd introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rbootd introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rdate New sentence, new line. Remove superfluous Pp. 2017-08-27 20:45:47 +00:00
repquota introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rip6query
rmt ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
route6d introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpc.bootparamd _rpcpmstart is defined by rpcgen, so externalize it here 2020-04-22 23:47:02 +00:00
rpc.lockd introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpc.pcnfsd tempstr is only used in one file, make it static 2020-04-22 23:46:02 +00:00
rpc.statd drop my name from the advertising clause. 2019-12-02 19:23:53 +00:00
rpc.yppasswdd introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpcbind Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users 2020-06-17 00:16:21 +00:00
rtadvd add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
rtsold Update date 2020-04-17 13:36:48 +00:00
rwhod introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
sa Add EXIT STATUS section. Use Ex. 2017-07-04 07:12:18 +00:00
schedctl
screenblank Offer a potential workaround to the caveat. 2019-04-08 20:18:14 +00:00
sdpd - convert 'done' to an unsigned, since it is used as one. 2019-02-04 04:56:35 +00:00
service Only match first instance of name and rcvar in file. 2017-06-05 09:20:05 +00:00
services_mkdb need <sys/stat.h> 2017-01-10 21:04:06 +00:00
sesd ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
sliplogin introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
spray introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
srtconfig usr.sbin/srtconfig: Suppress -Werror=stringop-truncation error. 2020-02-09 15:10:31 +00:00
sti
sunlabel Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
sysinst When MD code requests a reserved area (at the start of the disk) 2020-10-09 18:33:00 +00:00
syslogd When reporting an error before daemonizing, prefix the error message 2020-09-29 14:08:43 +00:00
tadpolectl Ansify 2018-01-23 19:01:33 +00:00
tcpdchk ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
tcpdmatch ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
tcpdrop
timed s/parition/partition/ 2020-09-29 02:49:55 +00:00
tpctl cast through intptr_t 2018-07-16 01:04:47 +00:00
tprof Fix typo in a comment. 2020-04-17 03:15:50 +00:00
traceroute add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
traceroute6 add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
trpt Remove now unused tcpip.h includes. Some were already unused before. 2018-05-03 07:13:48 +00:00
unlink Use Ex. 2017-07-04 07:13:18 +00:00
usbdevs Use strtoi instead of atoi() to catch bad input (Alexander Kuleshov) 2019-11-27 17:56:08 +00:00
user Fix warning in userdel -r. 2019-07-29 09:33:21 +00:00
veriexecgen Move case 'f' to go right after case 'F'. 2019-08-01 08:51:52 +00:00
videomode ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
vipw
vnconfig Sort options. 2018-10-07 20:30:50 +00:00
wakeonlan End sentence with a dot. 2018-05-14 06:52:33 +00:00
wg-keygen Clarify wg(4)'s relation to WireGuard, pending further discussion. 2020-08-26 16:03:40 +00:00
wg-userspace Clarify wg(4)'s relation to WireGuard, pending further discussion. 2020-08-26 16:03:40 +00:00
wgconfig Show the time of the latest handshake properly formatted. 2020-08-28 17:17:53 +00:00
wiconfig introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
wlanctl Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wsconscfg Drop main() prototype. 2017-05-04 16:26:09 +00:00
wsfontload Note lack of a method to determine which fonts have been loaded. 2019-05-30 14:58:51 +00:00
wsmoused Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wsmuxctl expand error message to also list wsbell as valid name. 2019-03-29 07:49:38 +00:00
ypbind introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
yppoll
ypserv usr.sbin/ypserv: Suppress -Werror=format-truncation= error. 2020-02-09 15:52:48 +00:00
ypset introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
zdump Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
zic Change the default to be slim 2019-07-03 15:50:40 +00:00
Makefile Descend into wg-userspace. 2020-08-20 21:30:46 +00:00
Makefile.inc