diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-11-14 14:11:57 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-11-14 15:41:03 -0600 |
commit | 318e87348168e37d78f433d3ff06288ad8ccf15c (patch) | |
tree | 5d9ae4c8ff5a47d672370f14e0f65dc72c918da2 /init.d | |
parent | 0d15898f58cc254d79777c791d4798a9b2542cf2 (diff) |
strongly encourage Linux users to not make /etc/mtab a flat file
The OpenRC team does not currently know of any modern linux tools that
require /etc/mtab to be a flat file, so this puts users on notice that
the mtab service will be removed in the future.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/mtab.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.d/mtab.in b/init.d/mtab.in index 9e0c1a6e..bac8230f 100644 --- a/init.d/mtab.in +++ b/init.d/mtab.in @@ -31,6 +31,10 @@ start() einfo "Creating mtab symbolic link" ln -snf /proc/self/mounts /etc/mtab else + ewarn "The ${RC_SVCNAME} service will be removed in the future." + ewarn "Please change the mtab_is_file setting to no and run" + ewarn "# rc-service mtab restart" + ewarn "to create the mtab symbolic link." [ -L /etc/mtab ] && ewarn "Removing /etc/mtab symbolic link" rm -f /etc/mtab einfo "Creating mtab file" |