Jan Engelhardt: > >> >> 13:25 xensrvneu:/ # mount -t aufs none /x -o br:/root=rw > >> >> /sbin/mount.aufs:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument ::: > Yes, the command was > > strace -fo mount.log mount -t aufs none /mnt -o br:/dev/shm=rw
Ah, you just changed the paths. Then let's confirm what value is passed from userspace to aufs. Apply this patch and see the value in the kernel log. J. R. Okajima diff --git a/fs/aufs/plink.c b/fs/aufs/plink.c index 80832e6..99c9e69 100644 --- a/fs/aufs/plink.c +++ b/fs/aufs/plink.c @@ -424,6 +424,8 @@ long au_plink_ioctl(struct file *file, unsigned int cmd) default: /* err = -ENOTTY; */ err = -EINVAL; + pr_err("cmd %d, (%d, %d)\n", cmd, + AUFS_CTL_PLINK_MAINT, AUFS_CTL_PLINK_CLEAN); } out: return err; ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev