From owner-freebsd-questions Sat Jun 15 00:03:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03221 for questions-outgoing; Sat, 15 Jun 1996 00:03:06 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA03210 for ; Sat, 15 Jun 1996 00:03:01 -0700 (PDT) Received: from palmer.demon.co.uk (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with ESMTP id IAA13761; Sat, 15 Jun 1996 08:02:35 +0100 (BST) To: Bill Trost cc: questions@FreeBSD.ORG From: "Gary Palmer" Subject: Re: amd (and CD-ROM's) In-reply-to: Your message of "Fri, 14 Jun 1996 22:49:47 PDT." Date: Sat, 15 Jun 1996 08:02:34 +0100 Message-ID: <13759.834822154@palmer.demon.co.uk> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bill Trost wrote in message ID : > I have been trying to get amd to automount my CD-ROM for me, with zero > success. The command I have been using is "amd /cdrom ./cdrom", > where the file ./cdrom contains > > /defaults type:=ufs > > cd type:=program;\ > mount:="/sbin/mount_cd9660 mount_cd9660 /dev/cd0a ${fs}";\ > umount:="/sbin/umount umount /dev/cd0a"; No idea. I got this to work for me with the following map: /defaults type:=program cdrom mount:="/sbin/mount mount -t cd9660 /dev/cd0a ${path}";unmount:="/sbin/umount umount /dev/cd0a" Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info