[colug-432] Basic mount and tmpfs stuff

Rob Funk rfunk at funknet.net
Thu Feb 23 20:40:07 EST 2012


On Thursday, February 23, 2012 07:32:43 PM jep200404 at columbus.rr.com wrote:
> On Thu, 23 Feb 2012 18:59:27 -0500, Rob Stampfli <res at colnet.cmhnet.org> 
wrote:
>    sudo mount -t tmpfs - /var

That would be Bad. Everything in the system assumes that /var persists 
across reboots (starting with its top-level directory structure), even if 
parts of it (but not all of it) are somewhat expendable.
  http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY

Compare FHS's description of /var/tmp with its description of /tmp.
http://www.pathname.com/fhs/pub/fhs-2.3.html#VARTMPTEMPORARYFILESPRESERVEDBETWEE
http://www.pathname.com/fhs/pub/fhs-2.3.html#TMPTEMPORARYFILES


Of course, since we're takling about FHS it should be mentioned that times 
have changed a bit since the last version, most notably that /usr (and 
sometimes /var) is considered necessary at boot time and therefore not as 
good a candidate for separation as it was a decade ago.

-- 
==============================|   "A microscope locked in on one point
 Rob Funk <rfunk at funknet.net> |Never sees what kind of room that it's in"
 http://www.funknet.net/rfunk |    -- Chris Mars, "Stuck in Rewind"



More information about the colug-432 mailing list