delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/28/07:22:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Thu, 28 Jul 2011 07:21:54 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Device names in /proc/mounts
Message-ID: <20110728112154.GB16913@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20110727094051 DOT GA28312 AT calimero DOT vinschen DOT de> <9B10FEAACF062F48A095880A451FF0590380B9DAEF AT DEMCHP99E84MSX DOT ww902 DOT siemens DOT net>
MIME-Version: 1.0
In-Reply-To: <9B10FEAACF062F48A095880A451FF0590380B9DAEF@DEMCHP99E84MSX.ww902.siemens.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, Jul 28, 2011 at 10:18:26AM +0200, Schwarz, Konrad wrote:
>As far as I understand, Cygwin mount knows about
>- fixed mounts /, /usr/bin, /usr/lib
>- user-defined mounts taken from /etc/fstab, /etc/fstab.d, and the command-line
>- Win32 drive letters implicitly mounted under /cygdrive
>
>The last case is actually handled by Windows, as you point out.
>
>What would be the problem (otherwise than backwards compatibility) in using
>Cygwin device names in this last case?

The above is inaccurate and misleading.  Cygwin's mount utility is a mapping
between windows paths and posix paths.  That's it.  The "drive letters" above
could be anything that Windows maps to a drive letter.  A drive does not
necessarily directly map to a physical device.

>For the second case (and the first, should you so desire), you could use
>the /cygdrive prefix or //server/share notation, as above.

/cygdrive is a user-settable value.  Some users use other values like
"/dev" instead of /cygdrive.  Some people get rid of the /cygdrive
entirely and just map to /a.  We're not going to introduce this level of
recursive confusion to the mount table handling.

Please give it a rest.  We're not changing the mount table for you.

cgf

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