Merge fstab.tmpfs into fstab.ramdisk so that the file names represent
concepts rather than specific file systems. Suggested by hubertf@.
This commit is contained in:
parent
6454c469ea
commit
bb99282370
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: mi,v 1.128 2005/10/11 13:40:21 peter Exp $
|
||||
# $NetBSD: mi,v 1.129 2005/12/24 12:59:21 jmmv Exp $
|
||||
./etc/mtree/set.misc misc-sys-root
|
||||
./usr/share/dict/README misc-reference-share share
|
||||
./usr/share/dict/american misc-reference-share share
|
||||
|
@ -503,7 +503,7 @@
|
|||
./usr/share/examples/fstab/fstab.sd0.2 misc-fstab-examples share
|
||||
./usr/share/examples/fstab/fstab.sd0.amiga misc-fstab-examples share
|
||||
./usr/share/examples/fstab/fstab.sd0.atari misc-fstab-examples share
|
||||
./usr/share/examples/fstab/fstab.tmpfs misc-fstab-examples share
|
||||
./usr/share/examples/fstab/fstab.tmpfs misc-obsolete obsolete
|
||||
./usr/share/examples/fstab/fstab.wd0.1 misc-fstab-examples share
|
||||
./usr/share/examples/fstab/fstab.wd0.2 misc-fstab-examples share
|
||||
./usr/share/examples/fstab/fstab.wd0.3 misc-fstab-examples share
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2005/09/30 12:55:13 simonb Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2005/12/24 12:59:21 jmmv Exp $
|
||||
|
||||
NOOBJ= # defined
|
||||
|
||||
|
@ -12,7 +12,6 @@ FILES= fstab.cdrom \
|
|||
fstab.ramdisk \
|
||||
fstab.rd \
|
||||
fstab.sd0.1 fstab.sd0.2 fstab.sd0.amiga fstab.sd0.atari \
|
||||
fstab.tmpfs \
|
||||
fstab.wd0.1 fstab.wd0.2 fstab.wd0.3 fstab.wd0.cobalt
|
||||
FILESDIR=/usr/share/examples/fstab
|
||||
.endif
|
||||
|
|
|
@ -1,7 +1,32 @@
|
|||
# $NetBSD: fstab.ramdisk,v 1.3 2005/11/27 14:11:44 sketch Exp $
|
||||
# $NetBSD: fstab.ramdisk,v 1.4 2005/12/24 12:59:21 jmmv Exp $
|
||||
#
|
||||
# Sample fstab for ramdisk (mfs) based /tmp filesystem.
|
||||
# Sample fstab for multiple ramdisks (mfs and tmpfs).
|
||||
#
|
||||
|
||||
#
|
||||
# mfs examples
|
||||
#
|
||||
|
||||
# /tmp is on a 5MB mfs partition; see mount_mfs(8) for details.
|
||||
# Adjust the size according to the amount of free RAM.
|
||||
swap /tmp mfs rw,-s=5m,nodev,nosuid
|
||||
|
||||
#
|
||||
swap /tmp mfs rw,-s=5m,nodev,nosuid
|
||||
# tmpfs examples
|
||||
#
|
||||
|
||||
# Standard tmpfs entry for /tmp.
|
||||
tmpfs /tmp tmpfs rw
|
||||
|
||||
# Standard tmpfs entry for /var/run.
|
||||
#tmpfs /var/run tmpfs rw
|
||||
# Note that for this to work correctly you must add /var/run to the list
|
||||
# of critical local file systems in /etc/rc.conf. You can do so by adding
|
||||
# the following to that file:
|
||||
#critical_filesystems_local="${critical_filesystems_local} /var/run"
|
||||
|
||||
# Mounts tmpfs over /tmp with a size limit.
|
||||
#tmpfs /tmp tmpfs rw,-s128M
|
||||
|
||||
# Mounts a tmpfs instance to be used by a specific user.
|
||||
#tmpfs /home/foo/tmp tmpfs rw,-ufoo,-gusers,-s50M
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
# $NetBSD: fstab.tmpfs,v 1.2 2005/10/03 19:56:04 jmmv Exp $
|
||||
|
||||
# Standard tmpfs entry for /tmp.
|
||||
tmpfs /tmp tmpfs rw
|
||||
|
||||
# Standard tmpfs entry for /var/run.
|
||||
#tmpfs /var/run tmpfs rw
|
||||
# Note that for this to work correctly you must add /var/run to the list
|
||||
# of critical local file systems in /etc/rc.conf. You can do so by adding
|
||||
# the following to that file:
|
||||
#critical_filesystems_local="${critical_filesystems_local} /var/run"
|
||||
|
||||
# Mounts tmpfs over /tmp with a size limit.
|
||||
#tmpfs /tmp tmpfs rw,-s128M
|
||||
|
||||
# Mounts a tmpfs instance to be used by a specific user.
|
||||
#tmpfs /home/foo/tmp tmpfs rw,-ufoo,-gusers,-s50M
|
Loading…
Reference in New Issue