Can't find the Cygdrive folder in Cygwin

2

I installed cygwin, zsh and oh-my-zsh following this project:

https://github.com/haithembelhaj/oh-my-cygwin/blob/master/README.md

And i can't find the cygdrive folder. Why? How can I mount my C:?

Giacomo Tagliabue

Posted 2013-07-27T23:19:19.987

Reputation: 121

Answers

1

You should automatically have a /cygdrive under a true Cygwin shell. Drives will tend to appear and disappear from that directory automatically. This is what I currently get when I do "ls -lF /cygdrive":

total 16
d---------+ 1 ???????? ???????? 0 Jul 23 19:14 c/

Heptite

Posted 2013-07-27T23:19:19.987

Reputation: 16 267

Interesting, but even if I "should", I don't – Giacomo Tagliabue – 2013-07-27T23:25:36.543

Is your shell a genuine cygwin shell? What happens if you use the default cygwin icon to get a shell, does it show up there? Also, what do you see when you run the "mount" command without arguments? – Heptite – 2013-07-27T23:26:37.123

It is genuine. I open it from C:\cygwin\cygwin.bat – Giacomo Tagliabue – 2013-07-27T23:28:11.210

Is it possible the location got modified in your cygwin /etc/fstab? – Heptite – 2013-07-27T23:30:42.873

I don't have /etc/fstab, but I do have /etc/fstab.d, and it's empty – Giacomo Tagliabue – 2013-07-27T23:32:19.850

I took a closer look at that README, and that appears to be an unconventional way to install cygwin. Usually you download the installer from the cygwin website and run it, and it sets up your system automatically for you. (You also keep that installer because it's cygwin's "package manager".) – Heptite – 2013-07-27T23:33:48.123

I found it, by doing cd /c. I will answer this question when I will be allowed to do that. Thanks – Giacomo Tagliabue – 2013-07-27T23:34:54.390

0

For some strange reason, it was in /c/ even though this folder is not visible if you do ls in the root

Giacomo Tagliabue

Posted 2013-07-27T23:19:19.987

Reputation: 121