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.
This commit is contained 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"
|
||||
|
Reference in New Issue
Block a user