freebsd-nq/sbin
Ian Dowse afe1ef249f Fix some bugs and general brain damage in mounttab:
- Declare mtabhead as an extern in mounttab.h and define it only in
  mounttab.c.
- Remove shared global `verbose' and instead pass it as a parameter.
- Remove the `mtabp' argument to read_mtab(). It served no purpose
  whatsoever, although read_mtab() did use it as a temporary local
  variable.
- Don't check for impossible conditions when parsing mounttab, and
  do detect zero-length fields.
- Correctly test for strtoul() failures - just testing ERANGE is wrong.
- Include a field name in syslog errors, and avoid passing NULL to
  a syslog %s field.
- Don't test if arrays are NULL.
- If there are duplicates when writing out mounttab, keep the last
  entry instead of the first, as it will have a later timestamp.
- Fix a few formatting issues.

Update rpc.umntall and umount to match the mounttab interface changes.
2001-07-22 12:17:51 +00:00
..
adjkerntz Fix a prototype and set WARNS=2. 2001-07-15 05:41:57 +00:00
atacontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
atm Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
badsect Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
bsdlabel Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
camcontrol Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ccdconfig Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
clri Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
comcontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
cxconfig Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
dhclient
disklabel Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
dmesg add -a to usage() 2001-07-14 21:56:04 +00:00
dump Sort options in DESCRIPTION. 2001-07-15 14:00:19 +00:00
dumpfs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
dumpon Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fdisk fdisk(8): document the default for -b, add xref to boot0cfg(8). 2001-07-18 07:12:46 +00:00
fdisk_pc98 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ffsinfo Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsck Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsck_ffs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsck_ifs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsck_msdosfs Document "-F". 2001-07-19 17:06:19 +00:00
fsdb Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsirand
growfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
i386 fdisk(8): document the default for -b, add xref to boot0cfg(8). 2001-07-18 07:12:46 +00:00
ifconfig Dike out the IPX bits if RELEASE_CRUNCH is defined. 2001-07-21 00:35:11 +00:00
init Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ip6fw mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
ipf Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
ipfstat Fixed DPADD. 2001-06-23 09:10:48 +00:00
ipfw Error messaging in ipfw(8) was out of hand, almost 50 lines of usage 2001-07-22 06:40:11 +00:00
ipmon
ipnat Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
kget Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
kldconfig mdoc(7) police: cosmetics. 2001-07-06 07:38:47 +00:00
kldload Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
kldstat
kldunload mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
ldconfig mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
md5 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mdconfig Use MD_NAME and MDCTL_NAME constants where appropriate. 2001-07-18 13:32:38 +00:00
mdmfs Add __printflike() to those static functions which need it. 2001-07-01 23:24:27 +00:00
mknod Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_cd9660 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_ext2fs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_hpfs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_ifs Nuke unused variables. 2001-06-24 23:31:07 +00:00
mount_msdosfs - VFS_SET(msdos) -> VFS_SET(msdosfs) 2001-06-01 10:57:26 +00:00
mount_nfs Change the foreground mount behaviour so that we keep retrying 2001-07-21 15:38:37 +00:00
mount_ntfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_nullfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_nwfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_portalfs Actually rename FDESC, PORTAL, UMAP and UNION file systems. 2001-05-24 15:20:11 +00:00
mount_std Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_umapfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_unionfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mountd Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
natd mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
newfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
newfs_msdos
nextboot Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nfsd Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nfsiod Correct cross-reference: 2001-06-07 16:59:19 +00:00
nologin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nos-tun Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
pc98 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ping Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ping6 mdoc(7) police: don't xref to itself. 2001-07-04 14:04:16 +00:00
quotacheck Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
rcorder Import the NetBSD 1.5 RC system. 2001-06-16 07:16:14 +00:00
reboot Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
restore Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
route Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
routed mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
rtsol Sync with recent KAME. 2001-06-11 12:39:29 +00:00
savecore mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
setkey Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
shutdown Constify, de-register-ify, __unused-ify, and set WARNS=2. 2001-07-15 05:46:07 +00:00
slattach Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
spppcontrol Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
startslip mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
swapon Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
sysctl mdoc(7) police: -xwidth has been fold into -width. 2001-07-13 09:09:52 +00:00
tunefs Constify, de-register-ify, and set WARNS=2. 2001-07-15 05:47:47 +00:00
umount Fix some bugs and general brain damage in mounttab: 2001-07-22 12:17:51 +00:00
vinum mdoc(7) police: 2001-07-04 14:18:31 +00:00
Makefile Fix disordering. 2001-07-09 11:06:47 +00:00
Makefile.inc