]> code.ossystems Code Review - openembedded-core.git/commit
init-install*: /etc/mtab make a link rather than a copy
authorAwais Belal <awais_belal@mentor.com>
Mon, 1 Aug 2016 11:31:43 +0000 (16:31 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2016 09:33:29 +0000 (10:33 +0100)
commit9f9240d175acee274c04242fd5781094b3f5491b
tree468344656946d411419611cf7856e53ecdc4e6a3
parent769fae0b74d7c7992aa593907f446fab98ef5128
init-install*: /etc/mtab make a link rather than a copy

Using a copy would only make management of devices erroneous
and makes the system unstable in some scenarios as tools will
have to manipulate both files separately. A link ensures that
both files /proc/mounts and /etc/mtab will have the same
information at all times and this is how it is handled
on newer systems where there is such a need. Same is
suggested by busybox.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/initrdscripts/files/init-install-efi.sh
meta/recipes-core/initrdscripts/files/init-install.sh