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

David Sheldon dave-monolist@earth.li
Wed, 3 Mar 2004 16:57:55 +0000


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