That's a great idea to use XATTR values to implement this! The simulated directory can be a transparent way provided to search for the XATTR containing the corresponding tags.
2013/6/27 Russell Coker <russ...@coker.com.au>: > On Thu, 27 Jun 2013, Kelvin <kelvin9302...@gmail.com> wrote: >> It seems that there are some tagging systems, but they are not native >> for the filesystem. It means that when we read the filesystem from an >> OS without that system installed, everything will be in a mess (or we >> can arrange the files in traditional way as well, but this is >> inconvenient). Also, we need to manage the files through the utilities >> provided, and this is not convenient. > > I think it would be useful to have a way of searching for XATTR values. One > example of how this could be used is when analysing a SE Linux system it would > be useful to be able to quickly get a list of all files with a particular > security label (value for the security.selinux XATTR). > > But it's probably best that developers concentrate on reliability, > performance, and more commonly desired features such as RAID5/6 support. > > -- > My Main Blog http://etbe.coker.com.au/ > My Documents Blog http://doc.coker.com.au/ -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html