|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Running system in tmpfs or with readonly root
Hello! I currently use an old laptop with 768mb ram as my router running hardened gentoo.
Since I do not trust the old harddrive, I created an initrd that squashes the root filesystem onto tmpfs then runs off of that. This also has the added bonus that if the computer ever crashes(Or power is lost) I don't have to worry about a corrupt filesystem. Now i'm considering switching to openbsd. Partly because i'm curious, and partly because keeping gentoo updated is a lot of work. The only software I will use is: openvpn,sshd,squid(transparent if possible. Only used for caching),rsyslog(remote logging),ntpd,tmux,dhcpcd(or any alternative..) and finally cron. How would you recommend I set this up? If I can't run the whole system in tmpfs, can I do it with read-only root? I'm also curious about running all the services in a guest os. Any input is much appreciated. Thank you! |
|
||||
Hello, and welcome.
My live media (link in .sig) run with read/only ISO9660 filesystems from CD/DVD, with six read/write Memory File Systems (MFS) mounted: /dev, /etc, /root, /var, /home, and /tmp. This is done with a modified /etc/rc script. See mount_mfs(8) for details on creating "ramdisk" filesystems. |
|
|||
Thank you so much for the tip. Will check it out. All i'm missing is the time to rewrite my netfilter rules for use with pf.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
tmpfs on OpenBSD | tmpusr | OpenBSD General | 4 | 12th August 2016 08:42 PM |
Create MS/XP file system so it will be recognized on a XP system. | FBSD | Guides | 0 | 1st May 2010 06:49 AM |
Cloning or duplicating a running system using dump/restore | FBSD | Guides | 0 | 26th February 2010 09:31 AM |
DragonFly BSD Update on tmpfs and swapcache work (in master) | J65nko | News | 1 | 22nd February 2010 01:32 AM |
Which file system use to share data on Bsd system? | aleunix | Other BSD and UNIX/UNIX-like | 2 | 1st June 2008 04:14 PM |