NetBSD/sbin
christos 08f54aa8c8 Don't add the 2 reserved clusters before we determine if we using fat16/fat32.
From FreeBSD: https://reviews.freebsd.org/D23082:

Correct off-by-two issue when determining FAT type.

In the code we used NumClusters as the upper (non-inclusive) boundary
of valid cluster number, so the actual value was 2 (CLUST_FIRST) more
than the real number of clusters. This causes a FAT16 media with
65524 clusters be treated as FAT32 and might affect FAT12 media with
4084 clusters as well.

To fix this, we increment NumClusters by CLUST_FIRST after the type
determination.
2020-01-11 16:29:07 +00:00
..
amrctl Remove reference to -c flag which was never implemented. 2018-08-27 00:36:03 +00:00
apmlabel
atactl New sentence, new line. 2019-05-31 16:38:27 +00:00
badsect Drop main() prototype. 2016-09-05 01:00:07 +00:00
bioctl Sort SEE ALSO. 2019-05-08 06:10:30 +00:00
brconfig Use the new BRDGGIFS and BRDGRTS cmds which just use ifdrv directly. 2015-06-01 06:15:18 +00:00
canconfig New sentence, new line. Fix typos. More consistent grammar. 2017-05-29 08:46:23 +00:00
ccdconfig
cgdconfig KNF, 80 column police, a few other tidy ups (use if (ret == 0) rather 2019-04-10 06:11:37 +00:00
chkconfig
chown Add EXIT STATUS section. Use Ex. Sort sections. 2017-07-04 06:53:12 +00:00
clri Actually, V6 included clri before 3BSD. 2016-09-12 23:11:50 +00:00
devpubd Document the version devpubd first appeared. 2016-09-11 01:38:00 +00:00
disklabel introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
dkctl Bump date for previous. 2018-01-07 18:11:35 +00:00
dkscan_bsdlabel use a minimal "struct disk" in userland rather than the full kernel structure. 2017-06-08 22:24:29 +00:00
dmctl Fix typo 2017-06-04 08:34:34 +00:00
dmesg Make recent change build for SMALL builds as well as normal ones. 2020-01-01 00:24:52 +00:00
drvctl Remove superfluous Pp. 2019-08-07 19:08:10 +00:00
dump introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
dump_lfs introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
fastboot
fdisk Fix xrefs. 2019-12-15 11:49:28 +00:00
fsck initialize disc_dict to NULL. 2019-09-28 18:03:18 +00:00
fsck_ext2fs fsck: Stop defining the same variable concurrently in bss and data 2019-08-15 03:10:42 +00:00
fsck_ffs inode.c needs -O0 for vax 2019-10-28 22:52:43 +00:00
fsck_lfs fsck: Stop defining the same variable concurrently in bss and data 2019-08-15 03:10:42 +00:00
fsck_msdos Don't add the 2 reserved clusters before we determine if we using fat16/fat32. 2020-01-11 16:29:07 +00:00
fsck_v7fs need <sys/stat.h> 2017-01-10 20:53:09 +00:00
fsdb inode.c needs -O0 for vax 2019-10-28 22:52:43 +00:00
fsirand Document author and the version fsirand appeared. 2016-09-11 21:22:18 +00:00
gpt Do the 'dkctl makewedges' dance to drop any wedges assoicated the 2019-10-16 19:03:53 +00:00
ifconfig fix printing capabilities and enabled flags. 2020-01-02 23:02:19 +00:00
init introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
iscsictl introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
iscsid check for snprintf() truncation and fail sanely if so, rather than 2019-02-04 08:21:11 +00:00
ldconfig
luactl Direct reader to intro(9lua), lua(9) does not exist. 2017-04-10 19:49:39 +00:00
mbrlabel Handle sector sizes != 512, check partition overlaps, improve guessing 2018-03-30 13:14:25 +00:00
mknod Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
modload Fix Dt argument. 2017-07-18 19:50:54 +00:00
modstat Remove superfluous Pp. 2019-12-07 12:35:27 +00:00
modunload Use standard section header. 2016-09-12 06:55:10 +00:00
mount Sort SEE ALSO. 2018-01-09 09:15:57 +00:00
mount_ados
mount_autofs Sort options and SEE ALSO. Improve a sentence. 2019-11-20 21:56:19 +00:00
mount_cd9660 vnconfig name is retained for backwards compatibility. Use vndconfig. 2018-06-30 09:27:41 +00:00
mount_chfs Document the version mount_chfs appeared. 2016-09-12 00:38:42 +00:00
mount_efs
mount_ext2fs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_fdesc
mount_ffs
mount_filecore
mount_hfs Drop main() prototype. 2016-09-05 01:00:07 +00:00
mount_kernfs
mount_lfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_msdos Whilst mount_pcfs originated as a patch in 386BSD, NetBSD 0.8 actually was the first release of an OS to ship with it. 2016-10-11 16:10:03 +00:00
mount_nfs Remove Tn for standard abbreviations. 2018-05-17 06:37:06 +00:00
mount_nilfs Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause. 2019-10-16 21:52:22 +00:00
mount_ntfs Use Xr instead of Fn to refer readdir(3) 2017-04-15 10:30:55 +00:00
mount_null Eliminate the distinct path check, since the paths don't actually need to be 2016-07-25 04:40:51 +00:00
mount_overlay
mount_portal PR bin/54222 2019-05-23 11:13:17 +00:00
mount_procfs - options NAMECACHE_ENTER_REVERSE is no more. 2020-01-08 12:04:56 +00:00
mount_ptyfs Drop main() prototype. 2016-09-05 01:00:07 +00:00
mount_puffs New sentence, new line. Sort SEE ALSO. Fix typo. 2016-11-24 12:38:32 +00:00
mount_qemufwcfg Add libpuffs (fixes sun2 build) 2018-10-03 13:34:44 +00:00
mount_sysvbfs Add AUTHORS section. 2016-09-12 02:38:31 +00:00
mount_tmpfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_udf Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause. 2019-10-16 21:52:22 +00:00
mount_umap Clean up debugging cruft that somehow made it into my previous commit. 2019-08-20 21:18:10 +00:00
mount_union s/filesystem/file system/ 2017-06-07 15:24:50 +00:00
mount_v7fs Add HISTORY & AUTHORS section. 2016-09-12 02:57:09 +00:00
newbtconf Remove uses of test -o 2018-09-16 22:37:24 +00:00
newfs Omit mention of old vnd(4) bug, now resolved. 2019-04-13 19:29:27 +00:00
newfs_ext2fs Omit mention of old vnd(4) bug, now resolved. 2019-04-13 19:29:27 +00:00
newfs_lfs Enable the creation of lfs64 volumes. 2015-10-15 06:24:33 +00:00
newfs_msdos When we end up with too few clusters for the requested FAT type after 2019-10-12 09:42:38 +00:00
newfs_sysvbfs fix includes, addr __RCSID 2017-01-10 20:49:20 +00:00
newfs_udf Add rcsid 2019-06-30 11:38:16 +00:00
newfs_v7fs need <sys/stat.h> 2017-01-10 20:53:09 +00:00
nologin Mention author in AUTHORS section. 2016-09-12 05:23:32 +00:00
nvmectl avoid access uninitialised memory, found by gcc8, patch by agc@. 2019-10-04 09:16:38 +00:00
ping un-ifdef sgi. NFC 2017-10-02 10:08:11 +00:00
ping6 Add code 3 of paramprob, part of RFC7112: "IPv6 First Fragment has 2018-04-24 07:22:32 +00:00
pppoectl introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
raidctl introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rcorder Drop main() prototype. 2016-09-05 01:00:07 +00:00
reboot reboot: fix arg order for logwtmpx(3) 2019-08-08 21:14:12 +00:00
resize_ffs wether -> whether 2019-04-21 11:45:08 +00:00
resize_lfs Use getdiskrawname to find the device name. 2019-08-22 20:26:07 +00:00
restore s/opration/operation/ 2019-12-27 07:41:22 +00:00
rndctl Teach `rndctl -L' to update the seed file, not just delete it. 2019-12-06 14:43:18 +00:00
route introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
routed introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
savecore elide recently introduced warnings that trigger in normal cases, eg: 2019-11-06 07:29:08 +00:00
scan_ffs Teach scan_ffs about lfs64. 2015-10-15 06:25:23 +00:00
scsictl Fix format. 2017-03-08 11:45:14 +00:00
setkey
shutdown Use NULL instead of 0 for null pointer. 2017-08-07 22:08:12 +00:00
slattach Improve examples and netmask information (from Dan Plassche) 2018-11-12 00:56:26 +00:00
svhlabel
swapctl Minor formatting change in swapctl -l as noted in my PR bin/51155 2016-05-31 09:34:25 +00:00
sysctl sysctl: Add indirection of symbols to remove clash with sanitizers 2019-08-18 04:10:22 +00:00
ttyflags
tunefs Add missing space in "quotas disabled" output from tunefs -N 2019-04-12 01:14:37 +00:00
umbctl Mark _error() as printflikee 2018-08-02 03:40:51 +00:00
umount introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
veriexecctl Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wdogctl Use _PATH_WATCHDOG from <paths.h> instead of locally-defined value. 2015-05-06 23:08:30 +00:00
wsconsctl When merging entries with the keyboard map, print only the resulting changes. 2018-11-23 06:31:57 +00:00
Makefile Install mount_qemufwcfg everywhere instead of just x86. 2018-09-30 15:56:46 +00:00
Makefile.inc