Revision 3c9a0742 tools/lvmstrap
b/tools/lvmstrap | ||
---|---|---|
376 | 376 |
for name in os.listdir("/sys/block"): |
377 | 377 |
if (not name.startswith("hd") and |
378 | 378 |
not name.startswith("sd") and |
379 |
not name.startswith("ubd")):
|
|
379 |
not name.startswith("ubd")):
|
|
380 | 380 |
continue |
381 | 381 |
|
382 | 382 |
size = ReadSize("/sys/block/%s" % name) |
Also available in: Unified diff