I’ve been using linux for more than a decade at this point, but in all that time I’ve rarely had a disk drive. The fact that this command exists and is just, one of the core utils included with your distro along with su and kill and mount and more is just… so beautiful. 10 years amore with this OS and I’m still learning things that the elders in the audience are snickering at me for only learning 5 minutes ago while they were popping their disk trays open with a single command back when disk drives were a non optional component.
I have a Blu-ray drive, though my case doesn’t have 5.25” bays, so I just have the SATA cables come put the side.
The sole reason I have it is because once a couple years back, I wanted to watch the Star Trek: TNG Spanish dub, which was only available in the US on a Bluray, which I promptly borrowed from my local library.
I have used it a couple times after, though - once to burn a CD-R with TinyCore to boot on a Pentium II laptop, and once to backup a Bluray with a dub only available on that medium.
I just tried and it doesn’t seem to work for me.
Wait…do I need an optical drive for this to work? I think I might have a plug in drive somewhere…
Disk… drive?
what-year-is-it.jpeg
The year to backup (rip) your DVDs.
I long ago moved to a pair of 4TB hdds and recently upgraded to a pair of 16TBs
Oh boy I should’ve done it a long time ago.
I need to go put my DVD drive back in my tower to try this!
lemme guess… and
inject
would close it again?eject -t
There’s also
eject -T
which is a toggle.
don’t use it if you’re flying a plane, though!
I still have a disk drive but
eject
doesn’t seem to affect it since for some reason I don’t have a/dev/cdrom
. I just checked with the physical eject button on the drive and it is at least still physically working—the tray ejects! I don’t have any optical media to test if the drive still works to read CDs thoughTry
eject /dev/sr0
, that should be your disk drive if it is attached via SATA or USB./dev/cdrom
is usually just a symlink.Afraid I don’t have a
/dev/sr0
. Tbh I built this PC yonks ago, I don’t remember how I plugged in my optical drive. I assume SATA would be the sensible and most likely option.I’m on Artix Linux with runit if that matters at all?
I mean, it doesn’t matter to me whether or not I can eject my optical drive with a command, but at this point I’m just curious as to where the drive is on the filesystem lol
Edit: I tried loading
sr_mod
withmodprobe sr_mod
(which wasn’t loaded for me) but still not seeing anysr*
orcdrom
in/dev
. Again, not too bothered about this, but I’m kinda curious.Connected power but not SATA maybe?
tilts head
plugs in USB optical drive
eject
pop
hehe
push tray back in
eject
pop
hehehe
Those are discs not disks kiddo
I was wondering about OP’s soft-eject floppy drive. Seems quite retrofuturistic.
Macs had them, so they could control when the user was able to have their disk back 😅
There is a whole world of obsolete stuff nobody will ever do with a linux system anymore. Terminal servers with lots of serial terminals or modems for a BBS. Making a fax server, IVR, digital answering machine for analog land lines. Using removable optical or magnetic media. Recording broadcast tv. SCSI, Firewire. It is interesting to imagine what from today will be obsolete in a few years.
Sorry, my what ? Are you talking about relics of the past ? ;D
You mean the cup holder?
The finger guillotine.
Bologna storage.
Man, this takes me back, I had totally forgotten!
Ah, the good old days of sshing into a family member’s computer and trolling them by constantly opening and closing the drive.
It it to wait 30 mins then do it every 10, and pop it in startup, those were the days.
The other was Free_Cupholder.EXE. I miss disk drives for this reason more than for actual use.
i envy you. lol