I could not reproduce this at first using a loop device, but then I
tried scsi_debug.  This can be reproduced with a simple dd if=/dev/zero
count=0 of=/dev/sda.  Parted takes care to not needlessly delete and
recreate partition dev nodes when they are not modified, but it appears
that there has been a regression in udev/systemd that deletes and
recreates all partitions on the disk any time the disk is opened for RW
access, thus resetting the RO flag, and also triggering needless update
events that cause unity to re-add removed drive icons to the launcher.


** Package changed: parted (Ubuntu) => udev (Ubuntu)

** Summary changed:

- parted/libparted disables the read only status during the probe
+ udev deletes and recreates partition devices when the disk is opened r/w

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

Title:
  udev deletes and recreates partition devices when the disk is opened
  r/w

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1655779/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to