# touch foo # touch bar # mount -n --bind foo bar # mount -n -o remount,ro bar mount: can't find bar in /etc/fstab or /etc/mtab That seems like an oversight -- why is -o remount looking at /etc/fstab and /etc/mtab at all? Especially when I set -n. Oddly, this doesn't work either: # mount -n -o remount,ro -t bind foo bar mount: bar is busy Am I missing something? There are a few ways I can think of to fix this: 1. Make mount -n (or mount --use-proc) look at /proc/self/mounts instead of /etc/mtab. 2. Make mount -n -o remount not care about mtab and just issue the syscall. 3. Make mount -n -o raw_remount not care about mtab and issue a remount, if the existing behavior is important for some reason. (The reason I care is because I'm using mount namespaces, I have no control over /etc/mtab, and I can't bind mount /proc/self/mounts over /etc/mtab b/c the former is a symlink.) Thanks, Andy -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html