Bug 85111
Summary: | Hitting eject on DVD drive does not result in media being unmounted and gives read errors /w new DVD | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Lynx (lynx.light0) |
Component: | Serial ATA | Assignee: | Tejun Heo (tj) |
Status: | RESOLVED INVALID | ||
Severity: | high | CC: | alan, glaubersm |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.16.3-1 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Lynx
2014-09-24 19:19:08 UTC
This is not a kernel bug. We do use thelock options when we can, and userspace can hook the button events in some cases, but at the end of the day it expects unmount. (In reply to Alan from comment #1) > This is not a kernel bug. > > We do use thelock options when we can, and userspace can hook the button > events in some cases, but at the end of the day it expects unmount. As I see it, there are two clear options: 1) allow eject button to work and gracefully handle it; 2) do not allow eject button to work. But right now we allow the drive to eject and read errors to ensue. "at the end of the day it expects unmount". This seems like an arbitrary case of 'computer says no' and rather a cop out; why should users be forced to unmount via software ROMs rather than having software gracefully handle an eject operation on a drive? Rather than gracefully handling an eject operation, the unwitting user is instead presented with horrible read errors on the next ROM. Is there anything preventing graceful handling of drive eject operations? It depends whether the drive implements notifiers for the eject button. Most don't so the choices are 1. Lock the drive so you can't do anything unless you eject the disk in software. Users generally hated this! 2. Leave it unlocked so you can but might get spewage if you do silly things. for such devices. 3. Gracefully handle eject operations for those drives that do implement the notifiers, which is currently being done, and hence this bug report. *not currently being done For the drives with notifiers it should be done, but wht happens will depend upon your desktop GUI and how it chooses to handle the events. |