Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Use Ramdisk without reboot

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 971 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yswery
      last edited by

      I can see that in System settings we can check the 'use ram disk for /tmp and /var' which is awesome but it clearly states that a reboot is required.

      Is there a way (in command-line or a like) to safely set up ramdisk without the need to do a full reboot?

      GertjanG 1 Reply Last reply
      Reply Quote 0
      • GertjanG
        Gertjan @yswery
        last edited by

        @yswery

        Short answer : no.

        /var/ is heavily used by the system, see for yourself.
        Nearly every process has to be stopped first before the underlying file structure is changed.

        This is not a "lets' add a D:\ drive as a ram disk" situation, it replaces the actual /var/ and /tmp/

        No "help me" PM's please. Use the forum, the community will thank you.

        1 Reply Last reply
        Reply Quote 3
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          You could setup a ramdisk and mount it at the console for some other purpose.

          You can't set /tmp and/or /var to be ramdisks without rebooting.

          Steve

          1 Reply Last reply
          Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy