This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Caveats for removing /cygdrive prefix?


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?
----
I've had my system set this way for well over 10 years. Doing it any other way
wouldn't be nearly as useful to me.

   If it wasn't for the cygwin bug ignoring MS-mounts and treating them as
symlinks, you could also have cygwin32 and cygwin64 running side-by-side with
32-procs calling cygwin32 and 64-bit procs calling cygwin64.

But due to the cygwin treating MS mount/reparse points as symlinks (and not
just MS symlinks), the mounts won't survive an upgrade (i.e. have to recreate
them).

   The reason for the cygwin bug was to prevent behaviors present in
cygwin already as well as in linux (cycles in the file system), but I get that
that already:


law.Bliss> find / -name testmenow
find: File system loop detected; '/C' is part of the same file system loop as '/'.

It doesn't seem to cause a problem with any utils nor does it on linux
which honors the 'mount' flags and allows you to mount files or dirs
elsewhere in your hierarchy (so does windows, but cygwin break that).

Also you may find that many Win-utils accepts "/" as well as "\" --
the underlying OS, NT does, just some Winlib that were crafted to
disable this ability.




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]