FreeBSD and raw partition

Russ Allbery rra at stanford.edu
Mon Apr 10 08:42:31 UTC 2000


Serj Smirnoff <serj at postmark.net> writes:

> I'm installling INN 2.2 on the FreeBSD 3.4 and I'd like to try storing
> articles in CNFS on raw partition. But there's no clear directions in
> all the docs I've found on how to write proper config files to make it
> working..

> When I'm trying to start INN with something like

> cycbuff:ONE:/dev/rwd0s4e:100000

You should be able to do just the above, provided that the device file is
readable and writeable by news.  (I create a separate set of device files
in a separate directory rather than using the ones in /dev, so that I can
make them owned by news:news.)  This assumes that FreeBSD supports mmap of
raw partitions, which is required for this to work.  I don't remember
off-hand if it does or not.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list