On 20.10.2015 17:41, Richard Ryniker wrote:
I suspect you suffer from software that wants to help you and
Exactly. When mounting HD's, *one* mount command is enough for achieving
this, but for removable optical media (like CD's), I need at least 2
commands, if the media is not loaded. That's what I don't understand.
If you try to mount a device with no media, mount might simply fail
media present). Instead, at least for optical drives, it presumes the
desired media might be available in the tray and requests the device to
load media, then tries again to mount a file system from this device.
This is exactly my question: why mount is able to load the media, but
doesn't include it correctly into the filesystem?
When the drive status changes from empty to loaded, a udev event occurs
that can trigger another piece of software that wants to "Do the right
I suspect your initial problem results from conflict between these two
The original mount request fails, whatever operation started
by udev completes, and when you issue a second mount request (for the
now-loaded optical drive) there is no udev event to get in the way and
the mount succeeds.
I do not like to sacrifice well-defined, predictable behavior for
Convenience is what users need!
but others may argue this default behavior serves the
What is the *greater good*?
Fedora release 23 (Twenty Three)
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>