From owner-freebsd-hackers Sat Jun 7 11:21:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA29583 for hackers-outgoing; Sat, 7 Jun 1997 11:21:10 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA29578 for ; Sat, 7 Jun 1997 11:21:05 -0700 (PDT) Received: from localhost (tom@localhost) by misery.sdf.com (8.8.5/8.8.5) with SMTP id LAA14521; Sat, 7 Jun 1997 11:19:37 -0700 (PDT) X-Authentication-Warning: misery.sdf.com: tom owned process doing -bs Date: Sat, 7 Jun 1997 11:19:35 -0700 (PDT) From: Tom Samplonius To: Joerg Wunsch cc: FreeBSD hackers , Scott Lystig Fritchie Subject: Re: One reason to mmap() block devices In-Reply-To: <19970607141732.ID18946@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 7 Jun 1997, J Wunsch wrote: > As Tom Samplonius wrote: > > > Why not just mmap() the disk character device instead of the disk block > > device? > > > > The block device is nearly useless for everything except newfs. > > You mean mount(8), do you? Newfs also requires the raw device. You are right. I got this backwards. In fact, under 2.2+, you are likely to hang your system if you newsfs on the block device. > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > > Tom