*BSD News Article 96717


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!uunet!in1.uu.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.internetmci.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mmap() incapable of mapping block special files
Date: 2 Jun 1997 14:56:31 GMT
Organization: Awfulhak Ltd.
Lines: 24
Message-ID: <5mumuv$37m@ui-gate.utell.co.uk>
References: <ytlraemlumg.fsf@mr.net>
    <Pine.BSF.3.95.970601211328.23344A-100000@current1.whistle.com>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42048

In article <Pine.BSF.3.95.970601211328.23344A-100000@current1.whistle.com>,
	Julian Elischer <julian@current1.whistle.com> writes:
> I think you should ask this question on 'hackers'
> I think that it is relevant there..
> 
> here is unlikely to get read by the right people..
> 
> I'm not sure if BDEVs can handle that..
> I would doubt it but it MIGHT work..

I doubt it.  If you think about what mmap does, it sort of
makes its target into a block device.....  Wouldn't mmap'ing
a bdev put each page in a buffer twice ?

Why would anyone want to do this anyway (apart from "because
you should be able to abstract things to that level") ?

> julian
> 

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !