this post was submitted on 05 Dec 2023
968 points (98.7% liked)

linuxmemes

20901 readers
551 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
 

shamelessly stolen from nixCraft on mastodon

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 47 points 10 months ago (9 children)

Another advantage of having a NVMe SSD, hard to confuse /dev/nvme0n1p2 with /dev/sda1

[–] [email protected] 16 points 10 months ago (6 children)

It's even easier to prevent confusion if you use /dev/disk/by-id/ id's, it only took a few times of overwriting the wrong disk to figure that out.

[–] [email protected] 2 points 10 months ago (3 children)

How can I figure out which direct device is associated with a specific id?

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

ˋblkidˋ or take a look around /dev, devices are symlinked to their various attributes.

load more comments (2 replies)
load more comments (4 replies)
load more comments (6 replies)