Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Sat, 24 Nov 2001 16:16:45 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: /cygdrive improvements Message-ID: <20011124211645.GA9184@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20011122060643 DOT GA12017 AT redhat DOT com> <20011124211427 DOT Z14975 AT cygbert DOT vinschen DOT de> <20011124213534 DOT A14975 AT cygbert DOT vinschen DOT de> <20011124210714 DOT GA8898 AT redhat DOT com> <20011124221146 DOT C14975 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011124221146.C14975@cygbert.vinschen.de> User-Agent: Mutt/1.3.23.1i On Sat, Nov 24, 2001 at 10:11:46PM +0100, Corinna Vinschen wrote: >On Sat, Nov 24, 2001 at 04:07:14PM -0500, Christopher Faylor wrote: >> On Sat, Nov 24, 2001 at 09:35:34PM +0100, Corinna Vinschen wrote: >> >On Sat, Nov 24, 2001 at 09:14:27PM +0100, Corinna Vinschen wrote: >> >> On Thu, Nov 22, 2001 at 01:06:43AM -0500, Christopher Faylor wrote: >> >> > The only thing wrong with this currently is that zsh times out trying to >> >> > read the floppy drive the first time. >> >> >> >> It does on empty CD-ROMs and any kind of removable media drives, too. >> >> That is, three times the "no media" message on my XP box. I like this >> > >> >Oh, I just found that the `no media' message doesn't happen with >> >the patch I've sent a few minutes ago. Now they are not shown as >> > >> >/cygdrive/a: no medium >> > >> >but as >> > >> >dr-xr-xr-x 6 root root 0 Jan 1 1970 a >> > >> >The drives are still accessed, though but that's probably only a >> >problem for floppies. >> >> Does the current CVS do this? >> >> I seemed to notice some messages the first time I tried the patch >> but then they disappeared. I think that Windows is somehow caching >> the fact that the drive is off-line. > >Hmm, now I'm getting (reproducable) another message on drives w/o >medium: > >/home/corinna[101]$ ll /cygdrive >ls: /cygdrive/a: Not a directory >ls: /cygdrive/p: Not a directory >ls: /cygdrive/r: Not a directory >total 0 >drwxr-xr-x 18 corinna root 0 Jan 1 1980 c >drwxrwxrwx 8 root root 0 Nov 21 19:11 d >drwxr-xr-x 8 root root 0 Nov 22 20:24 e > >My patch did it nicer ;-) Except that your patch looked for /cygdrive.lnk, /cygdrive.exe and then doing something undefined if one of those was found. cgf