freebsd-dev/sbin
Robert Watson d266903483 The badsect(8) utility uses atol(), which doesn't allow very good error
checking and only recognizes numbers in base 10.  The attached patch
checks errno after strtol() and uses a base of 0 to allow octal, or hex
sector numbers too.

PR:		73112
Submitted by:	keramida
MFC after:	2 weeks
2005-01-03 19:03:40 +00:00
..
adjkerntz
atacontrol Distinguish between TCQ and NCQ type of tagged queing. 2004-09-15 11:22:05 +00:00
atm Back the warnings down from 9 to 6, since that is the highest we have. If 2004-12-13 15:42:46 +00:00
badsect The badsect(8) utility uses atol(), which doesn't allow very good error 2005-01-03 19:03:40 +00:00
bsdlabel The disk labels generated by bsdlabel can no address more than 2004-09-09 07:46:53 +00:00
camcontrol
ccdconfig Replace link to nonexistent raid(4) with one to geom(8). I don't like 2004-10-31 05:28:15 +00:00
clri
comcontrol Reflect the cuaa->cuad namechange in documentation. 2004-11-13 00:09:19 +00:00
conscontrol
devd NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
devfs Remove a useless use of cat, strip overzealous punctuation, and 2004-11-06 11:16:56 +00:00
dhclient Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
dmesg Print a usage message if a non-option is specified. 2004-10-13 20:33:18 +00:00
dump Clearer va-args usage. 2004-12-30 00:53:56 +00:00
dumpfs
dumpon Promote mediasize and physmem to uintmax_t when comparing them. 2004-10-04 06:54:19 +00:00
fdisk Add 0xbf as new partition id for Solaris. 2004-11-10 07:48:29 +00:00
fdisk_pc98 Merged from src/sbin/fdisk/fdisk.c revision 1.75. 2004-10-24 12:05:10 +00:00
ffsinfo The ffsinfo utility uses atol() to parse numeric values out of optarg 2005-01-03 18:59:04 +00:00
fsck
fsck_ffs Do not pass random bits as mount arguments. 2004-12-12 11:04:52 +00:00
fsck_msdosfs
fsdb Make fsck WARNS=2 clean. 2004-10-09 15:56:34 +00:00
fsirand
gbde Fix a type bug which sometimes wrote unusable lock sectors on the disk. 2004-09-10 12:16:54 +00:00
geom Detect if class name is '-h' or 'help' and if it is, show general help 2004-12-28 17:07:18 +00:00
ggate Fix a deadlock in ggatel(8) simlar to one which was fixed some time 2004-10-02 16:58:33 +00:00
gpt For create and migrate, remove the `.Op Fl f' introduced in the 2004-11-13 08:01:48 +00:00
growfs Cross-reference ffsinfo(8). 2004-12-26 07:00:10 +00:00
gvinum Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
idmapd
ifconfig Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
init NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
ip6fw
ipf
ipfs
ipfstat
ipfw Update the IPFW man page to reflect reality. mpsafenet=0 is no longer 2004-12-10 02:38:21 +00:00
ipmon
ipnat
kldconfig
kldload
kldstat
kldunload
ldconfig
mca Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
md5
mdconfig Rewrite piece of code which I committed some time ago that allows to 2004-12-27 17:20:06 +00:00
mdmfs
mknod Mark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' section 2004-12-17 14:36:02 +00:00
mksnap_ffs Make sure we don't pass garbage to the kernel. 2004-12-08 11:54:50 +00:00
mount Fix typo. 2004-12-26 18:06:05 +00:00
mount_autofs WARNS=4 safe. 2004-09-12 07:06:48 +00:00
mount_cd9660 NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mount_ext2fs
mount_hpfs
mount_msdosfs NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mount_nfs
mount_nfs4
mount_ntfs NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mount_nullfs
mount_std Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero). 2004-11-29 09:35:01 +00:00
mount_udf NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mount_ufs NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mount_umapfs
mount_unionfs
natd
newfs Fix '-s' option for large disks and fix printing maximum file system size. 2004-09-19 10:01:51 +00:00
newfs_msdos
nfsiod
nos-tun
pfctl Remove -I from CFLAGS. This splipped in with the 3.5 import (as I was 2004-10-03 06:19:22 +00:00
pflogd Fixed misspelling of DPADD. 2004-10-24 14:25:53 +00:00
ping o Store timestamp in network byte order. 2004-09-30 07:35:56 +00:00
ping6
quotacheck
rcorder
reboot Fixed desctiptions of some options: 2004-09-30 09:59:44 +00:00
recoverdisk Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
restore
route Fix markup: .Dv -> .Va 2004-11-04 08:29:28 +00:00
routed
rtsol Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
savecore
sconfig Fix typos. 2004-12-30 01:48:12 +00:00
setkey
shutdown
slattach Remove cross reference to uustat(1), which is no longer in the base 2005-01-02 12:40:40 +00:00
spppcontrol
startslip
sunlabel
swapon Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
sysctl Code for automatic name completion in a tcsh(1) environment. 2004-12-05 23:44:52 +00:00
tunefs
umount
Makefile NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
Makefile.inc NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00