[haiku-development] Re: RFC: DriveSetup BikeShed proposal 1

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 03 Aug 2012 15:49:33 +0200

Alexander von Gluck wrote:
> Anyone know why this is disabled?
> http://cgit.haiku-os.org/haiku/tree/src/kits/storage/disk_device/DiskDeviceRoster.cpp#n543
> 
> Mainly GetNextPartitioningSystem... seems like it would be useful. Maybe it 
> is just broken, who knows. :)

The implementation stems from an earlier (and rather different) version of the 
disk device API. So it wouldn't compile, let alone work.

In the header there's a TODO for the underlying private methods to introduce an 
iterator class instead. I still think that would the better interface. 
BDiskDeviceRoster having iteration states for all kinds of stuff is rather 
messy.

CU, Ingo

Other related posts: