netbsd-src/sbin
tsutsui edc3e298c6 Fix an old bug in NATIVELABEL_ONLY case in PR/50729 by me. (sigh)
'disklabel -r -w' writes a disklabel at a wrong sector in
NATIVELABEL_ONLY && !LABELUSESMBR && LABELSECTOR != 0 case
if the target disk doesn't have a valid disklabel, due to
incorrect LABEL_OFFSET value.

Found and investigated on NetBSD/hp300 bootable CD tests.
Maybe this affects ports that use distrib/utils/x_disklabel
but have no MBR support, i.e. only NetBSD/hp300 10.0 and
NetBSD/ews4800mips 9.0 and later.

Should be pulled up to netbsd-10 and netbsd-9.
2024-05-15 12:47:22 +00:00
..
amrctl avoid calling printf() %s with NULL. 2020-09-06 02:34:02 +00:00
apmlabel
atactl fix various typos in comments, docs and log messages. 2022-05-24 06:27:59 +00:00
badsect Restore backward compatibility of UFS2 with previous NetBSD releases by 2022-11-17 06:40:38 +00:00
bioctl bioctl(8): bio_show_volumes(): Do not return pointer to stack. 2023-08-04 03:45:07 +00:00
blkdiscard fix misplaced or missing "e" in words with "ment" ending (argument, implement, 2024-02-08 20:51:24 +00:00
brconfig Remove unused Pp. Sort SEE ALSO. 2020-07-19 14:43:35 +00:00
canconfig New sentence, new line. Fix typos. More consistent grammar. 2017-05-29 08:46:23 +00:00
ccdconfig Use raw device for configuring units. This is necessary as 2020-10-06 18:47:07 +00:00
cgdconfig PR/58212: Malte Dehling: Add zfs verification method 2024-05-12 18:02:16 +00:00
chkconfig
chown ALso fix chgrp Synopsis to include -d option 2023-05-20 09:41:34 +00:00
clri s/superblok/superblock/ in comment. 2023-02-26 22:55:02 +00:00
devpubd Fix obvious editor mishap in previous 2021-08-08 10:48:35 +00:00
disklabel Fix an old bug in NATIVELABEL_ONLY case in PR/50729 by me. (sigh) 2024-05-15 12:47:22 +00:00
dkctl Teach dk(4) about ZFS. 2020-03-30 08:36:09 +00:00
dkscan_bsdlabel s/endianess/endianness/ 2021-11-10 17:19:29 +00:00
dmctl fix spelling mistakes, mainly in comments and log messages. 2024-02-09 22:08:30 +00:00
dmesg Assert postts only if we really obtained a timestamp. 2022-08-06 10:22:22 +00:00
drvctl When extracting properties, don't bail for non-existent or invalid path 2022-08-21 07:51:30 +00:00
dump fix always true conditional by removing the address-of operator. 2023-08-07 23:26:40 +00:00
dump_lfs s/unitialized/uninitialized/ 2024-05-12 23:55:57 +00:00
fastboot
fdisk bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
fsck Use opendisk when looking for filesystem type, otherwise the detection 2023-01-24 08:09:37 +00:00
fsck_ext2fs Fix depenency on common symbols in sbin. 2020-04-05 15:25:39 +00:00
fsck_ffs Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
fsck_lfs {usr.,}{s,}bin: replace LINT_SUPPORTED with the standard NOLINT 2024-04-20 13:24:48 +00:00
fsck_msdos ext.h: fix spelling and grammar in a comment 2023-09-24 20:41:52 +00:00
fsck_udf avoid double-free. 2023-08-03 08:06:11 +00:00
fsck_v7fs bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER 2023-06-03 08:52:53 +00:00
fsdb Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
fsirand fsirand(8): Fix security claims. 2024-03-28 15:39:42 +00:00
gpt check the right variable 2024-02-06 20:25:11 +00:00
ifconfig lagg(4): allocate memory for struct lagg_req by calloc(3) 2024-04-09 08:53:08 +00:00
init bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
iscsictl Parse IPv6 targets and handle IPv6 addresses. 2023-11-25 08:06:02 +00:00
iscsid Treat port 0 (unset) as ISCSI_DEFAULT_PORT like before. 2023-12-27 18:07:30 +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 call it "kernel object linker module framework" not just 2021-01-17 00:17:40 +00:00
modstat Update usage message to reflect reality. 2021-04-07 14:45:28 +00:00
modunload Use standard section header. 2016-09-12 06:55:10 +00:00
mount new sentence, new line 2024-04-03 07:00:06 +00:00
mount_ados Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +00:00
mount_autofs Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +00:00
mount_cd9660 sync usage with man page 2024-02-03 15:47:44 +00:00
mount_chfs Remove commented code, including empty if block. Replace tab with whitespace in usage declaration. 2021-07-16 12:09:36 +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 Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +00:00
mount_ffs Change the default for ACLs to be posix1e instead of nfsv4 to match FreeBSD. 2021-09-18 03:05:19 +00:00
mount_filecore Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +00:00
mount_hfs Drop main() prototype. 2016-09-05 01:00:07 +00:00
mount_kernfs Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +00:00
mount_lfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_msdos Fix a thinko 2020-02-12 09:43:19 +00:00
mount_nfs mount_nfs: add missing "A" to getopt string 2022-12-21 19:00:52 +00:00
mount_nilfs fix various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +00:00
mount_ntfs Use Xr instead of Fn to refer readdir(3) 2017-04-15 10:30:55 +00:00
mount_null Be consistent with mark-up of vop_reclaim 2020-12-01 02:43:18 +00:00
mount_overlay Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +00:00
mount_portal mount_portal: fix lint warnings about extern and empty declarations 2023-04-04 20:39:36 +00:00
mount_procfs mount_procfs(8): Document the format of the region descriptor 2023-04-18 18:42:20 +00:00
mount_ptyfs Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +00:00
mount_puffs New sentence, new line. Sort SEE ALSO. Fix typo. 2016-11-24 12:38:32 +00:00
mount_qemufwcfg lib/librefuse: Implement FUSE session API and its signal handling functionality 2022-01-22 07:53:05 +00:00
mount_sysvbfs Add AUTHORS section. 2016-09-12 02:38:31 +00:00
mount_tmpfs s/similarily/similarly/ 2022-04-12 20:51:42 +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 Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +00:00
mount_union Refactor remaining mount_* commands to use the common pathadj() 2020-07-26 08:20:22 +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 s/superbock/superblock/ in comment. 2024-05-10 20:36:34 +00:00
newfs_ext2fs Pull a change of newfs/mkfs.c rev 1.136: 2024-02-22 14:11:52 +00:00
newfs_lfs {usr.,}{s,}bin: replace LINT_SUPPORTED with the standard NOLINT 2024-04-20 13:24:48 +00:00
newfs_msdos Describe after example like other examples 2020-12-11 18:49:37 +00:00
newfs_sysvbfs fix includes, addr __RCSID 2017-01-10 20:49:20 +00:00
newfs_udf fix various typos in comments. 2024-02-05 21:46:04 +00:00
newfs_v7fs bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER 2023-06-03 08:52:53 +00:00
nologin Mention author in AUTHORS section. 2016-09-12 05:23:32 +00:00
nvmectl Revert "nvmectl(8): Ensure A divides S before aligned_alloc(A, S)." 2023-07-05 10:58:46 +00:00
ping Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
ping6 fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
pppoectl bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
raidctl fix various typos in comments and log messages. 2024-02-10 09:21:51 +00:00
rcorder s/dependancies/dependencies/ and s/independantly/independently/ in comments and 2024-02-05 21:39:51 +00:00
reboot reboot: fix arg order for logwtmpx(3) 2019-08-08 21:14:12 +00:00
resize_ffs {usr.,}{s,}bin: replace LINT_SUPPORTED with the standard NOLINT 2024-04-20 13:24:48 +00:00
resize_lfs fix potentially uninitialised data being used. 2023-08-07 23:27:07 +00:00
restore s/indicies/indices/ in comments. 2024-02-10 08:24:50 +00:00
rndctl bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
route bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
routed bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
savecore Avoid overflows when reading strings. 2020-04-03 19:09:43 +00:00
scan_ffs Work on swapped-endian FFS. 2023-01-24 08:05:07 +00:00
scsictl s/informtion/information/ in comments. 2023-12-28 19:58:11 +00:00
setkey
shutdown shutdown(8): markup fixes 2023-02-15 13:05:21 +00:00
slattach Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is 2020-01-19 01:25:03 +00:00
svhlabel
swapctl update my email address. 2024-02-04 05:43:05 +00:00
sysctl commonize case block 2023-04-02 18:15:24 +00:00
ttyflags open the tty with O_RDWR|O_NONBLOCK. it seems valid to ask for 2014-05-04 20:43:30 +00:00
tunefs ufs: fixed signed/unsigned bugs affecting large file systems 2023-01-07 19:41:29 +00:00
umbctl Fix and improve parsing of configuration files 2020-05-13 21:44:30 +00:00
umount bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
veriexecctl Update for proplib(3) API changes. 2020-06-06 22:33:23 +00:00
wdogctl wdogctl(8): Minor tweak suggested by a passing umarell. 2022-09-23 12:35:00 +00:00
wsconsctl Add support for a read-only edid attribute that shows the result of 2021-12-25 13:54:13 +00:00
Makefile revert bits and pieces I accidentally included in my last commit 2022-06-06 13:28:55 +00:00
Makefile.inc lint: suppress "used but not defined" for bin, sbin, usr.bin, usr.sbin 2024-05-12 17:55:36 +00:00