This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: error when starting X-Win
Chris Sutcliffe wrote:
>> The standard way this has been handled in the past is to set up a
mount
>> point for '/tmp/' to a unique location. In a default Windows
>> installation, the following should work (untested):
>>
>> mount -b -u "$TEMP" /tmp
>>
>> This keeps things unique for each user anyway.
>
> That's quite cool. I decorated it a bit to keep it all within my
cygwin
> file space. Specifically, in my all-purpose ~/Temp directory:
>
> mkdir -p ~/Temp/tmp
> mount -b -u c:/cygwin/home/${USER}/Temp/tmp /tmp
When I try to execute the mount, I get:
$ mount -b -u "$TEMP" /tmp
mount: /tmp: Invalid argument
Is there something I'm missing?
No, not really. It's shame on me for not trying the syntax I was
offering first. If you're doing this from inside a Cygwin shell,
use:
mount -b -u $(cygpath -ma "$TEMP") /tmp
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/