From owner-freebsd-fs Fri Jul 19 05:10:40 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA22383 for fs-outgoing; Fri, 19 Jul 1996 05:10:40 -0700 (PDT) Received: from elbe.desy.de (elbe.desy.de [131.169.82.208]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA22378 for ; Fri, 19 Jul 1996 05:10:31 -0700 (PDT) From: Lars Gerhard Kuehl Date: Fri, 19 Jul 96 14:11:07 +0200 Message-Id: <9607191211.AA20344@elbe.desy.de> To: heo@cslsun10.sogang.ac.kr Subject: Re: About buffer cache Cc: freebsd-fs@FreeBSD.org Sender: owner-fs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk a) How many of your mails shall we have to read? b) > 3) How can I enlarge the part for buffer cache in physical memory? > 4) How can user process access the file in ufs filesystem through raw disk? Why do you want to enlarge the buffer cache if you are going to access the filesystem through the raw device? The way to do the latter you can easily find in the fsck(8) sources. But if you use the raw disk you have to manage buffering for yourself and of course in order to keep your data in a consistant state, the file system must not be mounted. c) How about an mmap(2) aproach? FreeBSD is the OS of choice for that purpose. Lars