ADDMFS TYPE(*NFS) MFS('TULAB2:/QSYS.LIB/WORK.LIB')
MNTOVRDIR('/HOME')
OPTIONS('ro, nosuid, rsize=256, retrans=10')
CODEPAGE(*JOBCCSID)
This command mounts the /qsys.lib/work.lib file system from the remote system
TULAB2 onto the local client directory /HOME. This command also specifies:
vMount as read-only
vDisallow setuid execution
vSet the read buffer to 256 bytes
vSet the retransmission attempts to 10
The default job CCSID is used to determine the code page of the data on the
remote system.
Example 4: Mounting a NetWare File System with Options.
ADDMFS TYPE(*NETWARE)
MFS('TULAB2/NET:WORK/PROJONE')
MNTOVRDIR('/temp1')
OPTIONS('ro,agregmax=120')
This command mounts the NetWare directory WORK/PROJONE contained in the volume
NET that resides on server TULAB2 over the directory /temp1. In addition, this
command specifies to mount as read-only, sets the maximum time to store file
attributes locally to 120 seconds.
Example 5: Mounting using a NetWare Directory Services** Context.
Following are several examples of mounting a NetWare file system by using
NetWare Directory Services (NDS**) contexts.
ADDMFS TYPE(*NETWARE) MFS('.COMP.TULAB.UNIVER')
MNTOVRDIR('/temp1')
This command mounts NDS volume COMP, using a distinguished context, over the
directory /temp1.
ADDMFS TYPE(*NETWARE)
MFS('CN=NET_VOL.OU=TULAB2:WORK/PROJONE')
MNTOVRDIR('/temp1')
This command mounts path WORK/PROJONE on NDS volume NET, using a relative
path and fully qualified names, over the directory /temp1.
ADDMFS TYPE(*NETWARE)
MFS('.CN=NETMAP.OU=COMP.O=TULAB')
MNTOVRDIR('/temp1')
This command mounts a directory map object, using a distinguished context and
fully qualified names, over the directory /temp1.
RMVMFS (Remove Mounted File System) Command
Purpose
The Remove Mounted File System (RMVMFS) command will make a previously
mounted file system inaccessible within the integrated file system name space. The
file system to be made inaccessible can be:
1. a user defined file system (*UDFS) on the local system
48 OS/400 Network File System Support V4R4