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.
Try
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?
Maybe? I remember I have used it to read optical discs before (on Linux too) and I don’t think I’ve unplugged anything