Re: Question The order of the output of virsh guestinfo --filesystem

2021-08-23 Thread liuyd.f...@fujitsu.com
Appreciate it ! On 8/23/21 11:44 PM, Michal Prívozník wrote: > On 8/23/21 1:19 PM, liuyd.f...@fujitsu.com wrote: >> Hi all. >> >> I'm curious about the output order of virsh guestinfo --filesystem. >> Is the output random? > >> virsh guestinfo output. >> It is not sorted by  name or total-bytes/us

Re: Question The order of the output of virsh guestinfo --filesystem

2021-08-23 Thread Michal Prívozník
On 8/23/21 1:19 PM, liuyd.f...@fujitsu.com wrote: > Hi all. > > I'm curious about the output order of virsh guestinfo --filesystem. > Is the output random? > virsh guestinfo output. > It is not sorted by  name or total-bytes/used-bytes It's in whatever order the guest agent reported. And lookin

Question The order of the output of virsh guestinfo --filesystem

2021-08-23 Thread liuyd.f...@fujitsu.com
Hi all. I'm curious about the output order of virsh guestinfo --filesystem. Is the output random? E.g Guest info ``` [root@localhost ~]# lsblk -Jp -o KNAME,FSTYPE,TYPE,MOUNTPOINT,PKNAME,SERIAL {    "blockdevices": [   {"kname": "/dev/sr0", "fstype": null, "type": "rom", "mountpoint": null