From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e4ec54bbb6854afd,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,e4ec54bbb6854afd,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-01-03 16:36:37 PST Xref: gmd.de comp.unix.osf.osf1:1845 comp.sys.dec:12652 Newsgroups: comp.unix.osf.osf1,comp.sys.dec Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!john From: john@iastate.edu (John Hascall) Subject: mount() returns bizarre errno Message-ID: Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA Date: Mon, 3 Jan 1994 23:37:02 GMT 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