-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(disk/lsblk): support older lsblk without JSON mode, using --pairs (…
…#278) Cherry-picked from #275. Address #272. /cc @sunhailin-Leo --------- Signed-off-by: Gyuho Lee <[email protected]> Co-authored-by: sunhailinLeo <[email protected]>
- Loading branch information
1 parent
958ec16
commit bfb70b4
Showing
3 changed files
with
270 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
NAME="/dev/sda" TYPE="disk" SIZE="959656755200" ROTA="0" SERIAL="600062b20b6056002b4c9a038d0f9a62" WWN="0x600062b20b605600" VENDOR="AVAGO " MODEL="INSPUR " REV="5.22" MOUNTPOINT="" FSTYPE="" PARTUUID="" PKNAME="" | ||
NAME="/dev/sda1" TYPE="part" SIZE="209715200" ROTA="0" SERIAL="" WWN="0x600062b20b605600" VENDOR="" MODEL="" REV="" MOUNTPOINT="/boot/efi" FSTYPE="vfat" PARTUUID="57928472-752e-42d0-a910-d293e87d21b8" PKNAME="/dev/sda" | ||
NAME="/dev/sda2" TYPE="part" SIZE="1073741824" ROTA="0" SERIAL="" WWN="0x600062b20b605600" VENDOR="" MODEL="" REV="" MOUNTPOINT="/boot" FSTYPE="xfs" PARTUUID="2cb1faf9-e22c-4fda-b8e0-761093c0f89c" PKNAME="/dev/sda" | ||
NAME="/dev/sda3" TYPE="part" SIZE="958371201024" ROTA="0" SERIAL="" WWN="0x600062b20b605600" VENDOR="" MODEL="" REV="" MOUNTPOINT="" FSTYPE="LVM2_member" PARTUUID="399fae2e-c11a-4f06-9257-8274b7b40014" PKNAME="/dev/sda" | ||
NAME="/dev/mapper/centos-root" TYPE="lvm" SIZE="924009365504" ROTA="0" SERIAL="" WWN="" VENDOR="" MODEL="" REV="" MOUNTPOINT="/" FSTYPE="xfs" PARTUUID="" PKNAME="/dev/sda3" | ||
NAME="/dev/mapper/centos-swap" TYPE="lvm" SIZE="34359738368" ROTA="0" SERIAL="" WWN="" VENDOR="" MODEL="" REV="" MOUNTPOINT="" FSTYPE="swap" PARTUUID="" PKNAME="/dev/sda3" | ||
NAME="/dev/nvme0n1" TYPE="disk" SIZE="3200631791616" ROTA="0" SERIAL="PHLN231204BN3P2FGN" WWN="eui.01000000010000005cd2e44f8f7e5551" VENDOR="" MODEL="INTEL SSDPE2KE032T8 " REV="" MOUNTPOINT="/data1" FSTYPE="xfs" PARTUUID="" PKNAME="" | ||
NAME="/dev/nvme1n1" TYPE="disk" SIZE="3200631791616" ROTA="0" SERIAL="PHLN2312047T3P2FGN" WWN="eui.01000000010000005cd2e4cc8e7e5551" VENDOR="" MODEL="INTEL SSDPE2KE032T8 " REV="" MOUNTPOINT="/data2" FSTYPE="xfs" PARTUUID="" PKNAME="" |