Date: Wed, 11 May 2011 05:16:04 -0400 From: Doug Rabson <dfr@rabson.org> To: Andriy Gapon <avg@freebsd.org> Cc: FreeBSD Arch <freebsd-arch@freebsd.org> Subject: Re: arch-independent disks in sys/boot, libstand Message-ID: <BANLkTik6709-66dXy2RB3Qy6FgRBmJ5hGA@mail.gmail.com> In-Reply-To: <4DC95006.1020404@FreeBSD.org> References: <4DC95006.1020404@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <avg@freebsd.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTik6709-66dXy2RB3Qy6FgRBmJ5hGA>