Re: Accessing folders elsewhere than C:\cygwin

2011-02-10 Thread RISINGP1
cygwin-owner wrote on 02/10/2011 03:35:53 PM: > > On Thu, Feb 10, 2011 at 03:23:38PM -0500, RISINGP1 wrote: > >Eric wrote on 02/10/2011 12:15:33 PM: > > > >> On 02/10/2011 10:13 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > >> > Might the ability to identify cygwin's root be a good > >> > thing

Re: Accessing folders elsewhere than C:\cygwin

2011-02-10 Thread Christopher Faylor
On Thu, Feb 10, 2011 at 03:23:38PM -0500, risin...@nationwide.com wrote: >Eric wrote on 02/10/2011 12:15:33 PM: > >> On 02/10/2011 10:13 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: >> > Might the ability to identify cygwin's root be a good >> > thing to add to cygpath? >> >> And what's so hard ab

Re: Accessing folders elsewhere than C:\cygwin

2011-02-10 Thread RISINGP1
Eric wrote on 02/10/2011 12:15:33 PM: > On 02/10/2011 10:13 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > > Might the ability to identify cygwin's root be a good > > thing to add to cygpath? > > And what's so hard about 'cygpath -w /'? > > > Under "System information", one could have an option

Re: Accessing folders elsewhere than C:\cygwin

2011-02-10 Thread Eric Blake
On 02/10/2011 10:13 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Might the ability to identify cygwin's root be a good > thing to add to cygpath? And what's so hard about 'cygpath -w /'? > Under "System information", one could have an option > > -R, --rootoutput cygwin root directory >

RE: Accessing folders elsewhere than C:\cygwin

2011-02-10 Thread Buchbinder, Barry (NIH/NIAID) [E]
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

Re: Accessing folders elsewhere than C:\cygwin

2011-02-09 Thread Corinna Vinschen
On Feb 9 15:37, Greg Chicares wrote: > On 2011-02-09 14:42Z, Fergus wrote: > > I have Cygwin mounted conventionally under Q:\cygwin. > > I would like to access files under Q:\else. > > But (for example) ls ../../.. only ever attains \cygwin (and lower). > > I can use ls /cygdrive/q/else/ (and lowe

Re: Accessing folders elsewhere than C:\cygwin

2011-02-09 Thread Andrew Schulman
> I have Cygwin mounted conventionally under Q:\cygwin. > I would like to access files under Q:\else. > But (for example) ls ../../.. only ever attains \cygwin (and lower). > I can use ls /cygdrive/q/else/ (and lower) but this means knowing the > drive name (in this case Q:) Well at some level yo

Re: Accessing folders elsewhere than C:\cygwin

2011-02-09 Thread Jeremy Bopp
On 02/09/2011 09:50 AM, Jeremy Bopp wrote: > mount | grep -q 'on /mnt/else type' || > mount $(cygpath -m)/../else /mnt/else ^^^ I lost a slash in the above code. It should be as follows: mount | grep -q 'on /mnt/else type' || mount $(cygpath -m /)/../else /mnt/else -Jere

Re: Accessing folders elsewhere than C:\cygwin

2011-02-09 Thread Jeremy Bopp
On 02/09/2011 08:42 AM, Fergus wrote: > I have Cygwin mounted conventionally under Q:\cygwin. > I would like to access files under Q:\else. > But (for example) ls ../../.. only ever attains \cygwin (and lower). > I can use ls /cygdrive/q/else/ (and lower) but this means knowing the > drive name (in

Re: Accessing folders elsewhere than C:\cygwin

2011-02-09 Thread Greg Chicares
On 2011-02-09 14:42Z, Fergus wrote: > I have Cygwin mounted conventionally under Q:\cygwin. > I would like to access files under Q:\else. > But (for example) ls ../../.. only ever attains \cygwin (and lower). > I can use ls /cygdrive/q/else/ (and lower) but this means knowing the > drive name (in

Accessing folders elsewhere than C:\cygwin

2011-02-09 Thread Fergus
I have Cygwin mounted conventionally under Q:\cygwin. I would like to access files under Q:\else. But (for example) ls ../../.. only ever attains \cygwin (and lower). I can use ls /cygdrive/q/else/ (and lower) but this means knowing the drive name (in this case Q:) I don't much want to change mou