Mounting private dir on /tmp

Kenneth Porter shiva@well.com
Wed May 30 12:33:00 GMT 2001


How do I mount a local directory as /tmp?

I've got all of cygwin and XFree86 on a Linux Samba server share
(\\server\cygwin) so that / is mounted to x:\. The share is set up with
forced user and group so any user connecting looks like the same
pseudo-user on the Linux box.

I've now got XFree86 working with xdm and XDMCP on Linux. The hardest
part was having to delete \tmp\.X11-unix before each session, because
trans_mkdir complains if the directory exists, something about "inode
changed". This might be related to the directory being on a Samba
share.

I'd now like to make XFree86 available to a user on another NT4
workstation. To this end I need a private /tmp for each user for the X0
file created in /tmp/.X11-unix. I'm not sure how to accomplish this. I
tried bring up bash and entering "mount -b c:\tmp /tmp" but I get the
message "mount: /tmp: Invalid argument". What am I doing wrong?

Ken
mailto:shiva@well.com
http://www.sewingwitch.com/ken/
[If answering a mailing list posting, please don't cc me your reply. I'll take my answer on the list.]




More information about the Cygwin-xfree mailing list