diff options
| author | christos <christos@NetBSD.org> | 2015-03-04 16:18:04 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2015-03-04 16:18:04 +0000 |
| commit | 31be0e2c8bcbe46c54856d72e56c35d66e2ece21 (patch) | |
| tree | 8aa6aa0c8cb7ea1f550cc5e3a6b3c92c09b92e42 | |
| parent | f38ad9139180d83f7230620d57f9a44865575026 (diff) | |
add a shm example
| -rw-r--r-- | share/examples/fstab/fstab.ramdisk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/examples/fstab/fstab.ramdisk b/share/examples/fstab/fstab.ramdisk index 87231c16528..57465009316 100644 --- a/share/examples/fstab/fstab.ramdisk +++ b/share/examples/fstab/fstab.ramdisk @@ -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 |
