From: john@iastate.edu (John Hascall)
Subject: mount() returns bizarre errno
Date: Mon, 3 Jan 1994 23:37:02 GMT [thread overview]
Message-ID: <CJ2uxr.C0w@news.iastate.edu> (raw)
This is on a DEC 3000/300 running:
DEC OSF/1 V1.3 (Rev. 111); Sun Dec 12 11:31:43 CST 1993
DEC OSF/1 V1.3 Worksystem Software (Rev. 111)
I have an application which calls mount() which I am attempting to port
from Ultrix to OSF/1 and the mount() routine is returning errno=46
EPFNOSUPPORT ``Protocol family not supported''
which is, of course, not mentioned in the man page... :-(
The arguments to mount are:
mount(MOUNT_NFS, "/nfs/fs-10/u4", M_NOSUID, &nfs_args);
The directory exists (ls -ldg /nfs/fs-10/u4):
drwxrwxrwx 2 root system 512 Jan 03 00:53 /nfs/fs-10/u4
And the structure nfs_args contains:
addr
sin_family = 2
sin_port = 2049
sin_addr = 129.186.160.160
fh = 221500008003000040f29d5b8003000040f29d5b000000000000000000000000
flags = 0000003f
rsize = 4096
wsize = 4096
timeo = 8
retrans = 7
hostname = "fs-10.iastate.edu"
acregmin = 3
acregmax = 60
acdirmin = 30
acdirmax = 60
netname = "fs-10.iastate.edu"
pathconf = 14002bcf0 (pointer to zero'd struct pathcnf)
(The server fs-10 is running Ultrix 4.2a (hence the fh format above.)
All of which look OK to me?
Any clues would be much appreciated...
(PS, I can mount this filesystem on this dir using the mount command,
but I really don't want to modify the application to fork&exec it
if I can avoid it).
Thanks,
John
--
John Hascall ``An ill-chosen word is the fool's messenger.''
Systems Software Engineer
Project Vincent
Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551
next reply other threads:[~1994-01-03 23:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-01-03 23:37 John Hascall [this message]
1994-01-04 6:48 ` mount() returns bizarre errno John Hascall
1994-01-05 13:22 ` Ezra Peisach
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