agc
276d62f603
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
itojun
e45b6fad8e
include des.h, not kerberosIV/des.h
2003-07-23 21:10:36 +00:00
itojun
8883e1fb40
use bounded string op
2003-07-13 08:05:58 +00:00
yamt
a1d2fd4ed9
fix a typo that prevents -o wsize=nnn to work.
2003-05-16 15:33:45 +00:00
yamt
93fa2d7018
remove _KERNEL hack.
2003-05-05 13:23:10 +00:00
christos
c54d6ca813
PR/1472: David Carrel: Add option to specify the nfs port.
...
This was not done, I added the functionality to be able to parse
port=num in the options. While I was there, I added this for all
the other numeric options: rsize, wsize etc.
2003-04-11 17:39:09 +00:00
lukem
04a792a536
fix typo introduced in previous (print "addr=" instead of "ddr=")
2003-04-10 04:40:38 +00:00
fvdl
253e7c6b6a
Don't print the version of the argument structure, it's easily confused
...
with the NFS version.
2003-04-07 13:31:17 +00:00
wiz
d0ca8fad45
Some casing changes, and use Er for EINTR.
2003-04-06 19:42:59 +00:00
jdolecek
1edd42a9d2
move getmntopts(3) to libutil, build and install also it's manpage
...
bump libutil minor
adjust individual mount_*/Makefile to use libutil getmntopts(3)
2003-03-22 12:43:57 +00:00
jdolecek
899bce0921
use <> rather than "" for #include mntopts.h
2003-03-22 11:15:45 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jschauma
b49ef594e9
Fix tyops pointed out by Igor Sobrado in PR misc/19623:
...
mount_filecore(8) - frquently (frequently), upto (up to)
mount_nfs(8) - NFSV3 (NFSv3), automaticly (automatically)
mount_ntfs(8) - particularily (particularly), fisk (disk)
2003-01-01 21:22:50 +00:00
enami
7409653fdf
When printing filesystem specific parameters, also print the address and
...
port of server numerically.
2002-10-21 03:58:07 +00:00
wiz
2fb4b1db52
New sentence, new line. By Robert Elz with minimal fixes.
2002-10-01 13:40:23 +00:00
itojun
d72e601340
KNF
2002-10-01 03:08:56 +00:00
christos
9f9ee29713
MNT_GETARGS support
2002-09-21 18:43:31 +00:00
lukem
7360d7b6ae
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
2002-08-19 10:16:51 +00:00
wrstuden
0e65ecc5d2
Catch error code from mount command, and if it's the
...
error given when we ask for a v3 mount on a v2-only kernel,
*and* we weren't forcing v3, try the mount again as a v2 mount
before erroring out.
2002-06-16 02:27:31 +00:00
cjs
9af8b52f66
When RPC fails, state explicitly which service we were trying to connect to.
2002-05-29 02:19:56 +00:00
simonb
ad50b1a980
In the description of the -r and -w options, match the wording of the
...
stats to look for from netstat(1) with what netstat actually shows.
2002-05-15 01:58:16 +00:00
mrg
4d6dd4f8f5
when complaining that we can't lookup a hostname, actually say which
...
hostname this is...
2002-03-02 12:25:23 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
wiz
65c4d36952
Use mdoc macros instead of man ones.
2002-01-21 18:23:09 +00:00
soren
dc53bf3cba
Sync getopt() / man page with actual getopt options.
2001-12-20 20:10:33 +00:00
wiz
d7130393cf
Punctuation nit, and drop two .Pps.
2001-11-16 11:58:59 +00:00
fvdl
60f029933e
Remove BUGS section, which only referred to performance tuning.
...
Instead, add a PERFORMANCE section which explains the most common
optimizations.
2001-05-02 12:18:45 +00:00
lukem
3efcec3cf5
remove unnecessary ":" in openlog ident
2001-01-11 01:33:35 +00:00
jdolecek
debb6d80a3
make the code includable into other programs:
...
* make static all symbols which do not need to be exported
* rename main() to mount_FOO()
* new main() now just calls mount_FOO(), main() is only compiled in if
MOUNT_NOMAIN is not defined
* a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local
versions removed
2000-10-30 20:56:57 +00:00
itojun
36abc851d1
correct hard-to-understand indentation.
2000-07-16 14:06:08 +00:00
bjh21
df36d174d2
Remove spurious colon from error message; clnt_pcreateerror provides one.
2000-06-26 21:53:34 +00:00
fvdl
27ddcb91ce
Handle unsupported protocols (i.e. no v6 support on the other side)
...
a tad better.
2000-06-19 23:19:20 +00:00
fvdl
43ffff9e2c
Update to be more address-family independent, and adapt to TI-RPC
...
interface.
XXX this code needs a cleanup, especially the retry-loop.
2000-06-09 00:06:36 +00:00
mjl
2ecd102f59
Make usage message match actual options.
1999-11-21 00:53:58 +00:00
soren
5db156a589
NFS over TCP is more common these days.
1999-10-07 23:50:58 +00:00
perseant
8847804fc3
Regularize error reporting of mount_* commands for failure of mount(2)
...
to the form:
mount_xxx: dev on dir: reason for failure
1999-06-25 19:28:35 +00:00
mycroft
f6590b22cd
Clean up SYNOPSIS formatting.
1999-03-07 11:02:05 +00:00
msaitoh
62b7296fa5
Eliminate unused period.
1999-02-01 23:43:43 +00:00
garbled
48ff43e0e2
Add an EXAMPLES and ERRORS section to the manpage to partially fix
...
PR# 6121 by Charles M. Hannum. Someone else will have to do the
fixing to mountd's diagnostics.
1999-01-12 08:55:58 +00:00
tron
c31c2a9d69
Get protocol type for "pmap_getport()" from variable "nfsproto" instead of
...
checking the socket type.
1998-05-14 07:44:09 +00:00
kleink
f0d4c4d645
No need to include <sys/socketvar.h>.
1998-04-01 16:27:05 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
perry
34a98169f0
macroize BSD, NetBSD, FreeBSD and misc cleanup
1998-02-06 05:54:12 +00:00
perry
96bf04cc4d
change <strings.h> to <string.h> to fix compiler warning
1998-02-03 03:32:43 +00:00
fvdl
c5f8e0d133
Implement -X option for 32 <-> 64 bit translation of directory cookies
...
for v3 mounts. Should rarely be needed (i.e. servers actually
returning information in the upper 32 bits, and programs not
being able to deal with that (emulated binaries; native NetBSD
binaries will never need this)).
1997-10-19 01:24:47 +00:00
christos
e230a48b57
CFLAGS->CPPFLAGS
1997-10-10 19:47:50 +00:00
lukem
8a3061d800
back to using mount/getmntopts.c since mount is now post lite-2
1997-09-16 12:31:11 +00:00
lukem
3cb80143db
* update for WARNS=1
...
* getopt returns -1 not EOF
* fix .Nm usage
* deprecate register
* bzero() -> memset()
1997-09-15 05:31:35 +00:00
jtk
3adb948b12
fix typo: PRC should have been RPC
1997-05-12 01:52:27 +00:00
gwr
10e180cc49
Back out the .PATH.c changes. The .depend problem (and others)
...
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e
Use .PATH.c: ...
1997-05-06 20:44:56 +00:00
fvdl
983e7c0af4
Use a reserved port by default. The -P option is now obsolete, but
...
kept for backward compatibility. The -p option was added to explicitly
NOT use reserved ports.
1997-03-23 20:59:56 +00:00
tls
2ab9ccf105
it's a shame, but since we have no kernel support for kerb NFS (which may or may not be worth having, in the form available to us) this is how I'm closing PR #2469 .
1997-01-09 09:43:51 +00:00
mikel
957e75132e
Fix typo; PR misc/2956. Also cleaned up .Nm usage.
1996-11-26 06:44:36 +00:00
christos
f95a0b9a4d
Fix PR/2884: Change default for nfs mounts to not do a connect on the
...
socket. Add option -C to force a connected mount. Now option -c is still
there, but it is the default. Maybe amd should be changed similarly.
1996-10-27 21:18:03 +00:00
cgd
fa1bf894fd
recognize the 'nocoredump' mount option as a standard option (supported by
...
all file system types).
1996-10-23 22:51:08 +00:00
fvdl
ea35d11c99
Be stricter when checking NQNFS and version combinations. Incorrect combinations
...
of these flags were previously possible when falling back from a v3 -> v2
mount, and could confuse the system.
1996-05-23 22:52:49 +00:00
jtc
6397db2ddd
Add const qualifier to mopts table
1996-04-13 01:30:59 +00:00
mycroft
b1137d80f7
This accompanies getmntopts.c.
1996-02-18 23:12:23 +00:00
fvdl
4b65d872bd
Temporarily use own getmntopts.c for mount_nfs (the Lite2 version). The other
...
mount_* commands need to be upgraded to use this version too soon.
1996-02-18 12:01:06 +00:00
fvdl
f916611f33
Bring in NFSv3 code by Rick Macklem (from Lite2).
1996-02-18 11:58:24 +00:00
mycroft
b581b3e588
Use inet_aton(), not inet_addr().
1995-05-21 15:17:13 +00:00
jtc
ae0b9c2010
KERNEL -> _KERNEL
1995-03-28 17:18:59 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
cgd
cc7492d622
fix bug 547. it looks like somebody mis-pasted. kirk has been informed.
1994-12-29 00:48:42 +00:00
cgd
06e2955ff1
specify man pages the new way.
1994-12-22 10:44:04 +00:00
mycroft
ea7b5d4ec6
Eliminate uses of some obsolete functions.
1994-09-23 14:26:58 +00:00
mycroft
fd2946c6f4
Get the root filehandle using the same transport as the mount itself. From
...
Ken Hornstein.
1994-09-17 05:27:11 +00:00
mycroft
1d38d39d26
Fix incorrect error messages.
1994-09-05 02:21:06 +00:00
brezak
aeb9226e91
Use default realm instead of constant
1994-07-27 03:16:06 +00:00
brezak
76ebad249f
If in a kerberos environment; build -DKERBEROS
1994-07-27 03:15:31 +00:00
pk
7950668773
Make numerical IP addresses work (fix from Christos Zoulas).
1994-06-24 12:04:53 +00:00
mycroft
0924c7ec2d
Import 4.4-Lite version.
1994-06-13 22:50:46 +00:00
mycroft
5922d844af
Update from 4.4-Lite, with local changes.
1994-06-08 19:23:02 +00:00