*eject: device name is `/dev/sr0'eject: /dev/sr0: not mountedeject:
/dev/sr0: is whole-disk deviceeject: /dev/sr0: trying to eject using CD-ROM eject commandeject: CD-ROM eject command succeeded*
I can't eject the optical drive, i try mount the device:
*sudo mount -t iso9660 /dev/sr0 /mnt/cdrom*
But i get the following error message:
*mount: /mnt/cdrom: no medium found on /dev/sr0. dmesg(1) may have
more information after failed mount system call.*
eject: device name is `/dev/sr0'
...
eject: CD-ROM eject command succeeded
I can't eject the optical drive
i try mount the device:
sudo mount -t iso9660 /dev/sr0 /mnt/cdrom
But i get the following error message:
mount: /mnt/cdrom: no medium found on /dev/sr0.
dmesg(1) may have more information after failed mount system call.
[ 2.952866] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
On 2025-02-17 01:09, Dan Purgert wrote:
On Feb 16, 2025, William Torrez Corea wrote:
*eject: device name is `/dev/sr0'eject: /dev/sr0: not mountedeject: /dev/sr0: is whole-disk deviceeject: /dev/sr0: trying to eject using CD-ROM
eject commandeject: CD-ROM eject command succeeded*
I can't eject the optical drive, i try mount the device:
*sudo mount -t iso9660 /dev/sr0 /mnt/cdrom*
But i get the following error message:
*mount: /mnt/cdrom: no medium found on /dev/sr0. dmesg(1) may
have
more information after failed mount system call.*
Is there a CD/DVD inserted in the drive?
on bookworm without a cd in the tray.
mick@courgette:~$ eject -v
eject: using default device `/dev/sr0'
eject: device name is `/dev/sr0'
eject: /dev/sr0: not mounted
eject: /dev/sr0: is whole-disk device
eject: /dev/sr0: trying to eject using CD-ROM eject command
eject: CD-ROM eject command succeeded
mick@courgette:~$ eject
doesn't report anything just ejects the tray.
You "may" need to wait for the drive to finish reading the disc metadata (i.e. drive light stops flashing) before mount(1) will not complain
about the lack of media. Not 100% sure if it's a generic problem, or
just my crappy USB CD drive :)
In my experience, `cdrskin -eject` works more reliable than `eject`.
Hi,
Dan Purgert wrote:
You "may" need to wait for the drive to finish reading the disc metadata (i.e. drive light stops flashing) before mount(1) will not complain
about the lack of media. Not 100% sure if it's a generic problem, or
just my crappy USB CD drive :)
It's a Linux kernel problem. I have seen it with a dozen different
drives since Debian 8 of 2015, kernel 3.x.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 169:38:37 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,555 |