wiz
971a82acbe
Use more, and more correct macros. Fix Xr section.
2005-09-23 20:58:50 +00:00
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
rpaulo
87dab801e3
Updated autoconf generated files for am-utils 6.1.2.1.
2005-09-20 18:00:15 +00:00
wiz
f38e8b27b1
Sync usage with man page.
2005-09-19 22:43:21 +00:00
wiz
ff2f5aac09
Sort options.
2005-09-19 22:43:13 +00:00
explorer
ece068eb66
It's been quite some time since tcpdump compile-time flags were
...
changed. For one, "tcpdump -D" works with this set, as well as
"tcpdump -U" and at least one undocumented flag for pcap debugging.
2005-09-19 21:18:30 +00:00
christos
089e80014b
Allow setting the reserved port we bind, witb -p. I've had this patch for
...
3 months stashed...
2005-09-19 00:59:56 +00:00
rpaulo
ece51eabd5
PR 22469: user.c should use "pwd.h" include file for
...
_PATH_USERMGMT_CONF. By rpixley@vm-netbsd-161.nominum.com .
2005-09-19 00:43:17 +00:00
christos
aa460c4e78
Allow amd to turn off the attribute cache.
2005-09-18 23:45:46 +00:00
agc
c73a10fe94
Ensure that a consistent coding style is used.
...
s/1/EXIT_FAILURE/
2005-09-18 21:41:26 +00:00
christos
4471e7c6f5
From Liam Foy:
...
- Correct lenght for the username
- First character in the login name cannot be '-' (OpenBSD)
- Remove some #ifdef EXTENSIONS. find_group_info is always needed
- When printing change, if it's -1, place a correct string.
2005-09-18 14:15:53 +00:00
ginsbach
85dd62aa2a
Add description for -r option. Description taken from traceroute man page.
2005-09-17 15:16:11 +00:00
wiz
de0d2ef49e
Fix -j description and "interface" case problem. From YOMURA Masanori in private mail.
...
While here, sort options.
2005-09-15 01:49:07 +00:00
drochner
fb8d4ae653
cosmetics: strip trailing blanks when the ISO volume label is printed
2005-09-14 09:41:24 +00:00
lukem
922ca28a60
Add "named" item to move /etc/namedb/named.conf to /etc/named.conf.
...
Per discussion with Matthias Scheler.
2005-09-12 23:16:15 +00:00
wiz
6438e0bfa7
Sync usage with man page.
2005-09-12 18:34:37 +00:00
wiz
4b44cc9527
New sentence, new line.
...
Add -u to SYNOPSIS. Fix some typos.
Use more markup. Bump date for -u.
2005-09-12 18:33:56 +00:00
tsarna
04414a373b
Add -u option: rwhod will drop privledges and become the given user.
...
reviewed by jwise
2005-09-12 16:13:13 +00:00
lukem
d50a2d0385
Reorganize items so that they're in alphabetical order except that
...
"obsolete" is moved to the end.
Clean up some comments.
2005-09-12 15:48:29 +00:00
christos
c9d876ed6c
Warn if the group being removed is still the primary group of an existing
...
user. From Liam Foy.
2005-09-12 15:45:03 +00:00
lukem
d4b0741135
not all items can be fixed automatically
2005-09-12 15:42:12 +00:00
wiz
a464698404
Argument is regular_file, not "regular file". From YOMURA Masanori in private mail.
2005-09-11 23:49:58 +00:00
wiz
edd2c20bae
Comment out /usr/share/examples/usermgmt -- dir does not exist. Fix macro typo.
...
From YOMURA Masanori in private mail.
2005-09-11 23:49:20 +00:00
wiz
18b59e97b5
Fix -m description position. From YOMURA Masanori in private mail.
2005-09-11 23:46:39 +00:00
wiz
b94cb50cae
Fix argument name, and move Pp where it belongs. From YOMURA Masanori in private mail.
2005-09-11 23:45:04 +00:00
wiz
6da17cb070
Whitespace fixes. From YOMURA Masanori in private mail.
...
While here, fix one Op argument.
2005-09-11 23:43:27 +00:00
wiz
d57174cb26
Remove useless lines. From YOMURA Masanori in private mail.
...
While here, remove outdated comment.
2005-09-11 23:38:35 +00:00
dyoung
3b0eb50995
Cosmetic: change to a standard idiom, *(x++) --> *x++. Flag some
...
places needing bounds-checking with XXX. Fix indendation.
2005-09-11 22:03:48 +00:00
dyoung
62e9fd6510
By default, do not omit the trailing period from ISO9660 filenames
...
unless given the option '-o omit-trailing-period'. Also, fix a
logic error so that makefs obeys option '-o omit-trailing-period'
when it is given.
2005-09-11 22:01:44 +00:00
rpaulo
0dc4f15121
Don't print swap information when reading from kernel dumps. Fixes PR
...
13418 by Andrew Doran <ad@netbsd.org>.
2005-09-11 16:09:51 +00:00
wiz
3595891ed9
Remove unnecessary keeps (Bk/Ek). Sort options. Various minor fixes.
...
Bump date.
2005-09-09 22:23:49 +00:00
wiz
ba3a0dadf1
Sync group* usages with man pages.
2005-09-09 22:04:09 +00:00
wiz
ac4e0a8127
Reformulate slightly to match other man pages. Use standard
...
EXIT STATUS section. Bump date.
2005-09-09 22:02:12 +00:00
wiz
a2bc89c87d
Do not list all options for group* -- they are bound to get out of sync here.
...
Use standard EXIT STATUS section. Bump date.
2005-09-09 22:01:20 +00:00
wiz
f629e1e94e
Sync user* usage with man pages. Bonus grammar fix in comment.
2005-09-09 21:48:10 +00:00
wiz
31e0e03316
Improve -p description in second case.
2005-09-09 21:43:42 +00:00
wiz
d0260f31e6
Reformulate slightly to match other man pages.
2005-09-09 21:31:25 +00:00
wiz
32587324af
Use standard EXIT STATUS section.
...
Reformulate slightly to match other man pages. Bump date.
2005-09-09 21:31:00 +00:00
wiz
d48b71a0a8
Sort options and option descriptions. Use standard EXIT STATUS section.
...
Reformulate slightly to match other man pages. Bump date.
2005-09-09 21:30:31 +00:00
wiz
a431cb6155
Reformulate slightly to match other man pages.
2005-09-09 21:29:08 +00:00
wiz
42fd4ae9cd
Do not list all options for user* -- they are bound
...
to get out of sync (as they currently are, for example). Use standard EXIT STATUS
section. End sentences with dots. Bump date.
2005-09-09 21:26:09 +00:00
wiz
e545853576
Sort option descriptions.
2005-09-09 20:48:16 +00:00
wiz
3a653a2ba9
Sort options and descriptions. Add standard EXIT STATUS section. Bump date.
2005-09-09 20:46:49 +00:00
rpaulo
8dd8736f37
trpt(8) no longer needs to be installed setgid kmem.
2005-09-06 03:05:15 +00:00
rpaulo
3bbe36c3d8
Update for the recent changes of trpt(8) and describe the sysctls.
...
Bump date.
2005-09-06 03:04:49 +00:00
rpaulo
7c18197a2e
If reading values from a live system use sysctls net.tcp.inet.(debug|debx)
...
and kern.hardclock_ticks. Also, remove the set*gid() calls.
2005-09-06 03:04:15 +00:00
rpaulo
a55d13d962
trsp(8) no longer needs to be sgid kmem.
2005-09-06 03:00:49 +00:00
rpaulo
cbef7237e8
Update for the new changes of trsp(8) and describe the sysctls.
...
Bump date.
2005-09-06 03:00:30 +00:00
rpaulo
1f649eba90
If reading values from a live system, use sysctls net.ns.spp.(debug|debx).
2005-09-06 02:58:48 +00:00
rpaulo
db74a52bff
ANSI func. decl. and de-P().
2005-09-05 23:17:08 +00:00