Ebedded Linux: Recoverable, battery backed-up RAM (/tmp)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












I hope this is an appropriate place for this question as it involves the use of the kernel.



I have an embedded system with a battery backup for the RAM chip. The battery also allows for the MCU to gracefully shutdown.



The data I am writing to RAM goes in the /tmp folder. When Linux shuts down and then eventually boots up again, I lose access to the RAM.



In the graceful shutdown process, is it possible to save the mounting location (memory location) of /tmp to a file in non-volatile memory so that when Linux boots up again it can line up the memory and allow me to access the preserved RAM accurately?



Thanks!










share|improve this question







New contributor




zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    -1
    down vote

    favorite












    I hope this is an appropriate place for this question as it involves the use of the kernel.



    I have an embedded system with a battery backup for the RAM chip. The battery also allows for the MCU to gracefully shutdown.



    The data I am writing to RAM goes in the /tmp folder. When Linux shuts down and then eventually boots up again, I lose access to the RAM.



    In the graceful shutdown process, is it possible to save the mounting location (memory location) of /tmp to a file in non-volatile memory so that when Linux boots up again it can line up the memory and allow me to access the preserved RAM accurately?



    Thanks!










    share|improve this question







    New contributor




    zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I hope this is an appropriate place for this question as it involves the use of the kernel.



      I have an embedded system with a battery backup for the RAM chip. The battery also allows for the MCU to gracefully shutdown.



      The data I am writing to RAM goes in the /tmp folder. When Linux shuts down and then eventually boots up again, I lose access to the RAM.



      In the graceful shutdown process, is it possible to save the mounting location (memory location) of /tmp to a file in non-volatile memory so that when Linux boots up again it can line up the memory and allow me to access the preserved RAM accurately?



      Thanks!










      share|improve this question







      New contributor




      zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I hope this is an appropriate place for this question as it involves the use of the kernel.



      I have an embedded system with a battery backup for the RAM chip. The battery also allows for the MCU to gracefully shutdown.



      The data I am writing to RAM goes in the /tmp folder. When Linux shuts down and then eventually boots up again, I lose access to the RAM.



      In the graceful shutdown process, is it possible to save the mounting location (memory location) of /tmp to a file in non-volatile memory so that when Linux boots up again it can line up the memory and allow me to access the preserved RAM accurately?



      Thanks!







      embedded ram tmp






      share|improve this question







      New contributor




      zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 14 mins ago









      zme

      11




      11




      New contributor




      zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      zme is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          zme is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475135%2febedded-linux-recoverable-battery-backed-up-ram-tmp%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          zme is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          zme is a new contributor. Be nice, and check out our Code of Conduct.












          zme is a new contributor. Be nice, and check out our Code of Conduct.











          zme is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475135%2febedded-linux-recoverable-battery-backed-up-ram-tmp%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          The Forum (Inglewood, California)

          Palaiologos