The idea that separate / from /usr is archaic or wrong is incorrect. Just saying... Think about it for a bit... Because if you still believe that to be true...then it is /usr that must go away. &nbsp;Sure, we are like lemmings and we follow whoever we think should lead...I&#39;m just saying we need to be careful with making broad statements just because it&#39;s some kind of new tradition. &nbsp;Isn&#39;t one of the ideas of systemd is that sysv init wasn&#39;t good enough? &nbsp;Just seems strange to hold onto bad premise because of the need to support bad assumptions... Especially when advocating change to accomodate systemd. &nbsp;Just an observation.... It makes one seem hypocritical.<br><br><br>----- Reply message -----<br>From: &quot;Kay Sievers&quot; &lt;kay.sievers@vrfy.org&gt;<br>To: &quot;Paolo Bonzini&quot; &lt;bonzini@gnu.org&gt;<br>Cc: &lt;systemd-devel@lists.freedesktop.org&gt;<br>Subject: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var<br>Date: Fri, Sep 30, 2011 6:32 am<br><br><br>On Fri, Sep 30, 2011 at 13:18, Paolo Bonzini &lt;bonzini@gnu.org&gt; wrote:<br>&gt; On 09/30/2011 01:05 PM, Tom Gundersen wrote:<br>&gt;&gt;<br>&gt;&gt; I think a better heuristic is needed if we want to plan for<br>&gt;&gt; the future. If I understand correctly, there seems to be a shift<br>&gt;&gt; towards moving stuff from /lib, /bin and /sbin to /usr/lib, /usr/bin<br>&gt;&gt; and /usr/sbin, respectively (and requiring /usr to be mounted when<br>&gt;&gt; systemd starts). That means that at some point in the future we will<br>&gt;&gt; be back to square one.<br><br>Yes, that&#39;s right:<br> &nbsp;http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken<br> &nbsp;https://fedoraproject.org/wiki/Features/UsrMove<br><br>&gt; Requiring /usr to be mounted when systemd starts would sound like a very<br>&gt; strange thing to me.<br><br>There is nothing in systemd requiring that, but in fact, booting with<br>an empty /usr is not supported and goes wrong all over the place. And<br>that will not be fixed, or worked around. The split between / and /usr<br>is a weird UNIX heritage that makes no sense on Linux today, and the<br>plan is to move all stuff back to /usr, where it belongs, over time.<br><br>&gt; And I&#39;m not even that much of a Unix maven.  If there<br>&gt; is any place where a barrier can be placed, that is /usr.<br><br>I don&#39;t mind having some rules to prioritize things like kernel<br>modules or some config files, but keying of the /usr directory makes<br>not much sense to have in the upstream code.<br><br>&gt; So much that I&#39;ve<br>&gt; been thinking about adding &quot;virtual&quot; mount units that become active as soon<br>&gt; as any directory above it is mounted.  This way, units that require /usr<br>&gt; could be made to depend on usr.mount.<br><br>No, this will all not work for any non-trivial (like a web server or<br>something very simple) setup. The tools from /usr are needed to boot<br>up for any modern system.<br><br>&gt; In fact, I think it is very wrong to make binfmt load from<br>&gt; /usr/lib/binfmt.d.  Personally, I would have made it /lib/systemd/binfmt.d<br>&gt; (likewise for tmpfiles).<br><br>There should be no early boot tools that need binfmt.<br><br>&gt; If you really want to use /usr, there should be two instances of<br>&gt; binfmt/tmpfiles/etc. one that is activated very early (loading from /etc and<br>&gt; /lib) and one that is activated after remote-fs.target (in the lack of<br>&gt; usr.mount---yes, remote!) that loads from /usr/lib and /usr/local/lib.<br><br>It&#39;s not needed, the stuff in the rootfs will go away over time and<br>the top-level dirs there will be replaced with compat symlinks.<br><br>&gt; As I said, the heuristic is not perfect.  However, it is a huge improvement<br>&gt; and right now the only /usr files that my system needs early are<br>&gt; binfmt/tmpfiles configuration, plus some coreutils that perhaps should be<br>&gt; moved to bin (id, tr, getopt).<br><br>Nope, all should be in /usr, nothing in the rootfs. The split makes<br>almost zero sense these days, creates a ton of problems and provides<br>no real benefit.<br><br>&gt;&gt; Also, I&#39;m not sure if I understand your suggestion that /var should be<br>&gt;&gt; ignored. In particular I think /var/tmp would be useful to readahead<br>&gt;&gt; (albeit probably as one of the last things to do).<br>&gt;<br>&gt; You could add that as a third group, after / and /usr.  The patch makes that<br>&gt; kind of extensibility very easy.<br><br>Rules which files to prioritize *might* make sense, sorting by<br>top-level dir doesn&#39;t really.<br><br>&gt;&gt; Lots of<br>&gt;&gt; pregenerated stuff that rarely changes is stored there that we want to<br>&gt;&gt; load as quickly as possible at boot (e.g. kde&#39;s caches).<br>&gt;<br>&gt; Yes, /var/tmp is part of why I omitted that part of the patch (despite<br>&gt; leaving it by mistake in the subject).  However, because I use GNOME :) my<br>&gt; /.readahead doesn&#39;t have anything from /var/tmp; only from /var/log.<br>&gt;  Perhaps /var/log should be ignored instead.<br><br>Kay<br>_______________________________________________<br>systemd-devel mailing list<br>systemd-devel@lists.freedesktop.org<br>http://lists.freedesktop.org/mailman/listinfo/systemd-devel<br>