Gentoo Archives: gentoo-user

From: Andrew Udvare <audvare@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mac-fdisk with different block size
Date: Sun, 13 Jan 2019 13:28:22
Message-Id: 7E873F1F-F743-49C8-9E1B-5675010EF0B6@gmail.com
In Reply to: [gentoo-user] mac-fdisk with different block size by nunojsilva@ist.utl.pt
1 > On 2019-01-13, at 07:49, (Nuno Silva) <nunojsilva@×××××××.pt> wrote:
2 >
3 > I am trying to create an Apple partition map with a block size of 4096
4 > bytes, but I can't find an option to change the block size in mac-fdisk,
5 > which defaults to 512 bytes.
6 >
7 > Does anybody know of a utility that can create and modify such partition
8 > maps under Gentoo?
9
10
11 Quick look and it seems that for mac-fdisk the 512 size is hard-coded:
12
13 https://github.com/glaubitz/mac-fdisk-debian/blob/bda743065fa2c75a83fec60166bc2e317059ef7a/io.h#L32

Replies

Subject Author
[gentoo-user] Re: mac-fdisk with different block size nunojsilva@×××××××.pt