Author Topic: tmp on SD home on SD  (Read 2244 times)

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
tmp on SD home on SD
« 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 ???
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
tmp on SD home on SD
« Reply #1 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.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
tmp on SD home on SD
« Reply #2 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....
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307