Re: What's a realistic size for xattr?

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

 



On Thu, 2008-03-13 at 11:06 +1300, Charles Manning wrote:
> I'm trying to figure out a reasonable approach to implementing xattr in YAFFS.
> 
> >From my (limited) knowledge of xattr it seems that in theory you could store a 
> multi-Mbyte database in xattr, but in practice a smaller size is far more 
> reasonable. Clearly storing/managing a small blob is going to be a lot 
> simpler.
> 
> What is the cut off of a reasonable xattr blob size? 1kbytes? 2kbytes?...
> 
> Thanx.
> 
> Charles
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

I just realized that I never really answered your question. I've yet to
see a reasonable SELinux context over 128 characters and Smack labels
should be shorter than that. I don't know what beagle places in xattrs
but I think that would be a good place to take a look for more practical
xattr sizes. 

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux