summaryrefslogtreecommitdiffstats
path: root/support/include/nfslib.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove "maptype" supportJ. Bruce Fields2007-03-151-7/+0
| | | | | | | | It appears that this is used only by unfsd, and is obscure enough that we should be able to just rip it out with no special precautions. Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de>
* Remove rpc.lockdNeil Brown2007-02-221-3/+0
| | | | | | This was only needed for kernels 2.2.14 through 2.2.17. These have long since been superceded, so remove some dead weight.
* Extend the exportfs interface to pass fslocations info into the kernel.Fred Isaman2007-02-221-0/+2
| | | | | | | | | | Extend exportfs interface to pass fslocations info into the kernel, using syntax modelled after AIX. Adds "refer=" and "replicas=" options to /etc/exports to enable use of the kernel fslocation code. Signed-off-by: Fred Isaman <iisaman@citi.umich.edu> Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de>
* Use UUIDs to identify filesystems if kernel supports it.Neil Brown2007-02-121-0/+1
| | | | | | | | | | | This introduces a new dependancy on libblkid. If a filesystem being exported has a UUID that libblkid can extract, then that is passed to the kernel for use in identifying the filesystem in filehandles. This means that 'fsid=' is no longer needed to work around the problem of device numbers changing. fsid= is still needed for fielsystems that have no device, and can now be given 16byute uuid instead of just a 32bit one.
* Error check messages sent to the kernel.Neil Brown2007-01-111-1/+1
| | | | | | And make sure that if we fail to export a filesystem in mountd, then we don't try to get a filehandle on it, or a deadlock might occur.
* Allow rpc.nfsd to suppress tcp or udp, and listen on a specific address.Steve Dickson2006-07-031-1/+1
| | | | | | | | | | -T - will suppressing listening for TCP connection. -U - will suppress UDP -H host - will only listen on that local address -p port - will listen on that port. This requires kernel patches which will hopefully be in 2.6.19 and possibly some earlier test and vendor kernels.
* Add support for suppressing different NFS versions.Steve Dickson2006-06-261-1/+1
| | | | | | e.g. -N 2 means that NFSv2 won't be supported, just v3 and v4 (if the kernel supports them).
* Autogen updateneilbrown2005-12-201-2/+4
|
* Assorted changes from Steve Dicksonneilbrown2005-10-061-0/+2
|
* Prepare to support gss authentication and idmap looks for nfsv4neilbrown2004-09-151-0/+3
|
* /proc/fs/nfsd as an alternate to /proc/fs/nfsdneilbrown2003-08-041-0/+1
|
* new "mountpoint" export option.neilbrown2003-05-301-0/+1
|
* enhance exportfs to use new cache/upcall stuffneilbrown2003-05-211-0/+1
|
* Support new kernel upcalls for export cache management.neilbrown2003-05-211-0/+4
|
* See Changelogneilbrown2003-03-261-0/+5
|
* 2002-09-12 H.J. Lu <hjl@lucon.org>hjl2002-09-131-6/+2
| | | | | | | | | | * configure.in: Remove checking svctcp_socket and svcudp_socket. * configure: Regenerated. * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed. (HAVE_SVCUDP_SOCKET): Removed. * support/include/nfslib.h: Undo the last change.
* 2002-09-12 H.J. Lu <hjl@lucon.org>hjl2002-09-121-0/+4
| | | | | | * support/include/nfslib.h (svctcp_socket): Protect it with HAVE_SVCTCP_SOCKET. (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
* 2002-09-12 H.J. Lu <hjl@lucon.org>hjl2002-09-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Check svctcp_socket and svcudp_socket. * configure: Regenerated. * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New. (HAVE_SVCUDP_SOCKET): New. * support/include/nfslib.h (svctcp_socket): New. (svcudp_socket): New. * support/nfs/Makefile (OBJS): Add svc_socket.o. * support/nfs/svc_socket.c: New. * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and svcudp_socket if port is unspecified. * utils/nfsd/nfsd.c (main): Call getservbyname for port. * utils/rquotad/rquota_svc.c: Include <nfslib.h>. (killer): New. Signal handler to unregister. (main): Use killer. Call svcudp_socket to get the default socket.
* See Changelogneilbrown2002-05-291-1/+1
|
* *** empty log message ***neilbrown2002-02-281-0/+1
|
* See Changelogneilbrown2001-12-201-1/+1
|
* 2000-05-31 H.J. Lu <hjl@lucon.org>hjl2000-06-011-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (VERSION): Set to "0.1.7.5". * configure: Regenerated. * nfs-utils.spec: Updated. * support/include/nfslib.h (exportent): Add a new field, r_count, to count the number of mounts from a client. (getrmtabent): Take a new argument for position in file. (putrmtabent): Likewise. (fgetrmtabent): Likewise. (fputrmtabent): Likewise. * support/nfs/rmtab.c (getrmtabent): Handle the new argument for position in file. (fgetrmtabent): Likewise. (putrmtabent): Likewise. (fputrmtabent): Likewise. * support/nfs/rmtab.c (fgetrmtabent): Get value for the new field, r_count. * support/export/rmtab.c (rmtab_read): Pass NULL as the new argument to getrmtabent (), fgetrmtabent (), putrmtabent () and fputrmtabent (). * utils/mountd/rmtab.c (mountlist_add): Likewise. (mountlist_del): Likewise. (mountlist_del_all): Likewise. (mountlist_list): Likewise. * utils/mountd/rmtab.c (mountlist_add): Increment "r_count" for the existing entry and initialize "r_count" to 1. (mountlist_del): Decrement "r_count".
* Change to using variable length file handles, for better v3 support, andneilbrown2000-03-211-2/+3
| | | | | introduce getfh_size to use new (2.3.99) syscall for getting file handles with length
* Initial revisionhjl1999-10-181-0/+125