71be6dfd96
No setuid programs in /var -> mount -o nodev,nosuid Adding "noexec" in various places may cause too much damage (e.g. for running DEINSTALL scripts from /var/db/pkg, configure scripts, etc). Inspired by OpenBSD's afterboot(8) manpage.
8 lines
282 B
Plaintext
8 lines
282 B
Plaintext
# $NetBSD: fstab.ramdisk,v 1.2 2005/05/04 18:26:14 hubertf Exp $
|
|
#
|
|
# Sample fstab for ramdisk (mfs) based /tmp filesystem.
|
|
# /tmp is on a 5MB mfs partition; see mount_mfs(8) for details.
|
|
# Adjust the size according to the ammount of free RAM.
|
|
#
|
|
swap /tmp mfs rw,-s=5m,nodev,nosuid
|