Caveats for removing /cygdrive prefix?

Eliot Moss moss@cs.umass.edu
Tue Jul 22 14:38:00 GMT 2014


On 7/22/2014 7:38 AM, Matt D. wrote:
> I've always used Cygwin's fstab /cygdrive default but I'm growing tired of always typing it out;
> msys's simple "/a" "/c" "/d" prefix for drive letters always seemed closer to home while on a
> Windows machine.
>
> The only problem I've encountered is a borked ls display when an actual folder "a", "b", etc.,
> appears in the Cygwin root folder and the inability to enumerate drive with "ls /cygdrive".
>
> Are there any other caveats to consider?
>
> Also, it would be nice if doing a directory list on /cygdrive was a hard-coded operation, to
> preserve this functionality.

Well, I just put in a cygwin symlink of /c to /cygdrive/c and so on for each drive
I care about.  Maybe that would work for you ...

Regards -- Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list