#
688acf41 |
|
15-Sep-2022 |
Jérôme Duval <jerome.duval@gmail.com> |
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>
|
#
1987b05a |
|
10-Aug-2009 |
Bryce Groff <bgroff@hawaii.edu> |
* Added open_partition to disk_device_manager * Rewrote PartitionMapWriter * Updated style to match current style guide for the intel partitioning system. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1cc5e469 |
|
08-Jul-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added offset and size parameters to create_child_partition() and KPartition::CreateChild(). CreateChild() calls AddChild(), which publishes the new partition, though at that point offset and size were not set, so that the published devices would not be usable. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31463 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9f2d816 |
|
12-Jul-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added helper function get_default_partition_content_name() that can be used by file systems to get a useful name, if the file system (or just that specific volume) doesn't have one. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26403 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8354dac7 |
|
01-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Folded KPhysicalPartition into KPartition. Removed the notion of shadow partitions from the disk device manager. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22800 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dbef8fc4 |
|
07-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added get_physical_partition() function, which always retrieves the physical partition, unlike get_partition() which returns the shadow partition, if it exists. * Added B_PARTITION_SHADOW[_CHILD] partition pseudo operation values for the shadow_changed() hook, notifying a disk system, that a shadow partition has been created. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22472 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8c8f8c84 |
|
04-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added scan_partition() function which can be used by disk systems (e.g. in *_initialize()) to save some work. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22441 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2dc6403d |
|
26-Jul-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Addition of write support to the disk device manager. Courtesy of Tomas Kucera and Jan Matejek. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21719 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3c4cc549 |
|
03-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
disk_device_manager.h no longer includes a private header - ie. that header is public now, even if it may not yet be public and fixed API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16995 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
47f39c93 |
|
23-May-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Merged the disk device manager module interface for file systems with the VFS's interface, so that a file system only has to implement one interface. As a side effect, the automatic file system detection may now work (not yet tested, though). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12786 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1987b05aa02e2c9b2ff9f852cff73a249af7175a |
|
10-Aug-2009 |
Bryce Groff <bgroff@hawaii.edu> |
* Added open_partition to disk_device_manager * Rewrote PartitionMapWriter * Updated style to match current style guide for the intel partitioning system. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1cc5e46925a7e64708d7565fe2c1ac3f448c9d58 |
|
08-Jul-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added offset and size parameters to create_child_partition() and KPartition::CreateChild(). CreateChild() calls AddChild(), which publishes the new partition, though at that point offset and size were not set, so that the published devices would not be usable. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31463 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9f2d81621773564eb49394e172ab8bb198471f2 |
|
12-Jul-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added helper function get_default_partition_content_name() that can be used by file systems to get a useful name, if the file system (or just that specific volume) doesn't have one. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26403 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8354dac78e2ce5da2e5ee1826c37dbc12cacbd18 |
|
01-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Folded KPhysicalPartition into KPartition. Removed the notion of shadow partitions from the disk device manager. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22800 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dbef8fc452e3310b0cd9f1c4606490439f71cf6e |
|
07-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added get_physical_partition() function, which always retrieves the physical partition, unlike get_partition() which returns the shadow partition, if it exists. * Added B_PARTITION_SHADOW[_CHILD] partition pseudo operation values for the shadow_changed() hook, notifying a disk system, that a shadow partition has been created. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22472 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8c8f8c84209c539c801ce0df111d8ee50e39362c |
|
04-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added scan_partition() function which can be used by disk systems (e.g. in *_initialize()) to save some work. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22441 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2dc6403ddcbaad94bc4df48bc434379275965f7e |
|
26-Jul-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Addition of write support to the disk device manager. Courtesy of Tomas Kucera and Jan Matejek. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21719 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3c4cc54948b4ac8f32a05b83fc302dc728c65bb4 |
|
03-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
disk_device_manager.h no longer includes a private header - ie. that header is public now, even if it may not yet be public and fixed API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16995 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
47f39c93cbd7db06e72642b047f1fc327852684c |
|
23-May-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Merged the disk device manager module interface for file systems with the VFS's interface, so that a file system only has to implement one interface. As a side effect, the automatic file system detection may now work (not yet tested, though). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12786 a95241bf-73f2-0310-859d-f6bbb57e9c96
|