http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c7
Thomas Fehr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jeffm@novell.com
--- Comment #7 from Thomas Fehr 2009-11-26 10:00:24 UTC ---
Of course comment 5 clearly shows that it is not working as expected.
Of course parted tells the kernel about modified partitions (it uses the BLKPG
ioctl for this while blockdev uses BLKRRPART ioctl). If parted would not tell
kernel about modified partitions no installation involving modifications of
partitions since at least 5 year could have succeeded.
Some more info I gathered during testing:
- the problem seems to only occur when the last partition on a disk is removed
- the problem does not occur everytime, so there might be timing issues or
access
to random memory content involved. On the two different machines I tested
the problem occured in more than 50 percent of the tests I did.
- for strange reasons the problem does not seem to happen if the parted call
is straced. From the strace output one sees that the parted correctly calls
the BLKPG ioctls. Unfortunately the content of blkpg_ioctl_arg and
blkpg_partition are not displayed by strace so one cannot be really sure
if parted provided correct content in ioctl data to kernel.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.