Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jun 1995 09:17:18 +0900
From:      Atsushi Murai <amurai@spec.co.jp>
To:        jmrueda@diatel.upm.es
Cc:        questions@freebsd.org
Subject:   Re: Automounting a CD-ROM
Message-ID:  <9506090017.AA00027@tama3.spec.co.jp.spec.co.jp>
In-Reply-To: <724*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/@MHS>

next in thread | previous in thread | raw e-mail | index | archive | help
Javier Martin Rueda <jmrueda@diatel.upm.es> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9506090017.AA00027>