[parted-devel] [BUG] failing ioctl when informing the kernel about new partitions

Petr Uzel petr.uzel at suse.cz
Thu Jan 15 13:37:31 UTC 2009


Hi list!

I was investigating some openSUSE bug reports where parted failed with
the following:

---
Error: Error informing the kernel about modifications to partition
/dev/hda5 -- Device or resource busy.  This means Linux won't know
about any changes you made to /dev/hda5 until you reboot -- so you
shouldn't mount it or use it in any way before rebooting." 
---

The problem is described in
https://bugzilla.redhat.com/show_bug.cgi?id=441244
with detailed instructions how to reproduce it and a patch.

I can confirm that the patch fixes the problem for me, but it
did not get it to parted. As Bryn wrote in comment #2, it needs some
discussion because of the possible interference with bootloaders (I'm
going to test what might happen with grub/lilo installed to extended
partition in this case).



-- 
Best regards / s pozdravem

Petr Uzel, Packages maintainer
---------------------------------------------------------------------
SUSE LINUX, s.r.o.                          e-mail: puzel at suse.cz
Lihovarská 1060/12                          tel: +420 284 028 964
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz



More information about the parted-devel mailing list