This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /cygdrive improvements

[Get raw message]
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]