Files
epics-base/modules/database/src/template/top/iocBoot/nfsCommands@vxWorks
Jure Varlec c304b7db53 Add SPDX license tags to templates
Copyright information was gathered using `git log` with per-line history
tracking, which allows following the history of a file through renames.
2024-09-04 10:02:04 -05:00

34 lines
960 B
Plaintext

# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS
#- Instructions for creating and using a real nfsCommands file
#-
#- in order to use nfs do the following:
#- 1) Create hostAdd and nfsMount commands for each nfs server
#- 2) In each st.cmd file add the following two commands BEFORE any load commands
#- ../nfs.cmd
#- cd "<iocname>
#-
#- The hostAdd command has the form:
#- hostAdd("<host>","xxx.xxx.xxx.xxx")
#-
#- The vxWorks nfsMount command has the form:
#- nfsMount("<host>")
#-
#- You can also mount subdirectories as follows:
#- nfsMount("<host>", "/xxx/xxx/xxx", "/xxx")
#-
#- For example assume
#-
#- host is mercury with inet address 155.77.2.56
#- You want to mount the directory (which is a file system of mercury)
#- /home/mercury5/iocinfo
#- as
#- /iocinfo
#-
#- The commands would be
#-
#- hostAdd("mercury","155.77.2.56")
#- nfsMount("mercury","/home/mercury5/iocinfo","/iocinfo")