public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] where to put mount --bind during startup
Date: Thu, 14 Sep 2006 18:31:52 -0400	[thread overview]
Message-ID: <yu98xkm5bc7.fsf@nyu.edu> (raw)

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



             reply	other threads:[~2006-09-14 22:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-14 22:31 Allan Gottlieb [this message]
2006-09-14 22:55 ` [gentoo-user] where to put mount --bind during startup Neil Bothwick
2006-09-15  0:47   ` Allan Gottlieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yu98xkm5bc7.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox