Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Win32_Volume WMI class to list filesystems #111

Closed

Conversation

jsoriano
Copy link
Member

GetLogicalDriveStrings doesn't list filesystems that are mounted with
access paths but don't have a drive letter. Querying Win32_Volume with
WMI lists all volumes, mounted or not.

Reported on elastic/beats#8916

GetLogicalDriveStrings doesn't list filesystems that are mounted with
access paths but don't have a drive letter. Querying Win32_Volume with
WMI lists all volumes, mounted or not.
@andrewkroh
Copy link
Member

Are there any alternatives to using WMI? In the past we have had several issues like high CPU usage from the WMI service, WMI not being up and ready when the bear starts.

@jsoriano
Copy link
Member Author

I will try with these volume iterators.

@jsoriano
Copy link
Member Author

Closing this by now, implementation with volume iterators in #112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants