<filename>/etc/rc.d/var
</filename> mounts
<filename>/var
</filename> as a memory filesystem, makes a configurable list of directories in
<filename>/var
</filename> with the
<citerefentry><refentrytitle>mkdir
</refentrytitle><manvolnum>1
</manvolnum></citerefentry> command, and changes modes on some of those directories. In the execution of
<filename>/etc/rc.d/var
</filename>, one other
<filename>rc.conf
</filename> variable comes into play –
<literal>varsize
</literal>. A
<filename>/var
</filename> partition is created by
<filename>/etc/rc.d/var
</filename> based on the value of this variable in
<filename>rc.conf
</filename>: