History log of /haiku-fatelf/src/add-ons/disk_systems/intel/PartitionMapAddOn.cpp
Revision Date Author Comments
# 2077b23f 23-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

intel disk system: restrict maximum supported size.

* The MBR can only address 2^32 blocks.
* This prevents you from initializing a disk larger than 2TB with a block
size of 512 bytes.


# 2ffea8e8 17-Jun-2012 Axel Dörfler <axeld@pinc-software.de>

Minor cleanup, no functional change.


# 2f3ce2bf 23-Oct-2010 Bryce Groff <bgroff@hawaii.edu>

DriveSetup:
- File system is now only displayed when the partition actually has a filesystem.
- Now checks if the DiskSystem supports initializing.
- Updated the *ParamsPanels, as well as, the Disk System add-ons to use the new storage api changes (see below).

Storage Kit:
- Simplified the parameters editor system. Now all parameter editor requests go through a single function, GetParameterEditor, and pass a B_PARAMETER_EDITOR_TYPE to request a particular parameter editor.
- Moved DiskDeviceAddOnManager.h to the headers directory, as it is now required by InitParamsPanel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39115 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8efbc276 02-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

* Further cleanup while I was at it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37334 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 10d05234 02-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

* Removed questionable use of strlen().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37333 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f1143621 26-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Compiler warning fixes. No functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37270 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6a0a77e2 03-Aug-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff with small change by myself:
* Don't leak the driver settings handle.
* No need to get the "active" parameter in ValidateCreateChild() -- either
way is fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32098 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f96148c 20-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff with changes by myself:
* Added missing name parameter to the partitioning system module child creation
and child creation validation hooks. Pass the name to them.
* Added BPartitionParameterEditor interface, which is/will be used for editing
disk system specific parameters.
* Implemented partition parameter editors for BFS initialization and Intel
partition map child creation.
* Fixed the incorrect supported child partition type iteration in the Intel
partition map add-on. It does now return actual types.
* Handle the "active" flag parameter in the Intel partitioning system module.
* DriveSetup:
- Replaced the "Create" submenu by a simple menu item. The type can now by
chosen in the dialog.
- Make use of initialization and child creation parameter editors. Some
non-generic code has been moved to the respective editor implementations
(BFS, intel partitioning system).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31658 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 89175c4c 25-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff: Implemented DeleteChild().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31235 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7ba970b9 10-May-2009 Stephan Aßmus <superstippi@gmx.de>

Added optional tracing facilities.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30690 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5f1b31de 14-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Made the intel disk_systems add-on independent from the block size as well.
* This also fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30157 a95241bf-73f2-0310-859d-f6bbb57e9c96


# af4ad10c 05-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

I took the liberty of implementing GetNextSupportedType(), which is needed
to be able to call BPartition::GetNextSupportedChildType(). For the
PartitionMapAddOn, the types should be either primary or extended, depending
on the number of empty primary partitions and the existance of one
extended partition. DriveSetup shows "Intel Primary Partition" and
"Intel Extended Partition" in the Create menu now. Ingo, please review,
maybe I didn't understand the plan correctly. Also, I tried to follow the
code path, which is quite nested, and am pretty confused.. For example,
I didn't find the place where the CreateChildJob is finally created. Is this
missing yet?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23876 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91c21ff4 13-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Beginnings of a userland intel disk system add-on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22542 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2ffea8e8a397928e323dd48d9fb244a77ffbfbe2 17-Jun-2012 Axel Dörfler <axeld@pinc-software.de>

Minor cleanup, no functional change.


# 2f3ce2bf7ee30d5039ca706f86b51e3145a663f5 23-Oct-2010 Bryce Groff <bgroff@hawaii.edu>

DriveSetup:
- File system is now only displayed when the partition actually has a filesystem.
- Now checks if the DiskSystem supports initializing.
- Updated the *ParamsPanels, as well as, the Disk System add-ons to use the new storage api changes (see below).

Storage Kit:
- Simplified the parameters editor system. Now all parameter editor requests go through a single function, GetParameterEditor, and pass a B_PARAMETER_EDITOR_TYPE to request a particular parameter editor.
- Moved DiskDeviceAddOnManager.h to the headers directory, as it is now required by InitParamsPanel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39115 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8efbc2761ef786b5e57a8202bcd742e9c3a8cef0 02-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

* Further cleanup while I was at it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37334 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 10d0523409a858bc1abb7437c991f2f0ad1e3fca 02-Jul-2010 Axel Dörfler <axeld@pinc-software.de>

* Removed questionable use of strlen().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37333 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f1143621cac203ab3c7da3715e7c2f06c131cfe6 26-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Compiler warning fixes. No functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37270 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6a0a77e2fa708b50823f4de27facb05d9d888dd2 03-Aug-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff with small change by myself:
* Don't leak the driver settings handle.
* No need to get the "active" parameter in ValidateCreateChild() -- either
way is fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32098 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f96148cacdbf4ed476c22e6e8148b7f44a91d9e 20-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff with changes by myself:
* Added missing name parameter to the partitioning system module child creation
and child creation validation hooks. Pass the name to them.
* Added BPartitionParameterEditor interface, which is/will be used for editing
disk system specific parameters.
* Implemented partition parameter editors for BFS initialization and Intel
partition map child creation.
* Fixed the incorrect supported child partition type iteration in the Intel
partition map add-on. It does now return actual types.
* Handle the "active" flag parameter in the Intel partitioning system module.
* DriveSetup:
- Replaced the "Create" submenu by a simple menu item. The type can now by
chosen in the dialog.
- Make use of initialization and child creation parameter editors. Some
non-generic code has been moved to the respective editor implementations
(BFS, intel partitioning system).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31658 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 89175c4c506780e6b7c04028ddb8cf547321e0bf 25-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Bryce Groff: Implemented DeleteChild().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31235 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7ba970b9cc27b16d9c2c447530113795a931c890 10-May-2009 Stephan Aßmus <superstippi@gmx.de>

Added optional tracing facilities.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30690 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5f1b31debdf97da331be6e97a6c2bc5899e2423a 14-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Made the intel disk_systems add-on independent from the block size as well.
* This also fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30157 a95241bf-73f2-0310-859d-f6bbb57e9c96


# af4ad10c3e45b32850f1043af392821e6ba7f341 05-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

I took the liberty of implementing GetNextSupportedType(), which is needed
to be able to call BPartition::GetNextSupportedChildType(). For the
PartitionMapAddOn, the types should be either primary or extended, depending
on the number of empty primary partitions and the existance of one
extended partition. DriveSetup shows "Intel Primary Partition" and
"Intel Extended Partition" in the Create menu now. Ingo, please review,
maybe I didn't understand the plan correctly. Also, I tried to follow the
code path, which is quite nested, and am pretty confused.. For example,
I didn't find the place where the CreateChildJob is finally created. Is this
missing yet?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23876 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91c21ff4d651a5b0fe6afd611d09fc7a314ca8dd 13-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Beginnings of a userland intel disk system add-on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22542 a95241bf-73f2-0310-859d-f6bbb57e9c96