NetBSD/sbin
christos dfb7cec746 Add a -z flag to zero out the up to 4 bytes of padding in directory entry
names (including the terminating NUL), as well as directory entries with
extra free space (d->d_reclen > UFS_DIRSIZ(d)).

Inspired from FreeBSD:
    https://svnweb.freebsd.org/base?view=revision&revision=347066

While the kernel has been fixed to deal with the padding bytes (new
kernels will correctly zero out all the padding after the name), it
appears that there is still an issue with directory entries with extra
free space, since a newly created and populated filesystem gets modified
with "fsck_ffs -z".
2019-05-05 14:59:06 +00:00
..
amrctl Remove reference to -c flag which was never implemented. 2018-08-27 00:36:03 +00:00
apmlabel
atactl - smart vendor support now does try to guess the vendor, 2019-03-03 04:51:57 +00:00
badsect Drop main() prototype. 2016-09-05 01:00:07 +00:00
bioctl - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
brconfig
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 Avoid misaligned access in disklabel(8) in find_label() 2018-06-27 01:14:48 +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 Correct the 6 second offset issue between the time reported by 2018-10-30 19:40:35 +00:00
drvctl Revert functional changes in previous, at expense of strict KNF conformance. 2018-02-14 17:43:09 +00:00
dump Bump date for previous. 2019-03-25 07:03:17 +00:00
dump_lfs Bump date for previous. 2019-03-25 07:03:17 +00:00
fastboot
fdisk mention that -B is used to set the timeout for mbr_bootsel 2019-04-09 09:03:41 +00:00
fsck file system police. 2016-09-11 09:09:54 +00:00
fsck_ext2fs Ignore EXT4 'kbytes written' field when validating alternate superblock. 2019-03-31 13:16:52 +00:00
fsck_ffs Add a -z flag to zero out the up to 4 bytes of padding in directory entry 2019-05-05 14:59:06 +00:00
fsck_lfs - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
fsck_msdos Typos. 2018-02-08 09:05:16 +00:00
fsck_v7fs need <sys/stat.h> 2017-01-10 20:53:09 +00:00
fsdb Fix punctuation markup. 2017-08-05 20:25:41 +00:00
fsirand Document author and the version fsirand appeared. 2016-09-11 21:22:18 +00:00
gpt PR bin/54088: make "destroy" remove the protective MBR too. 2019-04-04 14:03:40 +00:00
ifconfig Suggested by Christos: 2019-04-22 10:44:55 +00:00
init init first appeared in V1 UNIX 2016-09-11 22:22:57 +00:00
iscsictl
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 Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +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 It's not literal "-options" so use .Ar 2018-01-24 12:04:47 +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
mount_fdesc
mount_ffs
mount_filecore
mount_hfs Drop main() prototype. 2016-09-05 01:00:07 +00:00
mount_kernfs
mount_lfs
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
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 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mount_procfs Bump date for previous. 2017-08-28 05:58:08 +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
mount_udf Add HISTORY & AUTHORS section. 2016-09-12 02:45:07 +00:00
mount_umap
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
newfs_msdos updates for GCC 6.4: 2018-02-04 09:03:23 +00:00
newfs_sysvbfs fix includes, addr __RCSID 2017-01-10 20:49:20 +00:00
newfs_udf Address of packed member might not be aligned. 2018-12-09 17:52:48 +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 since NVMe 1.2 (which defined the ONCS bit), the bit (4) is whether controller 2018-12-01 18:29:19 +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 Fix wrong macro, use An. 2018-09-25 09:55:41 +00:00
raidctl Correct printed IOCTL name that was incorrect since rev 1.5. 2019-02-06 22:38:10 +00:00
rcorder Drop main() prototype. 2016-09-05 01:00:07 +00:00
reboot A standalone reboot utility showed up in 4.0BSD. 2016-09-12 05:43:15 +00:00
resize_ffs wether -> whether 2019-04-21 11:45:08 +00:00
resize_lfs
restore - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
rndctl
route Resolve every route(4) message type before printing anything more about it 2018-08-14 20:53:07 +00:00
routed update for GCC 6: 2018-02-06 09:33:07 +00:00
savecore avoid infinite loop in kmem_check(). fixes bug introduced in previous. 2018-12-27 21:25:46 +00:00
scan_ffs
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
sysctl kern.boottime was changed from a struct timeval to a struct timespec 2018-10-30 19:41:21 +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 s/filesystem/file system/ 2017-06-07 15:24:50 +00:00
veriexecctl Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wdogctl
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