Hmm,,, Won't you try this patch?
Didn't help, log attached
# mkswap /aufs/regular/file NNNN - failed # mkswap /branch/regular/file NNNN - succeeded right?
I make mistake, error return not mkswap but swapon
I have following situation (for example):
/dev/sda1 /mnt/disk
/mnt/disk/root = aufs (br:/mnt/disk/cur=rw:/mnt/disk/image=ro)
I'm chroot to /mnt/disk/root and run my system by calling init
so when I create swap file on the system (for example /var/tmp/swap)
and calls swapon then error occured, but if i create file on
/mnt/disk/swap and call swapon all ok.
stat64("/var/tmp/swap", {st_mode=S_IFREG|0644, st_size=102400000, ...}) = 0
swapon("/var/tmp/swap") = -1 EINVAL (Invalid argument)
write(2, "swapon: /var/tmp/swap: Invalid a"..., 40swapon:
/var/tmp/swap: Invalid argument
) = 40
exit_group(-1) = ?
netcat1.log
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
