[Buildroot] [git commit] Change the /etc/mtab symlink to use an absolute path

From: Peter Korsgaard <jacmet@sunsite.dk>
Date: 2012-03-19 16:08:13
Subsystem: filesystems (vfs and infrastructure), the rest · Maintainers: Alexander Viro, Christian Brauner, Linus Torvalds

commit: http://git.buildroot.net/buildroot/commit/?id=b5fd0f2709cab72f48da12a5804dd8670fffbf6e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 <redacted>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 fs/skeleton/etc/mtab |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/skeleton/etc/mtab b/fs/skeleton/etc/mtab
index e1c2045..4c0a094 120000
--- a/fs/skeleton/etc/mtab
+++ b/fs/skeleton/etc/mtab
@@ -1 +1 @@
-../proc/mounts
\ No newline at end of file
+/proc/mounts
\ No newline at end of file
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help