1# $NetBSD: fstab.ramdisk,v 1.3 2005/11/27 14:11:44 sketch Exp $ 2# 3# Sample fstab for multiple ramdisks (mfs and tmpfs). 4# 5 6# 7# mfs examples 8# 9 10# /tmp is on a 5MB mfs partition; see mount_mfs(8) for details. 11# Adjust the size according to the amount of free RAM. 12swap /tmp mfs rw,-s=5m,nodev,nosuid 13 14# 15# tmpfs examples 16# 17 18# Standard tmpfs entry for /tmp. 19tmpfs /tmp tmpfs rw 20 21# Standard tmpfs entry for /var/run. 22#tmpfs /var/run tmpfs rw 23# Note that for this to work correctly you must add /var/run to the list 24# of critical local file systems in /etc/rc.conf. You can do so by adding 25# the following to that file: 26#critical_filesystems_local="${critical_filesystems_local} /var/run" 27 28# Mounts tmpfs over /tmp with a size limit. 29#tmpfs /tmp tmpfs rw,-s128M 30 31# Mounts a tmpfs instance to be used by a specific user. 32#tmpfs /home/foo/tmp tmpfs rw,-ufoo,-gusers,-s50M 33