1 .\" $FreeBSD: src/sbin/mount_nwfs/mount_nwfs.8,v 1.7.2.8 2003/02/23 21:17:43 trhodes Exp $
2 .\" $DragonFly: src/sbin/mount_nwfs/mount_nwfs.8,v 1.4 2006/02/17 19:33:33 swildner Exp $
8 .Nd mount NetWare volume from a NetWare file server
14 .Op Fl connection\ options
28 .Ar /server:user/volume[/path]
33 utility allows to mount volume from a NetWare server.
35 existing connection or create new: if no usable connection was found
36 it will try to establish a new one.
37 Connection has count of references to it,
38 so when last mount will be dismounted connection will be closed.
40 possible to create connection without any mounts (but use it for them) with
43 Note two forms of command line.
44 In the first form, server and user specified
50 In the second form server and user specified in
54 command line arguments (the
59 options aren't used in this case).
67 .Bl -tag -width indent
69 Name of NetWare server to connect.
70 For native IP you will need also
74 Name of user used in login sequence.
75 .It Fl connection\ options
81 Volume name can also be specified after all options and
89 option which affects on name representation.
91 can be one of the following:
92 .Bl -tag -width "ValueXX"
96 All existing file names converted to lower case.
97 Newly created file gets a lower case under OS2 name space.
98 This is the default when mounting volumes with DOS name space.
100 Same as 'l' but file system tries to be case insensitive.
103 No case conversion is performed.
105 Use this option with DOS name space only as a last resort,
106 because creating a lower case name in the DOS name space
107 can lead to unpredictable results.
108 This is the default when mounting volumes with OS2 name space.
110 All existing file names converted to upper case.
111 Newly created file gets an upper case under OS2 name space.
113 Same as 'u' but file system tries to be case insensitive.
116 .It Fl f Ar mode , Fl d Ar mode
117 Specify permissions that should be assigned to files and directories.
118 The values must be specified as octal numbers.
119 Default value for the file mode
120 is taken from mount point, default value for the dir mode adds execute
121 permission where the file mode gives read permission.
123 Note that these permissions can differ from the rights granted by NetWare
125 .It Fl n Ar namespace
132 Print version number.
133 .It Fl u Ar uid , Fl g Ar gid
134 User id and group id assigned to files.
135 The default is owner and group id from
136 directory where volume is mounted.
138 Set the locale for case conversion.
141 tries to use an environment variable
146 used to convert file names between NetWare and
148 Supported conversion schemes are:
149 .Bl -tag -width ".Cm koi2cp866"
151 Characters passed as is without any alteration.
155 Suits for setups used in Sweden.
161 If this option is omitted, connection permissions
162 assumed the same as directory mode
167 .Bl -tag -width /var/log/wtmp -compact
169 keeps static parameters for connections and other information.
171 .Pa /usr/share/examples/nwclient/dot.nwfsrc
175 Before any NCP connection can be established kernel must be configured
176 for IPX support, IPXrouted and KLD nwfs.ko should be loaded.
178 Next examples illustrates how to connect to NetWare server
186 .Bd -literal -offset indent
187 mount_nwfs -S nwserv -U guest -V sys /nw/s1/sys
188 mount_nwfs /nwserv:guest/sys /nw/s1/sys
189 mount -t nwfs /nwserv:guest/vol1 /nw/s1/vol1
190 mount -t nwfs /nwserv:boris/sys/home/boris /home/boris/nw/home
193 The last example mounts only subdirectory on a volume and equivalent
194 to NetWare 'map root' command.
196 It is possible to use
199 .Bd -literal -offset indent
200 /nwserv:guest/sys /nw/s1/sys nwfs rw,noauto 0 0
201 /nwserv:guest/vol1 /nw/s1/vol2 nwfs rw,noauto 0 0
206 utility first appeared in
209 In development of NetWare client for
211 the following sources were used:
213 Documentation from NetWare NDK.
215 Ncpfs for Linux - written by
216 .An Volker Lendecke Aq lendecke@math.uni\-goettingen.de .
217 He granted me permission to publish parts of his code under
221 "Interrupt List" from
228 .An Boris Popov Aq bp@butya.kz ,