this post was submitted on 08 Jan 2025
219 points (95.8% liked)

Linux

48915 readers
811 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] crater2150@feddit.org 3 points 1 day ago (1 children)

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.

[–] communism@lemmy.ml 1 points 1 day ago* (last edited 1 day ago) (1 children)

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 with modprobe sr_mod (which wasn't loaded for me) but still not seeing any sr* or cdrom in /dev. Again, not too bothered about this, but I'm kinda curious.

[–] zzx@lemmy.world 1 points 1 day ago (1 children)

Connected power but not SATA maybe?

[–] communism@lemmy.ml 1 points 15 hours ago

Maybe? I remember I have used it to read optical discs before (on Linux too) and I don't think I've unplugged anything