Revert "Handle LVM and RAID"

This reverts commit 9cbb3b91f1.
This commit is contained in:
Michael Catanzaro
2020-11-06 09:52:00 -06:00
parent ea08151ae6
commit 30bf8d0418
6 changed files with 36 additions and 229 deletions

View File

@@ -42,14 +42,6 @@ G_BEGIN_DECLS
typedef struct _glibtop_disk glibtop_disk;
struct _partition_info
{
char name[256];
char type[256];
char raid_num[256];
int max;
};
struct _glibtop_disk
{
guint64 xdisk_sectors_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_READ */
@@ -58,7 +50,7 @@ struct _glibtop_disk
guint64 xdisk_time_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_WRITE */
};
void glibtop_get_disk (glibtop_disk *buf);
void glibtop_get_disk(glibtop_disk *buf);
#if GLIBTOP_SUID_DISK
#define glibtop_get_disk_r glibtop_get_disk_p