lkml.org 
[lkml]   [2015]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to fix CDROM/DVD eject mess?
On 2015-02-03 07:31, Takashi Iwai wrote:

>>> Then,
>>> udev unlocks the media and issues the SCSI eject ioctl unconditionally
>>> when DISK_EVENT_EJECT_REQUEST event is received. Since SCSI ioctl
>>> doesn't take the open refcount into account, it results in the
>>> forcible eject.
>>
>> Which again is the expected behavior in the user's view.
>
> What if user doesn't want? e.g. DVD/CD media is being burned?
>
FWIW, I have seen some drives where either the hardware or the drive
firmware ignores the eject button while a write operation is in progress
(ie, doesn't appear to even send the event, let alone eject the disk).


[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2015-02-03 15:01    [W:2.889 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site