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

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


To add one more thing.  With NTFS just like in Linux, you can mount drives
at various points in the OS.  Say I wanted to mount partition 2 in partition
1.  So I have the C:\ as partition 1 and I can then put partition 2 at
C:\Data\.  So the OS's aren't much different in the concept of mounting.

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Nick Berardi
Sent: Wednesday, March 03, 2004 12:27 PM
To: 'David Sheldon'; mono-list@lists.ximian.com
Subject: RE: [Mono-list] Simple code - differences in output between mono &
.Net

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

multi(0)disk(0)rdisk(0)partition(1)\

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 &
.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  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list