Am Mittwoch 10 November 2010 schrieb Petr Uzel:
Hi,
On Wed, Nov 10, 2010 at 12:56:00AM +0100, Kay Sievers wrote:
Systemd does not support /etc/mtab anymore. Mirroring volatile kernel state in the filesystem is a concept which you can not win with today's setups. It must be a symlink to /proc/mounts.
Systemd will log an error now, when /etc/mtab is not a symlink.
I agree writable /etc/mtab is something we should get rid of (and AFAIK util-linux upstream is working on it). OTOH, there is still some information missing in /proc/mounts compared to what's written in mtab - e.g. the 'user' option will if mtab is a symlink to /proc/mounts.
How do you plan to deal with this?
mount writes a file to e.g. /var/adm that contains such options and that mount will then display. Other tools parsing mtab may miss such informations, but adding support for it in glibc should be possible too once util-linux. This is at least what I gathered from an IRC discussion between systemd and util-linux-ng maintainers (both redhat employees, so possible fedora has already patches for it, I couldn't find anything in util-linux-ng git yet). Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org