Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


disk capacity shown in moode
#1
Lightbulb 
I have a USB drive attached, can I check how much free space is left without unplugging the drive through moode?
Reply
#2
You can do it from an SSH terminal. 

The following line in the example output below if for a 128GB  attached USB drive

/dev/sda1       115G  103G   12G  90% /media/VFAT128

Code:
df -h

# Example

pi@trx:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        30G  3.0G   26G  11% /
devtmpfs        904M     0  904M   0% /dev
tmpfs           937M     0  937M   0% /dev/shm
tmpfs           375M  1.7M  373M   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/mmcblk0p1  253M   51M  203M  20% /boot
/dev/sda1       115G  103G   12G  90% /media/VFAT128
tmpfs           188M     0  188M   0% /run/user/1000
pi@trx:~ $
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
thank you ;-)
Could it be added somewhere to the moode to check at startup?
Reply
#4
It could prolly be added to end of System info. I'll put it on the TODO list.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
great thanks
Reply


Forum Jump: