<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 9:41 AM, Colin Guthrie <span dir="ltr"><<a href="mailto:gmane@colin.guthr.ie" target="_blank">gmane@colin.guthr.ie</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">'Twas brillig, and lux-integ at 01/08/13 15:25 did gyre and gimble:<br>
<div class="im">> On Thursday 01 August 2013 12:58:46 Tom Gundersen wrote:<br>
>> 'm not following. Do you mean that systemd is already doing what you<br>
>> need,<br>
><br>
><br>
> not sure  as I am just learning<br>
><br>
><br>
> ...but suppose<br>
> I have already mounted   proc, run and sys<br>
> and I want just a read only root filesystem<br>
><br>
> --a)  how do  I get  systemd to mount a   nonRW  root filesystem    and not<br>
> bother with anything  in fstab.?  OR<br>
> --b) could I  have  an fstab  with  /  -o,ro?<br>
> ( and if so what would systemd-remount-fs.service do ?)<br>
<br>
</div>Exactly the same as with sysvinit - just set the options in fstab.<br>
<br>
Or if you don't want an fstab then set the options in the -.mount unit<br>
instead.<br>
<br>
The systemd-remount-fs.service will then basically be a no-op if the<br>
options don't change.<br></blockquote><div> </div><div><br></div><div>Couldn't you just systemctl mask systemd-remount-fs.service<br>and just keep ro in the kernel line of your bootloader?<br><br></div><div>Then you just wouldn't remount the filesystem as rw, which<br>
would be what is listed in your fstab. <br><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im HOEnZb"><br>
Col<br>
<br>
<br>
<br>
--<br>
<br>
Colin Guthrie<br>
gmane(at)<a href="http://colin.guthr.ie" target="_blank">colin.guthr.ie</a><br>
<a href="http://colin.guthr.ie/" target="_blank">http://colin.guthr.ie/</a><br>
<br>
Day Job:<br>
  Tribalogic Limited <a href="http://www.tribalogic.net/" target="_blank">http://www.tribalogic.net/</a><br>
Open Source:<br>
  Mageia Contributor <a href="http://www.mageia.org/" target="_blank">http://www.mageia.org/</a><br>
  PulseAudio Hacker <a href="http://www.pulseaudio.org/" target="_blank">http://www.pulseaudio.org/</a><br>
  Trac Hacker <a href="http://trac.edgewall.org/" target="_blank">http://trac.edgewall.org/</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</div></div></blockquote></div></div></div>