Re: RFE: the manpage claims no limits on size of file extended attributes; has this now true?

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

 



Hey Linda,

On Tue, Jul 23, 2013 at 02:27:31PM -0700, Linda Walsh wrote:
> Ok, lemme rephrase my questions...
> 
> The man page lists maximums for values at 64K, and names at 255
> characters.  This implies these are the only limits one need worry about
> -- i.e. there is no limit on the maximum number of 255 byte names nor is
> there a limit on the sum of the values of attributes.

To the best of my knowledge:

There is no limit on the maximum number of extended attribute names.

There is no limit on the sum of the values of attributes.

The limit is on the sum of the names and values of all of the attributes in a
given inode.

> Is it something like 2^60 bytes?

Yeah, it's something big like that.

> or some such limit that no one will ever hit?   Could
> I store alternate soundtracks for movies in attribute fields, or
> alternate scenes for movies?

Yep, you could do that.  It's just that it would have to be done in 64k chunks.
Some time ago there was some discussion of supporting multiple file streams
which would not have the unfortunate 64k limitation, but nothing has come of
it so far.

Regards,
	Ben

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux