X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: mwoehlke Subject: Re: slow share = slow scripts? Date: Thu, 25 May 2006 11:13:14 -0500 Lines: 35 Message-ID: References: <4474FCB5 DOT 9070906 AT cygwin DOT com> <4475C82B DOT 9060207 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.2 (X11/20060420) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Igor Peshansky wrote: > On Thu, 25 May 2006, mwoehlke wrote: > >> Larry Hall (Cygwin) wrote: >>> On 05/25/2006, mwoehlke wrote: >>>> Larry Hall (Cygwin) wrote: >>>>> Take a look at the -x, -E, and -X flags of 'mount'. Perhaps these >>>> will help >>>>> you. >>>> Hmm, those are mutually contradictory... guess I'll "experiment". Out of >>>> curiosity, what are any of these expected to do? >>> They are indeed mutually exclusive. See 'man mount' for an explanation of >>> the >>> flags. You might want to try -x or -X. >> Right, I *was* looking at the man, which is why I was confused. It >> doesn't say why this would help, though; does it somehow allow Cygwin to >> skip the fstat() call? Also, why *is* fstat() so inefficient? Can >> anything be done about it? >> >> I *am* going to play with them, if I can convince Cygwin to let me >> *un*mount the path. :-) > > Just a WAG, but do take a look at the -u and -s flags to mount/umount. > Otherwise, please let us know what exact error message you're getting from > umount. Nope, wasn't umount'ing.. sorry, my bad. :-) I was misremembering that Cygwin doesn't have or need a 'umount'. Must've been thinking about something else. At any rate, I know I have sometimes been able to re-mount drives without first unmounting them. -- Matthew ...Ruthlessly beating Windows with a hammer until it looks like POSIX. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/