volumes

command
v0.0.0-...-e92761b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 5 Imported by: 0

README

List Volumes

This example enumerates all volumes and gets information about them such as their DOS device name, and paths.

This is pretty much a Go version of Displaying Volume Paths

APIs Used:

> volumes.exe
Volume: \\?\Volume{60d6e9ac-9b32-4fa2-8060-d494beb9ad1a}\
DOS Device: \Device\HarddiskVolume2
Paths:
- C:\

Volume: \\?\Volume{eb0860c9-b2b1-47ea-af36-d89b77d463b5}\
DOS Device: \Device\HarddiskVolume1
Paths:
- D:\

Volume: \\?\Volume{18e402ba-23a0-11eb-9956-5c80b6c3d0bf}\
DOS Device: \Device\CdRom0
Paths:
- E:\

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL