delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/16/10:25:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
In-Reply-To: <Pine.GSO.4.61.0508152130380.9560@slinky.cs.nyu.edu>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Programatically finding value of "cygdrive" prefix
Message-ID: <OF62D32F80.1B668CD4-ON8625705F.004ED1EE-8625705F.004EF0ED@us.ibm.com>
From: Fred Kulack <kulack AT us DOT ibm DOT com>
Date: Tue, 16 Aug 2005 09:22:13 -0500
X-IsSubscribed: yes

On 08/16/2005 at 08:25:18 AM, cygwin-owner wrote:
mount -m | grep -- --change-cygdrive-prefix | \
  xargs bash -c 'while [ $# != 1 ]; do shift; done; echo "$@"' --
--- end of excerpt ---

Why the complexity? Is there something wrong with this? 

> regtool get "/HKCU/Software/Cygnus Solutions/Cygwin/mounts v2/cygdrive 
prefix"
/



"It was a rigorous result in information theory that once you could 
learn in a sufficiently flexible manner - something humanity had achieved 
in the Bronze Age - the only limits you faced were speed and storage; 
any other structural changes were just a matter of style."
[Schild's Ladder by Greg Egan]

Fred A. Kulack - IBM eServer iSeries - Enterprise Application Solutions
ERP, Java DB2 access, Jdbc, JTA, etc...
IBM in Rochester, MN  (Phone: 507.253.5982   T/L 553-5982)
mailto:kulack/us.ibm.com   Personal: mailto:kulack/gmail.com
AIM Home:FKulack  AIM Work:FKulackWrk 
MSN Work: fakulack/hotmail.com (replace email / with @)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019