WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Embed?  (Read 2244 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Embed?
« 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Embed?
« Reply #1 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. :)
The only barriers that can stop you are the ones you create yourself.

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Embed?
« Reply #2 on: August 17, 2011, 06:13:22 AM »
Nice, thanks!

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Embed?
« Reply #3 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.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Embed?
« Reply #4 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.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Embed?
« Reply #5 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.

32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Embed?
« Reply #6 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.
« Last Edit: August 17, 2011, 02:32:22 PM by curaga »
The only barriers that can stop you are the ones you create yourself.