[Info-vax] mmap on VMS -

JF Mezei jfmezei.spamnot at vaxination.ca
Mon Apr 13 13:57:15 EDT 2009


someone wrote:

>> mmap() on a program written for for UNIX only works on VMS files that 
>> are the same in memory as on disk, like stream and binary formats.

Yes. BUT.... (in little britain tone :-)

If one considers a configuration file or "flat database" which is
created by the application itself, then the ODS-2 file becomes but a
container for raw data. It could be created as a rfm=UDF
or a rfm-FIX,lrl=512 file.

Obviously, nmap won't allow a unix application to properly parse *any*
file on VMS, and won't create files that are really readable on VMS,
unless you set the proper rfm=stm or rfm=stmlf or whatever. (you can't
expect a Unix application to start setting RMS parameters).

So if you look at an application like
netscape/mozilla/seamonkey/forefox, if they use nmap to map the user's
config file to memory, and since it is those applications which create
the file and you are not expected to be able to edit it, then nmap would
work on that.



More information about the Info-vax mailing list