But surely the aforementioned functionality should be exposed to the developer in a similar manner as he/she would expect - whereby all physical drives should be available through the call as they are in Windows and .Net.
I am merely thinking of portability between the two platforms, and why have a method which tells you what you already know - you have a "/"... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Sheldon Sent: 03 March 2004 16:58 To: [EMAIL PROTECTED] Subject: Re: [Mono-list] Simple code - differences in output between mono & .Net On Wed, Mar 03, 2004 at 10:11:28AM -0500, Nick Berardi wrote: > I guess logical drives in Linux is just the root. But I would think > that they would include the mount points in here? Don't you think? > Because basically that is all that a Windows Drive is. A mounted > partition. > > > > Anybody on the list disagree? I disagree. The call is get*Logical*Drives. Linux only has a single logical drive, though it is made up of several physical drives mounted into it. If you enumerate /, /cdrom, /floppy, /mnt/moredisk, /mnt/moredisk/someNFSserver then you will end up with applications double counting files and generally recursing over more then they need to in order to find a file. David -- "OK. Enter system password, out of ttys, can't fork process, Panic Double Panic, can't open socket, bad magic number, NO ROUTE TO HOST, hme is down, stale file handle, /var is full, and it's January 1970." - sing, sing, halt _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ******************************************************************** _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
