Date: Thu, 02 Apr 2009 10:43:09 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-geom@freebsd.org Subject: Re: gpart micro-how-to Message-ID: <F4950230-017F-41B8-8E4A-14ED8185864A@mac.com> In-Reply-To: <49D4AAFA.1000407@icyb.net.ua> References: <49D4AAFA.1000407@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 2, 2009, at 5:09 AM, Andriy Gapon wrote: > # the following are disklabel substitutes: create empty labels, then > add ufs > # partition ad10s1a, swap partition ad10s1b and partition ad10s2d of > type > # "unknown"/FS_OTHER/10 for future use by zfs The BSD scheme has a type for ZFS: #define FS_ZFS 27 /* Sun's ZFS */ You should be able to say: gpart create -s bsd ad10s2 gpart add -i 4 -b 16 -s 964194257 -t freebsd-zfs ad10s2 This has been MFC'd it to 7-stable slightly more than a year ago. FYI, -- Marcel Moolenaar xcllnt@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4950230-017F-41B8-8E4A-14ED8185864A>
