Some systems might be using tmpfs for / which requires additional configuration of the system
namely:
the kernel has to be compiled with initrc support
init needs to support toram option
The system has to have sufficient amount of tmpfs
Why would anyone want to do this?
Mostly tmpfs takes less power
tmpfs is usually much faster compared to HDD and SSD (could be even 100x faster)
On portable systems the tmpfs configuration might make the system much smaller allowing for more features alike bigger battery
Some RAM sticks are cheaper then HDD/SSD
Disadvantage
If your system loses power while being configured to run on tmpfs then you will lose ALL YOUR DATA, because tmpfs are not made to store memory without power
Note: Some systems might be configured to provide power to RAM even when it halts or turns off.
Expected behavior
Making zernit to run as small as possible from an SD card and create the system only from it's configuration directory to keep the size as small as possible.
The configuration directory should be mounted with persistance in case the end-user wants to do permanent changes to the system.
Vision
less then 10Mb/s file on SD card capable of booting the whole system anywhere.
Additional context
Debian has a live CD that does a decent job with this
### Describe the feature
<!-- Give us a **short** summary of your proposed feature -->
Some systems might be using tmpfs for `/` which requires additional configuration of the system
namely:
- the kernel has to be compiled with initrc support
- init needs to support `toram` option
- The system has to have sufficient amount of tmpfs
### Why would anyone want to do this?
- Mostly tmpfs takes less power
- tmpfs is usually much faster compared to HDD and SSD (could be even 100x faster)
- On portable systems the tmpfs configuration might make the system much smaller allowing for more features alike bigger battery
- Some RAM sticks are cheaper then HDD/SSD
### Disadvantage
If your system loses power while being configured to run on tmpfs then you will lose **ALL YOUR DATA**, because tmpfs are not made to store memory without power
- Note: Some systems might be configured to provide power to RAM even when it halts or turns off.
### Expected behavior
<!-- What do you expect to happend instead of current behavior? -->
Making zernit to run as small as possible from an SD card and create the system only from it's configuration directory to keep the size as small as possible.
The configuration directory should be mounted with persistance in case the end-user wants to do permanent changes to the system.
### Vision
less then 10Mb/s file on SD card capable of booting the whole system anywhere.
### Additional context
<!-- Add any other context about the issue here -->
Debian has a live CD that does a decent job with this
Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!
Issue-Label Bot is automatically applying the label `feature_request` to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/RXT0112/Zernit) and [code](https://github.com/hamelsmu/MLapp) for this bot.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Describe the feature
Some systems might be using tmpfs for
/which requires additional configuration of the systemnamely:
toramoptionWhy would anyone want to do this?
Disadvantage
If your system loses power while being configured to run on tmpfs then you will lose ALL YOUR DATA, because tmpfs are not made to store memory without power
Expected behavior
Making zernit to run as small as possible from an SD card and create the system only from it's configuration directory to keep the size as small as possible.
The configuration directory should be mounted with persistance in case the end-user wants to do permanent changes to the system.
Vision
less then 10Mb/s file on SD card capable of booting the whole system anywhere.
Additional context
Debian has a live CD that does a decent job with this
Issue-Label Bot is automatically applying the label
feature_requestto this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.