So while digging into an existing script, I noticed there is a difference between how Windows lists partitions and volumes. Can someone explain to me what I am seeing? Is it just the difference between diskpart and WMI? How would linux see these?
C:\WINDOWS\system32>wmic /namespace:\\root\cimv2 path Win32_OperatingSystem get SystemDevice
SystemDevice
\Device\HarddiskVolume1
<>
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- ------
Volume 0 E Backup NTFS Mirror 148 GB Healthy
Volume 1 D DVD-ROM 0 B No Media
Volume 2 L DVD-ROM 0 B No Media
Volume 3 C OS NTFS Partition 223 GB Healthy System
Volume 4 G Removable 0 B No Media
Volume 5 H Removable 0 B No Media
Volume 6 I Removable 0 B No Media
Volume 7 J Removable 0 B No Media
DISKPART>
Thanks!