[parted-devel] [PATCH 3/3] Use new BLKPG_GET_PARTITION ioctl to get partition start sector
Phillip Susi
psusi at cfl.rr.com
Fri Dec 2 16:34:54 UTC 2011
On 12/2/2011 3:50 AM, Petr Uzel wrote:
> Hm, this code was hardly readable before and now with the ifdefs and
> ifndefs, it is even harder not to get lost in it. Perhaps this could
> be factored out somehow to separate function? Eventually also using
> /sys/block/DEV/PART/start as a fallback if the new ioctl() is not
> available?
>
> http://lists.alioth.debian.org/pipermail/parted-devel/2011-November/003975.html
I merged your patch with mine. How does this look?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Avoid-the-HDIO_GETGEO-when-possible.patch
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20111202/1e7997ef/attachment-0001.ksh>
More information about the parted-devel
mailing list