Am 05.12.2010 18:07, schrieb Nix: > mount --move doesn't work as specified in the manpage: > > ,---- > | # cd /tmp > | # mkdir foo > | # mkdir bar > | # mount --move foo bar > | mount: wrong fs type, bad option, bad superblock on /tmp/foo, > | missing codepage or helper program, or other error > | In some cases useful info is found in syslog - try > | dmesg | tail or so man page says: The move operation. Since Linux 2.5.1 it is possible to atomically move a mounted tree to another place. The call is mount --move olddir newdir The magic word is *mounted* I'm afraid, you can only move mountpoints. > A mount with mount options 'move' doesn't work either. I haven't found > any way to make a move mount work yet. (This is with kernel 2.6.36 and > glibc 2.12.1 compiled against it, which certainly both support MS_MOVE > natively, and have for ages.) Try this, succeeds here (Linux 2.6.35): cd /tmp mkdir foo mount --bind foo foo mkdir bar mount --move foo bar Though it does not do what you want as you will see foo's content in foo AND bar. Regards, Jakob -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html