Re: ddm interface for Intel partitioning system

"Axel Dörfler" <[email protected]> Fri, 18 May 2007 08:58:18 +0200 CEST
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <1977620795-BeMail@zon>
Ingo Weinhold <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]> wrote:
> > partition_validate_move
> As you describe, the hook checks whether from the point of view of 
> the 
> partition system living in the given partition, the partition can be 
> moved to 
> the given offset, and adjusts the offset to the next feasible value. 
> As 
> explained above for partition_supports_moving() hook this hook 
> usually won't 
> do anything (i.e. return true and leave the offset unchanged).

It should probably also make sure the block size of the partition (if 
any) is respected.

Now that I read all this again, it really makes sense to document the 
functions, doesn't it? ;-)

Bye,
   Axel.


-------------------------------------------------------------------------
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/