<br><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 11:03 AM, Ingo Scherzinger <span dir="ltr"><<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">>If the file's contents have to be preserved between sessions, it's breaking<br>
>the "read only system" paradigm. (You may still be able to use an usb drive<br>
>for this purpose?)<br>
<br>
</div>It's actually working fine writing edited data to the rw sda3 partition<br>
where some folders have been linked to.<br>
<div class="im"><br>
>If the file can be recreated with the same content at each startup, i'd<br>
>think about how to trick it to be on a temporary writable filesystem. I<br>
>suppose we cannot change the default path for this file, and i'm not sure<br>
if<br>
>you can a have link in your read only filesystem (/home/ingo) pointing to a<br>
>yet-to-be-created file on a temporary filesystem, but given the annoyance<br>
>factor of the problem, it may make sense to trick your whole /home/ingo<br>
onto<br>
>a temporary filesystem (from where of course you will be free to create<br>
>links to directories that reside on the read-only filesystem).<br>
><br>
>Andras<br>
<br>
</div>I tried that already. I was mounting the entire /home/ingo folder to a<br>
tmpfs.<br>
That way I didn't have all files I needed available. All system settings<br>
seemd to be gone.<br>
After getting the data partition to auto mount -rw I made a link to the<br>
.ICEauthority file. Didn't help. Maybe mounting drives comes later in the<br>
upstart order. I should check that out.<br>
<font color="#888888"><br>
Ingo</font><br></blockquote></div><br>Well, when you mount your whole home to a tmpfs you have to copy all those needed files and system settings on it, and if you can, you have to save them back to permanent storage before shutdown.<br clear="all">
Automounting drives from fstab may happen sooner or later during startup, but the system is surely capable of mounting and temp-filesystems from the moment the kernel is alive, and you can make things happen at a given moment in the boot order by adding it to the right place in /etc/init.d/<br>
<br>Andras<br>