summaryrefslogtreecommitdiffstats
path: root/README
blob: 3907f311a10e69b2d8650c079262d7ce301c2e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
This is the Linux NFS utility package version 0.1.7. It is based on
knfsd 1.4.7.

WARNING: The NFS servers in Linux 2.2 to 2.2.13 are not compatible with
other NFS client implemenations. If you plan to use Linux 2.2.x as an
NFS server for non-Linux NFS clients, you should get the Linux NFS
kernel from the Linux NFS CVS server:

1. Set the environment variable, CVS_RSH, to ssh. It is not required
for anonymous access.

2. Login to the Linux NFS CVS server:

# cvs -z 3 -d:pserver:anonymous@cvs.nfs.sourceforge.net:/cvsroot/nfs login

without password if it is your first time.

3. Check out the current Linux 2.2 NFS kernel:

a. From the NFS V2 branch:

# cvs -z 3 -d:pserver:anonymous@cvs.nfs.sourceforge.net:/cvsroot/nfs co -r linux-2-2-nfsv2 linux-2.2

b. From the main trunk:

# cvs -z 3 -d:pserver:anonymous@cvs.nfs.sourceforge.net:/cvsroot/nfs co linux-2.2

4. If you don't want to use the current NFS kernel, you can find out
for which kernels the NFS patch is available:

# cd linux-2.2
# cvs -z 9 -d:pserver:anonymous@cvs.nfs.sourceforge.net:/cvsroot/nfs status -v Makefile

Then generate the kernel patch:

# cvs -z 3 -d:pserver:anonymous@cvs.nfs.sourceforge.net:/cvsroot/nfs rdiff -ko -u -r linux-2-2-xx -r linux-2-2-xx-nfsv2-xxxxx linux-2.2

If there is no NFS patch for the kernel you are interested in, you have
to make a patch closest to your kernel version and apply it by hand.

There is a Linux NFS kernel source tree for Linux 2.3, linux-2.3, on
the Linux NFS CVS server. We will need all the help we can get. To
contribute to the Linux NFS project, please go to

http://www.sourceforge.net

You register yourself. Please send an email to
nfs-admin@nfs.sourceforge.net with

1. Your user id on www.sourceforge.net.
2. The area in NFS you'd like to work on.

You will be notified when it is done.

There is a Linux NFS mailing list at

http://lists.sourceforge.net/mailman/listinfo/nfs/                                                               
You can subscribe it and search the mailing list archive via a web
browser.

The nfs-utils package is available from the CVS server:

# cvs -z 3 -d:pserver:anonymous@cvs.nfs.sourceforge.net:/cvsroot/nfs co nfs-utils

will get the latest version.

The files are

ftp://nfs.sourceforge.net/pub/nfs/nfs-utils-0.1.7.tar.gz
ftp://nfs.sourceforge.net/pub/nfs/nfs-utils-0.1.6-0.1.7.diff.gz

To compile, just do

# ./configure
# make

# make install

will install the nfs-utils binaries. You have to install the NFS
service scripts. There are 2 in etc/redhat provided for RedHat 6.x.
They are tested on RedHat 6.1.

On RedHat 6.1, you can use

# rpm -ta nfs-utils-0.1.7.tar.gz

to build the source and binary RPMs.

If your mount from util-linux is too old, you will need 3 patches:

ftp://nfs.sourceforge.net/pub/nfs/util-linux-2.9o-mount-nfsv3.patch
ftp://nfs.sourceforge.net/pub/nfs/util-linux-2.9w-mount-nfsv3try.patch
ftp://nfs.sourceforge.net/pub/nfs/util-linux-2.10f-mount-rpc.patch

Thanks.


H.J.
hjl@lucon.org
04/25/2000