From owner-freebsd-questions Wed Mar 21 7:50:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ioffe.rssi.ru (relay.ioffe.rssi.ru [194.85.224.33]) by hub.freebsd.org (Postfix) with ESMTP id E937037B72B for ; Wed, 21 Mar 2001 07:50:16 -0800 (PST) (envelope-from kopts@astro.ioffe.rssi.ru) Received: from astro.ioffe.rssi.ru (astro.ioffe.rssi.ru [194.85.229.130]) by relay.ioffe.rssi.ru (8.9.1/8.9.1) with ESMTP id SAA16015; Wed, 21 Mar 2001 18:49:39 +0300 (MSK) Received: by astro.ioffe.rssi.ru (8.9.3/Clnt-2.14-AS-eef) id SAA16377; Wed, 21 Mar 2001 18:49:37 +0300 (MSK) Date: Wed, 21 Mar 2001 18:49:37 +0300 (MSK) From: Alexey Koptsevich To: Bruce Albrecht Cc: freebsd-questions@freebsd.org Subject: Re: automount remote CDROMs with amd In-Reply-To: <14891.19160.474163.556144@celery.zuhause.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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