[Bug 11941] losetup and partprobe fail when partitions exist
bugzilla at busybox.net
bugzilla at busybox.net
Sat Jun 8 06:42:39 UTC 2019
https://bugs.busybox.net/show_bug.cgi?id=11941
Denys Vlasenko <vda.linux at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Denys Vlasenko <vda.linux at googlemail.com> ---
losetup -P was implemented this May.
This does not solve partprobe / blockdev --rereadpt examples (in busybox, they
both boil down to calling ioctl(BLKRRPART)) - from what I see in strace,
partprobe from GNU parted 3.2 does not use this ioctl at all, it does some
complicated magic with newer APIs designed to set up arbitrary pertitioning
schemes from userspace without having kernel to know anything about partition
tables.
"blockdev --rereadpt" does not work for util-linux's blockdev as well, since it
also simply calls ioctl(BLKRRPART).
IOW: "losetup -P" issue is fixed, "extend partprobe" issue is a significantly
taller order.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list