El 08/04/13 09:49, Tetsuo Handa escribió:
Hello.
It seems to me that "mount --move /tmp/old/ /tmp/new/" is not working on opensuse 12.3 kernel.
linux:~ # uname -r 3.7.10-1.1-desktop linux:~ # mkdir -p /tmp/old/ /tmp/new/ linux:~ # mount -t tmpfs none /tmp/old/ linux:~ # mount --move /tmp/old/ /tmp/new/ mount: wrong fs type, bad option, bad superblock on /tmp/old, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
strace says
mount("/tmp/old", "/tmp/new", 0xb7c34168, MS_MGC_VAL|MS_MOVE, NULL) = -1 EINVAL (Invalid argument)
Is this a bug (or is this caused by yama-like restriction mechanism)?
Regards.
http://karelzak.blogspot.com/2013/04/umount8-mount8-and-nsenter1.html might help. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org