On Mon, 27 Feb 2023 16:55:31 +0100
tom ehlert <t...@drivesnapshot.de> wrote:
> I hate feature flags as they must be decovered first.
> 
> hiding it behind
> 
>    if lba_supported_by_disk and
>       total_disk_size > 8,4 GB // max total size for CHS addressing
>       {
>       place partitions on 4K boundary
>       }
> 
> Tom

Hi,

Unless CompactFlash cards do some firmware magic to solve the 4k
alignment problem that I'm not aware of, there are plenty of
CompactFlash cards that are smaller than 8.4GB. This may also be
true of SD cards. util-linux fdisk detects if a mass storage device is
flash or not and automatically aligns to 4K as appropriate. But this
may be much harder to do with DOS/older computers. So an unconditional
switch like /4K would be better here.

-- 
WWW: https://metalpunks.info
GPG: C90CAB7122AC1231

Attachment: pgp9zmhDtni4x.pgp
Description: OpenPGP digital signature

_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to