delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/04/17:51:54

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=IJD5QON4r0aAkBwjn74ctZX9ODhVDBz1h3U3mayl5fU
ZGMeloF+90S99umbFHNf2o7m1HnndOdBl0XK61+hILV5v0ejZUQN5VavzsjLHbNR
fbIf1pfAoXG7PEoxPrhBI5NxKVYm8HaRnF/kmOlbwRCOZGwtTjyncVhF/36VDlI8
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=y6jBXtSZuKF98c4UjG7Xk11/Gj8=; b=WcBpKbJRLCyR2XbYm
wkewl0bl05CWLF6BZF541TTGARgdns93QgtHLZF0pXW/8akBTE1tWlrZVQtLBDrL
22ZxyeXS8gJrAKDo00DEK3yWyCZNYxBcdzICoimk7AIr0AWiWnYtybOlLlgXcCht
TZMQ16fQeQvCRZ2ILiJYZ75NRo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=music, H*F:U*cygwin, Music, H*r:192.168.3
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <58965AF8.2040007@tlinx.org>
Date: Sat, 04 Feb 2017 14:51:36 -0800
From: "L. A. Walsh" <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Is it OK to mount cygdrive on / ? (usually, but may not be as portable).
References: <CAPzS6u_N5qnKOYJejdxfBWCzbc3tn=iyqEEyP5E_Vwp7RCC-KA AT mail DOT gmail DOT com> <45557206 DOT 20170204173939 AT yandex DOT ru>
In-Reply-To: <45557206.20170204173939@yandex.ru>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019