tmpfs(5)


NAME

   tmpfs - a virtual memory filesystem

DESCRIPTION

   The  tmpfs  facility  allows the creation of filesystems whose contents
   reside  in  virtual  memory.   Since  the  files  on  such  filesystems
   typically reside in RAM, file access is extremely fast.

   The filesystem is automatically created when mounting a filesystem with
   the type tmpfs via a command such as the following:

       $ sudo mount -t tmpfs -o size=10M tmpfs /mnt/mytmpfs

   A tmpfs filesystem has the following properties:

   *  The filesystem can employ swap space when physical  memory  pressure
      demands it.

   *  The size option can be used to specify an upper limit on the size of
      the filesystem.  (The default size is  half  of  the  available  RAM
      size.)   The  filesystem  consumes  only as much physical memory and
      swap space as is required to  store  the  current  contents  of  the
      filesystem.

   *  During  a  remount operation (mount -o remount), the filesystem size
      can  be  changed  (without  losing  the  existing  contents  of  the
      filesystem).

   If a tmpfs filesystem is unmounted, its contents are discarded (lost).

VERSIONS

   The  tmpfs facility was added in Linux 2.4, as a successor to the older
   ramfs facility, which did not provide limit checking or allow  for  the
   use of swap space.

NOTES

   For  a  description  of  the  mount  options  that may be employed when
   mounting a tmpfs filesystem, see mount(8).

   In order to for user-space  tools  and  applications  to  create  tmpfs
   filesystems,  the  kernel  must  be  configured  with  the CONFIG_TMPFS
   option.

   An internal shared memory filesystem is used for System V shared memory
   (shmget(2))  and shared anonymous mappings (mmap(2) with the MAP_SHARED
   and MAP_ANONYMOUS flags).  This filesystem is available  regardless  of
   whether the kernel was configured with the CONFIG_TMPFS option.

   A  tmpfs  filesystem mounted at /dev/shm as used for the implementation
   of  POSIX  shared  memory  (shm_overview(7))   and   POSIX   semaphores
   (sem_overview(7)).

   The  amount of memory consumed by all tmpfs filesystems is shown in the
   Shmem field of /proc/meminfo and  in  the  shared  field  displayed  by
   free(1).

   The tmpfs facility was formerly called shmfs.

SEE ALSO

   df(1), du(1), mount(8)

   The kernel source file Documentation/filesystems/tmpfs.txt.

COLOPHON

   This  page  is  part of release 4.09 of the Linux man-pages project.  A
   description of the project, information about reporting bugs,  and  the
   latest     version     of     this    page,    can    be    found    at
   https://www.kernel.org/doc/man-pages/.





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.