Jim Meyering wrote:
$ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2
Warning: WARNING: the kernel failed to re-read the partition table on
/dev/sda (Device or resource busy). As a result, it may not reflect all
of your changes until after reboot.
I have been able to confirm the above error using the latest parted from
the git repository (April 24, 2010). My testing used the Ubuntu 10.04
Beta2 distribution, a GPT partition table, and an existing partition
already mounted. When I try to create a new partition I receive the
warning message.
Next I took a plain vanilla copy of parted-2.2 and applied only the two
patches from this mailing list item:
http://lists.alioth.debian.org/pipermail/parted-devel/2010-April/003552.html
My testing with plain vanilla parted-2.2 plus the two patches worked
100% without any warning being displayed.
This leads me to believe that there is some other change in the git
repository since parted-2.2 was released that is causing the warning
message to be displayed.
Regards,
Curtis Gedak
_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted