Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[IDEA] Making best use of 512mb Pi with tmpfs
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Idea: Making best use of 512mb Pi with tmpfs
15th Apr, 2013, 02:03 PM
Post: #5
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Making best use of 512mb Pi with tmpfs
despite the changes which are comming, I still like the idea of putting xbmc ./temp and some other caching files into memory.

debian is finally implementing standard linux features (8 years old!!!) like tmpfs shm on it etc - as standard feature.

@JayBlanc specially for this purpose I would choose /run/shm, not /tmp and /tmp I would leave solid. It's ok for you if you knows you system, but general many things can go wrong. /tmp is defined in posix with no limit in size. linux is changing /tmp from permanent to clean on reboot storage, but still no size limit.

feel free to play with /etc/default/tmpfs file, everything is managed via init according to those params.

and if you use mount --bind instead of delete / create symlinks, it will be completely transparent

(fstab records)
/run/shm /home/xbian/.xbmc/temp none bind 0 0
/run/shm /home/xbian/.xbmc/userdata/addon_data/script.common.plugin.cache none bind 0 0

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Making best use of 512mb Pi with tmpfs - JayBlanc - 9th Apr, 2013, 08:06 AM
Making best use of 512mb Pi with tmpfs - Koenkk - 9th Apr, 2013, 08:52 AM
RE: Making best use of 512mb Pi with tmpfs - CurlyMo - 9th Apr, 2013, 06:15 PM
RE: Making best use of 512mb Pi with tmpfs - JayBlanc - 13th Apr, 2013, 05:19 AM
RE: Making best use of 512mb Pi with tmpfs - mk01 - 15th Apr, 2013 02:03 PM
RE: Making best use of 512mb Pi with tmpfs - namtih - 16th Apr, 2013, 02:53 AM
RE: Making best use of 512mb Pi with tmpfs - JayBlanc - 21st Jun, 2013, 07:18 AM
RE: Making best use of 512mb Pi with tmpfs - mk01 - 23rd Jun, 2013, 01:22 AM
Re: RE: Making best use of 512mb Pi with tmpfs - f1vefour - 23rd Jun, 2013, 05:44 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 02:25 PM Powered By MyBB, © 2002-2025 MyBB Group.