From owner-freebsd-arch@FreeBSD.ORG Wed May 11 09:42:54 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F14D106567F; Wed, 11 May 2011 09:42:54 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C1C038FC08; Wed, 11 May 2011 09:42:53 +0000 (UTC) Received: by bwz12 with SMTP id 12so393762bwz.13 for ; Wed, 11 May 2011 02:42:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.46.162 with SMTP id j34mr1237258bkf.210.1305105364281; Wed, 11 May 2011 02:16:04 -0700 (PDT) Received: by 10.204.36.2 with HTTP; Wed, 11 May 2011 02:16:04 -0700 (PDT) In-Reply-To: <4DC95006.1020404@FreeBSD.org> References: <4DC95006.1020404@FreeBSD.org> Date: Wed, 11 May 2011 05:16:04 -0400 Message-ID: From: Doug Rabson To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Arch Subject: Re: arch-independent disks in sys/boot, libstand X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2011 09:42:54 -0000 There is an example of this in sys/boot/zfs. The approach taken is to scan physical drives as they appear and piece them together into ZFS pools based on the drive metadata. The pools appear as devices in the device table and the actual ZFS filesystem reader is built on top of that. On 10 May 2011 10:47, Andriy Gapon wrote: > > I would like to ask for an advice about where/how to implement architecture > independent disk type(s) for sys/boot. The types would be logical disks > built on > top of physical architecture-specific disks/partitions. Possible examples > are: > ZFS pools, LVM volumes, etc. > > -- > Andriy Gapon > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >