Re: DiskDevice API v2.1

"Ingo Weinhold" <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]>
Newsgroups gmane.os.openbeos.storage
Message-ID <22125084108-BeMail@graete>
"Axel D=F6rfler"  <[email protected]> wrote:
> 
> "Ingo Weinhold" <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.