Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: uggla on August 17, 2011, 05:35:16 AM

Title: Embed?
Post by: uggla on August 17, 2011, 05:35:16 AM
From the announcement of 3.8.2:
Quote
* Updated init to make embed the default. Use new boot code noembed to not.

What does that mean? I've never used the old embed boodcode and haven't found any documentation.
Title: Re: Embed?
Post by: curaga on August 17, 2011, 05:51:24 AM
Embed meant not to create a new tmpfs and copy the base there. The copying was done by default to support "df /" which is used by some installers.

Now that copy is not needed, and we boot faster. :)
Title: Re: Embed?
Post by: uggla on August 17, 2011, 06:13:22 AM
Nice, thanks!
Title: Re: Embed?
Post by: Lee on August 17, 2011, 11:23:22 AM
Quote
Embed meant not to create a new tmpfs and copy the base there.

I seem to recall that the copy operation increased the minimum required RAM.  Does this change affect that?


Quote
Now that copy is not needed...

I'm probably just being dumb here but why don't we need the copy operation any more?

Having booted with no embed-related boot codes, I note that  "df /" works as expeceted.
Title: Re: Embed?
Post by: gerald_clark on August 17, 2011, 12:04:16 PM
That is the point.
Now that busybox df has been fixed, it is no longer necessary to do the copy.
Previous default was noembed ( copy done ). You could use 'embed' but df didn't work.
New default is embed ( No copy done ).  You can use noembed if you still want to do the unnecessary copy.
Title: Re: Embed?
Post by: Lee on August 17, 2011, 01:10:57 PM
Thanks.  I hadn't realized the problem was with busybox/df and was thinking here was something about the fs type used.

This is a nice development, for simplicity - though I'm not really seeing much difference in boot times.

Title: Re: Embed?
Post by: curaga on August 17, 2011, 02:24:21 PM
Quote
Embed meant not to create a new tmpfs and copy the base there.

I seem to recall that the copy operation increased the minimum required RAM.  Does this change affect that?

That is true, I should re-measure that.

edit: The new numbers are 46mb for TC and 28mb for MC.