From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8f405d4c1a6b94b1,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,8f405d4c1a6b94b1,start X-Google-Attributes: gidfee84,public From: Dirk Grunwald Subject: mmap'ing a disk Date: 1997/09/30 Message-ID: #1/1 X-Deja-AN: 276943778 Organization: University of Colorado Newsgroups: comp.sys.dec,comp.unix.osf.osf1 [summary of previous question] In a previous query, I had asked about determining the size of LSM volumes from within a program. I'm glad to say that I solved that problem, but AFAIK, you couldn't solve it without the Digital Unix source distribution. The answer can be found in routine 'islsm' in the source for 'newfs'. [My current question] Cursory hacking determines that you can not 'mmap' a block disk device (e.g., /dev/rz8c), nor can you mmap an LSM volume. This is most unhappy for me if it's true - anyone know if this is possible using some magic invocation of flags? I'm about to descend into the bowels of the mach vmobject code, and saving me a trip into that would be useful. Dirk Grunwald Assoc. Prof, Univ. of Colorado at Boulder -- Dirk Grunwald Assoc. Prof, Univ. of Colorado at Boulder