freebsd-nq/usr.sbin
Joerg Wunsch 288fa14ac4 Try to give a more descriptive error message for the pilot error of
attempting to export the non-root of a filesystem with -alldirs.  This
pilot error seems to be very common, and the "could not remount" error
message doesn't give much hints about the real reason.  See the old PR
below for an example.

While i was at it, make it possible to entirely omit the often
annoying error message in that case by specifying the "quiet" exports
flag.  This allows to specify something like

/cdrom	-alldirs,ro,quiet	<where to export to>

which will silently fail if nothing is mounted under /cdrom, but do
the rigth thing as soon as you mount something.

While doing this, i've put the embedded example in the exports(5) man
page into a subsection of its own as it ought to be.

Thanks for Paul Southworth for reminding me about this problem.

PR:		bin/4448
MFC after:	1 month
2002-07-18 20:52:17 +00:00
..
ac The .Nm utility 2002-07-14 14:47:15 +00:00
accton The .Nm utility 2002-07-14 14:47:15 +00:00
acpi The .Nm utility 2002-07-14 14:47:15 +00:00
adduser The .Nm utility 2002-07-14 14:47:15 +00:00
amd Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
ancontrol The .Nm utility 2002-07-14 14:47:15 +00:00
apm The .Nm utility 2002-07-14 14:47:15 +00:00
apmd The .Nm utility 2002-07-14 14:47:15 +00:00
arp The .Nm utility 2002-07-14 14:47:15 +00:00
atm The .Nm utility 2002-07-14 14:47:15 +00:00
boot0cfg The .Nm utility 2002-07-14 14:47:15 +00:00
boot98cfg The .Nm utility 2002-07-14 14:47:15 +00:00
bootparamd The .Nm utility 2002-07-14 14:47:15 +00:00
btxld
burncd The .Nm utility 2002-07-14 14:47:15 +00:00
cdcontrol de-__P() 2002-07-11 18:31:16 +00:00
chkgrp
chown Fix a spelling mistake. 2002-07-17 16:22:24 +00:00
chroot The .Nm utility 2002-07-14 14:47:15 +00:00
ckdist
config The .Nm utility 2002-07-14 14:47:15 +00:00
cron The .Nm utility 2002-07-14 14:47:15 +00:00
crunch mdoc(7) police: markup nit. 2002-05-30 07:51:22 +00:00
ctm Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
daemon
dev_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
devinfo Typo fix: syste -> system 2002-05-31 01:46:26 +00:00
digictl The .Nm utility 2002-07-14 14:47:15 +00:00
editmap
edquota The .Nm utility 2002-07-14 14:47:15 +00:00
elf2aout Set NO_WERROR to ignore the following warning which is emitted on 2002-07-11 18:06:09 +00:00
elf2exe The .Nm utility 2002-07-14 14:47:15 +00:00
extattrctl The .Nm utility 2002-07-14 14:47:15 +00:00
faithd The .Nm utility 2002-07-14 14:47:15 +00:00
fdcontrol
fdformat Include <string.h> for some prototypes, rather than depending on 2002-04-01 21:13:17 +00:00
fdread Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
fdwrite Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
getextattr The .Nm utility 2002-07-14 14:47:15 +00:00
gifconfig The .Nm utility 2002-07-14 14:47:15 +00:00
i4b The .Nm utility 2002-07-14 14:47:15 +00:00
ifmcstat The .Nm utility 2002-07-14 14:47:15 +00:00
inetd add support for rpc IPv6 (rpc/udp/46 ...) 2002-07-15 19:09:33 +00:00
iostat The .Nm utility 2002-07-14 14:47:15 +00:00
ipftest * ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to 2002-03-20 08:57:10 +00:00
ipresend
ipsend
iptest
IPXrouted The .Nm utility 2002-07-14 14:47:15 +00:00
jail The .Nm utility 2002-07-14 14:47:15 +00:00
kbdcontrol de-__P() 2002-07-11 21:13:37 +00:00
kbdmap C rewrite of kbdmap/vidfont. 2002-07-03 14:56:08 +00:00
kernbb The .Nm utility 2002-07-14 14:47:15 +00:00
keyadmin The .Nm utility 2002-07-14 14:47:15 +00:00
keyserv Port to TI/RPC and/or IPV6. 2002-07-15 18:51:57 +00:00
kgmon The .Nm utility 2002-07-14 14:47:15 +00:00
kgzip
kldxref This is a userland tool, not a kernel component or libstand client. 2002-07-17 23:41:58 +00:00
lastlogin The .Nm utility 2002-07-14 14:47:15 +00:00
lpr Changes which rewrite 'lpc topq', and which add 'lpc bottomq'. These 2002-07-17 00:51:19 +00:00
lptcontrol The .Nm utility 2002-07-14 14:47:15 +00:00
mailstats
mailwrapper The .Nm utility 2002-07-14 14:47:15 +00:00
makemap
manctl The .Nm utility 2002-07-14 14:47:15 +00:00
memcontrol The .Nm utility 2002-07-14 14:47:15 +00:00
mergemaster The .Nm utility 2002-07-14 14:47:15 +00:00
mixer The .Nm utility 2002-07-14 14:47:15 +00:00
mld6query The .Nm utility 2002-07-14 14:47:15 +00:00
mlxcontrol
mount_nwfs The .Nm utility 2002-07-06 19:34:18 +00:00
mount_portalfs The .Nm utility 2002-07-06 19:34:18 +00:00
mount_smbfs
mountd Try to give a more descriptive error message for the pilot error of 2002-07-18 20:52:17 +00:00
moused The .Nm utility 2002-07-14 14:47:15 +00:00
mptable
mrouted The .Nm utility 2002-07-14 14:47:15 +00:00
mtest The .Nm utility 2002-07-14 14:47:15 +00:00
mtree Get rid of %qd, and unbreak Alpha build. 2002-07-15 12:17:31 +00:00
named Install the rfc 2317 notes 2002-07-01 01:23:59 +00:00
named.reload
named.restart
ndc
ndp The .Nm utility 2002-07-14 14:47:15 +00:00
newsyslog The .Nm utility 2002-07-14 14:47:15 +00:00
nfsd The .Nm utility 2002-07-06 19:34:18 +00:00
ngctl Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
nghook The .Nm utility 2002-07-14 14:47:15 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nslookup
nsupdate
ntp The .Nm utility 2002-07-14 14:47:15 +00:00
pccard The .Nm utility 2002-07-14 14:47:15 +00:00
pciconf The .Nm utility 2002-07-14 14:47:15 +00:00
pcvt s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
periodic The .Nm utility 2002-07-14 14:47:15 +00:00
pkg_install C replacement for the Perl5 code. 2002-06-24 16:03:24 +00:00
pnpinfo
ppp Remove unused calls to inet_addr() 2002-07-18 18:50:05 +00:00
pppctl The .Nm utility 2002-07-14 14:47:15 +00:00
pppd inet_aton returns 0 on failure, not -1. 2002-05-06 08:39:43 +00:00
pppstats Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
praliases
prefix The .Nm utility 2002-07-14 14:47:15 +00:00
procctl The .Nm utility 2002-07-14 14:47:15 +00:00
pstat The .Nm utility 2002-07-14 14:47:15 +00:00
pw The .Nm utility 2002-07-14 14:47:15 +00:00
pwd_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
quot The .Nm utility 2002-07-14 14:47:15 +00:00
quotaon The .Nm utility 2002-07-14 14:47:15 +00:00
rarpd The .Nm utility 2002-07-14 14:47:15 +00:00
raycontrol The .Nm utility 2002-07-14 14:47:15 +00:00
repquota The .Nm utility 2002-07-14 14:47:15 +00:00
rip6query The .Nm utility 2002-07-14 14:47:15 +00:00
rmt The .Nm utility 2002-07-14 14:47:15 +00:00
route6d The .Nm utility 2002-07-14 14:47:15 +00:00
rpc.lockd Add IPv6 support. 2002-07-15 19:40:23 +00:00
rpc.statd use getaddrinfo() instead of gethostbyname(). 2002-07-15 19:02:45 +00:00
rpc.umntall The .Nm utility 2002-07-14 14:47:15 +00:00
rpc.yppasswdd s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
rpc.ypupdated
rpc.ypxfrd The .Nm utility 2002-07-14 14:47:15 +00:00
rpcbind The .Nm utility 2002-07-14 14:47:15 +00:00
rrenumd The .Nm utility 2002-07-14 14:47:15 +00:00
rtadvd The .Nm utility 2002-07-14 14:47:15 +00:00
rtprio Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
rtsold The .Nm utility 2002-07-14 14:47:15 +00:00
rwhod Comment out WARNS?=4 to unbreak the Alpha build. 2002-07-15 17:11:20 +00:00
sa Get rid of %qd, and unbreak Alpha build. 2002-07-15 16:05:15 +00:00
sade The .Nm utility 2002-07-14 14:47:15 +00:00
sendmail
setextattr The .Nm utility 2002-07-14 14:47:15 +00:00
setkey The .Nm utility 2002-07-14 14:47:15 +00:00
sgsc
sicontrol The .Nm utility 2002-07-14 14:47:15 +00:00
sliplogin The .Nm utility 2002-07-14 14:47:15 +00:00
slstat WARNS=2, de-__P() 2002-07-11 22:50:36 +00:00
spkrtest The .Nm utility 2002-07-14 14:47:15 +00:00
spray do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead 2002-07-15 18:53:52 +00:00
stallion The .Nm utility 2002-07-14 14:47:15 +00:00
sysinstall The .Nm utility 2002-07-14 14:47:15 +00:00
syslogd The .Nm utility 2002-07-14 14:47:15 +00:00
tcpdchk
tcpdmatch
tcpdump Remove out-of-date -I. 2002-06-26 01:37:45 +00:00
timed The .Nm utility 2002-07-14 14:47:15 +00:00
traceroute
traceroute6 The .Nm utility 2002-07-14 14:47:15 +00:00
trpt Unbreak Alpha build. 2002-07-16 09:58:36 +00:00
tzsetup The .Nm utility 2002-07-14 14:47:15 +00:00
usbd The .Nm utility 2002-07-14 14:47:15 +00:00
usbdevs The .Nm utility 2002-07-14 14:47:15 +00:00
vidcontrol Remove some missing words. 2002-07-10 03:39:52 +00:00
vipw The .Nm utility 2002-07-14 14:47:15 +00:00
vnconfig
watch The .Nm utility 2002-07-14 14:47:15 +00:00
wicontrol The .Nm utility 2002-07-14 14:47:15 +00:00
wlconfig The .Nm utility 2002-07-14 14:47:15 +00:00
xten KNF. 2002-06-12 04:18:35 +00:00
yp_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
ypbind The .Nm utility 2002-07-14 14:47:15 +00:00
yppoll The .Nm utility 2002-07-14 14:47:15 +00:00
yppush The .Nm utility 2002-07-14 14:47:15 +00:00
ypserv s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
ypset The .Nm utility 2002-07-14 14:47:15 +00:00
zic The .Nm utility 2002-07-14 14:47:15 +00:00
Makefile Hook nfsd and mountd back into the build in /usr/sbin, where they make more 2002-07-07 22:17:38 +00:00
Makefile.inc