this post was submitted on 15 Mar 2024
1000 points (97.3% liked)

linuxmemes

20464 readers
532 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] 101 points 5 months ago* (last edited 5 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 5 months ago

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

[–] stoy 15 points 5 months ago (2 children)

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

[–] [email protected] 5 points 5 months ago* (last edited 5 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 5 months ago (1 children)

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

[–] [email protected] 11 points 5 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 5 months ago

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

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

Virtual drives also have a fun and relevant prefix!

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

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