OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: gab74 on November 16, 2004, 06:40:06 am

Title: tmp on SD home on SD
Post by: gab74 on November 16, 2004, 06:40:06 am
To free more space on my SL6000 i want to put tmp dir and my home on a SD  ext2 formatted.

Any helps ?

for tmp dir I try :

# mkdir /mnt/card/tmp
#chmod a+rwx /mnt/card/tmp
# mv /dev/shm/tmp /dev/shm/tmpBAK
# ln -s /mnt/card/tmp /dev/shm/tmp

without success...

any helps ???
Title: tmp on SD home on SD
Post by: tumnus on November 16, 2004, 06:51:22 am
/dev/shm/tmp isn't a real directory as such. It's actually in RAM and should be limited to something like 1MB.

You don't want to put any temp directory on flash memory as it will wear it out a lot quicker than normal, like putting a swap file on it.

Sharp implemented the tmp directory like this so it doesn't wear out the internal storage.
Title: tmp on SD home on SD
Post by: gab74 on November 16, 2004, 11:18:42 am
My proble is i've only 4MB free on my Zaurus and when i try to install applications ipkg fails with : no space left on device, so i think to move tmp dir to SD....