From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>,
Rob Landley <rob@landley.net>
Subject: Re: [uml-devel] How stable is hostfs (and UML in general)?
Date: Wed, 12 Jan 2005 18:09:13 +0100 [thread overview]
Message-ID: <200501121809.13623.blaisorblade@yahoo.it> (raw)
In-Reply-To: <23435.1105548900@marajade.sandelman.ottawa.on.ca>
On Wednesday 12 January 2005 17:55, Michael Richardson wrote:
> >>>>> "Blaisorblade" == Blaisorblade <blaisorblade@yahoo.it> writes:
>
> Rob> Chapter 5 of current variants of LFS uses the host system to
> Rob> create a toolchain you can chroot into and build the final
> Rob> system with. Then in chapter 6, you build the final system in
> >> I think the use of chroot is a cop-out.
> Rob> This requires root access (as does creating device nodes,
> Rob> mounting /proc or loopback devices... A rather large number of
> >> I use "fakeroot" to do all of that for embedded work that I do...
> Blaisorblade> What's this?
> A tool which LD_PRELOAD's a library that intercepts all calls that
> require root, and "emulates" them.
> I.e. if a program does "chown(2)", it just remembers that this
> occured, and when a stat() is made, it returns the "right" answer.
> (so tar/mkjffs, etc. get the right answer)
Ah, ok... this means it cannot work onto UML, actually (unless you dinamically
link it - which is not the common case...).
> Used in debian a lot.
> http://packages.debian.org/testing/utils/fakeroot
> Blaisorblade> Yes, that's because it turns the console to raw mode
> (don't ask me why).
> Because, you'd like to have ^C get passed to the program being run
> under the UML :-)
Ah, well, yes, but that happens when you use /dev/tty0 as console inside UML
(and I don't do it).
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2005-01-12 17:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-09 2:06 [uml-devel] How stable is hostfs (and UML in general)? Rob Landley
2005-01-09 6:00 ` Frank Sorenson
2005-01-09 22:06 ` Rob Landley
2005-01-10 1:53 ` Henrik Nordstrom
2005-01-10 6:34 ` Rob Landley
2005-01-10 13:47 ` Blaisorblade
2005-01-10 17:08 ` Nix
2005-01-10 14:43 ` Blaisorblade
2005-01-11 6:10 ` Rob Landley
2005-01-10 0:05 ` Michael Richardson
2005-01-10 6:20 ` Rob Landley
2005-01-10 6:41 ` Rob Landley
2005-01-10 8:48 ` Henrik Nordstrom
2005-01-11 5:58 ` Rob Landley
2005-01-10 15:21 ` Michael Richardson
2005-01-11 6:35 ` Rob Landley
2005-01-11 11:27 ` Henrik Nordstrom
2005-01-11 21:34 ` Michael Richardson
2005-01-11 23:23 ` Blaisorblade
2005-01-12 16:55 ` Michael Richardson
2005-01-12 17:09 ` Blaisorblade [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=200501121809.13623.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=mcr@sandelman.ottawa.on.ca \
--cc=rob@landley.net \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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