diff --git a/src/makeBaseApp/Makefile b/src/makeBaseApp/Makefile index 19616795d..e3ebcc26e 100644 --- a/src/makeBaseApp/Makefile +++ b/src/makeBaseApp/Makefile @@ -46,6 +46,7 @@ TEMPLATES += top/exampleApp/src/_APPNAME_Hello.dbd TEMPLATES += top/exampleBoot/Makefile TEMPLATES += top/exampleBoot/nfsCommands@vxWorks +TEMPLATES += top/exampleBoot/nfsCommands@RTEMS TEMPLATES += top/exampleBoot/ioc/Makefile@Common TEMPLATES += top/exampleBoot/ioc/Makefile@vxWorks TEMPLATES += top/exampleBoot/ioc/st.cmd@Common @@ -74,6 +75,7 @@ TEMPLATES += top/caServerApp/vxEntry.cc TEMPLATES += top/iocBoot/Makefile TEMPLATES += top/iocBoot/nfsCommands@vxWorks +TEMPLATES += top/iocBoot/nfsCommands@RTEMS TEMPLATES += top/iocBoot/ioc/Makefile@Common TEMPLATES += top/iocBoot/ioc/Makefile@vxWorks TEMPLATES += top/iocBoot/ioc/st.cmd@Common diff --git a/src/makeBaseApp/top/exampleBoot/nfsCommands@RTEMS b/src/makeBaseApp/top/exampleBoot/nfsCommands@RTEMS new file mode 100644 index 000000000..0ba95a6d0 --- /dev/null +++ b/src/makeBaseApp/top/exampleBoot/nfsCommands@RTEMS @@ -0,0 +1,26 @@ +#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 " +# +# The hostAdd command has the form: +# hostAdd("","xxx.xxx.xxx.xxx") +# +# You can also mount subdirectories as follows: +# nfsMount("", "/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") diff --git a/src/makeBaseApp/top/iocBoot/nfsCommands@RTEMS b/src/makeBaseApp/top/iocBoot/nfsCommands@RTEMS new file mode 100644 index 000000000..0ba95a6d0 --- /dev/null +++ b/src/makeBaseApp/top/iocBoot/nfsCommands@RTEMS @@ -0,0 +1,26 @@ +#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 " +# +# The hostAdd command has the form: +# hostAdd("","xxx.xxx.xxx.xxx") +# +# You can also mount subdirectories as follows: +# nfsMount("", "/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")