Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Differentiate between virtual drive and physical drive

Differentiate between virtual drive and physical drive

Scheduled Pinned Locked Moved The Lounge
csharptoolstutorialquestion
31 Posts 12 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Mustafa Ismail Mustafa

    Tricky. If the physical drives have been greased or they are submerged in any class 3 sound isolating liquid then you can't tell by listening alone. How did you get your driver infusion api to work? :confused: I had to couple min through double K9 wires before it worked.

    There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

    D Offline
    D Offline
    Dario Solera
    wrote on last edited by
    #6

    Mustafa Ismail Mustafa wrote:

    K9 wires

    Which type? K9-A or K9-B?

    If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Blog - My Photos - ScrewTurn Wiki

    M N 2 Replies Last reply
    0
    • D Dario Solera

      Mustafa Ismail Mustafa wrote:

      K9 wires

      Which type? K9-A or K9-B?

      If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Blog - My Photos - ScrewTurn Wiki

      M Offline
      M Offline
      Mustafa Ismail Mustafa
      wrote on last edited by
      #7

      B of course! :omg: A would upset the inter-dimensional matrices of my computer's drive. And we all know what that means. Yep. Data Splatters are NOT fun.

      There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

      1 Reply Last reply
      0
      • D Dario Solera

        Mustafa Ismail Mustafa wrote:

        K9 wires

        Which type? K9-A or K9-B?

        If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Blog - My Photos - ScrewTurn Wiki

        N Offline
        N Offline
        NormDroid
        wrote on last edited by
        #8

        Actually I used a K9-Bypass a special type of wire which uses molecular bypass technology.

        If you're struggling developing software, then I'd recommend gardening.

        M 1 Reply Last reply
        0
        • M Matthew Faithfull

          You clearly haven't got a copy of our virtual hard drive virtual fan driver, virtfhand.dll[^] then you'd not only be able to hear your virtual drive but many user claim to be able to hear the difference between the SCSI drive fan emulation and the IDE fan emulation. The new 7200 SATA virtual drive virtual fan promises adaptive rpm emulation in real time, full head parking micro rev simulation and realistic startup latency bearing wear tracking over the lifetime of your virtual drive. Only $49.99 per drive available 04/01/08

          Nothing is exactly what it seems but everything with seems can be unpicked.

          N Offline
          N Offline
          NormDroid
          wrote on last edited by
          #9

          I've managed to do this without the reliance of third party products, by the way your thread actually accounts for advertising in the lounge ;P

          If you're struggling developing software, then I'd recommend gardening.

          1 Reply Last reply
          0
          • N NormDroid

            Actually I used a K9-Bypass a special type of wire which uses molecular bypass technology.

            If you're struggling developing software, then I'd recommend gardening.

            M Offline
            M Offline
            Mustafa Ismail Mustafa
            wrote on last edited by
            #10

            sweet! I've heard/read about those! Can't get 'em here in Jordan :sigh:

            There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

            N P 2 Replies Last reply
            0
            • M Mustafa Ismail Mustafa

              sweet! I've heard/read about those! Can't get 'em here in Jordan :sigh:

              There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

              N Offline
              N Offline
              NormDroid
              wrote on last edited by
              #11

              Mustafa Ismail Mustafa wrote:

              I've heard/read about those! Can't get 'em here in Jordan

              I can give you the principles of fabricating some of these wires, you'll have to sign a disclosure document detailing that under no circumatances is this technology to be passed on to anybody else.

              If you're struggling developing software, then I'd recommend gardening.

              1 Reply Last reply
              0
              • M Mustafa Ismail Mustafa

                sweet! I've heard/read about those! Can't get 'em here in Jordan :sigh:

                There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #12

                Mustafa Ismail Mustafa wrote:

                I've heard/read about those! Can't get 'em here in Jordan

                Let me know how many you want and I'll FedEx them to you.

                Deja View - the feeling that you've seen this post before.

                N 1 Reply Last reply
                0
                • P Pete OHanlon

                  Mustafa Ismail Mustafa wrote:

                  I've heard/read about those! Can't get 'em here in Jordan

                  Let me know how many you want and I'll FedEx them to you.

                  Deja View - the feeling that you've seen this post before.

                  N Offline
                  N Offline
                  NormDroid
                  wrote on last edited by
                  #13

                  Hey you didn't mention the disclosure aggreement, you know you can't go distributing this kind of technology willy-nilly.

                  If you're struggling developing software, then I'd recommend gardening.

                  P 1 Reply Last reply
                  0
                  • N NormDroid

                    Hey you didn't mention the disclosure aggreement, you know you can't go distributing this kind of technology willy-nilly.

                    If you're struggling developing software, then I'd recommend gardening.

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #14

                    I like to do things willy-nilly. It's the only fun I get nowadays, nillying my willy. You're right of course - I'll secure the package so that it self destructs if the NDA hasn't been signed first.

                    Deja View - the feeling that you've seen this post before.

                    M 1 Reply Last reply
                    0
                    • P Pete OHanlon

                      I like to do things willy-nilly. It's the only fun I get nowadays, nillying my willy. You're right of course - I'll secure the package so that it self destructs if the NDA hasn't been signed first.

                      Deja View - the feeling that you've seen this post before.

                      M Offline
                      M Offline
                      Mustafa Ismail Mustafa
                      wrote on last edited by
                      #15

                      email me the NDA, I'll print it and sign it and get it back to you via cpp (Carrier Pigeon Post) ASAP

                      There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

                      P 1 Reply Last reply
                      0
                      • C c3csystems

                        Hi! I have installed daemon-tools and have a virtual drive. I need my C# program to list all my physical disk-drives and not virtual ones. So far, I could do the following [DllImport("kernel32.dll")] public static extern DriveType GetDriveType([MarshalAs(UnmanagedType.LPStr)] string lpRootPathName); ----and in the code---- string[] allDrives = Directory.GetLogicalDrives(); for (int i = 0; i < allDrives.Length; i++) { if ((GetDriveType(allDrives[i]) & DriveType.CDROM) == DriveType.CDROM) { Console.WriteLine(allDrives[i]); } } It lists my physical disk-drives as well as virtual ones. Any suggestions how to go about enumerating only the physical ones? Thanks.

                        I code at Will!

                        S Offline
                        S Offline
                        Steve Hansen
                        wrote on last edited by
                        #16

                        allDrives[i].GetType().IsVirtual

                        1 Reply Last reply
                        0
                        • M Mustafa Ismail Mustafa

                          email me the NDA, I'll print it and sign it and get it back to you via cpp (Carrier Pigeon Post) ASAP

                          There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

                          P Offline
                          P Offline
                          Pete OHanlon
                          wrote on last edited by
                          #17

                          How about I email you the pigeon as well?

                          Deja View - the feeling that you've seen this post before.

                          C M 2 Replies Last reply
                          0
                          • P Pete OHanlon

                            How about I email you the pigeon as well?

                            Deja View - the feeling that you've seen this post before.

                            C Offline
                            C Offline
                            Cedric Moonen
                            wrote on last edited by
                            #18

                            :laugh: :laugh: Oh man, that was funny !


                            Cédric Moonen Software developer
                            Charting control [v1.2]

                            1 Reply Last reply
                            0
                            • P Pete OHanlon

                              How about I email you the pigeon as well?

                              Deja View - the feeling that you've seen this post before.

                              M Offline
                              M Offline
                              Mustafa Ismail Mustafa
                              wrote on last edited by
                              #19

                              Interesting. Do you propose to do that by stuffing the poor bird through, say, your CD/DVD drive, copying its internals into a machine readable format before converting it to a human readable format onto a pdf file and then emailing it to me?

                              There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

                              P 1 Reply Last reply
                              0
                              • C c3csystems

                                Hi! I have installed daemon-tools and have a virtual drive. I need my C# program to list all my physical disk-drives and not virtual ones. So far, I could do the following [DllImport("kernel32.dll")] public static extern DriveType GetDriveType([MarshalAs(UnmanagedType.LPStr)] string lpRootPathName); ----and in the code---- string[] allDrives = Directory.GetLogicalDrives(); for (int i = 0; i < allDrives.Length; i++) { if ((GetDriveType(allDrives[i]) & DriveType.CDROM) == DriveType.CDROM) { Console.WriteLine(allDrives[i]); } } It lists my physical disk-drives as well as virtual ones. Any suggestions how to go about enumerating only the physical ones? Thanks.

                                I code at Will!

                                M Offline
                                M Offline
                                Marc Clifton
                                wrote on last edited by
                                #20

                                Well, a physical drive behaves according to Newtonian physics, while a virtual drive behaves according to Einsteinian physics. So, if you experience temporal displacement with the drive, you know it's a virtual drive. Marc

                                Thyme In The Country
                                Interacx
                                My Blog

                                P R C 3 Replies Last reply
                                0
                                • M Mustafa Ismail Mustafa

                                  Interesting. Do you propose to do that by stuffing the poor bird through, say, your CD/DVD drive, copying its internals into a machine readable format before converting it to a human readable format onto a pdf file and then emailing it to me?

                                  There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

                                  P Offline
                                  P Offline
                                  Pete OHanlon
                                  wrote on last edited by
                                  #21

                                  Mustafa Ismail Mustafa wrote:

                                  Do you propose to do that by stuffing the poor bird through, say, your CD/DVD drive, copying its internals into a machine readable format before converting it to a human readable format onto a pdf file and then emailing it to me?

                                  Well. Pigeons eat grain which is inherently cerealizable (groan) so I should be able to send a deep copy.

                                  Deja View - the feeling that you've seen this post before.

                                  1 Reply Last reply
                                  0
                                  • M Marc Clifton

                                    Well, a physical drive behaves according to Newtonian physics, while a virtual drive behaves according to Einsteinian physics. So, if you experience temporal displacement with the drive, you know it's a virtual drive. Marc

                                    Thyme In The Country
                                    Interacx
                                    My Blog

                                    P Offline
                                    P Offline
                                    Pete OHanlon
                                    wrote on last edited by
                                    #22

                                    :laugh:Nice. That's obviously your engineering side coming to the fore.

                                    Deja View - the feeling that you've seen this post before.

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      Well, a physical drive behaves according to Newtonian physics, while a virtual drive behaves according to Einsteinian physics. So, if you experience temporal displacement with the drive, you know it's a virtual drive. Marc

                                      Thyme In The Country
                                      Interacx
                                      My Blog

                                      R Offline
                                      R Offline
                                      Richard Jones
                                      wrote on last edited by
                                      #23

                                      I would just remove all drives from the computer. Every drive I can now see must be virtual.

                                      "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..." "There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

                                      P 1 Reply Last reply
                                      0
                                      • R Richard Jones

                                        I would just remove all drives from the computer. Every drive I can now see must be virtual.

                                        "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..." "There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

                                        P Offline
                                        P Offline
                                        Pete OHanlon
                                        wrote on last edited by
                                        #24

                                        I prefer to think of them as conceptual drives. Drives in the abstract if you like. Drives that might exist in a quantum universe.

                                        Deja View - the feeling that you've seen this post before.

                                        R 1 Reply Last reply
                                        0
                                        • P Pete OHanlon

                                          I prefer to think of them as conceptual drives. Drives in the abstract if you like. Drives that might exist in a quantum universe.

                                          Deja View - the feeling that you've seen this post before.

                                          R Offline
                                          R Offline
                                          Richard Jones
                                          wrote on last edited by
                                          #25

                                          You mean Schrodinger's drives?

                                          "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..." "There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

                                          M E 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups