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,
-- 
Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to