From: Rudolf Polzer Date: Wed, 23 Sep 2015 15:16:49 +0000 (-0400) Subject: Mount httpfs to /http with custom flags, as caching the whole pk3 file won't work... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=df6872cd0ec02f485a79f832327d164d6f69e9b5;p=xonotic%2Fdarkplaces.git Mount httpfs to /http with custom flags, as caching the whole pk3 file won't work (hangs, don't know why). --- diff --git a/sys_sdl.c b/sys_sdl.c index 9d261de4..2ba791b6 100644 --- a/sys_sdl.c +++ b/sys_sdl.c @@ -208,6 +208,7 @@ static void NaCl_Init(void) mount("", "/dev", "dev", 0, ""); mount("", "/.config", "html5fs", 0, "type=PERSISTENT,expected_size=8388608"); mount("", "/.cache", "html5fs", 0, "type=TEMPORARY,expected_size=1073741824"); + mount("", "/http", "httpfs", 0, "cache_stat=true,cache_content=false"); int fd = open("/dev/console0", O_WRONLY, 0644); outfd = fd; }