aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/showmount
Commit message (Collapse)AuthorAgeFilesLines
* [showmount] implement long optionsEitan Adler2019-12-122-5/+14
| | | | | | | | | | | add long options support to showmount. Where mappings exist use the GNU names for said options. Differential Revision: https://reviews.freebsd.org/D22543 Reviewed by: kevans (earlier version) Notes: svn path=/head/; revision=355647
* Free mp on a couple of error paths.Warner Losh2017-12-281-2/+6
| | | | | | | CID: 978387 Notes: svn path=/head/; revision=327278
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Cleanup unnecessary semicolons from utilities we all love.Pedro F. Giffuni2016-04-151-3/+3
| | | | Notes: svn path=/head/; revision=298089
* Make the autofs(5) -hosts map more robust, primarily to make it correctlyEdward Tomasz Napierala2016-03-232-6/+37
| | | | | | | | | | | | | handle NFS shares containing whitespace. This also adds the -E parameter to showmount(8). Reviewed by: emaste@, jhibbits@, wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5649 Notes: svn path=/head/; revision=297207
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+2
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-192-6/+10
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-191-1/+2
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | mdoc: sort SEE ALSO.Joel Dahl2014-12-261-2/+2
| |_|/ |/| | | | | | | | Notes: svn path=/head/; revision=276258
* | | Use mount protocol version 3 by default for showmount and umount.Peter Wemm2014-08-162-6/+10
| |/ |/| | | | | | | | | | | | | | | mount_nfs effectively uses mount protocol v3 by default already. v1 mount protocol is being removed along with nfsv2 by a high profile NFS appliance vendor and our legacy v1 mount protocol usage causes rpc errors. Notes: svn path=/head/; revision=270062
* | Make synopsis version of -3 flag match other uses in the page.Warren Block2014-07-081-1/+2
|/ | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=268381
* Ensure there is a whitespace after a mount point.Ruslan Ermilov2011-05-241-1/+1
| | | | | | | | | PR: 157286 Submitted by: Marcus Reid MFC after: 3 days Notes: svn path=/head/; revision=222245
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-112-8/+0
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* ANSIfy various tools in usr.bin/.Ed Schouten2010-01-021-21/+7
| | | | | | | | Most of these tools properly build at WARNS=6, except for their K&R function declarations. Fix this, so we can bump WARNS as well. Notes: svn path=/head/; revision=201382
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+1
| | | | | | | needed. Notes: svn path=/head/; revision=200462
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-1/+0
| | | | | | | Tested with: make universe Notes: svn path=/head/; revision=200420
* Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementationDoug Rabson2009-06-241-18/+18
| | | | | | | and will be removed. Notes: svn path=/head/; revision=194880
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-05-211-1/+1
| | | | Notes: svn path=/head/; revision=146466
* Sort sections.Ruslan Ermilov2005-01-181-5/+5
| | | | Notes: svn path=/head/; revision=140420
* Assign the result of getopt() to an int rather than to a char (which isStefan Farfeleder2004-07-261-3/+2
| | | | | | | possibly unsigned). Notes: svn path=/head/; revision=132660
* More xdrproc_t issues.Peter Wemm2003-10-261-4/+4
| | | | Notes: svn path=/head/; revision=121546
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-4/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107276
* The -a and -d flags are mutually exclusive, show them as such in usage() andJuli Mallett2002-10-122-2/+6
| | | | | | | | | | manual page for showmount(8) Sponsored by: Bright Path Solutions MFC after: 2 weeks Notes: svn path=/head/; revision=104966
* The .Nm utilityPhilippe Charnier2002-07-141-6/+12
| | | | Notes: svn path=/head/; revision=99970
* More consistancy. file system > filesystemTom Rhodes2002-05-161-1/+1
| | | | Notes: svn path=/head/; revision=96704
* remove __PWarner Losh2002-03-221-8/+6
| | | | Notes: svn path=/head/; revision=92922
* Warns cleanups. This makes the showmount code warns clean, but someDavid Malone2001-12-031-3/+3
| | | | | | | of the rpc headers aren't. Notes: svn path=/head/; revision=87297
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-061-1/+1
| | | | Notes: svn path=/head/; revision=79366
* ANSI C prohibits text after #endif.Dima Dorfman2001-06-121-2/+2
| | | | | | | Reviewed by: md5(1) Notes: svn path=/head/; revision=78130
* Add IPv6 support to showmount(8). This replaces IPv4-specific codeIan Dowse2001-04-051-34/+2
| | | | | | | | | | | with calls to the new protocol-independent clnt_*_create functions provided by ti-rpc. Martin submitted a more complex patch to achieve this, but it turns out that clnt_create() does everything we need. Reviewed by: Martin Blapp <mb@imp.ch> Notes: svn path=/head/; revision=75239
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+2
| | | | Notes: svn path=/head/; revision=74848
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68963
* Cross-reference mount_nfs(8) and showmount(8).Sheldon Hearn2000-07-181-1/+2
| | | | | | | | PR: 20008 Reported by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> Notes: svn path=/head/; revision=63439
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Added an replacement for callrpc that uses tcp as primary transport method.Tor Egge1997-09-041-3/+72
| | | | | | | This enables larger reply messages. Notes: svn path=/head/; revision=29117
* Use err(3). Add prototypes.Philippe Charnier1997-08-112-18/+32
| | | | Notes: svn path=/head/; revision=28068
* Add -3 option to usage() statement.David E. O'Brien1997-04-111-1/+1
| | | | Notes: svn path=/head/; revision=24825