Author Topic: /tmp On /dev/shm  (Read 1889 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
/tmp On /dev/shm
« 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
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
/tmp On /dev/shm
« Reply #1 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.
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
/tmp On /dev/shm
« Reply #2 on: January 24, 2007, 12:51:50 am »
I have /tmp on microdrive since few months, have no problems.
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
/tmp On /dev/shm
« Reply #3 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
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
/tmp On /dev/shm
« Reply #4 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
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0