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.

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

1 Answer 1

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

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.