]> apps.delaporte.us Git - dotfiles.git/commitdiff
Add drive mount info commands
authorEdward Delaporte <edward@delaporte.us>
Tue, 3 Mar 2026 15:50:00 +0000 (09:50 -0600)
committerEdward Delaporte <edward@delaporte.us>
Tue, 3 Mar 2026 15:50:00 +0000 (09:50 -0600)
files/pc/tasks.py

index 6e145b8c0f478d8eaeff121519afca600b032c18..4c0cdb483465c4c9b58dae2beaf6f171a20f0dbd 100644 (file)
@@ -136,3 +136,10 @@ def budget(c):
     browse(c, CU_URL)
 
 
     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')
+
+