[prev in list] [next in list] [prev in thread] [next in thread] 

List:       voyage-linux
Subject:    Re: [Voyage-linux] reboot without saving
From:       Jordi Soucheiron <jsoucheiron () dexmatech ! com>
Date:       2012-12-28 16:05:59
Message-ID: CAK5EerQtZS8Do6wct9CFomfPw3gScgT46CT4zfxTgSu==FWtHg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Create an init script that copies the files you need from the permanent
location to tmpfs after sync. Create another script that remounts the fs in
rw mode, copies the files to a permanent location and remounts in ro again.

*Jordi Soucheiron*
Software Engineer
jsoucheiron@dexmatech.com

*DEXMA*
c/ Marie Curie, 8-14
ES-08042, Barcelona
t: (+34) 93 181 01 96
www.dexmatech.com

Follow us on Twitter <http://www.twitter.com/dexma> and
Linkedin<http://www.linkedin.com/company/247838>
S=C3=ADguenos en Twitter <http://www.twitter.com/dexma_ES> y
Linkedin<http://www.linkedin.com/company/dexma-tech>


2012/12/20 RenZO <renzo@imaginux.com>

> Hello all,
>
> Is there an option to reboot voyage-linux without syncing ?
> Like if we unplug the mains power.
> I would like to do this because I have a software in tmpfs, users can pla=
y
> with it but sometimes I want to reboot the system without saving any chan=
ge
> (to have a kind of reset).
> A solution would be to sync the previous save to tmpfs before rebooting (=
to
> overwrite the current changes).
> Is there a proper way to do that please ?
>
> --
> ++
> RenZO
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux@list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>

[Attachment #5 (text/html)]

Create an init script that copies the files you need from the permanent location to \
tmpfs after sync. Create another script that remounts the fs in rw mode, copies the \
files to a permanent location and remounts in ro again.<div class="gmail_extra">

<br clear="all"><div><b>Jordi Soucheiron</b><br>
Software Engineer<br><a style="color:rgb(102,153,0)" \
href="mailto:jsoucheiron@dexmatech.com" \
target="_blank">jsoucheiron@dexmatech.com</a><br> <br>
<b>DEXMA</b><br>c/ Marie Curie, 8-14<br>ES-08042, Barcelona<br>t: (+34) 93 181 01 \
96<br><a href="http://www.dexmatech.com" \
target="_blank">www.dexmatech.com</a><br><br>Follow us on <a \
href="http://www.twitter.com/dexma" target="_blank">Twitter</a> and <a \
href="http://www.linkedin.com/company/247838" target="_blank">Linkedin</a><br>

Síguenos en <a href="http://www.twitter.com/dexma_ES" target="_blank">Twitter</a> y \
<a href="http://www.linkedin.com/company/dexma-tech" \
target="_blank">Linkedin</a><br></div> <br><br><div class="gmail_quote">2012/12/20 \
RenZO <span dir="ltr">&lt;<a href="mailto:renzo@imaginux.com" \
target="_blank">renzo@imaginux.com</a>&gt;</span><br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello all,<br>
<br>
Is there an option to reboot voyage-linux without syncing ?<br>
Like if we unplug the mains power.<br>
I would like to do this because I have a software in tmpfs, users can play<br>
with it but sometimes I want to reboot the system without saving any change<br>
(to have a kind of reset).<br>
A solution would be to sync the previous save to tmpfs before rebooting (to<br>
overwrite the current changes).<br>
Is there a proper way to do that please ?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
++<br>
RenZO<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" \
target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br> \
</font></span></blockquote></div><br></div>



_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic