Date: Sun, 13 Sep 2009 12:31:50 -0600 From: Geoff Fritz <gfritz@gmail.com> To: freebsd-geom@freebsd.org Subject: gpart(8) not honoring sector sizes correctly? Message-ID: <20090913183150.GA48701@dev.null>
next in thread | raw e-mail | index | archive | help
I just recently started using gpart, and I ran into what I think might be a bug. I'm using FreeBSD/amd64 8.0-BETA4 I have a geli provider with a 4096 sector size. When I issued a "gpart add -s 1g -t freebsd_ufs ad0.eli" on this device, it appears the command assumes a 512-byte sector size, resulting in a partition that is 8G in size. The bsdlabel command handles this correctly, so I assumed that gpart should. Is this a bug? I only began messing with gpart after reading that it's related (I think) to getting the new bsdlabel in FreeBSD 8.0 to utilize 26 partitions (instead of the normal 8). Is there any documentation on how to do this? Thanks. -- Geoff Fritz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090913183150.GA48701>