:
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
is -- only where 'c' is
mounted.
Of course, as pointed out in a later reply, one can use an unused disk drive
letter like 'x' but that is hardly robust since who knows what drive letters
will be unused and/or unmounted.
--
View this message in context:
http://old.nabble.com/1.7--Can-you-have-multipe
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
--Can-you-have-multipe-cygdrive-path-prefixes-active-at-once-tp26227605p26227605.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
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
10 matches
Mail list logo