Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 1996 08:02:34 +0100
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        Bill Trost <trost@cloud.rain.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: amd (and CD-ROM's) 
Message-ID:  <13759.834822154@palmer.demon.co.uk>
In-Reply-To: Your message of "Fri, 14 Jun 1996 22:49:47 PDT." <m0uUoF2-00001RC@cloud.rain.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Trost wrote in message ID
<m0uUoF2-00001RC@cloud.rain.com>:
> 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



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