Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 have an Ubuntu 12.04 installed using wubi + Win7.

I'm trying to create a link to "my documents" directory which located in my C drive: C:\Users\Myuser\My Documents\

Since the Ubuntu is installed in D:\, which is the "host", my C drive is accessible via /media/some_changing_hex. This hex get changed each time I restart my machine. So I need, somehow, to create a link that uses regex OR a link that somehow gets the the first (in this case - only) subdirectory in /media (something like all_subdirectories[0]).

So how do I do that?

share|improve this question

You add an entry to /etc/fstab that mounts it to the same location under /mnt each time.

share|improve this answer – Ignacio Vazquez-Abrams Jul 4 '12 at 15:04

Your Answer


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.