Actions
Bug #2868
closedtmpfs problems: incorrect size, no auto-size
Status:
Closed
Priority:
Low
Assignee:
-
Category:
VFS subsystem
Target version:
-
Start date:
12/18/2015
Due date:
% Done:
0%
Estimated time:
Description
tmpfs version in DragonFly is limited when comparing to FreeBSD:
1. When tmpfs is mounted automatically it's size by default (per man page) should be equal to all free mem + all free swap. Instead tmpfs filesystems are created with a fairly small size - like 200k on host with 1G mem.
2. tmpfs size should be auto adjusted when other processes are eating mem or when swap is added. Instead as swap is initialized after mounting /tmp swap addition doesn't make tmpfs grow. On the other hand I never saw tmpfs shrinking when all available memory is used.
Actions