Page 1 of 1

Is there a way to resize /dev/root?

Posted: Tue Jan 07, 2014 8:26 pm
by pgcudahy
Hello, I've got gargoyle running on a TP-link wr-741nd. It has a decent 28MB of space but after installing just one package (nano) I'm starting to get "No space left on device" errors.

When I run df I get

Code: Select all

root@Gargoyle:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  448.0K    392.0K     56.0K  88% /
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                    14.3M    452.0K     13.8M   3% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3          448.0K    392.0K     56.0K  88% /overlay
overlayfs:/overlay      448.0K    392.0K     56.0K  88% /
So I think I'm getting these out of space errors because /dev/root is full but there is still extra space in /tmp. Is there any way to resize /dev/root?

Re: Is there a way to resize /dev/root?

Posted: Wed Jan 08, 2014 11:42 am
by ericwong
/tmp is virtual memory, i.e physical RAM.
So, no, you can't really do that.