What's new

/root is full what to do

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

fearz

Senior Member
Filesystem Size Used Available Use% Mounted on
/dev/root 36.8M 36.8M 0 100% /
devtmpfs 251.4M 0 251.4M 0% /dev
tmpfs 251.6M 2.0M 249.5M 1% /tmp
/dev/mtdblock4 64.0M 10.6M 53.4M 16% /jffs
/dev/root 36.8M 36.8M 0 100% /usr/sbin/tc
/dev/sdf1 1.8G 29.8M 1.6G 2% /tmp/mnt/TheMiniWay


How to expand it or free it?
 
root (/dev/root) is always "full" because it's in ROM. That's normal.

/root is a symlink to /tmp/home/root so that resides in RAM. Your output shows it is only 1% used.
 
Last edited:
How to expand it or free it?

If you needs extra space in your home directory (ie. not "/" as above, but rather the home dir for root - ie. the dir you get when logged in and enter "cd ~"), you could use a USB and mount over existing.

Add the following (be sure to customize USB name) to your post-mount script in /jffs/scripts.
Code:
if [ "$1" = "/mnt/YOUR_USB_NAME_HERE" ];then
    mount -o bind $1/newroot /home/root
fi
You need to create folder "newroot" on your USB or whatever you want to call it.
 
If you needs extra space in your home directory (ie. not "/" as above, but rather the home dir for root - ie. the dir you get when logged in and enter "cd ~"), you could use a USB and mount over existing.

Add the following (be sure to customize USB name) to your post-mount script in /jffs/scripts.
Code:
if [ "$1" = "/mnt/YOUR_USB_NAME_HERE" ];then
    mount -o bind $1/newroot /home/root
fi
You need to create folder "newroot" on your USB or whatever you want to call it.
Thanks
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top