[parted-devel] Warning message if create partition when a partition is mounted
Jim Meyering
jim at meyering.net
Fri Oct 9 19:50:42 UTC 2009
Curtis Gedak wrote:
> There appears to be a regression in (alpha) parted-2.0 since parted-1.9.0.
>
> Specifically something has changed that causes a warning message to be
> displayed when a new partition is created and at least one partition
> on the device is mounted. The warning messaged displayed is:
>
> Warning: The kernel was unable to re-read the partition table
> on /dev/sdd (Device or resource busy). This means Linux
> won't know anything about the modifications you made until
> you reboot. You should reboot your computer before doing
> anything with /dev/sdd.
>
> This change occurs with (alpha) parted-2.0 that was downloaded from:
> ftp://alpha.gnu.org/gnu/parted/parted-2.0.tar.gz
Hi Curtis,
Thank you for the very detailed report!
However, shouldn't we consider it a *feature* that parted now prints
this warning? In other words, isn't it risky (and worthy of a warning)
to modify a partition table when one or more of its partitions is mounted?
More information about the parted-devel
mailing list