From owner-freebsd-current@FreeBSD.ORG Tue May 16 05:40:40 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB21216A406 for ; Tue, 16 May 2006 05:40:40 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7967B43D46 for ; Tue, 16 May 2006 05:40:40 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 2FDE5170DE; Tue, 16 May 2006 05:40:38 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.6/8.13.6) with ESMTP id k4G5ebIt004489; Tue, 16 May 2006 07:40:37 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Maxim Sobolev From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 15 May 2006 12:52:37 PDT." <4468DC05.9080808@sippysoft.com> Date: Tue, 16 May 2006 07:40:36 +0200 Message-ID: <4488.1147758036@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 05:40:40 -0000 In message <4468DC05.9080808@sippysoft.com>, Maxim Sobolev writes: >Poul-Henning Kamp wrote: >> In message <44681D92.80309@sippysoft.com>, Maxim Sobolev writes: >>> Hi, >>> >>> I would like to extend md(4) with support for mmap(4) operations, >> >> Uhm, how exactly would that work ? > >Just like ioctl(2) works: geom_dev will accept mmap requests and pass it >to the underlying provider for execution if that provider has mmap >handler in its g_class. No, I meant: how will you use this ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.