This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Is it OK to mount cygdrive on / ? (usually, but may not be as portable).
- From: "L. A. Walsh" <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Sat, 04 Feb 2017 14:51:36 -0800
- Subject: Re: Is it OK to mount cygdrive on / ? (usually, but may not be as portable).
- Authentication-results: sourceware.org; auth=none
- References: <CAPzS6u_N5qnKOYJejdxfBWCzbc3tn=iyqEEyP5E_Vwp7RCC-KA@mail.gmail.com> <45557206.20170204173939@yandex.ru>
Andrey Repin wrote:
Accessing drive letters directly from inside Cygwin is often
considered a grey area.
----
How is it grey?
Too much may happen on this border. You have to clearly understand, how Cygwin interact with other system, to avoid issues.
----
I.e. if you think you may have programs that also want to use
/bin /usr, /sbin, /lib /etc, there could be conflicts.
If you want to access Windows path, recommended route lies through the use of
cygpath utility to convert native paths to the Cygwin scheme. Et vice versa.
I wouldn't recommend that -- it's too hard to type:
/> ls -d $(cygpath S:\Music\Anime)
ls: cannot access S:MusicAnime: No such file or directory
/> ls -d $(cygpath 'S:\Music\Anime')
/s/Music/Anime/
...(vs.)
/> ls -d /s/Music/Anime
/s/Music/Anime/
-or-
ls -d $(cygpath \\ishtar\Music)
ls: cannot access /ishtarMusic: No such file or directory
/> ls -d $(cygpath '\\ishtar\Music')
//ishtar/Music/
---
Much easier just to type "//hostname/Share".
--
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