Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 18:49:37 +0300 (MSK)
From:      Alexey Koptsevich <kopts@astro.ioffe.rssi.ru>
To:        Bruce Albrecht <bruce@zuhause.mn.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: automount remote CDROMs with amd
Message-ID:  <Pine.BSF.4.21.0103211846280.3763-100000@astro.ioffe.rssi.ru>
In-Reply-To: <14891.19160.474163.556144@celery.zuhause.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Bruce,

Have you figured out how to make it work? And if not, probably you can
explain me that "dirty" way you followed a bit more detailed?

Thanks a lot,
Alex


On Mon, 4 Dec 2000, Bruce Albrecht wrote:

> I'm trying to automount remote CDROM drives with amd (I have 7 on 3
> machines), and I'd like to be able to pop a CD in a drive on any
> machine, and be able to cd into it from any other machine, and then have
> it timeout and auto dismount just like it does with a local cd in the
> automount map.  I usually have problems with it getting errors like
> Stale NFS mount, or permission denied, which seem to eventually get
> cleared up if I do amq -u drive and then killall -HUP mountd several
> times on the host with the drive.  This seems rather hacked to do it
> this way, and I was wondering if anyone's come up with a cleaner way
> to do this?
> 
> Here are the cd's amd maps:
> 
> /defaults       type:=nfs;opts:=ro,nosuid,vers=2,proto=udp
> 
> cdrom           host!=tyan;rhost:=tyan;rfs:=/amd/cdrom \
>                 host==tyan;type:=cdfs;dev:=/dev/cd0a;fs:=/amd/cdrom
> 
> cdrom1          host!=tyan;rhost:=tyan;rfs:=/amd/cdrom1 \
>                 host==tyan;type:=cdfs;dev:=/dev/cd1a;fs:=/amd/cdrom1
> 
> cdrom2          host!=tyan;rhost:=tyan;rfs:=/amd/cdrom2 \
>                 host==tyan;type:=cdfs;dev:=/dev/cd1a;fs:=/amd/cdrom2
> 
> cdrom3          host!=tyan;rhost:=tyan;rfs:=/amd/cdrom3 \
>                 host==tyan;type:=cdfs;dev:=/dev/cd1a;fs:=/amd/cdrom3
> 
> cdrom4          host!=tyan;rhost:=tyan;rfs:=/amd/cdrom4 \
>                 host==tyan;type:=cdfs;dev:=/dev/cd1a;fs:=/amd/cdrom4
> 
> cdrom5          host!=celery;rhost:=celery;rfs:=/amd/cdrom5 \
>                 host==celery;type:=cdfs;dev:=/dev/cd0a;fs:=/amd/cdrom5;
> 
> cdrom6          host!=router;rhost:=router;rfs:=/amd/cdrom6 \
>                 host==router;type:=cdfs;dev:=/dev/acd0a;fs:=/amd/cdrom6


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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