Joined: 26 Mar 2013 Posts: 1855 Location: Hung Hom, Hong Kong
Posted: Tue Oct 18, 2022 15:17 Post subject:
kernel-panic69 wrote:
If I am not mistaken, those are restored on boot as /tmp is RAM. Any changes that apply are taken from nvram, etc.
I don't think there is a nvram method to do it, as you could not predict how much space would be needed. I guess I could just use USB script ... maybe using `mount -o bind` as suggested by some messages.
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Tue Oct 18, 2022 16:04 Post subject:
The entire contents of /tmp is written / read on boot. The only other things that apply here are in nvram which is checked, written to if needed, and read on boot. Don't know how to explain it any clearer. The only way to change specific contents is via script (echo, sed, etc.). _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 26 Mar 2013 Posts: 1855 Location: Hung Hom, Hong Kong
Posted: Tue Oct 18, 2022 16:59 Post subject:
kernel-panic69 wrote:
The entire contents of /tmp is written / read on boot. The only other things that apply here are in nvram which is checked, written to if needed, and read on boot. Don't know how to explain it any clearer. The only way to change specific contents is via script (echo, sed, etc.).
Ignore my question for the mean time. USB and Shutdown Scripts should do.
(I remember JFFS2, but it does not offer /tmp/root)
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!