X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/2a32bb7e4b3f9c902f90d7e80adbc7ff42737557..f288364968155d9ac660e4bf58f38cdc79e8cfd5:/files/pc/tasks.py diff --git a/files/pc/tasks.py b/files/pc/tasks.py index 6e145b8..4c0cdb4 100644 --- a/files/pc/tasks.py +++ b/files/pc/tasks.py @@ -136,3 +136,10 @@ def budget(c): browse(c, CU_URL) +@task +def get_drive_info(c): + # List non-squash, non-tmp drives. + c.run('df -x squashfs -x tmpfs') + c.run('ls /dev/disk/by-label') + +