2 If you move this file, you must update the package rules file at
3 build/jam/packages/NetFS to reflect the new location. Otherwise the package will
11 font-family: monospace;
13 border:
1px solid black;
25 <h1 align=
"center">NetFS
</h1>
29 <h2 align=
"center">Client
</h2>
31 <p>To run the client, execute the following at the command line:
</p>
37 <p>A
"Network" icon will appear on your desktop, containing remote servers
38 identified by host name. Inside the folder for each server are the shares on
41 <p>You can also run the steps individually:
</p>
44 $ /system/servers/authentication_server
&
46 $ mount -t userlandfs -p
"netfs" /network
51 <h2 align=
"center">Server
</h2>
53 <p>To run the server:
</p>
56 $ netfs_server_prefs launch
59 <p>You can also start the server directly if you prefer.
</p>
62 $ /system/servers/netfs_server
&
65 <p>The server will then run until you shut down your computer, but it is also
66 possible to stop it manually.
</p>
69 $ netfs_server_prefs terminate
72 <p>Once the server is running, you can define shared folders. The first step is
73 to create a user who can access those folders, optionally with a password.
</p>
76 $ netfs_server_prefs add user
<name
> [
<password
>]
79 <p>Next create a shared folder and assign a user some permissions on it.
</p>
82 $ netfs_server_prefs add share
<name
> <path
>
83 $ netfs_server_prefs permissions
<user
> <share
> <flags>
86 <p><span class=
"code">name
</span> is the name that will appear to clients when
87 they connect to your server.
<span class=
"code">flags
</span> is one or more of:
88 <span class=
"code">m
</span> = mount,
<span class=
"code">r
</span> = read,
<span
89 class=
"code">w
</span> = write,
<span class=
"code">q
</span> = query.
</p>
91 <p>Don't forget to save your settings.
</p>
94 $ netfs_server_prefs save
97 <p>The
<span class=
"code">netfs_server_prefs
</span> tool can also list and
98 remove users and shares. See the help for details.
</p>
101 $ netfs_server_prefs --help
106 <h2 align=
"center">Fallback Settings File
</h2>
108 <p>The settings file is stored in a binary format, but if it is missing or
109 damaged, the server will use a fallback settings file, which has a text-based
110 format. This file must be located at
<span
111 class=
"code">/boot/home/config/settings/netfs/netfs_server_fallback
</span>. (If
112 neither the main settings file nor the fallback settings file can be loaded, the
113 server will have no users or shares defined.)
115 <p>Here is an example of a fallback settings file.
</p>
123 # user without a password
128 path /boot/home/Desktop/ttttt
130 permissions mount query read write
135 path /boot/home/Desktop/ttttt/rmessage
137 permissions mount query read write
140 permissions mount query read