Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .