diff options
author | Brian C. Lane <bcl@redhat.com> | 2013-09-11 12:24:53 -0700 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2014-03-02 19:16:33 -0500 |
commit | 60fe959e1446337c3455656daad2c2b7114a1dcd (patch) | |
tree | 691805aa83e169821c6e3bd2259ed300d7581e80 /NEWS | |
parent | d19d16357aff6bff634ad134597c0626c21496ac (diff) | |
download | parted-60fe959e1446337c3455656daad2c2b7114a1dcd.tar.gz |
libparted: use dm_udev_wait (#698121)
This is based on Peter Rajnoha's patch to use dm_udev_wait to
synchronize with udev.
This requires libdevmapper v1.02.39 and higher.
mailing list thread:
https://lists.gnu.org/archive/html/bug-parted/2010-09/msg00007.html
* libparted/arch/linux.c (_dm_task_run_wait): New function
(_is_dm_major): Add cookie and change call to _dm_task_run_wait
(_is_dmraid_device): Same
(_dm_is_part): Same
(dm_canonical_path): Same
(_dm_remove_partition): Same
(_dm_get_partition_start_and_length): Same
(_dm_add_partition): Same
(linux_new): Enable udev sync support
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -13,6 +13,11 @@ GNU parted NEWS -*- outline -*- ** Bug Fixes + libparted: On multipath systems new partitions would sometimes not + appear, reporting 'device-mapper: create ioctl failed: Device or + resource busy' until the system was rebooted. Added dm_udev_wait + calls to synchronize parted with udev. + Fix help text for disk_{set,toggle} to show *disk* flags instead of partition flags. |