RFE: the manpage claims no limits on size of file extended attributes; has this now true?
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. Is it something
like 2^60 bytes? 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?
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Hey Linda,
Quoted 6 lines · Linda Walsh
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.
Quoted 1 line
Is it something like 2^60 bytes?
Yeah, it's something big like that.
Quoted 3 lines
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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs