From b5ddbdbe8d3061fb0ed6322a0973c2c04686550d Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 17 Jun 1998 07:46:29 +0000 Subject: [PATCH] Add example how to automount a local CD ROM. --- share/examples/amd/master | 3 ++- share/examples/amd/mnt | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 share/examples/amd/mnt diff --git a/share/examples/amd/master b/share/examples/amd/master index ec4023b2609b..239495b12d60 100644 --- a/share/examples/amd/master +++ b/share/examples/amd/master @@ -1,8 +1,9 @@ -# $NetBSD: master,v 1.2 1998/01/26 07:56:13 hubertf Exp $ +# $NetBSD: master,v 1.3 1998/06/17 07:46:29 tron Exp $ # # ** BE SURE TO REMOVE ANY COMMENT-LINES FROM THIS FILE BEFORE USING IT! ** # # Main config file, see amd(8). # -w 900 +/mnt /etc/amd/mnt /net /etc/amd/net diff --git a/share/examples/amd/mnt b/share/examples/amd/mnt new file mode 100644 index 000000000000..5d756d4f2be7 --- /dev/null +++ b/share/examples/amd/mnt @@ -0,0 +1,8 @@ +# $NetBSD: mnt,v 1.1 1998/06/17 07:46:29 tron Exp $ +# +# /mnt - mount local CD ROM by cd'ing into it: cd /mnt/cdrom +# be sure to mkdir /mnt before using this. +# +/defaults type:=cdfs;opts:=ro,nosuid,nodevs + +cdrom dev:=/dev/cd0a