Adding BLKPG_RESIZE_PARTITION

Dmitry V. Levin ldv at altlinux.org
Thu Jul 9 12:05:35 UTC 2015


Hi,

On Wed, Jul 08, 2015 at 11:36:49AM +0200, Christian Neukirchen wrote:
> Hi,
> 
> since Linux 3.6 there is an BLKPG (sub-)ioctl to tell the kernel that
> partition size has changed, e.g. used by "partx -u".  With strace 4.10
> this is dumped as
> 
> ioctl(3, BLKPG, {0x3 /* BLKPG_??? */, flags=0, datalen=152, {start=1048576, length=42948624384, pno=1, devname="", volname=""}}) = 0
> 
> /usr/include/linux/blkpg.h:#define BLKPG_RESIZE_PARTITION	3
> 
> I propose to add this to strace for completeness.

Thanks, I've added BLKPG_RESIZE_PARTITION in commit v4.10-111-g1dbe683.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150709/392ef020/attachment.bin>


More information about the Strace-devel mailing list