mkfs.erofs fails (failed to build shared xattrs, err 61)

2024-03-12 Thread Gael Donval
Dear list, $ mkdir foo && touch foo/bar && mkfs.erofs foo.erofs.img foo mkfs.erofs 1.7.1 erofs: failed to build shared xattrs: [Error 61] No data available erofs: Could not format the device : [Error 61] No data available That is at a location backed by BTRFS (btrfs-progs

Re: mkfs.erofs fails (failed to build shared xattrs, err 61)

2024-03-12 Thread Gael Donval
> On 2024/3/12 18:44, Gao Xiang wrote: > > Hi Gael, > > > > On 2024/3/12 17:57, Gael Donval wrote: > > > Dear list, > > > > > >     $ mkdir foo && touch foo/bar && mkfs.erofs foo.erofs.img foo > > >     mkfs.erofs

Re: mkfs.erofs fails (failed to build shared xattrs, err 61)

2024-03-12 Thread Gael Donval
On Tue, 2024-03-12 at 19:37 +0800, Gao Xiang wrote: > > > On 2024/3/12 19:07, Gael Donval wrote: > > > On 2024/3/12 18:44, Gao Xiang wrote: > > > > Hi Gael, > > > > > > > > On 2024/3/12 17:57, Gael Donval wrote: > > > > &

Re: mkfs.erofs fails (failed to build shared xattrs, err 61)

2024-03-12 Thread Gael Donval
On Tue, 2024-03-12 at 20:43 +0800, Gao Xiang wrote: > > > On 2024/3/12 20:01, Gael Donval wrote: > > On Tue, 2024-03-12 at 19:37 +0800, Gao Xiang wrote: > > > > > > > > > On 2024/3/12 19:07, Gael Donval wrote: > > > > >

Re: mkfs.erofs fails (failed to build shared xattrs, err 61)

2024-03-12 Thread Gael Donval
On Tue, 2024-03-12 at 22:15 +0800, Gao Xiang wrote: > > > On 2024/3/12 21:14, Gael Donval wrote: > > On Tue, 2024-03-12 at 20:43 +0800, Gao Xiang wrote: > > > > > ... > > > > Yes, but that needs a new version (maybe erofs-utils 1.8) though. >

Re: mkfs.erofs fails (failed to build shared xattrs, err 61)

2024-03-12 Thread Gael Donval
> > If there is harm, mkfs.erofs should strip anything that it does not > > support without producing an error. > > > > Either way, there should be no error. :) > > Fair enough, I think I will do this for erofs-utils 1.8, but I tend > to consider unsupported xattr namespaces as warn messages,