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 mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
burncd The .Nm utility 2002-07-14 14:47:15 +00:00
cdcontrol de-__P() 2002-07-11 18:31:16 +00:00
chkgrp Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
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 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
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 mdoc(7) police: minor formatting tweaks. 2001-08-31 12:52:50 +00:00
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 Add editmap, a new utility which comes with sendmail 8.12 for editing maps in 2002-02-17 22:02:59 +00:00
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 mdoc(7) police: tidy up the markup. 2002-01-10 17:41:22 +00:00
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 Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ipsend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
iptest Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
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 mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
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 Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
mailwrapper The .Nm utility 2002-07-14 14:47:15 +00:00
makemap Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
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 Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
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 Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
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 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
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 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
named.restart Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ndc Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
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 Install files via FILES. 2001-12-17 16:21:59 +00:00
nsupdate Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
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 Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
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 Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
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 Unbogotify the comment containing the RCS Id. 2002-02-15 00:46:32 +00:00
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 Update build infrastructure for sendmail 8.12. 2002-02-17 22:06:20 +00:00
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 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
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 Don't clobber CFLAGS. 2001-08-04 21:48:18 +00:00
tcpdmatch Don't clobber the default for CFLAGS. 2001-08-31 11:05:24 +00:00
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 Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
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 Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
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 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00