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

1 Answer

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

share|improve this answer
    
bit.ly/M6cyya –  Ignacio Vazquez-Abrams Jul 4 '12 at 15:04
add comment

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.