From owner-freebsd-questions Mon Jan 31 22:50:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by builder.freebsd.org (Postfix) with ESMTP id 7208C3D04 for ; Mon, 31 Jan 2000 22:50:15 -0800 (PST) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.9.1/8.9.1) with ESMTP id HAA25668; Tue, 1 Feb 2000 07:49:53 +0100 (MET) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200001311806.KAA86407@jetsam.com> Date: Tue, 01 Feb 2000 07:49:52 +0100 (CET) From: Micke Josefsson To: Paul Orr Subject: RE: amd....kill me please Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 31-Jan-00 Paul Orr wrote: > > > I give up. White flag. Whatever. I can't get > direct mapping to work. Does anyone have a real life > example using AMD under FreeBSD 3.4 that I can steal. amd.conf and > map entries. PLEASE!!!! > > Paul Orr > My experience is this: /etc/amd.conf: [ global ] normalize_hostnames = no print_pid = no restart_mounts = yes #auto_dir = /n log_file = /var/log/amd log_options = all #debug_options = all plock = no cache_duration = 6 dismount_interval = 20 selectors_on_default = yes # config.guess picks up "sunos5" and I don't want to edit my maps yet os = sos5 # if you print_version after setting up "os", it will show it. print_version = no map_type = file search_path = /etc/amdmaps:/usr/lib/amd:/usr/local/AMD/lib browsable_dirs = yes [ /a ] map_name = amd.cdrom /etc/amdmaps/amd.cdrom: cdrom type:=cdfs;fs:=/cdrom;dev:=/dev/wcd0c;opts:=ro floppy type:=pcfs;fs:=/mnt/floppy;dev:=/dev/fd0;opts:=rw Well, this cdrom map actually also mounts floppy at will... Note: The cache_duration and dismount interval is pretty short, the defaults may be more appropriate. But since I'd like to be able to swap cdroms fast I choose it this way. For the floppy I actually use mtools more... Hope this helps a bit. I also had a very hard time getting this far. It actually is quite logical - once you've come to understand the logic:( /Micke ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 3.1 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message