Package: mount Version: 2.12r-6 Severity: normal Mounting with --rbind should rebind a portion of the filesystem under a particular mountpoint:
$ mount | grep /srv/chroot/experimental /dev/mapper/hda_vg-experimental_chroot on /srv/chroot/experimental type ext3 (rw) /dev/pts on /srv/chroot/experimental/dev/pts type none (rw,bind) tmpfs on /srv/chroot/experimental/dev/shm type tmpfs (rw) /dev/mapper/hda_vg-home on /srv/chroot/experimental/home type ext3 (rw,quota,user_xattr) /tmp on /srv/chroot/experimental/tmp type none (rw,bind) $ sudo mount --rbind /srv/chroot/experimental /mnt $ mount | grep /mnt /srv/chroot/experimental on /mnt type none (rw,bind) $ grep /mnt /proc/mounts /dev/mapper/hda_vg-experimental_chroot /mnt ext3 rw,data=ordered 0 0 devpts /mnt/dev/pts devpts rw 0 0 tmpfs /mnt/dev/shm tmpfs rw 0 0 /dev/mapper/hda_vg-home /mnt/home ext3 rw,data=ordered,usrquota 0 0 tmpfs /mnt/tmp tmpfs rw 0 0 As can be seen, there are five filesystems mounted under /srv/chroot/experimental, and --rbind binds all five under /mnt according to /proc/mounts, but /etc/mtab is only updated to reflect the binding of the top-level filesystem. This does cause problems with umounting the tree under /mnt (you get "filesystem busy", due to the "hidden" mounts), and so it would be rather more appropriate if mount wrote out the other four mounts into /etc/mtab as well. Regards, Roger -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15.4 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages mount depends on: ii libblkid1 1.38+1.39-WIP-2005.12.31-1 block device id library ii libc6 2.3.6-1 GNU C Library: Shared libraries an ii libuuid1 1.38+1.39-WIP-2005.12.31-1 universally unique id library mount recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]