[parted-devel] [PATCH] fix handling of disks that can't be partitioned

Joel Granados jgranado at redhat.com
Mon Feb 9 17:02:50 UTC 2009


Sorry for the noise.... but I was building without specifying that I wanted device-mapper suppoer.  When I do a `./bootstrap ; ./configure --enable-device-mapper ; make  ; make install` everything works fine.  sorry for the noise.

This should just increase the justification posted on my response to the patch.

regards.
----- "Bryn M. Reeves" <bmr at redhat.com> wrote:

> Joel Granados wrote:
> > In any case, parted, still, correctly creates the partition in the
> LV.  Proof of this is that I can execute the kpartx command, and it
> will read and create the /dev/mapper/VolGrou00-lvp1 node for the
> partition.
> > ----- "Joel Granados" <jgranado at redhat.com> wrote:
> > 
> >> A little correction to my post,  I tried the test with parted
> (master)
> >> and it seems to error out.  "error informing the kernel"
> 
> Did we try a BLKPG ioctl on it? Definitely we need parted to be able 
> to view and manipulate partitions on these types of devices.
> 
> Whether we go as far as automatically notifying the kernel of changes
> 
> (by whatever means is appropriate for the type of device), I am less 
> sure - it seems like a "nice to have", but there are some nasty 
> complications to deal with (e.g. differing conventions for naming 
> partitions on these devices exist).
> 
> Regards,
> Bryn.



More information about the parted-devel mailing list