Fix get_block_device_list() function:
authorMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 2 Aug 2006 18:21:27 +0000 (18:21 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 2 Aug 2006 18:21:27 +0000 (18:21 +0000)
commitfc8a2fd1a0d41a95223534dfd155b982c7ad5107
tree134dfd8394b3fda25f711d5c2c19c4fc01c855ff
parent7804369e701d610fe47a23e4778042b93ffa78d7
Fix get_block_device_list() function:
- search for well known block device names (sdX, hdX, cciss/cXdX)
  as raw block devices
- run sfdisk against the proper cciss block device names
- use open("w") to determine if a block device is writable,
  rather than running hdparm
source/systeminfo.py