From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GNzoY-00015z-JB for garchives@archives.gentoo.org; Thu, 14 Sep 2006 22:36:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8EMYt9t030280; Thu, 14 Sep 2006 22:34:55 GMT Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.140.230]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8EMTdjq021738 for ; Thu, 14 Sep 2006 22:29:40 GMT Received: from localhost.localdomain (pool-151-202-70-219.ny325.east.verizon.net [151.202.70.219]) (authenticated bits=0) by smtp.cs.nyu.edu (8.13.6/8.13.6) with ESMTP id k8EMTcPX022066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 14 Sep 2006 18:29:38 -0400 (EDT) Received: by localhost.localdomain (Postfix, from userid 1502) id 8FF611A3; Thu, 14 Sep 2006 18:31:52 -0400 (EDT) To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] where to put mount --bind during startup From: Allan Gottlieb Date: Thu, 14 Sep 2006 18:31:52 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archives-Salt: 5b40c840-caf5-4939-b2b1-1950aa312eff X-Archives-Hash: 897a0d930512c13fc8521b5af4735f80 I have had /home/gottlieb a symlink to /local/allan/gottlieb for a while. Now I am having a problem because apache doenn't follow symlinks by default (presumably due to some security concern). As a test I did rm /home/gottlieb mkdir /home/gottlieb mount --bind /local/allan/gottlieb /home/gottlieb and all seems well. Two questions. 1. Are there common gotcha's with mount --bind. That is, will programs that have worked fine with the symlink now fail? 2. Assuming I want to go with mount --bind, how do I make it happen during startup (I assume the mount is not preserved across reboots). The man pages for fstab doesn't suggest that fstab is the way to go. Do you put the mount in the boot runlevel and if so where? thanks, allan -- gentoo-user@gentoo.org mailing list