[haiku-commits] Re: r41842 - haiku/trunk/src/apps/drivesetup

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 30 May 2011 23:59:48 +0200

korli@xxxxxxxxxxxxxxxx wrote:
> Log:
> Also enables the Initialize menu when the partition is also a device:
> Hopefully should fix #7572.
[...]
> -                             && partition->CanInitialize(partitionDiskSystem.
> PrettyName()));
> +                             // Check if the current disk system allows 
> initialization.
> +                             && 
> (partition->CanInitialize(partitionDiskSystem.
> PrettyName())
> +                                     || partition->IsDevice()));

I would rather have a look why CanInitialize() doesn't return true in 
this particular case.

Bye,
   Axel.


Other related posts: