We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you call the Partitions function on windows system, it returns only logical partitions
Partitions
To Reproduce [On Windows System]
package main import ( "github.com/shirou/gopsutil/disk" "fmt" "strconv" ) func main() { parts, err := disk.Partitions(true) check(err) for _, part := range parts { fmt.Println(part) } } func check(err error) { if err != nil { panic(err) } }
Expected behavior Ideally it should return the SYSTEM/BOOT/EFI partitions alongside with the logical partitions.
Environment
I would like to create a PR to fix this issue on windows.
The text was updated successfully, but these errors were encountered:
Please do, would be highly appreciated. Just need to confirm if these partitions are also returned on other OSes.
Sorry, something went wrong.
Working on it, issue is only on windows OSes. I will confirm that its working on other windows OSes as well. #781
@shirou raised the PR #781
No branches or pull requests
When you call the
Partitions
function on windows system, it returns only logical partitionsTo Reproduce [On Windows System]
Expected behavior
Ideally it should return the SYSTEM/BOOT/EFI partitions alongside with the logical partitions.
Environment
I would like to create a PR to fix this issue on windows.
The text was updated successfully, but these errors were encountered: