]> apps.delaporte.us Git - dotfiles.git/blobdiff - files/pc/tasks.py
Add drive mount info commands
[dotfiles.git] / files / pc / tasks.py
index 6e145b8c0f478d8eaeff121519afca600b032c18..4c0cdb483465c4c9b58dae2beaf6f171a20f0dbd 100644 (file)
@@ -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')
+
+