X-Spam-Check-By: sourceware.org To: cygwin@cygwin.com From: Thorsten Kampe Subject: Re: How to uniformly point to the root of a drive? Date: Sun, 20 May 2007 18:54:33 +0100 Lines: 9 Message-ID: References: <46506BA1.C3502CCD@dessent.net> <0a3801c79af6$c32395b0$2e08a8c0@CAM.ARTIMI.COM> <46507312.2EDBD2A5@dessent.net> <0a3901c79afa$41cf13a0$2e08a8c0@CAM.ARTIMI.COM> <20070520172705.GA9280@ednor.casa.cgf.cx> <20070520173616.GA9531@ednor.casa.cgf.cx> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com * Christopher Faylor (Sun, 20 May 2007 13:36:16 -0400) > On Sun, May 20, 2007 at 01:27:05PM -0400, Christopher Faylor wrote: > >So it sounds like Brian's method would work then wouldn't it? > > Does this give you what you want, too? > > driveroot=$(cygpath $(cygpath -wm /)/..) Yes. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/