haiku/headers/build/os
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
..
add-ons/registrar
app Mass updating of OpenBeOS text to Haiku 2021-11-07 10:00:35 +00:00
drivers add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
interface Build fix. 2020-07-14 19:33:20 +02:00
kernel Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
locale Package Kit: internationalize strings that may be displayed to the user 2020-04-13 09:00:10 +00:00
package
storage libbe_build: Fix build on non-Haiku platforms. 2021-11-18 15:42:17 -05:00
support Mass updating of OpenBeOS text to Haiku 2021-11-07 10:00:35 +00:00
BeBuild.h build/BeBuild.h: Throw an error if the compatibility headers are not included. 2019-03-26 18:59:42 -04:00