Re: /etc/mtab

Thorsten Kukuk <[email protected]>
Newsgroups gmane.linux.lsb.implementation
Organization SuSE Linux AG, Nuernberg, Germany
Message-ID <[email protected]>
On Wed, Feb 26, Wichmann, Mats D wrote:

> My confusion is that none of the distros I've
> looked at use such a symlink; /etc/mtab is a
> plain file and doesn't show exactly the same
> contents as "cat /proc/self/mounts".

You can make /etc/mtab a symlink to /proc/mounts, but /proc/mounts
only contains the data the kernel has.
/etc/mtab contains all options, which mount knows and uses. So
if you make a symlink, you will loose some functionality.

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        [email protected]
SuSE Linux AG        Deutschherrnstr. 15-19        D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B
signature.asc (application/pgp-signature, 240 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE+Xa8A+P1OI1bG+0sRAq75AJ4z9hB/+oUTYze1hLekXD5aGEtu1wCdEJAh
WnKu+W42r4oOaImoEBvQ60E=
=ueu5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.