Two thoughts: First, why not just put the mount in stab, where all the other mounts are? That would seem more logical than executing a script during the boot: Let the system take care of it.
Second, and possibly even better for you in the long term: Bring up autofs, and have the mount done only when the filesystem is actually used. This also gets around any instability in the NFS server, because the filesystem will be mounted only when referenced, and then unmounted after a certain amount of inactive time. We do this for many mount points, both NFS and CIFS. We even do it for all our user¹s home directories, which gives them the advantage of having the same home directory on every box they log in on. -- Robert P. Nix | Sr IT Systems Engineer | Data Center Infrastructure Services 507-284-0844 | [email protected] <applewebdata://7C28AA03-E9D7-4519-A679-80B7EC6A010B/[email protected]> Mayo Clinic| 200 First Street SW | Rochester, MN 55905 Mayo Clinic, a mission-driven worldwide leader in health care for 150 years. http://150years.mayoclinic.org/ On 3/10/15, 11:13 AM, "Levy, Alan" <[email protected]> wrote: >I'm having a mind block today. > >I have a script (which does an NFS mount) and rather than put it into >/etc/init.d and rc3.d, I'd like to execute this script after everything >else has finished executing. I remember doing this before in some kind of >boot.xxxx file but I can't remember what it was. > >Thanks. > > > > > >---------------------------------------------------------------------- >For LINUX-390 subscribe / signoff / archive access instructions, >send email to [email protected] with the message: INFO LINUX-390 or >visit >http://www.marist.edu/htbin/wlvindex?LINUX-390 >---------------------------------------------------------------------- >For more information on Linux on System z, visit >http://wiki.linuxvm.org/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
