> The only difference between disks & gparted is the syncing/refreshing occurs 
> when
> gparted is opened, disk's only does so once some action (partitioning) has 
> occurred.

When gparted starts up, it makes a call to the libparted library
function ped_disk_commit_to_os().  This checks to see if the kernel can
reread the partition table.  If not, then gparted disables the
"resize/move" menu option.  The line of code that performs this check
can be viewed at the following link:

https://git.gnome.org/browse/gparted/tree/src/GParted_Core.cc#n310

The by-product of calling ped_disk_commit_to_os() is that libparted
removes and re-adds the partitions.  This remove/re-add partition action
appears to cause the blacklist to be cleared.

To get around this unwanted by-product, one of the following would help:

A)  Use some other "non-partition-changing" method to test if the kernel
can reread the partition table

or

B)  Use some other method to prevent the blacklist from being cleared.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1060484

Title:
  When using gparted  com.canonical.Unity.Devices blacklist is set back
  to Default of []

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1060484/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to