WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Embed?  (Read 1938 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Embed?
« on: August 17, 2011, 02: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: 10963
Re: Embed?
« Reply #1 on: August 17, 2011, 02: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, 03:13:22 AM »
Nice, thanks!

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Embed?
« Reply #3 on: August 17, 2011, 08: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, 09:04:16 AM »
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, 10:10:57 AM »
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: 10963
Re: Embed?
« Reply #6 on: August 17, 2011, 11:24:21 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?

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, 11:32:22 AM by curaga »
The only barriers that can stop you are the ones you create yourself.