* RFE: the manpage claims no limits on size of file extended attributes; has this now true?
@ 2013-07-23 21:27 Linda Walsh
2013-07-23 21:40 ` Ben Myers
0 siblings, 1 reply; 2+ messages in thread
From: Linda Walsh @ 2013-07-23 21:27 UTC (permalink / raw)
To: xfs-oss
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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RFE: the manpage claims no limits on size of file extended attributes; has this now true?
2013-07-23 21:27 RFE: the manpage claims no limits on size of file extended attributes; has this now true? Linda Walsh
@ 2013-07-23 21:40 ` Ben Myers
0 siblings, 0 replies; 2+ messages in thread
From: Ben Myers @ 2013-07-23 21:40 UTC (permalink / raw)
To: Linda Walsh; +Cc: xfs-oss
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@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-23 21:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 21:27 RFE: the manpage claims no limits on size of file extended attributes; has this now true? Linda Walsh
2013-07-23 21:40 ` Ben Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox