Programatically finding value of "cygdrive" prefix

Brian Dessent brian@dessent.net
Thu Aug 11 02:26:00 GMT 2005


Ken Dibble wrote:

> Am I not understanding the man page or am I so dense that I'm missing
> something?

Yes you are missing something, and no 'mount -m' works perfectly fine. 
If the cygdrive prefix has a space in it, using awk to print the fifth
word will be incorrect.  Consider:

echo 'mount -s -b --change-cygdrive-prefix "/thing with spaces"' \
       | awk '{ print $5 }'

Brian

--
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/



More information about the Cygwin mailing list