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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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