From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NPQkI-0000gm-VY for garchives@archives.gentoo.org; Tue, 29 Dec 2009 01:19:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74047E084B; Tue, 29 Dec 2009 01:19:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 54358E084B for ; Tue, 29 Dec 2009 01:19:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E6A0667CE3 for ; Tue, 29 Dec 2009 01:19:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.549 X-Spam-Level: X-Spam-Status: No, score=-2.549 required=5.5 tests=[AWL=0.050, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b0WY2Nkfm4rw for ; Tue, 29 Dec 2009 01:19:09 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7ED8267CD8 for ; Tue, 29 Dec 2009 01:19:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NPQjo-0008M1-CB for gentoo-user@gentoo.org; Tue, 29 Dec 2009 02:19:04 +0100 Received: from nat.scz.novell.com ([213.151.88.252]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Dec 2009 02:19:04 +0100 Received: from thorsten by nat.scz.novell.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Dec 2009 02:19:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Thorsten Kampe Subject: [gentoo-user] Cascading autofs mounts Date: Tue, 29 Dec 2009 02:18:41 +0100 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat.scz.novell.com User-Agent: MicroPlanet-Gravity/2.9.14 Sender: news X-Archives-Salt: 8e49f85a-f5f6-4c29-b81d-c48a6e6a4f6c X-Archives-Hash: 4e71570a2bbe7fcf4a5288a9efe7f661 Hi, does anyone know (or have an idea about) how to achieve cascading mounts with autofs 5?! Basically what I would like to do is to (auto)-mount an iso image which lies on an (auto)-mounted smb share. /etc/auto.master contains: # mount_directory map_file options /mnt/smb /etc/auto/smb --timeout=5 --ghost /mnt/iso /etc/auto/iso --timeout=5 --ghost /etc/auto/smb: tkampe -fstype=cifs,cred=/root/cred ://tkampe/C\$ /etc/auto/iso: image -fstype=iso9660,ro,loop :/mnt/smb/tkampe/image.iso The auto-mount of the smb share works fine. But the mount of the iso works only if the smb share is already mounted (via "cd /mnt/smb/tkampe" for instance). What I would like to achieve is that trying to access /mnt/iso/image (which should be auto-mounted to /mnt/smb/tkampe/image.iso) triggers the auto-mount of /mnt/smb/tkampe to //tkampe/C$. But it doesn't. Ideas? Thorsten