[Mono-list] Simple code - differences in output between mono & .Net

jonathan.cooper@syntegra.com jonathan.cooper@syntegra.com
Wed, 3 Mar 2004 17:01:50 -0000


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: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of David Sheldon
Sent: 03 March 2004 16:58
To: mono-list@lists.ximian.com
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=20
> that they would include the mount points in here?  Don't you think? =20
> Because basically that is all that a Windows Drive is.  A mounted=20
> partition.
>=20
> =20
>=20
> 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
--=20
"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  -  Mono-list@lists.ximian.com
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

********************************************************************