|
I suspect this would be another set of WMI calls to get partition and mount. It seems useful. Mac OS X is also lacking partitions facts.
On Windows they would probably look something like
mountpoints => {
|
C: => {
|
available => "108.07 GiB",
|
available_bytes => 116034400256,
|
capacity => "76.75%",
|
device => "Disk #0, Partition #1",
|
filesystem => "ntfs",
|
options => [
|
"boot",
|
"page file",
|
"crash dump",
|
"primary partition"
|
],
|
size => "464.81 GiB",
|
size_bytes => 499082485760,
|
used => "356.74 GiB",
|
used_bytes => 383048085504
|
}
|
},
|
partitions => {
|
Disk #0, Partition #0 => {
|
filesystem => "ntfs",
|
size => "350 MiB",
|
size_bytes => 367001600,
|
},
|
Disk #0, Partition #1 => {
|
filesystem => "ntfs",
|
mount => "C:",
|
size => "464.81 GiB",
|
size_bytes => 499082485760,
|
},
|
}
|
|