Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #87433

Re: What is a `**ppEnum`?

From "Alf P. Steinbach" <alf.p.steinbach@gmail.com>
Newsgroups comp.lang.c++
Subject Re: What is a `**ppEnum`?
Date 2022-11-17 16:21 +0100
Organization A noiseless patient Spider
Message-ID <tl5ji6$2lsfe$1@dont-email.me> (permalink)
References <tksuro$1nh25$1@dont-email.me> <tktg4l$1ov53$1@dont-email.me> <tku3bp$1qm2f$2@dont-email.me> <tl02p9$22g10$1@dont-email.me> <tl0enq$23hv7$2@dont-email.me>

Show all headers | View raw


On 15 Nov 2022 17:28, T wrote:
> On 11/15/22 05:04, Alf P. Steinbach wrote:
>> wmic volume list brief
> 
> Hi Alf,
> 
> Diskpart (as administrator) is the only utility
> that will list mirror volumes.  Note the
> differences between the report for J: below
> 
> 
> -T
> 
> C>diskpart
> 
> Microsoft DiskPart version 10.0.22621.1
> 
> Copyright (C) Microsoft Corporation.
> On computer: KVM-W11
> 
> DISKPART> list volume
> 
>    Volume ###  Ltr  Label        Fs     Type        Size     Status     
> Info
>    ----------  ---  -----------  -----  ----------  -------  --------- 
> --------
>    Volume 0     J   BACKUP       NTFS   Mirror        69 MB  Healthy
> ...
> 
> 
> 
>  >wmic volume list brief
> Capacity     DriveType  FileSystem  FreeSpace    Label Name
> 73396224     3          NTFS        58589184     BACKUP              F:\
> 63637024768  3          NTFS        33665376256                      C:\
> 661647360    3          NTFS        87003136 
> \\?\Volume{87e27543-bc3d-4f97-b7bc-321d8451c994}\
> 100663296    3          FAT32       67761152 
> \\?\Volume{d8fe8f8c-3c0b-4164-b282-da7270e7e411}\
> 72347648     3          NTFS        57581568     BACKUP              J:\
> 4335380480   5          UDF         0            22000.1_X64_EN-US   D:\
> 532060160    5          CDFS        0            virtio-win-0.1.225  E:\
> 1694498816   5          CDFS        0            Fedora-Xfce-Live    G:\

Oh. Well I don't have any mirrored volumes to test this with, but the 
docs say that `fsutil volume list` lists /all/ volumes on the system.

<url: 
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-volume>

"list	Lists all of the volumes on the system."


---------------------------------------------------------------------
[C:\root\temp]
 > fsutil volume list
Possible volumes and current mount points are:

\\?\Volume{8cd6348d-459b-4886-8356-86fd8fc094db}\
C:\

\\?\Volume{a4069431-b4bd-4e1d-af34-e433ebccf585}\

\\?\Volume{fe18d3d2-8a44-4b3a-86cf-ce555ee308dd}\
D:\

\\?\Volume{511a54e0-b6d4-49b9-8000-e202ce217be7}\


[C:\root\temp]
 > wmic volume list brief
Capacity       DriveType  FileSystem  FreeSpace      Label 
      Name
510770802688   3          NTFS        108444856320 
      C:\
1043329024     3          NTFS        317726720      WinRE_DRV 
      \\?\Volume{a4069431-b4bd-4e1d-af34-e433ebccf585}\
8001427599360  3          NTFS        3994988654592  Seagate Expansion 
Drive  D:\
268435456      3          FAT32       231571456      SYSTEM 
      \\?\Volume{511a54e0-b6d4-49b9-8000-e202ce217be7}\
---------------------------------------------------------------------


Disclaimer: I only tested that that sub-command doesn't require elevated 
access in Windows 11. I remember that fsutil was one of the things 
totally "security"-fouled up in Windows Vista. It's hard to keep track 
of Microsoft's endless bug introductions, partial bug fixes and willy 
nilly changes of things, and I don't even try that any more, so.


- Alf

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-14 00:39 -0800
  Re: What is a `**ppEnum`? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-11-14 01:29 -0800
    Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-14 01:46 -0800
      Re: What is a `**ppEnum`? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-11-14 01:52 -0800
        Re: What is a `**ppEnum`? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-11-14 01:55 -0800
      Re: What is a `**ppEnum`? Öö Tiib <ootiib@hot.ee> - 2022-11-14 02:30 -0800
        Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-14 02:38 -0800
          Re: What is a `**ppEnum`? Öö Tiib <ootiib@hot.ee> - 2022-11-14 02:48 -0800
  Re: What is a `**ppEnum`? Öö Tiib <ootiib@hot.ee> - 2022-11-14 01:39 -0800
    Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-14 01:48 -0800
      Re: What is a `**ppEnum`? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-11-14 02:01 -0800
      Re: What is a `**ppEnum`? Öö Tiib <ootiib@hot.ee> - 2022-11-14 02:33 -0800
        Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-14 02:59 -0800
          Re: What is a `**ppEnum`? Öö Tiib <ootiib@hot.ee> - 2022-11-14 03:33 -0800
            Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-14 11:10 -0800
          Re: What is a `**ppEnum`? Juha Nieminen <nospam@thanks.invalid> - 2022-11-16 09:47 +0000
            Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-16 15:55 -0800
              Re: What is a `**ppEnum`? scott@slp53.sl.home (Scott Lurndal) - 2022-11-17 00:19 +0000
              Re: What is a `**ppEnum`? Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2022-11-17 01:21 +0000
                Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-16 18:01 -0800
                Re: What is a `**ppEnum`? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-11-16 18:40 -0800
                Re: What is a `**ppEnum`? Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2022-11-17 04:18 +0000
              Re: What is a `**ppEnum`? Juha Nieminen <nospam@thanks.invalid> - 2022-11-17 08:25 +0000
                Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-17 00:31 -0800
                Re: What is a `**ppEnum`? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-11-17 10:17 -0800
              Re: What is a `**ppEnum`? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-11-17 13:03 +0000
                Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-17 10:28 -0800
          Re: What is a `**ppEnum`? Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2022-11-17 03:36 +0000
            Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-16 20:57 -0800
  Re: What is a `**ppEnum`? "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2022-11-14 14:34 +0100
    Re: What is a `**ppEnum`? "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2022-11-14 14:44 +0100
    Re: What is a `**ppEnum`? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-11-14 09:12 -0800
    Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-14 11:02 -0800
      Re: What is a `**ppEnum`? Ralf Fassel <ralfixx@gmx.de> - 2022-11-15 10:17 +0100
        Re: What is a `**ppEnum`? Öö Tiib <ootiib@hot.ee> - 2022-11-15 04:24 -0800
      Re: What is a `**ppEnum`? "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2022-11-15 14:04 +0100
        Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-15 08:28 -0800
          Re: What is a `**ppEnum`? "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2022-11-17 16:21 +0100
            Re: What is a `**ppEnum`? T <T@invalid.invalid> - 2022-11-17 16:39 -0800
              Re: What is a `**ppEnum`? "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2022-11-19 14:16 +0100

csiph-web