[openbeosstorage] Re: DiskDevice API v2.1

"Axel D=F6rfler"  <axeld@xxxxxxxxxxxxxxxx> wrote:
> 
> "Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx> wrote:
> > BDiskSystem::SupportsMoving() would return whether moving for the 
> > partition is supported, regardless of whether it uses absolute or 
> > relative addressing. The negotiation of the algorithm to be used 
> > would 
> > be left to the disk=3D3D5Fdevice=3D3D5Fmanager and the partition module
> > /FS 
> > add-on 
> > in question. I don't think the userland needs to know about the 
> > internals.
> 
> Dunno - if the disk had to be unmounted to be able to proceed, the 
> userland app would probably want to know about it (and tell the 
> user).

I would rather add a parameter `bool *requiresUnmounting' to 
Supports{Moving,Resizing}(). Although, that parameter doesn't make much 
sense for partitioning systems. But I think, I could live with that.

CU, Ingo


Other related posts: