X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 16 Sep 2009 18:08:59 +0200
From: "Vincent R." <forumer@smartmobili.com>
To: <cygwin@cygwin.com>
Subject: Re: cygdrive prefix
In-Reply-To: <h8r26b$peb$1@ger.gmane.org>
References: <ee47a1dc39b42cb6fdd0c2dff9ff3053@mail.smartmobili.com> <h8r26b$peb$1@ger.gmane.org>
Message-ID: <182640b4a6730dafadd266e0cfc9d9bf@mail.smartmobili.com>
X-Sender: forumer@smartmobili.com
User-Agent: RoundCube Webmail/0.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, 16 Sep 2009 09:02:19 -0700, Andrew DeFaria <Andrew@DeFaria.com>
wrote:
> Vincent R. wrote:
>> Hi,
>>
>> Is there any good reason to force user to use /cygdrive/ before 
>> accessing a drive ?
> Considering you aren't forced to use /cygdrive/ (see mount(1m)) no...
>> I am asking it because I regularly switch from cygwin to mingw and 
>> some simple script needs to be adapted every time.
> Huh? Can't your script sense you're using Cygwin or Mingw?
>> Wouldn't be easier to access directly to a drive without entering 
>> cygdrive? Is there any reason for that ?
> What would be your proposal for a POSIX path to indicate you are now 
> accessing a Windows drive by letter? "/cygdrive/" is just a string 
> indicating this. You can change it with mount(1m). Personally I (ab)use 
> /dev...

Ok I see your point but I find it weird to complicate things by adding
/cygdrive.
Maybe some people are crazy enough to create folders with one letter at
filesystem root
but that's not my case so typing /c means I want  to access C drive.


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

