Kinda miss the Wild West days where you’d recompile and suddenly there’d be a whole new device naming convention.
I just run arch. It self compiled.
deleted by creator
Of course not. It hadn’t compiled yet.
Depends on how far you wanna go back, but Arch was released in 2002 which definitely covers the time period of the drive naming changes in this meme.
deleted by creator
babe wake up, we heard you like dynamic interface IDs that happen to be mostly static, so we applied it to your nvme drives, because fuck it, why not.
NO IT IS YOU WHO DONT UNDERSTAND IT IS PERFECT LOGIC
Dude, chill, it’s a meme… sheesh.
You’re a meme
I’m a Linux admin
Grovel before me or I will go through your browsing history
(hit me up if you want to hear what distro i run btw)
What distro? Tho if you’re an admin it should be multiple distros, no?
Nope. Just the one.
He did say BTW in the end, so… it’s NOT Arch!
I’m guessing it’s for some shit to make sure some ridiculous setup with two gazillion drives doesn’t have conflicts
obligatory xkcd? Nah, you know exactly which one I mean.
I’m not sure if it is the standards one or the usecase one
It’s called that because it’s Never the Value you Might Expect.
Can you elaborate? I like mine a lot. It’s super fast.
If you reboot, it might have a different name in /dev/, just like ethernet ports.
This is a feature of SATA devices too. Use UUIDs in your fstab unless you enjoy playing musical chairs with your mount points
No one mentioned the Solaris convention yet ?
/dev/cXtXdXsX
The letters mean controller, SCSI target, disk and slice (Solaris equivalent to a partition).
I always thought this was the most elegant naming scheme in the Unix world.
Thank you! I will give that a shot tomorrow and test it
Forgot
/dev/hdx
?That one hasn’t been around for a long time, since the Linux kernel started using a SCSI abstraction layer above many of the other storage protocols. Really cool stuff: https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/The_Linux_Storage_Stack_Diagram.svg/1161px-The_Linux_Storage_Stack_Diagram.svg.png
I always thought my drive names changed from hdx to sdx because I started using an SSD, and yet…
You always learn something new
I once had to do GRUB related stuff with CentOS 5 (or was it 3?).
Stuff started with 0 in it and I was kept wondering what I was selecting, because the naming convention in GRUB was different from that in the OS.
nvme0n1p1
The other dragons aren’t specifying a partition
So the 3rd dragon should just be
/dev/nvme%d
mmcblkxpy
(SD Card)x = device number
y = partition numberNVMe device names follow this pattern: nvme <number> n <namespace> , where: <number> is an integer that is assigned by Linux during the boot process. The first NVMe device that is detected is assigned 0
You also can have a ‘c’ in there, when it wants to model multipath nvme…
I still don’t understand the point of namespaces. I guess it’s less overhead to pass through a namespace to a VM rather than having a virtualised disk image or bind mount.
ONIPI
This made me chuckle, thank you!!
Well it’s sdx because they both use the SATA interface. The sdx convention actually comes from scsi though, and the fact that SATA and USB drives use it might point to some code reuse, or maybe a temporary solution that never got fixed due to breaking backwards compatibility.
Fun fact: IDE drives use the hdx naming convention.
Yea, I get that the s in sdX stands for sata, but why cant we have an ndX with n for nvme?
Yeah, but I think they switched to also use sdx for IDE devices as well.
Virtual drives also have a fun and relevant prefix!
I still muscle-memory type
/dev/hd[TAB]
once in a while when looking for storage devices.I thought they standardized on sd* even for IDE drive a few years back…
Yeah, that’s what I think as well…
Got a few old rigs with IDE drives in them running Void x86, the drives in
/dev
are namedsdx
.I didn’t know that. Maybe nvme hasn’t been added to the standard yet then.
No, they decided that nvme were too fancy to be modeled by mundane ‘sdxn’ scheme. They hypothetically have ‘namespaces’ and ‘controller paths’ and they wanted to have the naming scheme model that fully.
Different bus, different naming.
Now, memory kinda hazy, but weren’t ide devices /dev/hdX?
Yeah, they used to be, but they switched a few years back to consistently call all block devices sdx.
srsly? so it’s just all “grab whatever dev” and not at all associated with the bus?
ATA was rolled into the SCSI subsystem, so both sata and pata are covered by SDX.
Makes sense, I mean… they’re all essentialy long term memory storage devices.
/dev/nvme0n1
actually, but sure. Change badI will take a look at it, but the fundamental issue is it screws with the iommu groups too and then I have to go fix that in proxmox. If I can at least guarantee a network connection then I can remote in and fix it in the event something goes really wrong.
Ummm… replying to the wrong thread I think 😁.
deleted by creator
Doesn’t work for some things unfortunately
Back in the olden times the Linux kernel had a dedicated parallel-ATA subsystem with /dev/hda devices. It was then rolled up in to the scsi subsystem to simplify maintaining drivers (everything using the same library for disk access). I’m old :(
Raises a glass in Debian 3.0
Having both IDE and SATA together was awesome. “Sooo which one is which?”. Good times.
And who could forget /dev/fd0 for floppies