OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: daniel3000 on January 23, 2007, 05:18:23 pm

Title: /tmp On /dev/shm
Post by: daniel3000 on January 23, 2007, 05:18:23 pm
Hello,

by default, /tmp is linked to /dev/shm/tmp.
On the C3x00, is it safe to re-link /tmp to some place on the microdrive, or does this any harm to the setup?

I guess this could free up some RAM and make available space in /tmp larger.

thanks
daniel
Title: /tmp On /dev/shm
Post by: Drake01 on January 23, 2007, 06:32:12 pm
Quote
by default, /tmp is linked to /dev/shm/tmp.
On the C3x00, is it safe to re-link /tmp to some place on the microdrive, or does this any harm to the setup?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152189\"][{POST_SNAPBACK}][/a][/div]
I recently re-linked /tmp because I needed more space.  However, I re-linked to a directory on an SD card.  The only ill effect I experienced was when I tried to start X and the SD card wasn't mounted.  (X puts a couple files in /tmp, apparently.)  Since you'd be linking to your microdrive, you should be immune to this.

/tmp is a RAM device, right?  So I guess it would be a space vs. performance issue.  You would have to decide which is more valuable.  After I no longer required the additional space in /tmp, I switched back to the original configuration.
Title: /tmp On /dev/shm
Post by: kkazakov13 on January 24, 2007, 12:51:50 am
I have /tmp on microdrive since few months, have no problems.
Title: /tmp On /dev/shm
Post by: daniel3000 on January 24, 2007, 08:22:23 am
Quote
I recently re-linked /tmp because I needed more space.  However, I re-linked to a directory on an SD card.  The only ill effect I experienced was when I tried to start X and the SD card wasn't mounted.  (X puts a couple files in /tmp, apparently.)  Since you'd be linking to your microdrive, you should be immune to this.

thanks. Will tr it.

Quote
/tmp is a RAM device, right?  So I guess it would be a space vs. performance issue.

I'm not sure if it is in flash or RAM.
/dev/shm: shm means "shared memory". This sound more like RAM, so performance would be great but RAM is small on the Zaurus, so I'd rather have it on MD.


daniel
Title: /tmp On /dev/shm
Post by: daniel3000 on January 24, 2007, 08:22:48 am
Quote
I have /tmp on microdrive since few months, have no problems.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152210\"][{POST_SNAPBACK}][/a][/div]

Thank you. So I will do so, too.

daniel