There is quite a simple solution to this problem:

                ln -sf ../proc/mounts mtab

    Maybe this could be added to postinst or similar.  Of course this
only works when procfs is mounted to /proc, but is anyone really not
doing this nowadays?

The other advantage is that "mount" and "df" show the correct file
systems even when "/" is mounted read-only, e. g. in single user mode.

Cheers,

    - Stephan.

Attachment: signature.asc
Description: Digital signature

Reply via email to