delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/05/18:16:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 4 Sep 2002 13:49:53 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mount trouble
Message-ID: <20020904174953.GD3731@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020902212808 DOT GA22511 AT redhat DOT com> <20020903124845 DOT 38818 DOT qmail AT web21002 DOT mail DOT yahoo DOT com> <3D7644C4 DOT 90204 AT cotagesoft DOT com>
Mime-Version: 1.0
In-Reply-To: <3D7644C4.90204@cotagesoft.com>
User-Agent: Mutt/1.3.23.1i

On Wed, Sep 04, 2002 at 10:37:08AM -0700, Shankar Unni wrote:
>Nicholas Wourms wrote:
>>--- Christopher Faylor <cgf AT redhat DOT com> wrote:
>>[SNIP]
>>mount -f -s -b -X "C:/cygwin/usr/X11R6/bin" "/usr/X11R6/bin"
>>mount -f -s -b -E "C:/cygwin/usr/X11R6/lib" "/usr/X11R6/lib"
>>mount -f -s -b -E "C:/cygwin/usr/X11R6/man" "/usr/X11R6/man"
>
>Couple of comments on this:
>
>* Does the X11 stuff get used so much that this level of fine-grained 
>mount options actually makes a big difference? Why not just default the 
>lot, and create a single mount point for "/usr/X11R6"?

You could make everything executable, I guess, as long as you don't try
to execute a man page.  It doesn't really matter, however.

>* Would it help to add an option to mount to "reset the mounts to 
>installation defaults"? At least for the Cygwin installation drive?

You can certainly dump and restore the state yourself with mount -m.
Adding it to mount is not appropriate.

>That last option would wipe out all mounts for directories under the 
>Cygwin installation directory, and create a clean set of mounts as the 
>installer would have done. It would be invaluable for cleaning up from 
>botched mount experiments..

I think you need to look at existing mount options.  It's easy enough
to do this if you want to do it.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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