Change the /etc/mtab symlink to use an absolute path
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 19 Mar 2012 15:59:35 +0000 (16:59 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 19 Mar 2012 16:08:13 +0000 (17:08 +0100)
commitb5fd0f2709cab72f48da12a5804dd8670fffbf6e
treedff88744fad100bcbe7b16cab4575b5b58cc8037
parent0b0e23660421ebbf233cec2e9979c9c99ef007ae
Change the /etc/mtab symlink to use an absolute path

As systemd checks if /etc/mtab is a symlink to /proc/mount or
/proc/self/mounts, we need to change it so that we can run systemd.

http://cgit.freedesktop.org/systemd/tree/src/main.c#n1082

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
fs/skeleton/etc/mtab