freebsd-skq/sbin
wpaul af8a974897 Fixed stupid bug in mountd: it would seem that the kernel doesn't allow
you to push the same host into its NFS export lists twice, but mountd
tries to do it anyway. This means that putting:

/some_file_system -ro host1 host1

in your /etc/exports file causes an error. This is bogus: mountd should be
smart enough to ignore the second instance of host1. This can be a problem
in some configurations that use netgroups. For example, each host in my
netgroups database is has two entries:

startide (startide,-,) (startide.ctr.columbia.edu,-,)

When mountd sees this, it tries to put startide.ctr.columbia.edu into the
export list *twice*. Just listing 'startide' /etc/exports list will also
screw up because mountd will try to resolve the netgroup 'startide' instead
of the hostname 'startide.'

My solution is watch for duplicate entries in get_host() and mark them
as grouptype GT_IGNORE, which do_mount() will now cheefully throw away.
This is a bit of a kludge, but it was the least obtrusive fix I could
come up with.

Also silenced a compiler warning: arguments passwd to xdr_long() should
be u_long, not int. :)
1995-03-26 23:36:38 +00:00
..
adjkerntz Use more AI to predict initial/final isdst, 1995-03-26 22:51:51 +00:00
badsect Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
bsdlabel Don't clobber d_secperunit in disklabel -e'. disklabel -e' replaces all 1995-02-22 23:21:29 +00:00
clri Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
comcontrol Remove excessive argc checking. It was impossible to set `dtrwait' and 1995-01-10 01:42:24 +00:00
cxconfig Cronyx/Sigma sync/async serial driver with PPP support 1994-12-02 23:23:01 +00:00
disklabel Don't clobber d_secperunit in disklabel -e'. disklabel -e' replaces all 1995-02-22 23:21:29 +00:00
dmesg Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
dset Fix it - now this programm should work probably..It is 1995-03-12 13:27:24 +00:00
dump Add pointer to the `ft' command. 1995-01-26 00:32:58 +00:00
dumpfs Corrected message when no rotational position table is found. 1994-10-01 16:53:53 +00:00
dumplfs fix another BLODDY ABSOLUTE .PATH !!!! :-< 1994-11-20 22:28:09 +00:00
fastboot Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
fdisk Recognise Linux filesystems. 1995-01-14 02:26:07 +00:00
fsck Remove reference to fsdb(8). We don't have it. 1995-03-17 04:41:18 +00:00
fsck_ffs Remove reference to fsdb(8). We don't have it. 1995-03-17 04:41:18 +00:00
fsck_ifs Remove reference to fsdb(8). We don't have it. 1995-03-17 04:41:18 +00:00
ft Update this to the latest version from Steve Gerakines. This is an easy 1994-06-22 04:49:04 +00:00
i386 Recognise Linux filesystems. 1995-01-14 02:26:07 +00:00
ifconfig Impliment -ad and -au flags in addition to -a and document the change 1995-03-12 19:05:03 +00:00
init Add better argument handling 1995-01-10 21:19:57 +00:00
ip_mroute_mod Makefile to generate the ip_mroute_mod.o LKM. After talking this over 1994-09-14 22:11:51 +00:00
ipfw Update manpage..BTW,if somebody wit good English 1995-03-03 12:59:47 +00:00
ldconfig Make ldconfig and ld.so not hashing the shared lib minor number. This 1995-01-12 19:12:29 +00:00
md5 oops. 1995-02-26 02:00:35 +00:00
mknod Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
modload Fix long-standing core dump when ld returns failure. 1995-03-16 17:11:21 +00:00
modunload Killed explicit OS specification. 1994-08-19 13:40:41 +00:00
mount Fix another bogon in the change before the last. 1995-02-16 11:23:25 +00:00
mount_cd9660 Include the special device in the error output so that it makes sense. 1995-02-15 14:29:26 +00:00
mount_fdesc Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_ifs Fix another bogon in the change before the last. 1995-02-16 11:23:25 +00:00
mount_kernfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_lfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_msdos Fix another path that was broken by moving things to sbin/i386. 1994-12-04 08:01:24 +00:00
mount_msdosfs Fix another path that was broken by moving things to sbin/i386. 1994-12-04 08:01:24 +00:00
mount_nfs Add support for kerberised NQNFS. 1995-01-30 19:18:11 +00:00
mount_null This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
mount_nullfs This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
mount_portal Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
mount_portalfs Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
mount_procfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_umap Whoops. 1994-11-20 22:46:14 +00:00
mount_umapfs Whoops. 1994-11-20 22:46:14 +00:00
mount_union Guess what 1994-11-20 22:47:52 +00:00
mount_unionfs Guess what 1994-11-20 22:47:52 +00:00
mountd Fixed stupid bug in mountd: it would seem that the kernel doesn't allow 1995-03-26 23:36:38 +00:00
newfs Allow zero as value for certain arguments to indicate "take from disklabel". 1995-02-05 18:03:37 +00:00
newlfs Honor the values for bsize, fsize and bps from the disklabel. 1995-01-04 23:50:30 +00:00
nfsd Add support for kerberised NQNFS. 1995-01-30 18:56:06 +00:00
nfsiod Automatically load NFS and a bevy of other filesystems. 1994-09-22 22:17:02 +00:00
nologin Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
ping In past releases of FreeBSD, I have used the exit status of "ping" to 1994-11-29 16:09:56 +00:00
quotacheck Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
rdisc Router Discovery from Sun Microsystems 1994-09-30 21:16:09 +00:00
reboot Install aliases "fasthalt" and "fastboot" for halt and boot respectively. 1994-08-21 05:48:34 +00:00
restore Added FIFO restore capability. 1995-02-10 21:57:02 +00:00
route Missing 'break' after setting interface route flag was causing interface 1994-09-15 08:35:37 +00:00
savecore The -N option takes one argument, hence the getopt control string 1995-01-02 12:08:06 +00:00
scsi Fix verbose printout of "" name 1995-01-26 23:40:40 +00:00
scsiformat BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
shutdown Yanked out (now obsolete) support for 'fastboot'. 1995-02-15 14:35:29 +00:00
slattach Do not try to make any notice if the PID file cannot be created. 1995-03-12 23:37:28 +00:00
startslip Joe Greco <jgreco@brasil.moneng.mei.com>'s enhancements to startslip. 1994-12-04 12:26:01 +00:00
swapon Fix -Wall warnings. 1995-02-23 07:05:01 +00:00
sysctl Implement maxprocperuid and maxfilesperproc. They are tunable 1995-02-20 19:42:42 +00:00
sysinstall add a \t which has been nagging me too long 1995-03-19 06:28:48 +00:00
tunefs Changed manual page to conform to the reality in FreeBSD. 1995-03-15 07:08:33 +00:00
umount From njw@cs.city.ac.uk (Nick Williams): 1994-11-04 17:51:37 +00:00
DISCLAIMER Router discovery code - Courtesy Sun Microsystems 1994-09-30 20:47:35 +00:00
Makefile I have taken sysinstall out of the normal SUBDIR rule. There are too 1995-01-31 19:41:08 +00:00
Makefile.inc Don't build /sbin shared. 1994-05-28 03:56:49 +00:00