Your message dated Thu, 12 Nov 2015 23:09:59 +0100 with message-id <[email protected]> and subject line Re: mount --bind causes plain 'mount' to report indistinguishable output has caused the Debian Bug report #794797, regarding mount --bind causes plain 'mount' to report indistinguishable output to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 794797: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794797 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: mount Version: 2.27~rc1-1 # mount --bind olddir newdir creates indistinguishable output from # mount /dev/sdd2 on /var/cache/apt/archives type ext4 (rw,relatime,errors=remount-ro,data=ordered) /dev/sdd2 on /var/cache/flashplugin-nonfree type ext4 (rw,relatime,errors=remount-ro,data=ordered) I.e., from the above output, one cannot tell if # mount /dev/sdd2 /tmp/k ls /tmp/k will produce the same as ls /var/cache/flashplugin-nonfree or ls /var/cache/apt/archives !! Therefore # mount needs to be enhanced to indicate the difference. In the meantime the man page at mount --bind olddir newdir should mention the problem.
--- End Message ---
--- Begin Message ---Hello Dan Jacobson. Thanks for your bug report and sorry for late followup. On Fri, Aug 07, 2015 at 12:03:48AM +0800, 積丹尼 Dan Jacobson wrote: > Package: mount > Version: 2.27~rc1-1 > > # mount --bind olddir newdir > > creates indistinguishable output from > > # mount > /dev/sdd2 on /var/cache/apt/archives type ext4 > (rw,relatime,errors=remount-ro,data=ordered) > /dev/sdd2 on /var/cache/flashplugin-nonfree type ext4 > (rw,relatime,errors=remount-ro,data=ordered) > > > I.e., from the above output, one cannot tell if > > # mount /dev/sdd2 /tmp/k > ls /tmp/k > will produce the same as > ls /var/cache/flashplugin-nonfree > or > ls /var/cache/apt/archives > !! > > Therefore > > # mount > > needs to be enhanced to indicate the difference. Changing the output format of well established commands like mount is very hard and would likely cause more issues then it solves. Instead you should the findmnt utility which will give you much more information in a much more flexible manner. > > In the meantime the man page at > mount --bind olddir newdir > should mention the problem. The mount manpage already refers to the findmnt utility. Regards, Andreas Henriksson
--- End Message ---

