Messages in this thread | | | Date | Thu, 29 May 2014 20:44:34 +0200 | Subject | Re: Unionmount and overlayfs testsuite | From | Sedat Dilek <> |
| |
On Thu, May 29, 2014 at 8:22 PM, David Howells <dhowells@redhat.com> wrote: > Sedat Dilek <sedat.dilek@gmail.com> wrote: > >> > TEST_OVERLAYFS=1 ./run.sh >> > >> > right? >> > >> >> Yes (with my mount-patch applied). >> >> ( ...and... # umount /lower /upper /mnt ) > > Can you put a couple of echo commands in settings.inc to show which side of > the if-statement it goes and also put: > > echo TEST_OVERLAYFS is $TEST_OVERLAYFS > > in run.sh and mount_union.sh? >
I retried with the new kernel-config...
# modprobe -v overlayfs insmod /lib/modules/3.15.0-rc7-58.1-iniza-lockdep/kernel/fs/overlayfs/overlayfs.ko
...and echo-line changes...
# LC_ALL=C TEST_OVERLAYFS="1" ./run.sh [ run.sh ] TEST_OVERLAYFS is 1 *** *** ./run.sh open-plain.test *** [ mount_union.sh ] TEST_OVERLAYFS is 1 TEST100: Open O_RDONLY - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz TEST101: Open O_WRONLY - open_file -w /mnt/a/foo101 -W q /mnt/a/foo101: Test file not on upper filesystem (line 30)
# LC_ALL=C df -h | egrep 'mnt|upper|lower' lower_layer 1.9G 240K 1.9G 1% /lower upper_layer 1.9G 4.0K 1.9G 1% /upper overlayfs 1.9G 4.0K 1.9G 1% /mnt
# find /mnt/ /upper/ /lower/ -name foo101 /mnt/a/foo101 /upper/upper/a/foo101 /lower/a/foo101
# LC_ALL=C ll /mnt/a/foo101 /upper/upper/a/foo101 /lower/a/foo101 -rw-r--r-- 1 bin bin 12 May 29 20:42 /lower/a/foo101 -rw-r--r-- 1 bin bin 12 May 29 20:42 /mnt/a/foo101 -rw-r--r-- 1 bin bin 12 May 29 20:42 /upper/upper/a/foo101
# stat -c foo101 /mnt/ /upper/ /lower/ foo101 foo101 foo101
- Sedat -
| |