delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/11/24/16:12:20

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 22:11:46 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: /cygdrive improvements
Message-ID: <20011124221146.C14975@cygbert.vinschen.de>
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>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20011124210714.GA8898@redhat.com>; from cgf@redhat.com on Sat, Nov 24, 2001 at 04:07:14PM -0500

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 ;-)

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


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