Path: utzoo!utgpu!watserv1!watmath!att!tsdiag!moria!dcm From: dcm@moria.UUCP (David C. Miller) Newsgroups: comp.unix.questions Subject: Re: uses of mmap Message-ID: <352@moria.UUCP> Date: 7 Sep 90 04:52:00 GMT References: <1990Sep4.123135.10479@mips2.cr.bull.com> Organization: The Black Chasm Lines: 11 In Jerome Freedman writes: : I have been looking at mmap [...] : Now , If I want to mmap a file it looks as though I have to : open the device on which the file resides to get the fd : mentioned in the man pages and somehow get the offset of : the file I want to map - is this a correct interpretation It's real close. But you open the *file* you want to map, not the device it resides on. David