Fedora 39, with BTRFS how to enable file extended attribute?

I added user_xattr in fstab,

/mydir/d.tmp $
setfattr -n “foo-name” -v “foo-value” myfile.txt
setfattr: myfile.txt: Operation not supported

But trying to add extended attribute with (CLI) setfattr always promts “Not Supported”
How to get enable properly extended attribute to work ?

I suspect your “name” doesn’t have the correct format.

For example, this should work:

setfattr -n user.foo -v “foo-value” myfile.txt