Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TMPFS(5)		      File Formats Manual		      TMPFS(5)

NAME
       tmpfs --	efficient memory file system

SYNOPSIS
       To  compile  this  driver  into the kernel, place the following line in
       your kernel configuration file:

	     options TMPFS

       Alternatively, to load the driver as a module at	boot time,  place  the
       following line in loader.conf(5):

	     tmpfs_load="YES"

DESCRIPTION
       The  tmpfs  driver  will	permit the FreeBSD kernel to access tmpfs file
       systems.

OPTIONS
       The following options are available when	mounting tmpfs file systems:

       gid     root group id.

       uid     root user id.

       mode    permissions in octal format.

       inodes  maximum number of inodes.

       size    maximum size (in	bytes) for the file system.

EXAMPLES
       To mount	a tmpfs	memory file system:

	     mount -t tmpfs tmpfs /tmp

SEE ALSO
       nmount(2), unmount(2), fstab(5),	mount(8)

HISTORY
       The tmpfs driver	first appeared in FreeBSD 7.0.

AUTHORS
       The tmpfs kernel	implementation was written by Julio  M.	 Merino	 Vidal
       <jmmv@NetBSD.org> as a Google SoC project.

       Rohit Jalan and others ported it	from NetBSD to FreeBSD.

       This manual page	was written by Xin LI <delphij@FreeBSD.org>.

BUGS
       The  tmpfs  kernel implementation is currently considered as an experi-
       mental feature.	Some file system mount time options are	not well  sup-
       ported.

FreeBSD	8.2			 June 12, 2008			      TMPFS(5)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=tmpfs&manpath=FreeBSD+8.2-RELEASE+and+Ports>

home | help