From owner-freebsd-questions Thu Jun 8 07:15:02 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA13015 for questions-outgoing; Thu, 8 Jun 1995 07:15:02 -0700 Received: from dvals1.larc.nasa.gov (dvals1.larc.nasa.gov [128.155.4.96]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA12992 for ; Thu, 8 Jun 1995 07:14:58 -0700 Received: (from branson@localhost) by dvals1.larc.nasa.gov (8.6.11/8.6.9) id KAA06676; Thu, 8 Jun 1995 10:13:58 -0400 From: Branson Matheson Message-Id: <199506081413.KAA06676@dvals1.larc.nasa.gov> Subject: Re: Automounting a CD-ROM To: jmrueda@diatel.upm.es (Javier Martin Rueda) Date: Thu, 8 Jun 1995 10:13:57 -0400 (EDT) Cc: questions@freebsd.org In-Reply-To: <724*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/@MHS> from "Javier Martin Rueda" at Jun 8, 95 03:51:31 pm X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1540 Sender: questions-owner@freebsd.org Precedence: bulk > > 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. We want somthing like this... but it isn't quite that automagic ( sgi has that but at the cost of pinging the scsi bus every 1 or two seconds yuk! ) what you can have is a directory that they can cd into and if there is a cdrom there, it will mount it. The problem exists that you cannot change the type of filesystem that is mounted with out doing some tom-foolery and using the program filesystem to mount the cd. If somone has as solution to this it could be very nice indeed ( might be somthing to think about including in the next release. ) I have not been able to get it to work. -branson -- MATHESON, E BRANSON E.B.MATHESON@LaRC.NASA.GOV Mail Stop 931 COMPUTER SCIENCES CORPORATION NASA Langley Research Center Assigned to Operations Support Division Hampton, VA 23681-0001 Phone +1 804 864-9700