NetBSD/usr.sbin
jmmv 2a3e5eeb7c Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
..
ac Kill __P(), use ANSI function declarations, constify; WARNS=3 2005-03-16 01:41:20 +00:00
accton Kill __P(), use ANSI function declarations; WARNS=3 2005-03-16 01:43:06 +00:00
altq - add -D to usage 2005-06-17 12:02:00 +00:00
amd Updated autoconf generated files for am-utils 6.1.2.1. 2005-09-20 18:00:15 +00:00
apm Add 'd' to usage, sort options in usage, sort options in getopt() call. 2005-01-23 20:55:57 +00:00
apmd Kill __P(); WARNS=3 2005-03-16 01:44:46 +00:00
arp Kill __P(), use ANSI function declarations, constify; WARNS=3 2005-03-16 02:04:51 +00:00
bad144
bind Remove outdated BIND 8 version of named.conf(5). The build now picks up 2005-07-01 12:10:43 +00:00
bootp usage: Add -f and -m. Use getprogname(). Print to strerr. 2004-11-17 13:28:31 +00:00
catman Add (unsigned char) cast to ctype functions 2004-10-29 20:33:06 +00:00
chown Kill __P(), final round. 2005-03-16 02:55:10 +00:00
chroot
chrtbl
cnwctl
cron Set SIGCHLD to SIG_DFL in cron's child; instead of SIG_IGN, which alters the 2005-08-17 22:35:20 +00:00
dev_mkdb Kill __P(), use ANSI function declarations; WARNS=3 2005-03-16 02:56:18 +00:00
dhcp avoid ifconfig <if> "" it serves no purpose 2005-07-16 08:41:27 +00:00
diskpart Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
dumpfs
dumplfs 64 bit inode changes 2005-08-19 02:07:18 +00:00
edquota
eeprom More fallout from removing the (int) casts from ctype.h 2004-11-08 08:05:20 +00:00
envstat
eshconfig Non-argument options in SYNOPSIS belong before options with arguments. 2005-06-17 18:22:18 +00:00
etcupdate Tweaks for the move of postinstall from /etc to /usr/sbin 2005-04-17 23:12:40 +00:00
extattrctl Experimental support for extended attributes on UFS1 file systems, using a 2005-08-28 19:37:58 +00:00
faithd plug memory leak. Patrick Latifi 2005-03-16 05:05:06 +00:00
fssconfig Support user controllable flags for the snapshot driver: 2005-04-17 16:28:26 +00:00
fwctl Fix marge miss. We use 'hw.fwmem.eui64_[hl]i'. 2005-08-23 19:19:51 +00:00
grfconfig Add casts to unsigned char for the arguments to ctype.h functions. 2004-11-13 14:32:14 +00:00
grfinfo grfinfo(1) is hp300 specific, so move the man page to the hp300 subdir. 2005-08-20 17:21:29 +00:00
gspa Re-order includes so bcopy->memcpy macro redef doesn't cause prototype errors 2005-02-07 06:50:42 +00:00
hilinfo
hprop Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
ifmcstat NI_WITHSCOPEID was not picked up by IETF standardization process. 2004-11-16 05:59:32 +00:00
ifwatchd Sort options in SYNOPSIS. 2004-11-25 16:05:11 +00:00
inetd Remove useless lines. From YOMURA Masanori in private mail. 2005-09-11 23:38:35 +00:00
installboot 64 bit inode changes 2005-08-19 02:07:18 +00:00
iopctl
iostat Add tape statistics. 2005-08-07 12:32:38 +00:00
ipf Only compile in IPv6 support if ${USE_INET6} != "no" 2005-01-10 02:58:58 +00:00
ipwctl - KNF 2005-04-03 17:27:15 +00:00
irdaattach
isdn Don't attempt to use an uninitialized variable in a debug message. 2005-06-02 05:54:44 +00:00
iteconfig
iwictl Dd wants long name of the month, not the three-letter one. 2005-06-26 13:12:07 +00:00
kadmin Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
kdc Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
kgmon Change all .Xr config 8 to .Xr config 1, following the recent move of 2005-06-20 13:25:23 +00:00
kstash Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
ktutil Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
kvm_mkdb
lastlogin If the passwd entry is not found for a lastlog entry, cons up a fake 2005-04-09 02:13:20 +00:00
link
lpr 64 bit inode changes 2005-08-19 02:07:18 +00:00
lptctl
mailwrapper
makefs Cosmetic: change to a standard idiom, *(x++) --> *x++. Flag some 2005-09-11 22:03:48 +00:00
map-mbone Add (unsigned char) cast to ctype functions 2004-10-30 08:46:12 +00:00
mdconfig
mdsetimage
memswitch Initialize class and node in modify_single(), as their initial assignment 2005-06-11 18:42:56 +00:00
mld6query usage: Add -d and -r. Use getprogname(). 2004-11-17 13:35:32 +00:00
mlxctl appease gcc -Wuninitialized 2005-06-02 05:58:24 +00:00
mopd Use cloning bpf. 2004-12-01 23:15:08 +00:00
mountd Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
moused appease gcc -Wuninitialized 2005-06-02 05:58:24 +00:00
mrinfo Add (unsigned char) cast to ctype functions 2004-10-30 08:56:00 +00:00
mrouted Add (unsigned char) cast to ctype functions 2004-10-30 08:56:00 +00:00
mscdlabel cosmetics: strip trailing blanks when the ISO volume label is printed 2005-09-14 09:41:24 +00:00
mtrace Add (unsigned char) cast to ctype functions 2004-10-30 14:31:45 +00:00
mtree Use MAXHASHLEN here too. 2005-09-02 17:12:38 +00:00
ndbootd appease gcc -Wuninitialized 2005-06-02 11:29:01 +00:00
ndp change description of -I to meet the current implementation. bump date 2004-10-26 06:42:14 +00:00
netgroup_mkdb
nfsd appease gcc -Wuninitialized 2005-06-02 06:54:02 +00:00
ntp After christos relaxed the tty handling code, we no longer need to 2005-07-17 12:46:51 +00:00
pcictl
pf pf needs to be started after the network is up, because some pf rules 2005-08-23 12:12:56 +00:00
pkg_install Bump version to 20050718 for fixed IGNORE_RECOMMENDS handling. 2005-07-18 09:09:35 +00:00
postinstall Add "named" item to move /etc/namedb/named.conf to /etc/named.conf. 2005-09-12 23:16:15 +00:00
powerd
pppd If SMALLPROG is set, do not build in PAM support. While there, depend 2005-03-22 22:20:27 +00:00
pstat Don't print swap information when reading from kernel dumps. Fixes PR 2005-09-11 16:09:51 +00:00
pvcsif Only compile in IPv6 support if ${USE_INET6} != "no" 2005-01-10 02:58:58 +00:00
pvctxctl Fix -j description and "interface" case problem. From YOMURA Masanori in private mail. 2005-09-15 01:49:07 +00:00
pwd_mkdb Mention pwhash(1) in a few places, 2005-09-05 03:37:14 +00:00
quot fix compilatio problems on LP64 2005-08-20 15:00:27 +00:00
quotacheck 64 bit inode changes 2005-08-19 02:07:18 +00:00
quotaon Remove a superfluous word. From David Krinsky in PR bin/28358. 2004-11-19 21:19:24 +00:00
racoon Add -lcrypt where -lcrypto is specified. 2005-03-09 03:11:22 +00:00
racoonctl Switch to ipsec-tools for libipsec, setkey, and racoon. From 2005-02-19 16:55:02 +00:00
rarpd remove backwards compatibility with non-cloning bpf. 2004-12-01 23:12:11 +00:00
rbootd Mention cloning device. 2004-12-01 23:16:02 +00:00
rdate WARNS=3 2005-06-02 09:21:01 +00:00
repquota make sure there is space between the username and next field when 2005-03-05 14:46:29 +00:00
rip6query
rmt
route6d
rpc.bootparamd Add (unsigned char) cast to ctype functions 2004-10-30 15:15:37 +00:00
rpc.lockd 64 bit inode changes 2005-08-19 02:07:18 +00:00
rpc.pcnfsd Add (unsigned char) cast to ctype functions 2004-10-30 15:28:45 +00:00
rpc.statd
rpc.yppasswdd YP -> NIS 2005-02-26 16:37:40 +00:00
rpcbind Support MKINET6=no building after the -Wuninitalized fix. 2005-06-07 22:21:57 +00:00
rtadvd Add (unsigned char) cast to ctype functions 2004-10-30 15:28:45 +00:00
rtsold constify. 2005-06-27 03:10:32 +00:00
rwhod Sync usage with man page. 2005-09-12 18:34:37 +00:00
sa Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
screenblank Consider framebuffers in text emulation mode as regular ttys. Should fix 2004-11-25 20:23:36 +00:00
sendmail
sesd
sliplogin Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
slstats Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
sntp
spray
sunlabel Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
sup Convert from tmpnam()/open() -> snprintf()/mkstemp(); the latter 2005-06-18 11:07:26 +00:00
sushi Restore a part that was lost in rev. 1.44. 2005-07-21 21:48:47 +00:00
syslogd appease gcc -Wuninitialized 2005-06-02 09:42:57 +00:00
tadpolectl
tcpdchk
tcpdmatch
tcpdump It's been quite some time since tcpdump compile-time flags were 2005-09-19 21:18:30 +00:00
timed make master() return void. 2005-04-19 03:40:00 +00:00
tpctl Add initialization of a local variable to appease -Wuninitialized. 2005-06-07 14:01:49 +00:00
traceroute The default hops is not 30, but is taken from the net.inet.ip.ttl sysctl 2005-06-14 13:55:59 +00:00
traceroute6 Add description for -r option. Description taken from traceroute man page. 2005-09-17 15:16:11 +00:00
trpt trpt(8) no longer needs to be installed setgid kmem. 2005-09-06 03:05:15 +00:00
trsp trsp(8) no longer needs to be sgid kmem. 2005-09-06 03:00:49 +00:00
unlink
usbdevs Print serial number if there is one. 2005-05-08 08:12:45 +00:00
user PR 22469: user.c should use "pwd.h" include file for 2005-09-19 00:43:17 +00:00
videomode
vipw Mention pwhash(1) in a few places, 2005-09-05 03:37:14 +00:00
vnconfig Argument is regular_file, not "regular file". From YOMURA Masanori in private mail. 2005-09-11 23:49:58 +00:00
wiconfig appease gcc -Wuninitialized 2005-06-02 09:47:37 +00:00
wlanctl Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
wsconscfg Sync usage with man page. 2005-07-12 08:48:20 +00:00
wsfontload Use ANSI function declarations, constify; WARNS=3 2005-03-16 01:34:11 +00:00
wsmoused appease gcc -Wuninitialized 2005-06-02 09:47:37 +00:00
wsmuxctl Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
ypbind Sort SEE ALSO (first section, then name); new sentence, new line; bump date for previous. 2005-02-26 16:19:08 +00:00
yppoll Sort SEE ALSO. 2005-02-26 16:20:36 +00:00
ypserv ypdb_open(): 2005-06-20 00:29:42 +00:00
ypset Sort SEE ALSO (first section, then name); bump date for previous. 2005-02-26 16:20:07 +00:00
zdump
zic
Makefile Experimental support for extended attributes on UFS1 file systems, using a 2005-08-28 19:37:58 +00:00
Makefile.inc