home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:13829 comp.unix.aix:11838 comp.unix.programmer:5400
- Path: sparky!uunet!spool.mu.edu!uwm.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!shepler
- From: shepler@gumby.austin.ibm.com ( Spencer Shepler )
- Newsgroups: comp.unix.questions,comp.unix.aix,comp.unix.programmer
- Subject: Re: Shortened repost: mmap over NFS problem
- Message-ID: <SHEPLER.92Nov22232918@gumby.austin.ibm.com>
- Date: 22 Nov 92 23:29:18 GMT
- References: <1992Nov17.185422.4713@porthos.cc.bellcore.com>
- Sender: news@austin.ibm.com (News id)
- Organization: PSLOB. IBM Austin, Tx
- Lines: 31
- In-Reply-To: esg@pyuxd.uucp's message of Tue, 17 Nov 92 18:54:22 GMT
-
-
- In article <1992Nov17.185422.4713@porthos.cc.bellcore.com> esg@pyuxd.uucp (25235-gokhman) writes:
- Hi:
-
- This is a (shortened) repost of an article for which I got no responses. Writing
- to a memory region allocated with mmap call using MAP_FILE and
- MAP_SHARED causes a segmentation fault (RS6000 under AIX 3.2) when
- it is done over NFS. Mapping to the same file locally works fine.
- Documentation, as far as I can tell, does not mention
- NFS as a limitation. Is mmap supposed to work over NFS and this is an AIX
- bug, or is it not supposed to work and it is a documentation problem ?
-
- Thanx in advance, Ed Gokhman
-
- Ed,
- Using mmap() for NFS files is supported and is supposed to work. I
- would call defect support with the problem to get help through that
- channel. If you can send me short code snippet, I may be able to look
- into it. I am not affiliated directly with defect support. Just an
- interested party.
-
- Spencer
-
- --
-
- International Business Machines shepler@austin.ibm.com
- 11400 Burnet Rd. M.S. 9551 IBM VNET: SHEPLER at AUSTIN
- Austin, TX 78758-3493 U.S.A.
- Advanced Workstations Division Phone: (512) 838.3492 T/L 678.3492
- Bldg 905, Room 5D-017, ZIP 9551 FAX: (512) 838.3509 T/L 678.3509
- -- Views expressed here are my own and not those of IBM --
-