[systemd-devel] Hard-coded /bin/mount in systemd

Karel Zak kzak at redhat.com
Wed Nov 27 08:14:52 PST 2013


On Wed, Nov 27, 2013 at 04:41:27PM +0100, Kay Sievers wrote:
> We support exactly two configurations:
> the (conceptually pointless and confusing) legacy split-/user with
> /bin/mount, and the one proper single /usr, where /bin must be a
> symlink to /usr/bin.

BTW, it's not about systemd only. The same is valid for 
/sbin/{mount,fsck,mkfs}.<fs> helpers, agetty where we call /bin/login,
etc. etc.

> Nothing else is interesting to support, matters or makes sense in any
> way. In both supported configurations /bin/mount works just fine.
> 
> In the very long run, we will get rid of the split-/usr support and at
> that point just hard-code things like /usr/bin/mount; there is no need
> really for a configuration switch here.

Yep.

    Karel

-- 
 Karel Zak  <kzak at redhat.com>
 http://karelzak.blogspot.com


More information about the systemd-devel mailing list