summaryrefslogtreecommitdiff
path: root/sbin/mount_nfs
AgeCommit message (Collapse)Author
2012-05-29Fix tyop in error message; this was copied from/to umount(8)'s umount.c ↵Jasper Lievisse Adriaanse
which was just fixed.
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-06-06mention that the timeout is in milliseconds... because i always forget.Chris Kuethe
2009-05-12don't define _KERNEL. Theres no need and its gross.Thordur I. Bjornsson
2007-05-31convert to new .Dd format;Jason McIntyre
2007-02-20sort the -o options; from Igor SobradoJason McIntyre
2006-11-10enable -g againAlexander von Gernler
help from millert@, ok deraadt@ pedro@
2006-11-03storing return value of strtol() in int variable was not safe,Alexander von Gernler
also strtol() result was not checked for under/overflow thus, rewrite getopt switch/cases with strtonum() and sensible bounds help from mickey@ millert@, ok millert@, no objections otto@
2006-07-28permit synchronous mountsNikolay Sturm
ok pedro
2006-01-03most modern implementations of nfsd support TCP, not just 4.4BSD;Jason McIntyre
prompted by a similar commit in freebsd. do not recommend TCP; ok millert
2005-06-29ignore (but still accept) -D and -LJared Yanovich
(and other minor cleaning while here: sync usage, whitespace, fix error messages) ok millert
2005-06-29sort optionsJared Yanovich
2005-06-23- cleanup dead flagsJared Yanovich
- minor mdoc/rewording improvements - add some relevant crossrefs ok jmc
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondJared Yanovich
argument "resolved", since it is undefined. ok and help millert, otto
2005-02-22- refer to netstat output more preciselyJared Yanovich
(from peter_philipp@freenet.de via PR#4109) - other minor tweaks (mdoc, wording, consistency, etc.) ok jmc
2004-09-15Restore correct noac option parsing.Miod Vallat
ok otto@
2004-08-20Unbreak processing of options when given a command line with multipleOtto Moerbeek
-o options. All of them are relevant, not only the last one. ok miod@ claudio@ marius@
2004-07-16remove netiso traces, millert deraadt okHenning Brauer
2004-06-22Rewrite of getmntopts(), making it more robust and getting rid ofOtto Moerbeek
the mount_nfs alternative implementation of the same function. Joint work with millert@. Fixes PR 3642. ok pedro@ millert@
2004-05-18Backout changes accidentally committed in prvious commit.Otto Moerbeek
2004-05-18Trailers are really wonders of the past. Remove them from man page andOtto Moerbeek
usage. ok millert@
2003-10-07add support for modifying attribute cache parametersHenning Brauer
inspired by PR2567, the included diff was wrong tho and not used here manpage from millert@ ok millert@ on code and jmc@ on manpage
2003-07-29spacesTheo de Raadt
2003-07-06error out on hostspec overflow with a "hostname too long" instead of silentlyAnil Madhavapeddy
truncating; deraadt@ ok
2003-07-03use realpath() in helpers instead of doing it ourselves every time.Ted Unangst
also fixes pr1662. from otto moerbeek
2003-06-11ansificationTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-07typo.Jason McIntyre
2003-04-29Fix parsing of noac option; noticed and OK by henning@Todd C. Miller
2003-04-02nfs -> NFSJason McIntyre
2003-02-09typos;Jason McIntyre
2002-09-14Document -R default (10000); ok deraadtPeter Valchev
2002-06-26Missing .Xr's from Margarida Sequeira <niness@devilness.org>.Federico G. Schwindt
Remove unmount(2) per millert suggestion; millert@ ok.
2002-06-09rm trailing whitespaceTodd T. Fries
2002-03-21o sync usage() to man pageTodd C. Miller
o -l does not require an argument o getopt() returns -1 not EOF From Brian Poole
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-01remove unused variablesTheo de Raadt
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-10-03Remove all traces of Kerberised NFS; it never worked in OpenBSD, but itHans Insulander
has been in the userland tools and the manpages for ages. Spotted by Lars Hansson <lars@unet.net.ph> Ok deraadt@
2001-07-13Add noac flag to disable attribute cachingConstantine Sapuntzakis
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-07-07Initialize missing parts of struct nfs_args nfsdefargsTodd C. Miller
2001-06-24Get rid of NQNFS optionsConstantine Sapuntzakis
2001-06-08Fix a typo (perfomance -> performance) and lots of section shuffling;Aaron Campbell
mpech@prosoft.org.lv
2001-05-11use strlcpy instead of strncpy+a[len-1]='\0'Michael Shalayeff
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-07-05Correct minor formatting errors/typos.Aaron Campbell
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-05-24a note on how to rule the daemons, nfsio threads in this reincarnationMichael Shalayeff