Mail Archives: djgpp/1997/12/30/03:39:54
On Tue, 30 Dec 1997, Thomas Demmer wrote:
> If I recall correctly, ld performs some stat()ing of the library path,
> to see if it is contains symbolic links and other Unix'y issues.
> So stat() has to check if some drives exist, or if they are mapped
> to network drives. Much the same will happen to you if you run
> df to find out some information about your drives. Eli can probably
> tell you a lot more of the guts of stat() and when this effect happens.
AFAIK, `stat' never accesses any drives but the current and the one which
is a part of the file name passed as argument to `stat'. Since people
claim that the zip drive is not used for any DJGPP stuff, it doesn't seem
to be the case here.
`df' (and the underlying function `getmntent') indeed access all drives,
but `ld' doesn't call it AFAIK. Anyway, if all drives were accessed,
you'd see the floppies (and the CD drive, if any) accessed as well.
- Raw text -