diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2015-04-25 15:37:52 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-04-25 16:37:09 -0500 |
commit | a6391f44ee6c68d674ae8425983467b971710d5d (patch) | |
tree | 2a8f745829dce81c791154931e8e2e1fd79fb667 /sh | |
parent | a8c6dbac96a20eb35ce55befe0e64d89dd30de4d (diff) |
mtab: move toward requiring /etc/mtab to be a symbolic link
This changes the mtab service in the following way:
- If /etc/mtab is a symbolic link, success is returned.
- If /etc is not writable, we warn that we could not update /etc/mtab
and return success.
- If /etc/mtab does not exist, we create a symbolic link from
/etc/mtab to /proc/self/mounts.
- Otherwise, we warn that updating /etc/mtab as a file is
deprecated and continue to update it after outputting instructions to
the user for how to move it to a symbolic link.
Diffstat (limited to 'sh')
0 files changed, 0 insertions, 0 deletions