from sysfs import sys
for bdev in sys.block:
print bdev, str(int(bdev.size) / 1024 / 1024) + 'M'
forked from simontegelid/python-sysfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Python SysFS interface (dev fork)
License
villagertech/python-sysfs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python SysFS interface (dev fork)
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 100.0%