[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] ioctl HDIO_GETGEO to device mapper devpath
- From: Christophe Varoqui <christophe varoqui gmail com>
- To: device-mapper development <dm-devel redhat com>
- Subject: Re: [dm-devel] ioctl HDIO_GETGEO to device mapper devpath
- Date: Wed, 01 Dec 2010 09:58:46 +0100
On mar., 2010-11-30 at 08:33 +0100, Hannes Reinecke wrote:
> On 10/14/2010 11:40 AM, Santosh Sarangi wrote:
> > Hi,
> > I have a linux mapper device on the host, I would like to get the start
> > offset.
> > I get this by the following ioctl . Although the call succeeds but it sets
> > the hd_geometry_rec to "0"
> >
> > I checked through gdb , the ioctl call suceeds ,but sets all the field of
> > hd_geometry to "0"
> >
> Yep. Device-mapper device are able to report the geometry, but you
> have to set it first :-)
>
> The attached patch should fix this.
>
Applied.
Thanks.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]