Check free space on the SD Card?
Posted: Thu Oct 21, 2021 6:35 pm
I was wondering how much space i have used since i have deleted some cd based games i will never play and added more then i deleted.
And sat there for a while and scratched the smoldering sawdust collector and wonder how?
I did not remember seeing any info in the mister gui or a script and took a look and nope!
And i do not want to plug the sd card into a computer just to check the space!
Some Linux command would probably do it but do not like the terminal and want something "gui like" and for this i would have to look up any linux command for checking hd space for probably the 500 time (yes goes in and goes out in 10seconds ).
Started to get really smokey in here by now
Then i thought hmm midnight commander?
So tried that over ssh but the "gui option" in "misters MC" is disabled/hidden and you need to turn it on in MC ini file.
You can edit the ini file with this in terminal for example putty, or directly on the mister.
And yes it is named only ini no file ending.
Then edit the ini file scroll down halfway to.
And change keybar_visible and menubar_visible to true.
I can´t remember (did i say, yes goes in and goes out in 10seconds ) if i did change free_space to true or not but if it is set to false change that too!
Then you can start up MC=midnight commander, change left or right panel to "info" by clicking the Left or Right text on the top then choose info.
Browse to a folder.
There are as far as i know two partitions "linux" and "mister", for me it is linux=355M, mister=238G.
Mister is where all games/cores/mister ini files and so on is so in MC you have to go back one time them /media/fat and you see the mister partition.
login to ssh with.
Name root
pass 1
Then if/when you want to go back to a dual file listing again, just click the same left/right text and choose file listing instead of info.
Now this is not user friendly at all to set up for a newbie or a half moron like myself , and a bit annoying to do after MC is setup.
So IS there any other way to easily check the free space on the sd card?
Preferably it should show both partitions just in case someone sometime happen to get a full linux partition.
Or why not a (i assume) simple script?
And sat there for a while and scratched the smoldering sawdust collector and wonder how?
I did not remember seeing any info in the mister gui or a script and took a look and nope!
And i do not want to plug the sd card into a computer just to check the space!
Some Linux command would probably do it but do not like the terminal and want something "gui like" and for this i would have to look up any linux command for checking hd space for probably the 500 time (yes goes in and goes out in 10seconds ).
Started to get really smokey in here by now
Then i thought hmm midnight commander?
So tried that over ssh but the "gui option" in "misters MC" is disabled/hidden and you need to turn it on in MC ini file.
You can edit the ini file with this in terminal for example putty, or directly on the mister.
And yes it is named only ini no file ending.
Code: Select all
nano ~/.config/mc/ini
Or if you orefer vi
vi ~/.config/mc/ini
Code: Select all
[Layout]
message_visible=true
keybar_visible=true
xterm_title=true
output_lines=0
command_prompt=true
menubar_visible=true
free_space=true
I can´t remember (did i say, yes goes in and goes out in 10seconds ) if i did change free_space to true or not but if it is set to false change that too!
Then you can start up MC=midnight commander, change left or right panel to "info" by clicking the Left or Right text on the top then choose info.
Browse to a folder.
There are as far as i know two partitions "linux" and "mister", for me it is linux=355M, mister=238G.
Mister is where all games/cores/mister ini files and so on is so in MC you have to go back one time them /media/fat and you see the mister partition.
login to ssh with.
Name root
pass 1
Then if/when you want to go back to a dual file listing again, just click the same left/right text and choose file listing instead of info.
Now this is not user friendly at all to set up for a newbie or a half moron like myself , and a bit annoying to do after MC is setup.
So IS there any other way to easily check the free space on the sd card?
Preferably it should show both partitions just in case someone sometime happen to get a full linux partition.
Or why not a (i assume) simple script?