From owner-freebsd-questions Thu Jun 8 17:12:40 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA03724 for questions-outgoing; Thu, 8 Jun 1995 17:12:40 -0700 Received: from specgw.spec.co.jp (specgw.spec.co.jp [202.32.13.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA03716 for ; Thu, 8 Jun 1995 17:12:35 -0700 Received: from tama3.spec.co.jp (tama3 [202.32.13.252]) by specgw.spec.co.jp (8.6.5/3.3Wb-SPEC) with SMTP id JAA23710; Fri, 9 Jun 1995 09:07:49 +0900 Message-Id: <9506090017.AA00027@tama3.spec.co.jp.spec.co.jp> Date: Fri, 09 Jun 1995 09:17:18 +0900 From: Atsushi Murai To: jmrueda@diatel.upm.es Cc: questions@freebsd.org Subject: Re: Automounting a CD-ROM In-Reply-To: <724*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/@MHS> X-Mailer: AL-Mail 0.94Beta Sender: questions-owner@freebsd.org Precedence: bulk Javier Martin Rueda writes: :I want to use amd to automount CD-ROMs. : :The idea is that whenever a user inserts a disk in the CD-ROM drive he/she :doesn't need to be root to mount the filesystem. Instead, the CD-ROM appears :automagically in /cdrom in read-only mode. : :I've never used amd or any other automounter before, and I've been looking at :the amd and amq man pages, as well as at a PostScript document included in the :sources of amd in FreeBSD 2.0R, but I haven't found at a first glance how to :do that. : :Can anybody please post an example configuration file for what I pretend? :Thanks in advance. : : How about these ? # *** NOTE: Only for use on /cdrom # *** This file was automatically generated -- DO NOT EDIT HERE *** # "fsinfo" run by root@tama.spec.co.jp on Mon May 29 21:18:07 1995 # /defaults type:=ufs cd0 host==buggy;type:=program;\ mount:="/sbin/mount_cd9660 mount_cd9660 /dev/cd0a ${fs}";\ unmount:="/sbin/umount umount /dev/cd0a"; # ~ -- Atsushi Murai E-Mail: amurai@spec.co.jp SPEC Voice : +81-3-3833-5341 System Planning and Engineering Corp.