make libparted poke the kernel when adding/deleting partitions
authorDavid Zeuthen <davidz@redhat.com>
Tue, 25 Mar 2008 01:54:38 +0000 (21:54 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 25 Mar 2008 01:54:38 +0000 (21:54 -0400)
commitc55b18f0d85f82c6c554d17ab214a64f9564600c
treef1dd1a57e5742fd09110e0928e5617ff90c153db
parent6a2a1f2b7cc7b52b277aa9788a3a0bb280227441
make libparted poke the kernel when adding/deleting partitions

Turns out that libparted is already using the right ioctl's mentioned
in commit 6a2a1f2b7cc7b52b277aa9788a3a0bb280227441. So now we can
correctly add/delete partitions even when other partitions on the same
disk are busy.
src/devkit-disks-device.c
src/job-create-partition.c
src/job-delete-partition.c
src/partutil.c
src/partutil.h