OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • Do ramdisk setting work?
« previous next »
  • Print
Pages: [1]

Author Topic: Do ramdisk setting work?  (Read 1709 times)

marktom

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Do ramdisk setting work?
« on: January 05, 2022, 11:56:25 am »
Hi folks,

System->Settings->Miscellaneous

/var RAM disk    Use memory file system for /var checked
/tmp RAM disk    Use memory file system for /tmp checked

and rebooted.

but fstab looks like:

# Device   Mountpoint   FStype   Options   Dump   Pass#
/dev/gpt/rootfs   /      ufs   rw   1   1

System:
OPNsense 21.7.1-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k 25 Mar 2021


Logged

8191

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 4
    • View Profile
Do ramdisk setting work?
« Reply #1 on: January 05, 2022, 02:06:02 pm »
Hi,
I've also checked both settings and my mount points look like this:

Code: [Select]
mf@houston:~ % mount
/dev/gpt/rootfs on / (ufs, local, noatime, soft-updates)
devfs on /dev (devfs, local, multilabel)
tmpfs on /var (tmpfs, local)
tmpfs on /tmp (tmpfs, local)
devfs on /var/dhcpd/dev (devfs, local, multilabel)
devfs on /var/unbound/dev (devfs, local, multilabel)

Checked on OPNsense 21.7.7 (but having this set since many releases).
« Last Edit: January 06, 2022, 11:07:02 am by 8191 »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17748
  • Karma: 1620
    • View Profile
Re: Do ramdisk setting work?
« Reply #2 on: January 06, 2022, 08:42:34 am »
As a general rule of thumb we don't ever touch /etc/fstab except for reading -- if this is your only reference point it would certainly look like nothing happens.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • Do ramdisk setting work?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2