From owner-freebsd-current Sat Feb 1 02:19:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA13321 for current-outgoing; Sat, 1 Feb 1997 02:19:54 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id CAA13316 for ; Sat, 1 Feb 1997 02:19:50 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id VAA24405; Fri, 31 Jan 1997 21:03:42 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id UAA03350; Fri, 31 Jan 1997 20:20:03 +0100 (MET) Message-ID: Date: Fri, 31 Jan 1997 20:20:03 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-current@FreeBSD.org (FreeBSD-current users) Cc: gurney_j@resnet.uoregon.edu (John-Mark Gurney) Subject: Re: amd.map file format documentation References: <199701310051.QAA00763@narnia.plutotech.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Philippe Regnauld on Jan 31, 1997 12:50:36 +0100 Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Philippe Regnauld wrote: > > right now I only use it to automount cdroms... if anybody has a good nfs > > example I'll throw something together... ttyl... > > I can offer to put together a man page for this (need input though). Here's a real-life example: j@ida 1077% cat /etc/amd-hosts.map /defaults opts:=rw,intr,grpid,nosuid # # # Generic junk: distfiles host!=innocence;type:=nfs;rhost:=innocence;rfs:=/usr/ports/distfiles ftp host!=innocence;type:=nfs;rhost:=innocence;rfs:=/disk1/guest/home/ftp Motif host!=innocence;type:=nfs;rhost:=innocence;rfs:=/usr/Motif # # Some home dirs: # micha host!=innocence;type:=nfs;rhost:=innocence;rfs:=/usr/ifbusiness/volkmer joerg host!=smiley;type:=nfs;rhost:=smiley;rfs:=/home/ifbusiness/weber cvs host!=smiley;type:=nfs;rhost:=smiley;rfs:=/var/cvs Note that the `host!=' clauses are rather junk, since the map isn't being shared at all. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)