Date: Mon, 17 Jun 1996 09:40:36 +0200 From: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de> To: gpalmer@freebsd.org, freebsd-questions@freefall.FreeBSD.org Subject: Re: amd (and CD-ROM's) Message-ID: <199606170740.JAA00457@odie.physik2.uni-rostock.de> In-Reply-To: Mail from '"Gary Palmer" <gpalmer@freebsd.org>' dated: Sat, 15 Jun 1996 08:02:34 %2B0100
next in thread | previous in thread | raw e-mail | index | archive | help
Hi!
> 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
I've also some problems with amd configuration. My map has the
following apparence:
/defaults opts:=rw,soft,intr,grpid,nosuid,timeo=10
floppy host==odie;type:=ufs;dev:=/dev/fd0
cdrom host==odie;type:=program;\
mount:="/sbin/mount mount -t cd9660 /dev/cd0a ${path}";\
unmount:="/sbin/umount umount /dev/cd0a"
I start amd with "amd /amd /root/amd.conf" and all works well for the
floppy. When I type "ll /amd/floppy/" amd mounts the floppy and the
directory is shown. But not in the case of cdrom. It tries to mount the
cdrom into /amd/cdrom but there is no directory amd/cdrom and the mount
fails. This only works if I make a dir /cdrom and change the line above
into
mount:="/sbin/mount mount -t cd9660 /dev/cd0a /cdrom";\
but that's a little bit confusing.
Any ideas?
How do you start your amd, what dirs are present?
Thanks
Lars
--
___________________________________________________________________________
Lars Köller Phone: +49 381/498-1665, Fax: -1667
Universität Rostock E-Mail:
Fachbereich Physik Lars_Koeller@odie.physik2.Uni-Rostock.DE
Universitätsplatz 3 Anonymous ftp:
18051 Rostock (Germany) ftp://odie.physik2.uni-rostock.de/pub
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606170740.JAA00457>
