this post was submitted on 15 Mar 2024
992 points (97.2% liked)

linuxmemes

20880 readers
5 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 100 points 8 months ago* (last edited 8 months ago) (5 children)

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.

[–] [email protected] 48 points 8 months ago

I still muscle-memory type /dev/hd[TAB] once in a while when looking for storage devices.

[–] [email protected] 15 points 8 months ago (2 children)

I thought they standardized on sd* even for IDE drive a few years back...

[–] [email protected] 5 points 8 months ago* (last edited 8 months ago)

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 named sdx.

[–] [email protected] 3 points 8 months ago (1 children)

I didn't know that. Maybe nvme hasn't been added to the standard yet then.

[–] [email protected] 11 points 8 months ago

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.

[–] [email protected] 6 points 8 months ago

Yeah, but I think they switched to also use sdx for IDE devices as well.

[–] [email protected] 4 points 8 months ago

Virtual drives also have a fun and relevant prefix!

[–] [email protected] 3 points 8 months ago

Yea, I get that the s in sdX stands for sata, but why cant we have an ndX with n for nvme?