From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: How low can you go?
Date: Sat, 02 Apr 2011 08:05:57 -0400 [thread overview]
Message-ID: <1301745957.652513.5.camel@victoria> (raw)
In-Reply-To: <AANLkTi=Jf1xQJEgTduRT05y-yue5gk=-YTou4mrO7Gyd@mail.gmail.com>
On Sat, 2011-04-02 at 13:24 +0700, Pandu Poluan wrote:
> Unfortunately, I can't go module-less; xtables-addons requires modules
> support.
>
> How do you get static /dev ?
Go into /etc/conf.d/rc and change RC_DEVICES to "static". Also if you
are using virtio block devices (as I am) then you will need to manually
create the /dev/vd* device nodes else the vm won't find the virtual
drives.
>
> > I could probably get it lower by tweaking the kernel a bit more.
> Also
> > it would probably use slightly less RAM if it were 32-bit. Also,
> the
> > biggest user of memory are /bin/bash and /bin/login. I could
> minimize
> > memory further by making the login shell ash or dash.
> >
>
> I also rely on lots of bash scripts.
>
> *sigh* ... I'll never get it as small as yours... but still I *am*
> interested in your memory-saving tricks :-)
I'm not saying replace bash with dash. I'm saying change your login
shell with dash (i.e. chsh).
Moreover, dash is POSIX compliant so it should be able to be used with
most shell scripts. The only reason you need bash around is that
unfortunately baselayout-1 depends on some bash-specific features (like
bash arrays), so you can't completely get rid of it. But for most stuff
dash is fine.
next prev parent reply other threads:[~2011-04-02 12:07 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 12:36 [gentoo-user] How low can you go? Pandu Poluan
2011-04-01 14:47 ` Einux
2011-04-01 18:59 ` Albert Hopkins
2011-04-01 19:22 ` [gentoo-user] " Pandu Poluan
2011-04-01 20:28 ` Albert Hopkins
2011-04-01 21:00 ` Albert Hopkins
2011-04-01 21:44 ` Bill Longman
2011-04-02 2:06 ` Albert Hopkins
2011-04-02 14:03 ` Volker Armin Hemmann
2011-04-02 6:24 ` Pandu Poluan
2011-04-02 12:05 ` Albert Hopkins [this message]
2011-04-02 12:17 ` Dale
2011-04-03 0:43 ` Paul Hartman
2011-04-03 2:09 ` Dale
2011-04-03 8:35 ` Pandu Poluan
2011-04-03 8:53 ` Dale
2011-04-03 10:58 ` pk
2011-04-03 9:47 ` Neil Bothwick
2011-04-03 10:04 ` Dale
2011-04-03 11:49 ` Jake Moe
2011-04-03 15:30 ` Paul Hartman
2011-04-03 23:44 ` Bill Longman
2011-04-04 2:28 ` Dale
2011-04-04 2:48 ` Adam Carter
2011-04-04 3:04 ` Dale
2011-04-03 13:13 ` luis jure
2011-04-04 9:04 ` Joost Roeleveld
2011-04-04 9:13 ` Pandu Poluan
2011-04-04 9:35 ` OT: Computers-memory-lane.... [Was: [gentoo-user] Re: How low can you go?] Joost Roeleveld
2011-04-04 9:49 ` Pandu Poluan
2011-04-04 10:15 ` Joost Roeleveld
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=1301745957.652513.5.camel@victoria \
--to=marduk@letterboxes.org \
--cc=gentoo-user@lists.gentoo.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