X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: cygdrive prefix Date: Wed, 16 Sep 2009 09:02:19 -0700 Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: X-Stationery: 0.4.10 X-IsSubscribed: yes 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 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... -- Andrew DeFaria Never raise your hands to your kids. It leaves your groin unprotected. -- 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