Re: ovl: mounting two times the same mount overlayfs will not list any directory entry anymore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is kernel v4.13 and one squashfs file

Thanks,

Jordi Pujol

On Thu, Sep 14, 2017 at 12:12 PM, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> On Tue, Sep 12, 2017 at 3:04 PM, Jordi Pujol <jordipujolp@xxxxxxxxx> wrote:
>> On Tue, Sep 12, 2017 at 12:47 PM, Amir Goldstein <amir73il@xxxxxxxxx> wrote:
>>
>>> So is this reproducible at every run with v4.13?
>> yes,
>>
>>> Are you able to try this without overlayfs? i.e. chroot to squashfs mount?
>> I have found the same in 4.12 when mounting only one squashfs image.
>> Therefore we could say that when working with previous versions
>> overlayfs was solving the problem in some way.
>
> Can you please post the contents of /proc/self/mountinfo?
>
> Thanks,
> Miklos
root@pcjordi:notes# cat /proc/self/mountinfo > mountinfo-4.13.2-previous,txt
root@pcjordi:notes# mkdir /tmp/fs
root@pcjordi:notes# mount -o loop,ro /lnet/image/LneTLXQT64/00filesystem.squashfs /tmp/fs/     
root@pcjordi:notes# mount -o bind /tmp /tmp/fs/tmp/
root@pcjordi:notes# cat /proc/self/mountinfo > mountinfo-4.13.2-mount1,txt
root@pcjordi:notes# mount -o bind /tmp /tmp/fs/tmp/
root@pcjordi:notes# ls -lA /tmp/fs/
total 0
root@pcjordi:notes# cat /proc/self/mountinfo > mountinfo-4.13.2-mount2,txt

Attachment: mountinfo-4.13.2-mount1,txt
Description: Binary data

Attachment: mountinfo-4.13.2-mount2,txt
Description: Binary data

Attachment: mountinfo-4.13.2-previous,txt
Description: Binary data


[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux