Sure, I’ll make the change to support both layer index and layer digest. Thanks, Chengyu
> 2025年9月15日 09:50,Gao Xiang <[email protected]> 写道: > > Hi Chengyu, > > On 2025/9/13 16:27, ChengyuZhu6 wrote: >> From: Chengyu Zhu <[email protected]> >> 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 <[email protected]> > > 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
