什么文件系统支持Java UserDefinedFileAttributeView? [英] What file sytems support Java UserDefinedFileAttributeView?
问题描述
我已经发现,这可以使用UserDefinedFileAttributeView类。
<什么文件系统支持这个功能? NTFS,FAT,在Linux上的任何其他文件系统?
数据实际存储在哪里,它有多可靠?
在以下文件系统FAT32,HFS +中找不到支持。
I need to store custom data with a file in file system (about 50 bytes with each file). I do not have any other storage to keep the data and can not create an extra file for this. These are my requirements I can not change it.
I have found that this can be done using UserDefinedFileAttributeView class.
What file systems support this feature? NTFS, FAT, any other file systems on Linux?
Where the data is actually stored and how reliable is it?
I have tested that custom attributes are supported by following file systems via UserDefinedFileAttributeView: NTFS, Ext4, ZFS. Other popular file systems may support them also. No support was found within following file systems FAT32, HFS+.
这篇关于什么文件系统支持Java UserDefinedFileAttributeView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!