Re: [PATCH v3 2/2] erofs: add 'offset' mount option for file-backed & bdev-based mounts

From: Karel Zak
Date: Tue Apr 08 2025 - 04:50:05 EST


On Mon, Apr 07, 2025 at 11:49:31PM +0800, Gao Xiang wrote:
> On 2025/4/7 19:40, Karel Zak wrote:
> > We can improve it in libmount and add any if-erofs hack there, but my
> > suggestion is to select a better name for the mount option. For
> > example, erofsoff=, erostart=, fsoffset=, start=, or similar.
>
> Thanks for your suggestion!
>
> it's somewhat weird to use erofsprefix here, I think fsoffset
> may be fine.

Yes, fsoffset sounds good. I anticipate more filesystems will support
file-backed mounts in the future, making this option reusable.

Karel

--
Karel Zak <kzak@xxxxxxxxxx>
http://karelzak.blogspot.com