nfs_prot_freebsd3.h (39007) | nfs_prot_freebsd3.h (41145) |
---|---|
1/* 2 * Copyright (c) 1997-1998 Erez Zadok 3 * Copyright (c) 1990 Jan-Simon Pendry 4 * Copyright (c) 1990 Imperial College of Science, Technology & Medicine 5 * Copyright (c) 1990 The Regents of the University of California. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by --- 24 unchanged lines hidden (view full) --- 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * %W% (Berkeley) %G% 40 * | 1/* 2 * Copyright (c) 1997-1998 Erez Zadok 3 * Copyright (c) 1990 Jan-Simon Pendry 4 * Copyright (c) 1990 Imperial College of Science, Technology & Medicine 5 * Copyright (c) 1990 The Regents of the University of California. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by --- 24 unchanged lines hidden (view full) --- 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * %W% (Berkeley) %G% 40 * |
41 * $Id: nfs_prot_freebsd3.h,v 1.2 1998/08/27 07:33:23 obrien Exp $ | 41 * $Id: nfs_prot_freebsd3.h,v 1.3 1998/09/09 16:11:01 obrien Exp $ |
42 * 43 */ 44 45#ifndef _AMU_NFS_PROT_H 46#define _AMU_NFS_PROT_H 47 48#ifdef COMMENT_OUT 49#ifdef HAVE_RPCSVC_NFS_PROT_H --- 98 unchanged lines hidden (view full) --- 148typedef statfsokres nfsstatfsokres; 149typedef statfsres nfsstatfsres; 150typedef symlinkargs nfssymlinkargs; 151typedef writeargs nfswriteargs; 152 153 154/* 155 * | 42 * 43 */ 44 45#ifndef _AMU_NFS_PROT_H 46#define _AMU_NFS_PROT_H 47 48#ifdef COMMENT_OUT 49#ifdef HAVE_RPCSVC_NFS_PROT_H --- 98 unchanged lines hidden (view full) --- 148typedef statfsokres nfsstatfsokres; 149typedef statfsres nfsstatfsres; 150typedef symlinkargs nfssymlinkargs; 151typedef writeargs nfswriteargs; 152 153 154/* 155 * |
156 * FreeBSD 3.0 has NFS V3, but you need to regenrate the rpcsc header files 157 * as follows: | 156 * FreeBSD 3.0 pre-release has NFS V3, but you need to regenrate the rpcsc 157 * header files as follows: |
158 * cd /usr/local/rpcsvc 159 * rpcgen -DWANT_NFS3 mount.x 160 * rpcgen -DWANT_NFS3 nfs_prot.x 161 * But that's not expected of everyone, plus there are additional things | 158 * cd /usr/local/rpcsvc 159 * rpcgen -DWANT_NFS3 mount.x 160 * rpcgen -DWANT_NFS3 nfs_prot.x 161 * But that's not expected of everyone, plus there are additional things |
162 * needed so I define everything that's neede for NFS V3 here. | 162 * needed so I define everything that's needed for NFS V3 here. 163 * The problem is fixed in FreeBSD-3.0-RELEASE hence this code is off. |
163 */ 164#ifdef NFSMNT_NFSV3 165 166# define MOUNT_NFS3 MOUNT_NFS 167# define MNTOPT_NFS3 "nfs" 168 169#ifdef COMMENT_OUT 170#define FHSIZE3 64 /* size in bytes of a file handle (v3) */ --- 57 unchanged lines hidden --- | 164 */ 165#ifdef NFSMNT_NFSV3 166 167# define MOUNT_NFS3 MOUNT_NFS 168# define MNTOPT_NFS3 "nfs" 169 170#ifdef COMMENT_OUT 171#define FHSIZE3 64 /* size in bytes of a file handle (v3) */ --- 57 unchanged lines hidden --- |