* Re: Start a process at boot time
@ 1995-05-18 15:45 Dr. Tom Blinn, 603-881-0646
0 siblings, 0 replies; 3+ messages in thread
From: Dr. Tom Blinn, 603-881-0646 @ 1995-05-18 15:45 UTC (permalink / raw)
To: tru64-unix-managers
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Start a process at boot time
@ 1995-05-18 14:02 simon
0 siblings, 0 replies; 3+ messages in thread
From: simon @ 1995-05-18 14:02 UTC (permalink / raw)
To: tru64-unix-managers
>
>
> 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 automa
te
>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.
>
> I appreciate any help.
>
You'll need to write a shell script to do the mount which will reside in
/sbin/init.d and be symlinked into /sbin/rc2.d and /sbin/rc3.d. Look at
the man pages for init(8), rc2(8), and rc3(8).
- Simon
_________________________________________________________________________
Simon Rosenthal: (simon@locus.com)
Locus Computing Corporation
Burlington, MA 01803
^ permalink raw reply [flat|nested] 3+ messages in thread
* Start a process at boot time
@ 1995-05-18 9:18 mukesh_patel
0 siblings, 0 replies; 3+ messages in thread
From: mukesh_patel @ 1995-05-18 9:18 UTC (permalink / raw)
To: tru64-unix-managers
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.
I appreciate any help.
Thanks,
Mukesh
mpatel@cmic.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-05-18 15:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-18 15:45 Start a process at boot time Dr. Tom Blinn, 603-881-0646
-- strict thread matches above, loose matches on Subject: below --
1995-05-18 14:02 simon
1995-05-18 9:18 mukesh_patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox