Bug#585944: /proc/mounts ambiguity in output for same disk mounted more than once

2010-06-15 Thread Ben Hutchings
On Tue, 2010-06-15 at 09:07 +0800, jida...@jidanni.org wrote: > Package: linux-2.6 > Version: 2.6.32-15 > Severity: minor > > For the same disk mounted more than once, it is impossible to tell the > actual options in effect. [...] > Or it may seem to the user that different options apply according

Bug#585944: /proc/mounts ambiguity in output for same disk mounted more than once

2010-06-14 Thread jidanni
Package: linux-2.6 Version: 2.6.32-15 Severity: minor For the same disk mounted more than once, it is impossible to tell the actual options in effect. $ cat script { cat /proc/mounts;mount;}|perl -nwle ' next unless /sdb/; print STDERR; tr/()//d; next unless /\S+exec\S+/; $_=$&;tr/,/\n/;print;'|s