Mention tmpmfs- and varmfs-related variables in Dir.Struc. chapter.
= Also mention rc.conf(5), /etc/fstab, and mdmfs(8) = Add note that /var/tmp files might then be lost on reboot. Based on a tmpmfs-related patch by Niclas Zeising. Approved by: keramida
This commit is contained in:
parent
ffb7c537b3
commit
b2b73de79d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25668
1 changed files with 20 additions and 7 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
<para>The following chapter will cover the basic commands and
|
||||
functionality of the FreeBSD operating system. Much of this
|
||||
material is relevant for any &unix; like operating system. Feel
|
||||
material is relevant for any &unix;-like operating system. Feel
|
||||
free to skim over this chapter if you are familiar with the
|
||||
material. If you are new to FreeBSD, then you will definitely
|
||||
want to read through this chapter carefully.</para>
|
||||
|
@ -140,7 +140,7 @@ login:</screen>
|
|||
|
||||
<para>Every multiuser system needs some way to distinguish one
|
||||
<quote>user</quote> from the rest. In FreeBSD (and all the
|
||||
&unix; like operating systems), this is accomplished by requiring that
|
||||
&unix;-like operating systems), this is accomplished by requiring that
|
||||
every user must <quote>log into</quote> the system before being able
|
||||
to run programs. Every user has a unique name (the
|
||||
<quote>username</quote>) and a personal, secret key (the
|
||||
|
@ -638,7 +638,9 @@ total 530
|
|||
that you may want to mount.</para>
|
||||
|
||||
<para>A mount point is a directory where additional file systems can
|
||||
be grafted onto the root file system. Standard mount points include
|
||||
be grafted onto the root file system.
|
||||
This is further described in <xref linkend="disk-organization">.
|
||||
Standard mount points include
|
||||
<filename>/usr</filename>, <filename>/var</filename>, <filename>/tmp</filename>,
|
||||
<filename>/mnt</filename>, and <filename>/cdrom</filename>. These
|
||||
directories are usually referenced to entries in the file
|
||||
|
@ -767,8 +769,11 @@ total 530
|
|||
<filename class="directory">/tmp</filename> are usually NOT
|
||||
preserved across a system reboot. A memory-based file system
|
||||
is often mounted at
|
||||
<filename class="directory">/tmp</filename>. See &man.mdmfs.8;
|
||||
(or &man.mfs.8; for FreeBSD 4.X).</entry>
|
||||
<filename class="directory">/tmp</filename>.
|
||||
This can be automated using the tmpmfs-related variables of
|
||||
&man.rc.conf.5 (or with an entry in
|
||||
<filename>/etc/fstab</filename>; see &man.mdmfs.8;,
|
||||
or for FreeBSD 4.X, &man.mfs.8;).</entry>
|
||||
</row>
|
||||
|
||||
|
||||
|
@ -857,7 +862,12 @@ total 530
|
|||
<row>
|
||||
<entry><filename class="directory">/var/</filename></entry>
|
||||
<entry>Multi-purpose log, temporary, transient, and spool files.
|
||||
</entry>
|
||||
A memory-based file system is sometimes mounted at
|
||||
<filename class="directory">/var</filename>.
|
||||
This can be automated using the varmfs-related variables of
|
||||
&man.rc.conf.5 (or with an entry in
|
||||
<filename>/etc/fstab</filename>; see &man.mdmfs.8;,
|
||||
or for FreeBSD 4.X, &man.mfs.8;).</entry>
|
||||
</row>
|
||||
|
||||
|
||||
|
@ -879,7 +889,10 @@ total 530
|
|||
|
||||
<row>
|
||||
<entry><filename class="directory">/var/tmp/</filename></entry>
|
||||
<entry>Temporary files that are kept between system reboots.</entry>
|
||||
<entry>Temporary files.
|
||||
The files are usually preserved across a system reboot,
|
||||
unless <filename class="directory">/var</filename>
|
||||
is a memory-based file system.</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
|
|
Loading…
Reference in a new issue