Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 4 Sep 2002 13:49:53 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: mount trouble
Message-ID: <20020904174953.GD3731@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20020902212808.GA22511@redhat.com> <20020903124845.38818.qmail@web21002.mail.yahoo.com> <3D7644C4.90204@cotagesoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@redhat.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/

