mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: Oliver Xymoron <oxymoron@waste.org>
Cc: Theodore Tso <tytso@mit.edu>,
	Juan Quintela <quintela@mandrakesoft.com>,
	Greg KH <greg@kroah.com>,
	linux-kernel@vger.kernel.org, felix-dietlibc@fefe.de,
	andersen@codepoet.org
Subject: Re: [RFC] klibc requirements, round 2
Date: Mon, 14 Jan 2002 16:58:49 -0700	[thread overview]
Message-ID: <20020114165849.B26688@lynx.adilger.int> (raw)
In-Reply-To: <20020114125433.A1357@thunk.org> <Pine.LNX.4.43.0201141550170.31316-100000@waste.org>
In-Reply-To: <Pine.LNX.4.43.0201141550170.31316-100000@waste.org>; from oxymoron@waste.org on Mon, Jan 14, 2002 at 03:57:20PM -0600

On Jan 14, 2002  15:57 -0600, Oliver Xymoron wrote:
> On Mon, 14 Jan 2002, Theodore Tso wrote:
> > The development sources for e2fsprogs will already work with diet
> > libc.  Unfortunately, diet libc doesn't do shared libraries, so
> > resulting binaries are sufficiently big that I doubt they would be
> > interesting for initrd and rescue floppy applications (which is why I
> > tried the experiment in the first place).
> 
> For normal boot (which is what we are talking about, as all booting is
> moving to initramfs), we want enough code to get to the point where we
> mount root read-only (no fsck!) and that means enough to load modules and
> possibly get NFS up. And whatever else that's already in the kernel simply
> for boot that can be moved to userspace. Nothing else.

Actually, the whole point of Juan's suggestion was that you _don't_ want
to fsck a filesystem that is currently mounted.  There is always a
potential problem that fsck will change the on-disk data of the filesystem
in a way that is not coherent with what the kernel has in-memory, which
should force a system reboot before continuing (which most initscripts
don't do).  For ext2/ext3 this may be relatively safe (data/metadata don't
move around much), but reiserfsck cannot (or will not) fsck a mounted
filesystem at all.

It would be interesting to see if e2fsck could be linked into busybox or
another multi-call binary to avoid the overhead of the static libc linking.
I don't think there are any technical obstacles, just a matter of someone
sitting down and doing it.  It would still be pretty big (150kB or so).

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/


  reply	other threads:[~2002-01-15  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-10 23:18 Greg KH
2002-01-10 22:29 ` Bjorn Wesen
2002-01-11  0:04   ` Greg KH
2002-01-11  0:44 ` Tom Rini
2002-01-11 13:31 ` Felix von Leitner
2002-01-12 12:21   ` Erik Andersen
2002-01-13  1:43     ` Alexander Viro
2002-01-13  2:10       ` Felix von Leitner
2002-01-11 21:46 ` David Lang
2002-01-12 20:16 ` Juan Quintela
2002-01-13  1:38   ` Alexander Viro
2002-01-14 17:54   ` Theodore Tso
2002-01-14 21:57     ` Oliver Xymoron
2002-01-14 23:58       ` Andreas Dilger [this message]
2002-01-15  1:26         ` Oliver Xymoron
2002-01-15  3:48           ` Andreas Dilger
2002-01-15  4:05             ` Oliver Xymoron
2002-01-15 17:28               ` Rob Landley
2002-01-16  4:01                 ` Alexander Viro
2002-01-16 17:54                   ` Oliver Xymoron
2002-01-15  0:33     ` H. Peter Anvin
2002-01-16 18:40     ` Erik Andersen
2002-01-13  3:58 ` Alexander Viro
2002-01-11  1:50 Torrey Hoffman
2002-01-11  3:32 ` Tom Rini
2002-01-11  6:53 ` H. Peter Anvin

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=20020114165849.B26688@lynx.adilger.int \
    --to=adilger@turbolabs.com \
    --cc=andersen@codepoet.org \
    --cc=felix-dietlibc@fefe.de \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oxymoron@waste.org \
    --cc=quintela@mandrakesoft.com \
    --cc=tytso@mit.edu \
    /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

all inboxes | Powered by JetHome®