summaryrefslogtreecommitdiffstats
path: root/sbin/mount_nfs
Commit message (Collapse)AuthorAgeFilesLines
* Sync usage string and man page. Correct use of .Nm. Spelling. Removecharnier1998-07-062-23/+19
| | | | unused #includes.
* Fix bogon in man page. "-o conn" actually turns off NFSMNT_NOCONN as it isjkoshy1998-06-291-2/+2
| | | | | | | | a "negative" option. This makes it equivalent to /not/ specifying "-c". The compile time default is /not/ to have the NFSMNT_NOCONN flag set, so "-o conn" should never be needed---truly a deprecated option :-). PR: 6905.
* Support changing the attribute cache limits per-mount. We don't havepeter1998-05-192-2/+38
| | | | | many option letters left, I used long names only (like the previous port= option)
* Mention the 2GB NFS v2 filesize limit.peter1998-05-011-2/+3
| | | | | PR: 6335 Submitted by: tom@sdf.com
* Don't define KERNEL before including <nfs/nfs.h>. It is no longerbde1998-02-011-3/+1
| | | | | necessary. This fixes warnings about missing forward declarations for structs in kernel-only prototypes.
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-1/+0
| | | | the default.
* style(9) correctionsimp1997-12-261-3/+5
| | | | Submitted by: bde
* Be extra paranoid about trusting the length returned by gethostbyaddr.imp1997-12-241-3/+3
| | | | Submitted by: Julian Assange
* Introduce a -N option that disables the use of reserved ports, nowjoerg1997-10-192-5/+14
| | | | | | | that -P is on by default. Remove do-nothing code in the -P case (but leave the option itself for backward compatibility). PR: bin/4500
* Allow the 'async' mount flag.dfr1997-06-031-1/+2
|
* Test both the NFS and MOUNT protocols for v3 support before allowing a v3dfr1997-05-011-1/+61
| | | | | | | mount. It is possible to have v3 MOUNT but only v2 NFS, for instance for a custom user-mode server like CFS. Reviewed by: "Louis A. Mamakos" <louie@TransSys.COM>
* Use v3 protocol by default if it is supported by the server. Allow thedfr1997-04-182-11/+49
| | | | | | user to force v2 protocol even if the server supports v3. Obtained from: NetBSD but with a slightly different implementation
* Make "-o noxxx" work properly, allowing the user to clean e.g. the resvportdfr1997-04-021-22/+47
| | | | flag (which is now set by default).
* Make mount_nfs use reserved ports by default.. Mounts already useguido1997-04-011-2/+2
| | | | | | | | a reserved port, so why not the nfs rpc's themselves? With user allowed mounts, this perhaps needs a closer look, but on the other hand, a user could already specify the flag. If normal users should not be able to use resserved ports, the kernel should check for the flag at mount time.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface)peter1997-03-113-46/+37
|
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Mention the historic mount options, as `deprecated'.joerg1996-10-221-0/+49
| | | | Closes PR # docs/735.
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-3/+3
| | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* Get rid of the last vestiges of the old MOUNT_* constants in thewollman1996-05-131-2/+9
| | | | | | | | | mount_* programs. While we're at it, collapse the four now-identical mount programs for devfs, fdesc, kernfs, and procfs into links to a new mount_std(8) which can mount any really generic filesystem such as these when called with the appropriate argv[0]. Also, convert the mount programs to use sysexits.h.
* #include <kerberosIV/des.h> -> #include <des.h>markm1996-02-111-1/+1
|
* Fix a bunch of spelling errors.mpp1996-01-291-2/+2
|
* Changes to support version 3 of the NFS protocol.dfr1995-06-272-97/+259
| | | | | | | | | | | | | | | | | | The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
* Added -o port option. Use specified port number for NFS requests. The defaultkarl1995-06-142-1/+13
| | | | is to query the portmapper for the NFS port. This is useful for CFS users.
* Fixed bug where UDP was required to mount a TCP NFS filesystem.dg1995-05-241-3/+7
| | | | Submitted by: Ken Hornstein, Sept.'94
* Add support for kerberised NQNFS.dfr1995-01-302-3/+12
| | | | | | Reviewed by: Submitted by: Obtained from:
* Kill used "error" variable.dg1995-01-271-1/+0
|
* Fixed bogus error reporting when the failure is RPC related ("Addressdg1995-01-271-1/+2
| | | | already in use", instead of "Permission denied").
* Correct a litle typo in an error message: PRC -> RPC.ats1994-11-261-1/+1
|
* Add support for filesystem-specific `-o' options, and re-implement thewollman1994-11-011-2/+65
| | | | | | | | | | | | | | | | most common cd9660 and nfs options like God intended them. (It is now possible to say mount -o ro,soft,bg,intr there:/foo/bar /foo/bar again.) This whole getmntopt() business is an incredible botch; it never should have been anything more than a wrapper around getsubopt(3). Because if the way the current hackaround is implemented, options which take arguments (like the old `rsize' and `wsize') are still unavailable, and must be accessed the new, broken way. (It's unimaginable how Berkeley managed to screw up one of the few things about NFS that Sun actually got right to begin with!)
* Automatically load NFS and a bevy of other filesystems.wollman1994-09-221-1/+11
|
* Fixed a bug where mount_nfs would core-dump if used with IP# directly.phk1994-09-151-9/+10
| | | | | | | Also moved some KERBEROS related stuff inside the #ifdef. Should we always try to do a reverse lookup (IP#->name) ? It has som merit, but is probably against the tradition or huh ?
* Delete obsolete references to librpc.a.wollman1994-08-081-3/+0
|
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+787
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud