> On Jan 13, 2019, at 09:24, (Nuno Silva) <nunojsi...@ist.utl.pt> wrote:
> 
> On 2019-01-13, Andrew Udvare wrote:
> 
>>> On 2019-01-13, at 07:49, (Nuno Silva) <nunojsi...@ist.utl.pt> wrote:
>>> 
>>> I am trying to create an Apple partition map with a block size of 4096
>>> bytes, but I can't find an option to change the block size in mac-fdisk,
>>> which defaults to 512 bytes.
>>> 
>>> Does anybody know of a utility that can create and modify such partition
>>> maps under Gentoo?
>> 
>> 
>> Quick look and it seems that for mac-fdisk the 512 size is hard-coded:
>> 
>> https://github.com/glaubitz/mac-fdisk-debian/blob/bda743065fa2c75a83fec60166bc2e317059ef7a/io.h#L32
> 
> 
> That code appears to be version 0.4 from early 1997. Under Gentoo, the
> README file installed at /usr/share/doc/mac-fdisk-0.1_p18/ mentions 0.4
> as well.
> 
> According to a changelog at apple.com[1], variable block size support
> was added after that, and should be present in version 0.5.

On actual macOS latest, there's a -b option for block size.

Reply via email to