Is there a way to resize /dev/root?

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
pgcudahy
Posts: 2
Joined: Tue Dec 10, 2013 7:11 pm

Is there a way to resize /dev/root?

Post 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?

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

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

Post by ericwong »

/tmp is virtual memory, i.e physical RAM.
So, no, you can't really do that.
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

Post Reply