[openbeosstorage] Re: Partitioning context

  • From: Tyler Dauwalder <tyler@xxxxxxxxxxxxx>
  • To: openbeosstorage@xxxxxxxxxxxxx
  • Date: Tue, 08 Apr 2003 00:45:32 -0700

> > So, probably an additional BPartition::IsLeaf() (better name=3F)
> > would be
> > a good idea. It would indicate whether the partition is of a type 
> > that
> > doesn't allow to create child partitions using the parent's system 
> > in
> > a
> > non-nesting manner.
> 
> For some reason I can't seem to place that isn't sitting right with 
> me.
> How about something more like
> BDiskSystem::SupportsPartitioningSystemNatively(BPartition*, const 
> char
> *system)?
> 

Just so you know, Axel, Ingo and I decided to go with bool 
BDiskSystem::IsSubSystemFor(BPartition*) in lieu of the two suggestions 
above. It will return true if the BDiskSystem is a native (i.e. 
non-nested) sub-partitioning system for the given partition.

-Tyler

Other related posts: