1 # $NetBSD: fstab.ramdisk,v 1.3 2005/11/27 14:11:44 sketch Exp $
3 # Sample fstab for multiple ramdisks (mfs and tmpfs).
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.
12 swap /tmp mfs rw,-s=5m,nodev,nosuid
18 # Standard tmpfs entry for /tmp.
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"
28 # Mounts tmpfs over /tmp with a size limit.
29 #tmpfs /tmp tmpfs rw,-s128M
31 # Mounts a tmpfs instance to be used by a specific user.
32 #tmpfs /home/foo/tmp tmpfs rw,-ufoo,-gusers,-s50M