public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Location of absolute IA32 shared objects.
Date: Mon, 17 Sep 2001 20:33:11 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805195@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805122@msgid-missing>

>>>>> On Mon, 10 Sep 2001 21:11:46 -0700, David Mosberger <davidm@hpl.hp.com> said:

>>>>> On Wed, 5 Sep 2001 22:47:17 +0200, Christoph Hellwig <hch@ns.caldera.de> said:
  Christoph> Please take a look at include/asm-*/namei.h - we can
  Christoph> define an emulation prefix for Linux/i386
  Christoph> (e.g. /emul/linux32) and all lookups will be tried there
  Christoph> before falling back to the native FS, This appropeach is
  Christoph> already used by the MIPS and SPARC ports and by linux-abi
  Christoph> for i386.

  David> I don't particularly like changing filenames underneath the
  David> user, but as far as I can see, it's the most systematic way
  David> to fix absolute naming issues.  Unless someone has serious
  David> objections to this, I'll make this change.  As far as I can
  David> see, neither LSB nor FHS address the issue of where to place
  David> emulation files, so I'll propose a prefix of
  David> "/emul/ia32-linux/" as a starter.  Any objections?

Getting this to work required a little more than just changing
namei.h, but nothing difficult.  In any case, I have this tested now
and it does the job.  In case you're not familiar with how the
emulation prefix works: for any IA-32 binary, absolute filename
lookups will now start in /emul/ia32-linux/.  If the desired file is
found there, it will be used and otherwise the kernel will try to open
the same filename without the prefix.

It seems to me it would make sense if the distributors would retire
using /usr/i386-*-linux and switch over to /emul/ia32-linux instead.
Also, it should be possible to move /lib/ld-linux.so* etc. to
/emul/ia32-linux/lib.

	--david


  parent reply	other threads:[~2001-09-17 20:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 17:26 [Linux-ia64] Location of absolute IA32 shared objects Don Dugger
2001-09-05 20:47 ` Christoph Hellwig
2001-09-05 20:53 ` Don Dugger
2001-09-11  4:11 ` David Mosberger
2001-09-11  4:30 ` Ulrich Drepper
2001-09-11 10:26 ` Christoph Hellwig
2001-09-11 11:25 ` Mark Goodwin
2001-09-12 11:58 ` Christoph Hellwig
2001-09-13 19:52 ` David Mosberger
2001-09-14 14:30 ` Doug Beattie
2001-09-14 15:51 ` David Mosberger
2001-09-14 21:26 ` Dugger's
2001-09-17 20:33 ` David Mosberger [this message]
2001-09-18  8:05 ` Jes Sorensen

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=marc-linux-ia64-105590698805195@msgid-missing \
    --to=davidm@hpl.hp.com \
    --cc=linux-ia64@vger.kernel.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