[PATCH v3 2/2] erofs: add 'offset' mount option for file-backed & bdev-based mounts
Karel Zak
kzak at redhat.com
Tue Apr 8 18:46:22 AEST 2025
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 at redhat.com>
http://karelzak.blogspot.com
More information about the Linux-erofs
mailing list