Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can never remember which device is what so when it comes to partitioning, etc. I'm afraid of messing up the wrong drive. Automounted devices like external drives don't seem to turn up in fstab. So each time I run into this I google and each time I seem to use a different method.

What's the most straightforward way to match up what device under /media/ is in /dev/ independent of linux distribution? (And I'm aware /media/ is probably a distro-dependent variable itself)

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Run the mountprogram without arguments from the command line. It'll show you mount points and corresponding devices.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.