This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Programatically finding value of "cygdrive" prefix


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]