kirei / flashboot

OpenBSD Flashboot
http://www.mindrot.org/projects/flashboot/
Other
73 stars 26 forks source link

Add some more standard executables and daemons to the ramdisk. #26

Closed spaletta closed 10 years ago

spaletta commented 10 years ago

Add more standard executables to the ramdisk: dirname, tmux, iked, ikectl, npppd, npppctl, relayd, relayctl, ifstated, tftp-proxy. While at it, clean up for obsolete wicontrol.

jryberg commented 10 years ago

Thanks,

I'm really concerned regarding the size of the RAM drive.

Latest build on a Soekris with 128 Mb gave me approximate 40 Mb ram to userland.

We should devide all binaries, one set of requirements and one set of options and a setting to enable among the optional.

Best regards Johan Ryberg Den 14 sep 2013 02:19 skrev "Stefan Paletta" notifications@github.com:

Add more standard executables to the ramdisk: dirname, tmux, iked, ikectl, npppd, npppctl, relayd, relayctl, ifstated, tftp-proxy. While at it, clean

up for obsolete wicontrol.

You can merge this Pull Request by running

git pull https://github.com/KillerDiller/flashboot pull-20130914a

Or view, comment on, or merge it at:

https://github.com/openbsd/flashboot/pull/26 Commit Summary

  • Add more standard executables to the ramdisk: dirname, tmux, iked, ikectl, npppd, npppctl, relayd, relayctl, ifstated, tftp-proxy. While at it, clean up for obsolete wicontrol.
  • Add 'screen' termcap entry; also required for tmux.

File Changes

Patch Links:

spaletta commented 10 years ago

Hi Johan,

well, the ramdisk takes up the same amount of memory no matter the actual filesystem usage. In that sense, this change won’t make any immediate difference.

Given that systems with less than 256 MB of RAM can probably be considered (increasingly) obsolete, I would argue to remain with a full set of binaries as the default.

A small default set with an optional addition of more binaries was used in the original flashboot. The problem with this, as I see it, is that everyone needs a different set of features and hardly any configuration that provides less than the full range can be seen as as a good fit for a majority of users.

Thanks –Stefan

jryberg commented 10 years ago

Yes, you are right, it will not affect free RAM.

Hoverer, I know that Flashboot still are used on 128 Mb machines so we need to free some ram for that kind of devices.

Need to think about this

// Johan

2013/9/14 Stefan Paletta notifications@github.com

Hi Johan,

well, the ramdisk takes up the same amount of memory no matter the actual filesystem usage. In that sense, this change won’t make any immediate difference.

Given that systems with less than 256 MB of RAM can probably be considered (increasingly) obsolete, I would argue to remain with a full set of binaries as the default.

A small default set with an optional addition of more binaries was used in the original flashboot. The problem with this, as I see it, is that everyone needs a different set of features and hardly any configuration that provides less than the full range can be seen as as a good fit for a majority of users.

Thanks –Stefan

— Reply to this email directly or view it on GitHubhttps://github.com/openbsd/flashboot/pull/26#issuecomment-24450295 .

jschlyter commented 10 years ago

I think I like this.