On 2015-02-03 07:31, Takashi Iwai wrote:
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).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?
smime.p7s
Description: S/MIME Cryptographic Signature