How to configure /tmp in fstab as tmpfs?

Discussion in 'FreeNAS 4 N00bs' started by RobKamp, Apr 20, 2012.

  1. RobKamp New Member

    Member Since:
    Dec 29, 2011
    Message Count:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Occupation:
    IT Architect
    Location:
    the Netherlands
    RobKamp, Apr 20, 2012

    I am having trouble to use tmpfs as a filesystem for /tmp. Is there a way to achieve this using FreeNAS?

    So far I have tried several FreeBSD configurations to achieve this and have not succeeded.

    After executing

    mount -rw /

    I added the following line

    tmpfs /tmp tmpfs rw,size=1GB 0 0

    to

    /conf/base/etc/fstab

    only resulting in FreeNAS not booting anymore.

    If I first remove /tmp and then reboot the result is the same.

    Any help is welcome!
  2. Brand Moderator

    Member Since:
    May 27, 2011
    Message Count:
    142
    Likes Received:
    0
    Trophy Points:
    16
    Brand, Apr 20, 2012

    This really isn't a very good How-To Guide.
  3. ProtoSD Active Member

    Member Since:
    Jul 1, 2011
    Message Count:
    3,359
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Leaving FreeNAS
    ProtoSD, Apr 20, 2012

    You're right, it's not even a How-To, it's been moved....
  4. RobKamp New Member

    Member Since:
    Dec 29, 2011
    Message Count:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Occupation:
    IT Architect
    Location:
    the Netherlands
    RobKamp, Apr 23, 2012

    Thanks for moving this to the apporpriate thread.

Share This Page