McKown, John wrote:
I'm posting this to both the MVS OS (z/OS UNIX) forum and the Linux
forum because it involves both platforms, at least to an extent. I have
a Linux box which is running an NFS server. It has a subdirectory which
is NFS exported. The z/OS system imports this subdirectory. I have a job
on z/OS which writes data to the z/OS UNIX subdirectory which is
__supposed__ to be mounted to the Linux machine. And it does, so long as
the NFS mount has been issued on the z/OS system (which is not automated
at present) and the Linux machine (which is mine - not a server per se)
is up.
What I'd like to be able to __easily__ figure out are:
(1) is the z/OS UNIX subdirectory properly NFS MOUNTed to the Linux
system?
(2) is the Linux system actually working?
(1) Test for the existance of a known directory in the mount point. If
it's present, you know everything.
In bash,
[ -d /net/ns/var ] || echo Oh dear
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Please do not reply off-list
----------------------------------------------------------------------
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