Module Name: src
Committed By: christos
Date: Wed Mar 4 16:18:04 UTC 2015
Modified Files:
src/share/examples/fstab: fstab.ramdisk
Log Message:
add a shm example
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/examples/fstab/fstab.ramdisk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/examples/fstab/fstab.ramdisk
diff -u src/share/examples/fstab/fstab.ramdisk:1.4 src/share/examples/fstab/fstab.ramdisk:1.5
--- src/share/examples/fstab/fstab.ramdisk:1.4 Sat Dec 24 07:59:21 2005
+++ src/share/examples/fstab/fstab.ramdisk Wed Mar 4 11:18:04 2015
@@ -1,4 +1,4 @@
-# $NetBSD: fstab.ramdisk,v 1.4 2005/12/24 12:59:21 jmmv Exp $
+# $NetBSD: fstab.ramdisk,v 1.5 2015/03/04 16:18:04 christos Exp $
#
# Sample fstab for multiple ramdisks (mfs and tmpfs).
#
@@ -30,3 +30,6 @@ tmpfs /tmp tmpfs rw
# Mounts a tmpfs instance to be used by a specific user.
#tmpfs /home/foo/tmp tmpfs rw,-ufoo,-gusers,-s50M
+
+# Shared memory tempfs template allocating 25% of available memory
+tmpfs /var/shm tmpfs rw,-m1777,-sram%25