• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Config/H03-May-2022-3,4832,354

Extras/H05-Jan-2009-689478

contrib/H05-Jan-2009-1,9161,338

doc/H03-May-2022-6542

BRANCHESH A D20-May-2004433 2215

CREDITSH A D04-Jan-20091.3 KiB3833

LICENSEH A D09-Jul-20061.4 KiB2521

Makefile.inH A D05-Dec-20074.8 KiB159137

NEWSH A D05-Jan-20097.5 KiB243166

READMEH A D09-Jul-20062.4 KiB9057

README.nfsrootH A D28-Nov-20041.7 KiB4535

aclocal.m4H A D31-Dec-2008717 2625

attr.cH A D03-Jan-200812 KiB497333

attr.hH A D05-Jan-2007651 2713

backend.hH A D05-Jan-2007260 178

backend_unix.hH A D26-Nov-20072.2 KiB8564

backend_win32.hH A D26-Nov-20072.4 KiB8458

bootstrapH A D12-Mar-200424 31

config.h.inH A D05-Jan-20093.1 KiB12080

configureH A D05-Jan-2009183.4 KiB6,8365,755

configure.acH A D03-May-20221.5 KiB3736

daemon.cH A D31-Dec-200823.4 KiB975774

daemon.hH A D15-Jul-20081 KiB5027

error.cH A D05-Feb-20075.2 KiB281243

error.hH A D09-Jul-2006650 3020

fd_cache.cH A D17-Jan-20079.2 KiB399235

fd_cache.hH A D17-Jan-2007734 3015

fh.cH A D16-Jan-200710.5 KiB474267

fh.hH A D05-Jan-20071.4 KiB6341

fh_cache.cH A D05-Jan-20078.2 KiB348194

fh_cache.hH A D24-Nov-2006528 2411

indent-allH A D10-Mar-2004248 64

install-shH A D06-Mar-20045.5 KiB252153

locate.cH A D05-Jan-20073.3 KiB172109

locate.hH A D24-Nov-2006208 144

md5.cH A D08-Jan-200512.1 KiB380259

md5.hH A D08-Jan-20053.3 KiB9220

mount.cH A D05-Jan-20076.9 KiB290200

mount.hH A D06-Mar-20042 KiB9876

nfs.cH A D04-Jan-200927.8 KiB1,084801

nfs.hH A D05-Jan-200718.8 KiB1,008859

password.cH A D20-Nov-20072.5 KiB11785

password.hH A D08-Feb-2007321 145

readdir.cH A D15-Jul-20085.2 KiB216130

readdir.hH A D09-Jul-2006287 156

unfs3.specH A D17-Aug-20081,011 3931

unfsd.8H A D05-Jan-200913.1 KiB395389

unfsd.initH A D16-Jun-20071.7 KiB7253

user.cH A D16-Feb-20085.8 KiB294188

user.hH A D05-Dec-2007652 3015

winsupport.cH A D04-Jul-200724.4 KiB1,063766

winsupport.hH A D21-Feb-20074.2 KiB132109

xdr.cH A D16-Feb-200835.1 KiB1,6571,501

xdr.hH A D25-Dec-20047.5 KiB166153

README

