This website requires JavaScript.
Explore
Help
Sign In
NetCube-Systems-Austria
/
kumquat-buildroot
Watch
1
Star
0
Fork
0
You've already forked kumquat-buildroot
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
e52e145d91
kumquat-buildroot
/
system
/
skeleton
/
etc
/
mtab
1 line
19 B
Plaintext
Raw
Normal View
History
Unescape
Escape
system/skeleton: update etc/mtab with a more sensible link Currently, our /etc/mtab points to /proc/mounts. This was all neat so far, and was good for a sysv-like init system. However, the way today is to point it at /proc/self/mounts, the per-process mount tab. Additionnally, that's what systemd expects. If /etc/mtab is not a symlink to ../proc/self/mounts and the rootfs is readonly, systemd would whine loudly (and a service unit would be marked failed). Since it works well for sysv-like init systems too, just use that. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-22 21:07:26 +02:00
../proc/self/mounts
Reference in New Issue
Copy Permalink