freebsd-nq/sbin
Peter Wemm ed055a8342 Second try at cleanups and fixes (without if_media stuff for the moment)
- parse command options using getopt for consistancy
- sanitise the command parsing so that it's less like spaghetti
- implement a "-l" option (idea from NetBSD - just list names)
- attempt to clean up the sysctl parsing loop some more.  It still needs
  to be taken out the back and shot though.
- cut down on global usage, but there's a lot more scope for this.
- make usage string a bit closer to reality (it was missing lots of things)

Unfortunately, I did this for the second time but with the memory of
the NetBSD version still recently in my mind.  It's hard to redo simple
changes or getopt stuff without making it look like what you've been
working with a few hours ago.
1997-05-04 06:14:47 +00:00
..
adjkerntz compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
badsect Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
bsdlabel compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
ccdconfig Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
clri Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
comcontrol Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
cxconfig Convert to mdoc format. 1996-12-23 01:04:46 +00:00
disklabel compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
dmesg compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
dset compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
dump Implement Kerberized rcmd for rdump/rrestore. This is lacking the 1997-04-29 17:46:27 +00:00
dumpfs Make this compile after the fsirand changes that deleted two fields. 1997-03-28 13:06:59 +00:00
dumplfs Merge from Lite2 (does not work though) 1997-03-11 12:14:07 +00:00
dumpon compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
fdisk OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that need 1997-05-02 03:08:04 +00:00
fsck patch up some "int *" vs. "time_t *" (long) mismatches. They could be 1997-03-18 20:02:18 +00:00
fsck_ffs patch up some "int *" vs. "time_t *" (long) mismatches. They could be 1997-03-18 20:02:18 +00:00
fsck_ifs patch up some "int *" vs. "time_t *" (long) mismatches. They could be 1997-03-18 20:02:18 +00:00
fsdb Implement a -r option to fsdb(8), ``read/only''. 1997-04-15 09:02:48 +00:00
fsirand Update HISTORY to reflect that this will first appear in 2.2.5. 1997-03-27 18:47:05 +00:00
i386 OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that need 1997-05-02 03:08:04 +00:00
ifconfig Second try at cleanups and fixes (without if_media stuff for the moment) 1997-05-04 06:14:47 +00:00
init Be more specific as to which flags may not be turned off when the 1997-04-01 20:41:04 +00:00
ipfw compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
ldconfig Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
md5 mdoc'ify man page 1997-03-02 21:43:10 +00:00
mknod Fixed checking for a non-numeric minor number. 1997-03-12 19:03:40 +00:00
modload compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
modunload compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount Fix parsing of mount options with '=' in their name. 1997-04-30 05:48:22 +00:00
mount_cd9660 Userland part of ISO9660 multi-session support. mount_cd9660(8) will 1997-04-29 15:56:40 +00:00
mount_ext2fs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_ifs Fix parsing of mount options with '=' in their name. 1997-04-30 05:48:22 +00:00
mount_lfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_msdos compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_msdosfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_nfs Test both the NFS and MOUNT protocols for v3 support before allowing a v3 1997-05-01 12:30:02 +00:00
mount_null compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_nullfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_portal compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_portalfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_std compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_umap compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_umapfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mount_union Use realpath() on the source as well as the target otherwise it can be 1997-04-29 09:09:09 +00:00
mount_unionfs Use realpath() on the source as well as the target otherwise it can be 1997-04-29 09:09:09 +00:00
mountd Back out msmith's recent commit which breaks using symbolic names for netmasks. 1997-04-30 18:40:12 +00:00
newfs Fix the mount_mfs case from the last cleanup. The code was (ab)using 1997-03-31 16:43:16 +00:00
newlfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
nextboot Spelling police. 1997-04-23 04:46:38 +00:00
nfsd compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
nfsiod compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
nologin An odd merge from 2.2 to -current. Somehow that 2.2 nologin.5 1997-03-03 06:47:27 +00:00
ping Fix typo introduced in 1.17. 1997-03-04 22:05:49 +00:00
quotacheck compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
reboot compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
restore Document -k flag here, too. 1997-04-29 17:48:58 +00:00
route Allow "modern" syntax: 1997-04-02 17:05:30 +00:00
routed compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
savecore compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
scsi compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
scsiformat Avoid the ``Three seconds until format begins'' construct. It's 1997-03-02 11:21:07 +00:00
shutdown compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
slattach Fix typo: "oder" -> "order". 1997-04-16 09:56:30 +00:00
startslip Fixed missing DPADD. Removed now-redundant SRCS. 1997-04-01 07:43:14 +00:00
swapon compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
sysctl compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
tunefs Correct some man page cross references and some file 1996-02-05 17:32:16 +00:00
umount Don't try to look up unionfs' <above>, <below> keywords as hostnames. 1997-04-29 09:10:11 +00:00
Makefile Reactivated dumplfs and newlfs. 1997-03-24 04:57:50 +00:00
Makefile.inc Part one of a "fix-and-move". Init(8) had make macros declared here 1997-02-10 17:41:33 +00:00