[Bug 139854] - 'mount --bind' causes wrong thing to appear in place of 'Filesystem'

bugzilla-daemon@bugzilla.gnome.org bugzilla-daemon@bugzilla.gnome.org
Sat, 31 Jul 2004 12:44:40 -0400 (EDT)


http://bugzilla.gnome.org/show_bug.cgi?id=139854
gnome-vfs | Other | Ver: cvs (head)





------- Additional Comments From davyd@ucc.asn.au  2004-07-31 12:44 -------
Created an attachment (id=30112)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=30112&action=view)
the fix

This fixes it, the problem was thus:

gnome-vfs was looking up '/' by stat-ing it and comparing it's st_dev to the
list of other st_dev's. Both the a filesystem and any filesystems mount-binded
inside it will have the same st_dev, gnome-vfs was picking the first one in the
list.

Removing /dev/root entries from the list of entries we can enumerate through
should solve this problem, without removing any functionality (we don't use
/dev/root to glean any useful information).

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.