From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,3319fd08e07c7b1f,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,3319fd08e07c7b1f,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-11-15 16:01:31 PST Xref: gmd.de comp.unix.osf.osf1:1521 comp.unix.questions:24416 Newsgroups: comp.unix.osf.osf1,comp.unix.questions Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!sdd.hp.com!portal!sdr From: sdr@unix.portal.com (Stephen Reagan) Subject: using mmap() in OSF Message-ID: Organization: Portal Communications Company X-Newsreader: TIN [version 1.2 PL2] Date: Mon, 15 Nov 1993 22:46:37 GMT I would like to know if anyone has tried to use the mmap() function on OSF - I have heard rumors that it doesn't work (unfortunately, this is non-specific information). I have been looking at Stevens' book as a guide, but I cannot get enough information to pass any judgement. Basically I am interested in maintaining a very large disk file in order to take periodic snapshots of a real-time system that would entail saving information of up to 60K data points in a file that may be 15Mb or more. Is using mmap() in this case a reasonable idea? What if I don't know the exact file size at creation time, but can get it when I read the data from the file later? Any information, suggestions, or anecdotal information would be greatly appreciated. Thanks, --Steve