Revert "Revert "Handle LVM and RAID""

This reverts commit 30bf8d0418.
This commit is contained in:
James Dominic P. Guana
2021-04-10 18:20:13 +08:00
committed by Robert Roth
parent a067db0569
commit 48595809ed
6 changed files with 229 additions and 36 deletions

View File

@@ -61,8 +61,8 @@ skip_line (const char *p)
return (char *) (*p ? p+1 : p);
}
int
check_alphanumeric_word (const char *p);
void
get_from_pipe (char *buffer, const char *cmd)
/*
* Smart strtoul which handles binary suffixes