Re: ddm interface for Intel partitioning system

" Tomáš Kučera" <[email protected]> Sat, 19 May 2007 12:59:22 +0200
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <[email protected]>
>> partition_supports_initializing
>The module responsible 
>for extended partitions cannot initialize anything but what the parent 
>partitioning system (partition map) has marked an extended partition.
>
>If no partition is given, the question to answer is only if the partitioning 
>system supports initialization at all. This holds analoguously for all of the 
>partition_supports_*() hooks, IIRC.

So all the partition_supports_*() hooks, if a partition is specified, should say
if we can perform that action on a given partition and partition_validate_*()
hooks just only check given parameters?
If we have e.g. intel partition map system and we already have 4 primary
partitions, we cannot create another child partition. Should the hook
partition_supports_creating_child() fail or should it just say "yes" (because
we can generally create child partitions) and then
partition_validate_create_child() fails, because we already have 4 child
partitions?


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/