Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 1997 19:36:51 -0700 (PDT)
From:      Tom Samplonius <tom@sdf.com>
To:        Scott Lystig Fritchie <fritchie@MR.Net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: One reason to mmap() block devices
Message-ID:  <Pine.BSF.3.95q.970606193553.11686C-100000@misery.sdf.com>
In-Reply-To: <199706062157.QAA09644@data.mr.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 6 Jun 1997, Scott Lystig Fritchie wrote:

> To follow-up to my earlier question about why only regular and
> character files are mmap()able...
> 
> ... I'm interested in mmap()ing a disk block device.  I've been doing
> some alternative INN development, bypassing the traditional filesystem
> for article storage, using instead a few very large files as cyclic
> buffers.

  Why not just mmap() the disk character device instead of the disk block
device?

  The block device is nearly useless for everything except newfs.

Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970606193553.11686C-100000>