delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/04/19/18:47:50

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
To: cygwin-apps AT cygwin DOT com, cygwin-xfree AT cygwin DOT com
Subject: Re: cygwin/xfree86 setup.exe packages available for comments and testing
References: <NHEELHJHHFKPMAEAFMFCCEANCNAA DOT huntharo AT msu DOT edu>
From: Benjamin Riefenstahl <Benjamin DOT Riefenstahl AT epost DOT de>
Date: 19 Apr 2002 23:17:56 +0200
In-Reply-To: <NHEELHJHHFKPMAEAFMFCCEANCNAA.huntharo@msu.edu>
Message-ID: <m34ri7e6bf.fsf@benny-ppc.crocodial.de>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0

"Harold Hunt" <huntharo AT msu DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019