From: Pavel Machek <pavel@suse.cz>
To: Werner Almesberger <Werner.Almesberger@epfl.ch>
Cc: Rik van Riel <riel@conectiva.com.br>,
Linux kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] swap=<device> kernel commandline
Date: Sat, 18 Nov 2000 18:54:41 +0000 [thread overview]
Message-ID: <20001118185441.B177@toy> (raw)
In-Reply-To: <20001118141524.A15214@nic.fr> <Pine.LNX.4.21.0011181804360.9267-100000@duckman.distro.conectiva> <20001118223455.G23033@almesberger.net>
In-Reply-To: <20001118223455.G23033@almesberger.net>; from Werner.Almesberger@epfl.ch on Sat, Nov 18, 2000 at 10:34:55PM +0100
Hi1
> > Did you try to load an initrd on a low-memory machine?
> > It shouldn't work and it probably won't ;)
>
> You must be really low on memory ;-)
>
> # zcat initrd.gz | wc -c
> 409600
>
> (ash, pwd, chroot, pivot_root, smount, and still about 82 kB free.)
Your solution requires 400K initrd _plus_ memory for ash and swapon. That
might be easily 600K total. Yes I could imagine machine with freemem less
than that. However such machines do not usually have swap available.
Pavel
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-11-19 20:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-18 11:46 [PATCH] swap=<device> kernel commandline Kaj-Michael Lang
2000-11-18 14:15 ` Francois romieu
2000-11-18 20:05 ` Rik van Riel
2000-11-18 21:34 ` Werner Almesberger
2000-11-18 18:54 ` Pavel Machek [this message]
2000-11-19 0:29 ` Eric W. Biederman
2000-11-19 2:03 ` Werner Almesberger
2000-11-19 7:30 ` Eric W. Biederman
2000-11-19 12:27 ` Werner Almesberger
-- strict thread matches above, loose matches on Subject: below --
2000-11-19 12:20 Anders Eriksson
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=20001118185441.B177@toy \
--to=pavel@suse.cz \
--cc=Werner.Almesberger@epfl.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
/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