Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[US4264] feat(diskCR): add partition and filesystem info
added partition and filesystem info to DiskCR. If partitions are present on the disk, the partition type and filesystem information will be stored onto the diskCR. If the whole disk is formatted with a filesystem, that info will also be included The change will give the following output when a partitioned disk is described ... links: - /dev/disk/by-path/pci-0000:00:03.0-scsi-0:0:3:0 partitionDetails: - fileSystemType: None partitionType: "0x83" - fileSystemType: None partitionType: "0x8e" path: /dev/sdb stats: ... If the disk is formatted as a whole with a filesystem ... links: - /dev/disk/by-path/pci-0000:00:03.0-scsi-0:0:5:0 fileSystem: ext4 path: /dev/sdb stats: ... Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
- Loading branch information
Showing
8 changed files
with
133 additions
and
37 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
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
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