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

Nick Berardi nberardi@zigamorph.com
Wed, 3 Mar 2004 12:27:06 -0500

Well the idea is to work like the Windows version of the framework.  In
actuality Windows boxes only have one logical drive too.  Such as


then you just keep going on down the list much like hda1, hda2, hda3, etc.

I mean these aren't suppose to be literal they are suppose to return what
the user would think that the literal disks are.  It just happens that in
Windows there is user separation from this process of mounting.

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of David Sheldon
Sent: Wednesday, March 03, 2004 11:58 AM
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Simple code - differences in output between mono &

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.

"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