From owner-freebsd-fs@FreeBSD.ORG Thu Dec 20 15:35:08 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6869616A419 for ; Thu, 20 Dec 2007 15:35:08 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from ccshst09.cs.uoguelph.ca (ccshst09.cs.uoguelph.ca [131.104.94.206]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF1413C44B for ; Thu, 20 Dec 2007 15:35:07 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by ccshst09.cs.uoguelph.ca (8.13.1/8.13.1) with ESMTP id lBKFLSK9026588; Thu, 20 Dec 2007 10:21:28 -0500 Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id lBKFNVY06339; Thu, 20 Dec 2007 10:23:31 -0500 (EST) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Thu, 20 Dec 2007 10:23:31 -0500 (EST) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Dmitry Marakasov In-Reply-To: <20071220135525.GA3804@hades.panopticon> Message-ID: References: <20071220135525.GA3804@hades.panopticon> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.63 on 131.104.94.206 Cc: freebsd-fs@freebsd.org Subject: Re: alternative automounter solution X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 15:35:08 -0000 On Thu, 20 Dec 2007, Dmitry Marakasov wrote: [stuff snipped] > with symlinks. While on host system everything is OK: > > /.amd_mnt/nas/music > /data/music -> /.amd.mnt/nas/music > > it won't work for the jail: > > /ftpjail/.amd_mnt/nas/music > /ftpjail/anonftp/music -> /ftpjail/.amd.mnt/nas/music > > i.e. amd creates absolute symlink, which won't work in /ftpjail chroot. > What will work is: > > /ftpjail/anonftp/music -> /.amd.mnt/nas/music > /ftpjail/anonftp/music -> ../.amd.mnt/nas/music > > But as far as I understand there's no way to make amd behave like that. > > Any solutions? The best thing will be amd alternative with clearer > config and map syntax. > I think someone was working on an auto_fs port, but I don't know anything about auto_fs or the current state of any port. Alternately, it's open source, so you could hack it? (Again, I haven't looked at the sources, so I don't know if this is easy.) rick, who always just uses static nfs mounts