DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-03-23 11:30:09

caust1c
Member
Registered: 2010-01-03
Posts: 35

Optware: Ipkg using /tmp to install and running out of space

I had been playing around with Optware and gotten it running great with ffp0.5 and fw1.08, survived reboot and all.  I installed a package and it ran perfectly.  After the next one I noticed it was failing to install with ipkg stating my device had insufficient space.  It seems that it uses /tmp when unpacking things and that was filling up.  On a fresh reboot I have 1.8m free of my 9.7m dev/ram0 (root) directory.  After doing a package or two that was filled. 

I did some searching and can't seem to find a solution to this other than clearing out /tmp or rebooting...  I am rather scared of deleting from /tmp while running.

Is there any way to change where Ipkg will unpack or use as a /tmp directory?  I cannot find this on my own!  Anyone else solve this issue?

Thanks!

Offline

 

#2 2010-03-23 12:37:53

Kai
Member
Registered: 2009-05-30
Posts: 27

Re: Optware: Ipkg using /tmp to install and running out of space

ipkg -t or ipkg --tmp-dir should do the job

Offline

 

#3 2010-03-23 14:13:05

haim
Member
Registered: 2010-01-13
Posts: 83

Re: Optware: Ipkg using /tmp to install and running out of space

"You can set PATH environment varaible in /etc/profile to include /opt/bin and /opt/sbin. Also consider setting TMPDIR environment variable in /etc/profile if the default /tmp is too small for certain programs."

Thats a copy paste from the optware on dns 323 page at n2slu2
http://www.nslu2-linux.org/wiki/Optware/Dns323

Theres a link to it from the local wiki's optware howto.

Offline

 

#4 2010-03-23 20:46:19

caust1c
Member
Registered: 2010-01-03
Posts: 35

Re: Optware: Ipkg using /tmp to install and running out of space

Too easy... Thanks for the help!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB