Posts: 15
Joined: Nov 2011
Reputation:
0
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.
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
I'm no linux crack, but shouldn't you be able to mount any OS path to any device/partition in cmdline.txt?
Posts: 15
Joined: Nov 2011
Reputation:
0
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.