[PATCH v1 2/2] oci: replace layer index with layer digest
hudsonZhu
hudson at cyzhu.com
Tue Sep 16 23:43:10 AEST 2025
Sure, I’ll make the change to support both layer index and layer digest.
Thanks,
Chengyu
> 2025年9月15日 09:50,Gao Xiang <hsiangkao at linux.alibaba.com> 写道:
>
> Hi Chengyu,
>
> On 2025/9/13 16:27, ChengyuZhu6 wrote:
>> From: Chengyu Zhu <hudsonzhu at tencent.com>
>> Replace numeric layer_index with layer_digest string for more precise
>> and reliable OCI layer identification. This change affects both mkfs.erofs
>> and mount.erofs tools.
>> Signed-off-by: Chengyu Zhu <hudsonzhu at tencent.com>
>
> Could we have a way to support both layer index and digest?
>
> For users using `mkfs.erofs` or `mount.erofs` directly, I think
> they feel more convenient to use layer index instead.
>
> But for snapshotter and failover cases, I think layer digest is
> more suitable.
>
> Thanks,
> Gao Xiang
More information about the Linux-erofs
mailing list