Is there a particular functional reason why /etc/mtab should be
symlinked to /proc/mounts instead of /cdsl.local/etc/mtab?
The reason I ask two-fold:
1) I'm not sure if having it symlinked to /proc/mounts confuses the
process of unmounting the file systems in the shared root during
shutdown. /proc/mounts shows all mounted file systems, including paths
that aren't mounted in the OSR root (e.g. /mnt/tmproot for the glfs
backing fs is mounted only in the initroot, but still shows up in
/proc/mounts).
2) It seems to interfere with the checks to see whether a bind-mount is
already mounted. Under OSR, I'm seeing all bind-mounts in fstab getting
mounted twice, once when mounting local file systems, and once when
mounting "other" file systems.
Is anything likely to break if /etc/mtab is symlinked to
/cdsl.local/etc/mtab?
Gordan
|