public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder@niaid.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Accessing folders elsewhere than C:\cygwin
Date: Thu, 10 Feb 2011 17:13:00 -0000	[thread overview]
Message-ID: <0105D5C1E0353146B1B222348B0411A209C0F073A4@NIHMLBX02.nih.gov> (raw)
In-Reply-To: <20110209163858.GJ16194@calimero.vinschen.de>

Corinna Vinschen wrote
>  cygwin_parent=$(cygpath -ua $(cygpath -ma /)/..)

Might the ability to identify cygwin's root be a good
thing to add to cygpath?  (Note: I'm not commenting on
Corinna's proposal per se - hers was just the latest
email in this thread.)

Under "System information", one could have an option

  -R, --root    output cygwin root directory

where

$ cygpath -Rw
C:\cygwin

$ cygpath -Ru
/cygdrive/c/cygwin

or, if the cygdrive prefix has been changed to a simple /,

$ cygpath -Ru
/c/cygwin

Just an idea.  Unfortunately, I cannot propose a patch.

Thanks for considering this.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.


  reply	other threads:[~2011-02-10 17:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09 14:46 Fergus
2011-02-09 15:38 ` Greg Chicares
2011-02-09 16:39   ` Corinna Vinschen
2011-02-10 17:13     ` Buchbinder, Barry (NIH/NIAID) [E] [this message]
2011-02-10 17:15       ` Eric Blake
2011-02-10 20:23         ` RISINGP1
2011-02-10 20:36           ` Christopher Faylor
2011-02-10 21:16             ` RISINGP1
2011-02-09 15:50 ` Jeremy Bopp
2011-02-09 15:53   ` Jeremy Bopp
2011-02-09 15:53 ` Andrew Schulman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0105D5C1E0353146B1B222348B0411A209C0F073A4@NIHMLBX02.nih.gov \
    --to=bbuchbinder@niaid.nih.gov \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).