1UNFS3 (User-Space NFSv3 Server)
2(C) 2003-2006, Pascal Schmidt <unfs3-server@ewetel.net>
3
4
5INTRODUCTION
6============
7
8UNFS3 is a user-space implementation of the NFSv3 server
9specification.
10
11UNFS3 supports all NFSv3 procedures with the exception of the
12READDIRPLUS procedure. It tries to provide as much information
13to NFS clients as possible, within the limits possible from
14user-space.
15
16See the unfsd(8) manpage for restrictions imposed on NFS
17operations (section RESTRICTIONS) and for possible races
18with local file system activity (section BUGS).
19
20It is not possible to export to netgroups or wildcard hostnames
21via /etc/exports, all other addressing methods should work. The
22following options are recognized in the exports file: ro, rw,
23root_squash, all_squash, no_root_squash, no_all_squash. If
24other options are present, they are ignored.
25
26Cluster extensions compatible to the older ClusterNFS project
27are supported when the source is configured with --enable-cluster.
28
29
30SUPPORTED SYSTEMS
31=================
32
33Linux:		compiles and runs, passes Connectathon 2003 NFS
34		testsuite's "basic" and "general" tests, survives
35		fsx stress testing
36
37Solaris: 	compiles and runs, survives light testing
38
39NetBSD: 	compiles and runs, but there are compatibility
40		problems with the in-kernel NFS client
41
42AIX:		compiles
43
44Irix:		compiles (with gcc and native compiler)
45
46OS X:		compiles
47
48Note that only Linux support is checked for all releases. If unfs3
49breaks on other platforms, a bug report is appreciated.
50
51
52INSTALLATION
53============
54
55You will need gcc, lex (flex), and yacc (bison) to compile UNFS3.
56
57	./configure
58	make
59	make install
60
61Please read the manpage for information about command-line
62options.
63
64	man 8 unfsd
65
66If you decide to modify the code yourself, you can run
67
68	make dep
69
70to append dependency information to the Makefile, so that make
71knows which files depend on each other and recompiles all the
72necessary files on changes.
73
74
75CVS REPOSITORY
76==============
77
78The unfs3 CVS repository is accessible via anonymous CVS. The source
79can be checked out with:
80
81  cvs -d:pserver:anonymous@cvs.lysator.liu.se:/cvsroot/unfs3 login
82  cvs -d:pserver:anonymous@cvs.lysator.liu.se:/cvsroot/unfs3 co unfs3
83
84You can also use the web-based CVS repository viewer at:
85
86  http://cvs.lysator.liu.se/viewcvs/viewcvs.cgi/?cvsroot=unfs3
87
88In the HEAD branch, you will find a file called "BRANCHES", which
89describes the different branches in this repository.
90

README.nfsroot

1Using UNFS3 for Linux nfsroot
2=============================
3
4General information about Linux nfsroot can be found in the
5Linux kernel source, in the file Documentation/nfsroot.txt.
6
7If you want the use the Linux kernel's "nfsroot=" boot option
8to use a root directory on an NFS server and use UNFS3 in the
9role of the NFS server for that, you need to remember that UNFS3
10only supports NFSv3, not NFSv2. The kernel, on the other hand,
11always defaults to using NFSv2. Thus, you need to modify the
12nfsroot boot option to force the kernel to use NFSv3. If you do
13not do this, an error message like this will appear on the
14client machine:
15
16  Looking up port of RPC 1000003/2 on 172.16.100.100
17  Root-NFS: Portmapper on server returned 2049 as nfsd port
18  Looking up port of RPC 1000005/1 on 172.16.100.100
19  Root-NFS: mounted port is 2049
20  NFS:      nfs_mount (ac106464:/nfsroot)
21  RPC: call_verify: programm 100003 version 2 unsupported by server
22  nfs_get_root: getattr error = 5
23  nfs_read_super: get root inode failed
24  VFS: Unable to mount root fs via NFS trying floppy
25
26To fix this problem, append the "v3" NFS option to the nfsroot
27boot option. Assuming your NFS server's IP address is 192.168.2.72
28and the path you need to mount is /tftpboot/nfsroot, the boot
29option should look like this:
30
31  nfsroot=192.168.2.72:/tftpboot/nfsroot,v3
32
33You can add more options to the end, seperated by commas. If you
34use DHCP to pass the NFS server configuration to the client, you
35need to use a line like this in the /etc/dhcpd.conf settings
36for the client machine:
37
38  option root-path "/tftpboot/nfsroot,v3";
39
40As above, more options can be added to the end, sepereated by
41commas.
42
43Thanks go to Jean Aumont <JeanAumont@videotron.ca> for suggesting
44this bit of information to be documented.
45