Gentoo Archives: gentoo-user

From: "Boyd Stephen Smith Jr." <bss03@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Symlinking out of a chroot
Date: Sun, 12 Nov 2006 16:12:47
Message-Id: 200611121007.25850.bss03@volumehost.net
In Reply to: [gentoo-user] Symlinking out of a chroot by Brian Davis
1 On Sunday 12 November 2006 08:56, Brian Davis <bridavis@×××××××.net> wrote
2 about '[gentoo-user] Symlinking out of a chroot':
3 > I will be running my apache2 server in a chroot. Most of my data for the
4 > server (e.g. pictures, user webpages) are on another partition from my
5 > chroot. I don't want to move all that data into the apache chroot if I
6 > don't have to. Therefore I would have soft symlinks from the chroot to
7 > the data.
8
9 You can't symlink out of a chroot. You can symlink into one. You can
10 hardlink in both directions.
11
12 Of course, in your case, I'd say your best option is probably mounting with
13 the bind option with symlinks within the chroot as needed.
14
15 --
16 "If there's one thing we've established over the years,
17 it's that the vast majority of our users don't have the slightest
18 clue what's best for them in terms of package stability."
19 -- Gentoo Developer Ciaran McCreesh