aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/nfsiod
Commit message (Collapse)AuthorAgeFilesLines
* pkgbase: Create a FreeBSD-utilities package and make it the default oneEmmanuel Vadot2019-09-051-1/+0
| | | | | | | | | | | | | The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506 Notes: svn path=/head/; revision=351858
* 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
* Explicitly add more files to the 'runtime' package.Glen Barber2016-02-091-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295450
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * 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/+18
|/ | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* - Display current settings when run without options.Ruslan Ermilov2009-12-262-15/+30
| | | | | | | | | - Revise a manpage to NOT sound confusing. [1] In collaboration with: sat [1] Notes: svn path=/head/; revision=201015
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* When accessing the sysctl vfs.nfs.iodmax, don't report errors as beingBrooks Davis2005-04-071-1/+1
| | | | | | | from accessing vfs.nfs.iodmin. Notes: svn path=/head/; revision=144757
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-092-8/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core, imp Notes: svn path=/head/; revision=128073
* Correct a grammatical error.Ceri Davies2003-08-121-1/+1
| | | | Notes: svn path=/head/; revision=118836
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-3/+3
| | | | Notes: svn path=/head/; revision=114589
* No need to include sys/time.h, this unbreaks a c89 warning about long longAlfred Perlstein2002-08-161-1/+0
| | | | | | | constants as well. Notes: svn path=/head/; revision=101973
* The kldload() system call doesn't return 0 when it succeeded,Maxime Henrion2002-08-111-1/+1
| | | | | | | | so compare the return value against -1 to see if it failed instead of simply doing if (kldload("nfs")). Notes: svn path=/head/; revision=101676
* - Introduce a new struct xvfsconf, the userland version of struct vfsconf.Maxime Henrion2002-08-103-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | - Make getvfsbyname() take a struct xvfsconf *. - Convert several consumers of getvfsbyname() to use struct xvfsconf. - Correct the getvfsbyname.3 manpage. - Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the kernel, and rewrite getvfsbyname() to use this instead of the weird existing API. - Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist sysctl. - Convert a vfsload() call in nfsiod.c to kldload() and remove the useless vfsisloadable() and endvfsent() calls. - Add a warning printf() in vfs_sysctl() to tell people they are using an old userland. After these changes, it's possible to modify struct vfsconf without breaking the binary compatibility. Please note that these changes don't break this compatibility either. When bp will have updated mount_smbfs(8) with the patch I sent him, there will be no more consumers of the {set,get,end}vfsent(), vfsisloadable() and vfsload() API, and I will promptly delete it. Notes: svn path=/head/; revision=101651
* WARNS cleanPeter Wemm2002-07-242-7/+6
| | | | Notes: svn path=/head/; revision=100635
* The .Nm utilityPhilippe Charnier2002-07-061-2/+3
| | | | Notes: svn path=/head/; revision=99501
* mdoc(7) police: nits.Ruslan Ermilov2002-05-291-1/+1
| | | | Notes: svn path=/head/; revision=97476
* Turn nfsiod into a vfs loader and sysctl wrapper that controls the numberPeter Wemm2002-05-192-89/+47
| | | | | | | of nfsiod kernel threads being run. Notes: svn path=/head/; revision=96954
* o remove __PWarner Losh2002-03-211-3/+3
| | | | | | | o remove main prototype Notes: svn path=/head/; revision=92883
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-4/+2
| | | | Notes: svn path=/head/; revision=81687
* Correct cross-reference:Maxim Sobolev2001-06-071-1/+1
| | | | | | | | | portmap.8 --> rpcbind.8 Submitted by: .Xr testing script Notes: svn path=/head/; revision=77878
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-1/+1
| | | | Notes: svn path=/head/; revision=74531
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68960
* Thresh-out the nfs manual page references a bitMatthew Dillon2000-01-131-0/+1
| | | | | | | Reviewed by: Julian Elischer <julian@elischer.org> Notes: svn path=/head/; revision=55937
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Change LKM/modload to KLD/kldload.Guy Helmer1999-04-131-4/+4
| | | | | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com> Notes: svn path=/head/; revision=45636
* Correct use of .Nm. Do not dot terminate syslog() strings. Remove unusedPhilippe Charnier1998-07-152-14/+12
| | | | | | | #includes. Add rcsid. -Wall. Notes: svn path=/head/; revision=37667
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowBruce Evans1998-01-201-1/+0
| | | | | | | the default. Notes: svn path=/head/; revision=32645
* Fix missing arguments detected by "-Wformat".John Polstra1997-11-181-2/+3
| | | | Notes: svn path=/head/; revision=31208
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24359
* Merge from Lite2 (use new getvfsbyname() interface)Peter Wemm1997-03-112-9/+9
| | | | Notes: svn path=/head/; revision=23684
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22990
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Use the .Bx macro where appropriate.Mike Pritchard1996-08-231-2/+3
| | | | Notes: svn path=/head/; revision=17797
* Catch the case where the children can die too soon causing wait3()Peter Wemm1995-10-011-1/+3
| | | | | | | | | | to return ECHILD, which causes the while loop to run forever. (eg: when accidently running nfsiod on a slow system with a kernel without NFS support...) Obtained from: NetBSD; Frank van den Linden <frank@struis.fwi.uva.nl> Notes: svn path=/head/; revision=11099
* Changes to support version 3 of the NFS protocol.Doug Rabson1995-06-271-1/+3
| | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=9336
* Automatically load NFS and a bevy of other filesystems.Garrett Wollman1994-09-222-2/+34
| | | | Notes: svn path=/head/; revision=2999
* Convert to our man installation style. Also fixed long-standing bugGarrett Wollman1994-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. Notes: svn path=/head/; revision=1855
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-263-0/+248
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. Notes: svn path=/head/; revision=1558