Re: mkfs.xfs with --protofile does not copy extended attributes into the generated filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 06, 2023 at 08:27:54AM +1100, Dave Chinner wrote:
> On Thu, Oct 05, 2023 at 10:37:34AM +0200, Daan De Meyer wrote:
> > Hi,
> > 
> > It seems using --protofile ignores any extended attributes set on
> > source files. I would like to generate an XFS filesystem using
> > --protofile where extended attributes are copied from the source files
> > into the generated filesystem. Any way to make this happen with
> > --protofile?
> 
> mkfs.xfs doesn't have a '--protofile' option. It has a '-p <file>'
> option for specifying a protofile - is that what you mean?

While we're on the topic, would it also be useful to have a -p switch
that would copy the fsxattr options as well?

--D

> Regardless, there is no xattr support in mkfs/proto.c at all - it's
> never been supported, and I don't recall anyone ever asking for it.
> Hence it would have to be implemented from scratch if you need it.
> 
> -Dave.
> -- 
> Dave Chinner
> david@xxxxxxxxxxxxx



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux