Subject: Re: Automount local CD?
To: Richard Horwood <rich@mondial.com.au>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 05/12/1999 14:14:11
On May 12, Richard Horwood wrote
>
> I'm trying to mount a local CD-ROM with amd. I can mount nfs shares fine
> with it, but for some reason I can't work out the syntax for local
> filesystems.
>
> I start amd with the following command:
>
> amd -l syslog -x map,error,noinfo,stats /mnt /etc/amd/amd.master
>
> The offending line in /etc/amd/amd.master looks like this:
>
> cdrom host==<myhost>;type:=cdfs;dev:=/dev/cd0a
>
> <myhost> is really my local hostname.
>
> When i change directory to /mnt/cdrom, I see this in the logs:
>
> [...] <myhost> amd[3586]: NIS domain name is not set. NIS ignored.
> [...]
> [...] <myhost> amd[3586]: /a/<myhost>/mnt/cdrom: mount: Read-only file system
> [...] <myhost> amd[3586]: mount_cdfs: Read-only file system
Try:
cdrom -opts:=ro host==<myhost>;type:=cdfs;dev:=/dev/cd0a
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--