This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: cygwin/xfree86 setup.exe packages available for comments and testing
- From: Benjamin Riefenstahl <Benjamin dot Riefenstahl at epost dot de>
- To: cygwin-apps at cygwin dot com, cygwin-xfree at cygwin dot com
- Date: 19 Apr 2002 23:17:56 +0200
- Subject: Re: cygwin/xfree86 setup.exe packages available for comments and testing
- References: <NHEELHJHHFKPMAEAFMFCCEANCNAA.huntharo@msu.edu>
"Harold Hunt" <huntharo@msu.edu> writes:
> Excellent idea. Now I just need someone to write that script.
> Shouldn't be too hard. Any takers?
How about
fontdir=/usr/X11R6/lib/X11/fonts
wfontdir=`cygpath -w $fontdir`
mount -bfs $wfontdir $fontdir 2> /dev/null || mount -bfu $wfontdir $fontdir
IOW, create a system mount in binary mode on the font directory,
disregarding any existing mount on the same place. If the user is not
allowed to create a system mount, create a user mount instead.
This would break when there already is a user mount in text mode.
That seems pretty unlikely, though.
so long, benny