Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/examples/fstab add a shm example
details:   https://anonhg.NetBSD.org/src/rev/4e94e08c7973
branches:  trunk
changeset: 336515:4e94e08c7973
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 04 16:18:04 2015 +0000
description:
add a shm example
diffstat:
 share/examples/fstab/fstab.ramdisk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 2519cb465fd0 -r 4e94e08c7973 share/examples/fstab/fstab.ramdisk
--- a/share/examples/fstab/fstab.ramdisk        Wed Mar 04 14:54:38 2015 +0000
+++ b/share/examples/fstab/fstab.ramdisk        Wed Mar 04 16:18:04 2015 +0000
@@ -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 @@
 
 # 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
Home |
Main Index |
Thread Index |
Old Index