mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fa50d81aa7
This commit adds a test to check hardlink breakage when the
overlayfs instance is composed of two different underlying
filesystem instances.
For example,
$ mount -t xfs /dev/loop0 /mnt/test
$ mount -t xfs /dev/loop1 /mnt/scratch
$ mkdir /mnt/scratch/upper
$ mkdir /mnt/scratch/work
$ mount -t overlay overlay -o lowerdir=/mnt/test \
-o upperdir=/mnt/scratch/upper \
-o workdir=/mnt/scratch/work /mnt/merge
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
22 lines
186 B
Plaintext
22 lines
186 B
Plaintext
QA output created by 044
|
|
== Before copy up ==
|
|
zero
|
|
zero
|
|
== After write one ==
|
|
zero
|
|
one
|
|
zero
|
|
one
|
|
== After mount cycle ==
|
|
zero
|
|
one
|
|
zero
|
|
one
|
|
== After write two ==
|
|
zero
|
|
one
|
|
two
|
|
zero
|
|
one
|
|
two
|