Re: 4 MB: no cloning starts / running 'lowmem'

From: Michele Andreoli (m.andreoli@tin.it)
Date: Thu Oct 25 2001 - 13:19:47 CEST


On Wed, Oct 24, 2001 at 10:57:26PM -0400, Alfie Costa nicely wrote:
> 4) Runs this:
>
> ( mount /proc ) 2>/dev/null
>
> Are the parenthesis '()' necessary? Parenthesis use a subshell. If they are
> necessary, sometimes brackets '{}' will also work. Brackets do not use a
> subshell.

True. () can be removed. This is the result of earlier cancellation:

        (mount /proc ; .... ) 2>/dev/null

>
> 5) Checks for low memory, and if true, runs 'lowmem'.
>
> 6) ...the code after that shouldn't matter -- except as it takes up space.
>
> If it does matter, that space could be saved by splitting /setup/rc/linuxrc
> into two scripts like so:
>
> Old single /setup/rc/linuxrc script:
>
> 1: #!/bin/ash
> 2: ... lotsa code ...
> n: ....
> 115: # End

But I don't think the problem is 1kbytes or two!

Michele

-- 
I keep trying to locate a meeting of Quantum Physicists. But everytime
they set a meeting time, the location changes. And vice versa -- Anonymous
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:20 CET