🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #693

Getting physical drives from substituted partitioned raided

#693
From: Colin B Maharaj
Date: Mon, 25 Feb 2008 06:05
27 lines
2061 bytes
Hi folks,
I have three hard disks on my PC
2 of em are in a RAID1 arrangement. (C:)
1 is stand alone (G:)
and
I have a drive letter F: created via a sub command
I run as a service on start DRIVEF.BAT whose source is
subst f: c:\Dev
See, all my batch files I use for archiving was originally
setup as drive F on and older PC, so I place my entire
Development environment in a Path c:\dev..
ANYWAY!...

I am writing this sorting application and I think I can get
better performance if I do asynchronous writes to temp paths
on each accessible drives HOWEVER!.....

I need to know which drives are physically independent of one another.
Imagine now that my drive c: also has a partition H:, then C: and H:
and F: are all physically be the same. Making temporary writes to all 
three will be useless. SO!.... (finally)

How can I truly get a reflection of which drives letters I can use
that will represent all the physically accessible drives independent
of one another (not including CDROM/Floppy).

Thanks for reading folks!
Technical Details
Message-ID: <47c25aba$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e4b7a7ab6f3d5861,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 25 Feb 2008 02:05:48 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Getting physical drives from substituted partitioned raided
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 080224-0, 02/24/2008), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 190.58.50.199
Message-ID: <47c25aba$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1203919546 190.58.50.199 (24 Feb 2008 22:05:46 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail