https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=26bcedda20c88c7bfbcef106dbb240b8b591cf59
commit 26bcedda20c88c7bfbcef106dbb240b8b591cf59
Author: Corinna Vinschen <cori...@vinschen.de>
Date: Fri Feb 16 17:21:48 2018 +0100
Cygwin: fix utils path handling in case cygdriv
:
http://old.nabble.com/1.7--Can-you-have-multipe-cygdrive-path-prefixes-active-at-once-tp26227605p26260476.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation
\) \+\(user\|system\) \+.*/\\1/p
--
View this message in context:
http://old.nabble.com/1.7--Can-you-have-multipe-cygdrive-path-prefixes-active-at-once-tp26227605p26260538.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com
to robustly determine what your
particular value of root was -- certainly that would break (or at least
potentially break) many scripts.
--
View this message in context:
http://old.nabble.com/1.7--Can-you-have-multipe-cygdrive-path-prefixes-active-at-once-tp26227605p26249482.html
Sent from
-cygdrive-path-prefixes-active-at-once-tp26227605p26249511.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info
aputerguy wrote:
Jeremy Bopp writes:
Well, it's a bit of a hack, but you could try something like the
following:
$ dirname $(cygpath -u C:/)
This assumes that there is always a C: drive and converts the path to
the root of that drive into a POSIX path which will include the cygdrive
Bopp wrote:
aputerguy wrote:
Jeremy Bopp writes:
Well, it's a bit of a hack, but you could try something like the
following:
$ dirname $(cygpath -u C:/)
This assumes that there is always a C: drive and converts the path to
the root of that drive into a POSIX path which will include the
On 11/06/2009 06:16 PM, Jeremy Bopp wrote:
Larry Hall (Cygwin) wrote:
On 11/06/2009 05:35 PM, Jeremy Bopp wrote:
Thrall, Bryan wrote:
Jeremy Bopp wrote on Friday, November 06, 2009 3:31 PM:
Well, it's a bit of a hack, but you could try something like the
following:
$ dirname $(cygpath -u
The mount manpage says:
-p, --show-cygdrive-prefix
show user and/or system cygdrive path prefix
The and/or would suggest you could have different user and system cygdrive
path prefixes active at once, which would potentially be a bit confusing
Also, is there a better way
In particular, I can't use mount -p to distinguish between prefixes that
might have (variable) number of trailing spaces (which is allowed).
--
View this message in context:
http://old.nabble.com/1.7--Can-you-have-multipe-cygdrive-path-prefixes-active-at-once-tp26227605p26227607.html
Sent from
aputerguy wrote:
In particular, I can't use mount -p to distinguish between prefixes that
might have (variable) number of trailing spaces (which is allowed).
I believe that you want to use the cygpath program if you want to
convert POSIX paths to Windows paths reliably. Assuming the default
off, especially when Cygwin 1.7 is released.
---
I'm curious -- how does mount find or 'know' the cygdrive path
if it doesn't come from the registry.
/etc/fstab
For that matter, how would a windows .bat file find the
'mount.exe' binary if the .bat file doesn't know 'cygdrive
This might not be quite what you are after, but possibly will provide a
starting point. My Cygwin installation is mounted in the root directory
of a portable drive so, depending on where I am, the drive might end up
being D: or F: or G: or M: or ... The lines following are the first few
lines
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Thorsten Kampe on 2/10/2009 2:01 AM:
For that matter, how would a windows .bat file find the
'mount.exe' binary if the .bat file doesn't know 'cygdrive path'?
Mount is not a Cygwin application (meaning it doesn't have to know
-- how does mount find or 'know' the cygdrive path
if it doesn't come from the registry.
For that matter, how would a windows .bat file find the
'mount.exe' binary if the .bat file doesn't know 'cygdrive path'?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem
.
---
I'm curious -- how does mount find or 'know' the cygdrive path
if it doesn't come from the registry.
How it finds it is an implementation detail. There's no need to know
how it does what it does if it does what you want. ;-) And, like I said,
the registry won't be used for 1.7 so anyone
Here's how I do it in a little batch file that I put on
my USB pen drive:
It's in the attached .TXT file - you'll need to rename
it to .BAT
Note that this batch file will OVERWRITE your fstab so
please review it before installing and using it on your
system.
Basically, it lets me carry Cygwin
Cygwin 1.7 is released.
---
I'm curious -- how does mount find or 'know' the cygdrive path
if it doesn't come from the registry.
How it finds it is an implementation detail. There's no need to know
how it does what it does if it does what you want. ;-) And, like I said,
the registry won't
, especially when Cygwin 1.7 is released.
---
I'm curious -- how does mount find or 'know' the cygdrive path
if it doesn't come from the registry.
How it finds it is an implementation detail. There's no need to know
how it does what it does if it does what you want. ;-) And, like I said
I will try out the DDD/cygwin solution for now (deeply ashamed I did not notice
it was there somewhere)...
Thanks Igor and Larry for your answers :)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
Hello,
Sorry if this is a dumb newbie question. I am a dumb newbie to cygwin after
all :-)
I use the gcc compiler under cygwin to make some big builds. gdb is used to
debug. However : I want to use a DDD-style visual front-end to gdb and my
first choice was GNAT/GPS (looks DDD-like :) ).
On Thu, 5 Feb 2004, Jan Buys wrote:
Hello,
Sorry if this is a dumb newbie question. I am a dumb newbie to cygwin after
all :-)
I use the gcc compiler under cygwin to make some big builds. gdb is used to
debug. However : I want to use a DDD-style visual front-end to gdb and my
first
At 01:36 PM 2/5/2004, Jan Buys you wrote:
Hello,
Sorry if this is a dumb newbie question. I am a dumb newbie to cygwin after
all :-)
I use the gcc compiler under cygwin to make some big builds. gdb is used to
debug. However : I want to use a DDD-style visual front-end to gdb and my
first
On Thu, Jul 17, 2003 at 10:57:25PM -0700, Kenny Carruthers wrote:
So just wondering if someone can tell me how I configure cygwin to echo back
Win32 style paths instead of POSIX style paths for the current working
directory.
cygpath -w `pwd`
Corinna
--
Corinna Vinschen
Corinna Vinschen wrote:
On Thu, Jul 17, 2003 at 10:57:25PM -0700, Kenny Carruthers wrote:
So just wondering if someone can tell me how I configure cygwin to
echo back Win32 style paths instead of POSIX style paths for the
current working directory.
cygpath -w `pwd`
Corinna
That answers that
Hi,
I've been looking throughout the documentation and FAQ's but I still can't
figure this one out. This is running against the latest cygwin version
(updated using setup.exe from the website).
My drive mounts are pretty much standard and look like this:
C:\cygwin\bin on /usr/bin type system
26 matches
Mail list logo