Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7679561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:54:22+00:00 2026-05-31T17:54:22+00:00

All, I am trying to write a cross platform (hence: boost) method/function that will

  • 0

All,

I am trying to write a cross platform (hence: boost) method/function that will enumerate all of the storage devices on a system. From what I have found, the Boost docs mention multiple root file systems, but does not elaborate on how to handle them. I assume that a Windows machine with a hard disk, CD/DVD drive, a USB drive, etc, would be considered a ‘multiple root system’ — correct? If not, what is the root?

I assume that in Linux, there is a single root (e.g., /dev), but I’m not sure how to do it for a multi-root system (e.g., Window) using Boost. Is there a Boost method to enumerate devices?

Help?

Thank you very much,

:bp:

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T17:54:23+00:00Added an answer on May 31, 2026 at 5:54 pm

    Windows is a single-root system, rooted at \, but they’re not “file” systems — they’re other kinds of objects. (Devices, drivers, files, directories, object types, events, mutants, event pairs, window stations, security tokens, semaphores, timers, sessions, memory sections, …)

    (See WinObj.)

    I don’t think there’s any Boost method for enumerating these, since people frown at you if you use the native NT API. (The Win32 subsystem doesn’t expose these; it only exposes the \??\ directory.) Nevertheless, you can use functions like NtOpenDirectoryObject to enumerate these.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a function that will return all the available cars for
Im trying to write a function that will convert all charactewrs after the first
I'm trying to write a php function that gets all the basic food data.
I am trying to write a cross-platform python program that would run in the
I'm trying to write a HQL/Criteria/Native SQL query that will return all Employees that
I'm trying to write a function that will dump a recursive tree of window
Im trying to write a query that will find and display all of my
I'm trying to write a custom search that will search all categories and individual
I'm trying to write a bash command that will delete all files matching a
I am trying to write something that will replace all the spaces in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.