Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5175

Advanced users • Re: Custom Linux, custom file system in RAM

$
0
0
Who knows how to find out how much RAM my initramfs takes up and how much memory is available to it? How do I change the amount of available memory?
I found a solution to why I didn't see the size of the root file system in output of df utility, I had to configure the df utility in the busybox configuration so that it would show the root file system.

Code:

# df -hFilesystem                Size      Used Available Use% Mounted onrootfs                    3.5G    238.0M      3.3G   7% /devtmpfs                  3.5G         0      3.5G   0% /devtmpfs                     3.8G         0      3.8G   0% /dev/shmtmpfs                     1.5G    616.0K      1.5G   0% /runtmpfs                     3.8G         0      3.8G   0% /tmp

Code:

make busybox-menuconfigCoreutils  --->[*] df (6.8)    [ ]   Skip rootfs in mount table <--- need to turn it off
Now you need to find out how to change the maximum size

Statistics: Posted by Hurin — Mon Mar 18, 2024 5:31 pm



Viewing all articles
Browse latest Browse all 5175

Trending Articles