From: "Dr. Tom Blinn, 603-881-0646" <tpb () zk3 ! dec ! com>
To: tru64-unix-managers
Subject: Re: Start a process at boot time
Date: Thu, 18 May 1995 15:45:44 +0000 [thread overview]
Message-ID: <96075319906607.tru64-unix-managers.marc@archive.invalid> (raw)
> I have to mount a file system on alpha(OSF/1 V3.0) which is exported from
> Novel server(3.12) at the boot time. Due to version incompatibility I have to
> enter "mount -o nfsv2,port=2049 ..." command and I can't find a way to automate
> this process. Is there a file call /etc/rc.local like on SunOS 4.1.3 where I can
> add mount command? I checked in /etc/rc.config but I am not sure it is right
> place.
Have you tried putting the mount options in the /etc/fstab file, as
documented in the fstab(4) reference page?
NFS file systems are mounted by the /sbin/init.d/nfsmount shell script as
part of the processing of /sbin/rc3.d during startup. The S20nfsmount
symbolic link in /sbin/rc3.d points to /sbin/init.d/nfsmount. The script is
trivial, but you probably shouldn't modify it.
The fstab(4) reference page says this:
The fourth field, (mnt_options), describes the mount options associated
with the file system or partition. It is formatted as a comma separated
list of options and contains at least the type of mount (see the fs_type
field) plus any additional options appropriate to the file system type or
the partition use. You can specify the following mount options:
and then goes on to list the mount options, such as "rw".
Try making your mount options for this file system be "rw,nfsv2,port=2049"
or "ro,nfsv2,port=2049" if that's more appropriate.
Seek and ye shall find..
Tom
Dr. Thomas P. Blinn, UNIX Software Group, Digital Equipment Corporation
110 Spit Brook Road, MS ZKO3-2/U20 Nashua, New Hampshire 03062-2698
Technology Partnership Engineering Phone: (603) 881-0646
Internet: tpb@zk3.dec.com Digital's Easynet: alpha::tpb
Worry kills more people than work because more people worry than work.
My favorite palindrome is: Satan, oscillate my metallic sonatas.
-- Phil Agre, pagre@ucsd.edu
Opinions expressed herein are my own, and do not necessarily represent
those of my employer or anyone else, living or dead, real or imagined.
next reply other threads:[~1995-05-18 15:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-18 15:45 Dr. Tom Blinn, 603-881-0646 [this message]
-- strict thread matches above, loose matches on Subject: below --
1995-05-18 14:02 Start a process at boot time simon
1995-05-18 9:18 mukesh_patel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox