Technical data

SunOS 5.5 File Systems tmpfs(7FS)
SEE ALSO df(1M), mount(1M), mount_tmpfs(1M), swap(1M), mmap(2), mount(2), umount(2),
vfstab(4)
System Administration Guide, Volume I
DIAGNOSTICS If tmpfs runs out of space, one of the following messages will be printed to the console.
directory: File system full, swap space limit exceeded
This message is printed because a page could not be allocated while writing to a
file. This can occur if tmpfs is attempting to write more than it is allowed, or if
currently executing programs are using a lot of memory. To make more space
available, remove unnecessary files, exit from some programs, or allocate more
swap space using swap(1M).
directory: File system full, memory allocation failed.
tmpfs ran out of physical memory while attempting to create a new file or direc-
tory. Remove unnecessary files or directories or install more physical memory.
WARNINGS Files and directories on a tmpfs filesystem are not preserved across reboots or unmounts.
Command scripts or programs which count on this will not work as expected.
NOTES Compilers do not necessarily use /tmp to write intermediate files therefore missing some
significant performance benefits. This can be remedied by settingthe environment vari-
able TMPDIR to /tmp. Compilers use the value in this environment variable as the name
of the directory to store intermediate files.
swap to a tmpfs file is not supported.
df(1M) output is of limited accuracy since a tmpfs filesystem size is not static and the
space available to tmpfs is dependent on the swap space demands of the entire system.
modified 9 Oct 1990 7FS-377