Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3EA2685E.725043BC@phekda.freeserve.co.uk> Date: Sun, 20 Apr 2003 10:29:02 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: Andrew Cottrell CC: djgpp-workers AT delorie DOT com Subject: Re: fstat, fd_props and inventing inodes, revision 3 [PATCH] References: <003101c30704$8dbb1ea0$0100a8c0 AT acp42g> <000a01c30708$aacbc680$0100a8c0 AT acp42g> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Andrew Cottrell wrote: [snip] > Some more info that may help is that the test in getshare.c partially (or is > it fully) working. Only available drive mappings are shown, unavailable > mappings are not shown. For example the following show this:- > > D:\dj204>net use > New connections will be remembered. > Status Local Remote Network > ---------------------------------------------------------------------------- > --- > OK Y: \\Ac-p42g\GHOST Microsoft Windows Network > Unavailable Z: \\Celleron800\C_DRIVE Microsoft Windows Network > The command completed successfully. > > D:\dj204\test>test > Drive mapping test:- > Y -> \\Ac-p42g\GHOST Thanks for running that test. It's interesting that 'getshare' doesn't know about unavailable disks. The code doesn't ignore unavailable disks, so it looks like your OS (Win2k/XP?) doesn't report unavailable disks via the LANMan APIs. Thanks, bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]