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

Can't quite see where I'm going wrong. Trying to replicate the command "mount c: /c" in my fstab file, similar to this question: Cygwin fstab - what am I doing wrong?

Michael@Michael-PC ~
$ cat /etc/fstab
<comments etc>
c:/     /c      ntfs    binary,posix=0,user     0       0
cygdrive/c/     /c      none    bind

Michael@Michael-PC ~
$ ls /c

Michael@Michael-PC ~
$ mount c: /c

Michael@Michael-PC ~
$ ls /c
<stuff_i_want_with_a_mounted_c_drive>

I've tried 2 different methods of adding the required lines to fstab as outlined here: http://cygwin.com/cygwin-ug-net/using.html#mount-table

I have a feeling I'm missing something obvious, can someone point me in the right direction?

share|improve this question
up vote 2 down vote accepted

I'd suggest simply creating a symbolic link inside Cygwin with /c pointing to /cygdrive/c.

share|improve this answer
    
good solution, I've been reading up on fstab recently so wanted to get to grips with it so I could learn more. +1 for pointing out what I was too obtuse to think of :) (EDIT, sorry, can't vote up yet on this site) – Mike H-R Feb 12 '13 at 21:53
    
@MikeH-R, you can accept the answer. And I did the upvoting for you (OK, I'm lying, I'd have voted it up anyway). – vonbrand Feb 13 '13 at 2:52
    
sure, of course, I was hoping someone could solve the fstab issue as that's what I was interested in but a problem fixed is a problem fixed. Thanks everyone. – Mike H-R Feb 13 '13 at 4:39

You must log in to answer this question.

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