-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/10/2014 12:46 AM, David Mohr wrote:
> [I reopened the bug, but I didn't realize I had to explicitly cc to
> have my reasoning be accessible, sorry]
> 
> Even if the mounts are equivalent at the kernel level, there
> certainly is information lost compared to the mtab in squeeze:
> namely where within the filesystem the bind mount originates.
> 
> Example:
> 
> david@feline:~/ > mount | grep '/home ' /dev/mapper/vghs-home on
> /home type ext4 (rw) david@feline:~/ > sudo mount -o bind
> /home/david/tmp /mnt david@feline:~/ > cat /proc/mounts | grep
> 'vghs-home' /dev/mapper/vghs-home /home ext4 
> rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0 
> /dev/mapper/vghs-home /mnt ext4 
> rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
> 
> The 2nd entry is for the bind mount. In squeeze the mtab
> contained: /home/david/tmp on /mnt type none (rw,bind)
> 
> So how do I figure out that /mnt refers to '/tmp' inside the
> device /dev/mapper/vghs-home in wheezy?

Hrm... that's a good question.  I'll ask upstream.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS0ATzAAoJEI5FoCIzSKrw1QAIAJDdo28FD8+2UxXvmYM2JwKY
gikvNLdOAb1sO17pglfPWZSIsIpT4EW+vVR/sE++Ex4Vx06kpDYbGFr7L9m2GWwi
Fvq6OZJMKF21juq3C7H2dQrj7eYqOtOWRQqh3eR9g3Qf24+IJkJOhfLr9rQlO+uI
yNOB63ZYLffaLzsIAJZMfEkV2CWmBxnmkXdmRLDpUCUAp0J99qkVFSHu3jFGOW93
anb5X0WjWdDW2+PkpI+po86sybCDym4Ryr6Y7k3DPXdCFvNkz9ZXpodNMXHbP9rn
qzaGt15tPCK870xFucbUZ2rmKTJFZ+niTSEDdi45M0FyeknFn4gDLSe4TFJ5HU8=
=XEgs
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to