haiku/headers/build
Jérôme Duval 688acf41a3 add physical_block_size field where applicable
only scsi_disk checks the actual value, other drivers take the logical block size.

This change reports the physical block size from the disk rather than the block
size used by IDE/SATA/SCSI commands. On typical modern SATA disks, the SATA
commands will use 512 byte blocks, but the disk will actually read and write
4K blocks internally. This is only of importance for partition alignment for DriveSetup,
and is independant of file systems or partitioning systems. This could also influence
the recommended block size for some file systems.

Change-Id: Id0f2e22659e89fcef64c1f8d04f81cd68995e01f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5667
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2022-09-23 06:56:01 +00:00
..
config headers/build: Use the system's types.h on Haiku. 2017-12-12 18:51:13 -05:00
gcc-2.95.3 headers: Adjust GCC2 stdbool to be usable by modern GCC. 2020-10-10 16:36:59 -04:00
host configure & build: Add basic support for building with MSYS. 2020-05-03 13:24:26 -04:00
os add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
private Mass updating of OpenBeOS text to Haiku 2021-11-07 10:00:35 +00:00
BeOSBuildCompatibility.h Remove conditions for HOST_PLATFORM=msys. 2021-10-22 17:03:44 -04:00
HaikuBuildCompatibility.h build: Deprecate SetSubDirSupportedPlatformsBeOSCompatible. 2019-03-30 14:54:14 -04:00