Mail Archives: cygwin-developers/1998/04/23/06:21:19
>Christopher Faylor wrote:
>> The reason for the change was that I was trying to get df working. With
>> a few minor patches it does work, but prior to this change you would get
>> two or three dialog boxes popped up on the screen when it tried to access
>> a floppy with nothing in it.
>>
>
>Hmmm... Hever saw dialog boxes this case... Nt4.0 SP3. Df just
>complained something like "/dev/fd0: can't open".
That's strange. I can't believe that it is a difference between NT 3.51
and 4.0. I'll try df without the change and see if I was just imagining
things again.
The problem here is, of course, that the Cygwin32 mount table is not like
a "real" UNIX mount table. A real UNIX mount table only uses devices
that are actually connected to the system and operational. The Cygwin32
mount table is more like a combination of /etc/fstab and a UNIX mount table.
When df.exe is scanning the "mount table" it encounters "devices" which
it shouldn't be trying to stat since they aren't really "mounted" in the
UNIX sense.
cgf
- Raw text -