diff --git a/init.d/mtab.in b/init.d/mtab.in index 51575b4..13b49f9 100644 --- a/init.d/mtab.in +++ b/init.d/mtab.in @@ -20,12 +20,20 @@ start() elif [ ! -e /etc/mtab ]; then ln -snf /proc/self/mounts /etc/mtab else - ewarn "The support for updating /etc/mtab as a file is" - ewarn "deprecated and will be removed in the future." - ewarn "Please run the following command as root on your system." + ewarn "The OpenRC mtab script has been deprecated and will be" + ewarn "removed from the boot runlevel in future installs in" + ewarn "favor of a symlink. The symlink improves compatibility" + ewarn "with mount namespaces and installing it is recommended." + ewarn + ewarn "You can install the symlink on your system by running" + ewarn "the following command as root:" ewarn ewarn "ln -snf /proc/self/mounts /etc/mtab" ewarn + ewarn "Afterward, you can remove mtab from the boot runlevel:" + ewarn + ewarn "rc-update delete mtab boot" + ewarn # With / as tmpfs we cannot umount -at tmpfs in localmount as that # makes / readonly and dismounts all tmpfs even if in use which is