GNOME Bugzilla – Bug 769461
Document the meaning of the “Auto-clear” slider for loopback devices
Last modified: 2017-04-03 09:48:02 UTC
When you attach a disk image to a loopback device (app menu → Attach Disk Image…), the resulting pane for the device has the following fields in the header Size: ... Partitioning: ... Auto-clear: [ ON ### ] Backing File: ~/Downloads/foo.img They're all self-explanatory except the Auto-clear flag, which only appears for loopback devices. By reading the UDisks D-Bus spec <https://udisks.freedesktop.org/docs/latest/gdbus-org.freedesktop.UDisks2.Loop.html#gdbus-property-org-freedesktop-UDisks2-Loop.Autoclear> I discovered that it means: > If TRUE, the kernel will automatically clear the loop device when the > last closer closes the device. This typically happens when the loop > device is unmounted. Perhaps it would be worth adding a slightly more human-readable version of this definition as a tooltip for the switch?
Created attachment 348698 [details] [review] Add tooltip text to Auto-clear switch Here is a change to set "Detach loop device after unmount action" as tooltip text of the switch.