aboutsummaryrefslogtreecommitdiff
path: root/init.d/mtab.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/mtab.in')
-rw-r--r--init.d/mtab.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.d/mtab.in b/init.d/mtab.in
index 61b57bd8..e38d33e7 100644
--- a/init.d/mtab.in
+++ b/init.d/mtab.in
@@ -17,6 +17,11 @@ start()
fi
ebegin "Updating /etc/mtab"
+ vewarn "The support for updating /etc/mtab as a file is"
+ vewarn "deprecated and will be removed in the future."
+ vewarn "Please run the following command as root on your system."
+ vewarn
+ vewarn "ln -snf /proc/self/mounts /etc/mtab"
if ! echo 2>/dev/null >/etc/mtab; then
ewend 1 "/etc/mtab is not updateable"
return 0