...or just read fdisk source code!
In reply to Re: List drives in linux using Perl by salva in thread List drives in linux using Perl by doubledecker