Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Jamie Lenehan <lenehan@twibble.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: What's with the symlinks?
Date: Sat, 6 Jan 2007 14:07:53 +1100	[thread overview]
Message-ID: <20070106030753.GA17260@twibble.org> (raw)
In-Reply-To: <1167394324.5616.20.camel@localhost.localdomain>

On Fri, Dec 29, 2006 at 12:12:03PM +0000, Richard Purdie wrote:
> On Fri, 2006-12-29 at 11:11 +1100, Matthew Palmer wrote:
> > Everywhere I go while assembling my OE build tree, I see admonishments not
> > to use a path that has symlinks in it.  For such a major problem, the only
> > real information on the actual problem is a fairly cryptic entry in the FAQ,
> > about a failure to build libtool-native.
> > 
> > Being an intensely curious kind of person, and not enjoying arbitrary
> > limits, I'm very interested to know what the *real* reason behind being so
> > strongly against the much-maligned symlink.  Can anyone enlighten me?
> 
> People have explained the reason but you can use paths with symlinks in
> *if* you're careful. Basically, you need to ensure the environmental

It's also possible to use bind mounts, which lets you mount one
subdirectory over another subdirectory, to achieve a similiar sort of
effect. I have my oe stuff in ~/devel/oe which is a bind mount from a
seperate disk:

  [nynaeve][ 2:02PM]~/devel/oe%> df -h .
  Filesystem            Size  Used Avail Use% Mounted on
  /u/5QF1E359/oe        294G   69G  226G  24% /home/lenehan/devel/oe
  [nynaeve][ 2:02PM]~/devel/oe%> cat /etc/fstab | grep oe
  /u/5QF1E359/oe          /home/lenehan/devel/oe  none    bind            0 0
  [nynaeve][ 2:04PM]~/devel/oe%> mount | grep 5QF1E359
  /dev/sdc2 on /u/5QF1E359 type ext3 (rw)
  /u/5QF1E359/oe on /home/lenehan/devel/oe type none (rw,bind)

So instead of a symlink from ~/devel/oe to /u/5QF1E359/oe I mounted (via a
bind mount) /u/5QF1E359/oe on ~/devel/oe

-- 
 Jamie Lenehan <lenehan@twibble.org>



      reply	other threads:[~2007-01-06  3:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-29  0:11 What's with the symlinks? Matthew Palmer
2006-12-29  0:20 ` Robert Wörle
2006-12-29  5:51 ` jack-oe
2006-12-29  6:15   ` Matthew Palmer
2006-12-29  8:16   ` Koen Kooi
2006-12-29 12:12 ` Richard Purdie
2007-01-06  3:07   ` Jamie Lenehan [this message]

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=20070106030753.GA17260@twibble.org \
    --to=lenehan@twibble.org \
    --cc=openembedded-devel@lists.openembedded.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