Buffering to USB
#1
I have changed my advanced settings to cache the video streamming to disk with <cachemembuffersize>0</cachemembuffersize>.
I'd like to use a pendrive to store the cache instead of /tmp to reduce "wear-and-tear" on my SD.
Is this possible? Can someone tell me how to do it?

Thank you.
Reply
#2
I'm no linux crack, but shouldn't you be able to mount any OS path to any device/partition in cmdline.txt?
Reply
#3
You could probably use a symlink (pointed to your mounted USB), but I don´t think it caches to /tmp, does it?
I thought it used a path within the XBMC userdata, i.e. ~/.xbmc/temp, but I am not sure.

Easiest would be to just make a USB install and run your whole system from there.
I take it you use Raspbmc (same post as in the Raspbmc forum)?
If you want to move from a SD to a USB install you can try this: http://forum.stmlabs.com/showthread.php?tid=10159
But I recommend a fresh install though, you just need to choose USB install and everything will be setup for you.
You still need the SD to boot from.
Reply
#4
Actually ~/.xbmc/temp is a symlink to /tmp.

I've tried to mount my USB in /tmp via fstab but raspbmc doesn't seems to like it since it enters in a boot loop.

I'll keep trying to do it via symlinks or changing mount points, but would prefer to do it changing the cache file path if it could be possible.

I know it's possible to do a USB install, but it wouldn't solve the problem, the continuous read/write cycles could damage the system partition.
I think it's better to have two separate disks, one with the system files (SD card) and another with the cache files (USB disk) so if the second one gets damaged I can replace it without problems.
Reply
#5
Gonna post in one place only from now on: http://forum.stmlabs.com/showthread.php?...#pid103994

However, your question about changing the cache path within XBMC is probably better in this forum.
Reply

Logout Mark Read Team Forum Stats Members Help
Buffering to USB0