Commit Graph

71 Commits

Author SHA1 Message Date
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