Services which do not support extended attributes:īox, Google Drive, Microsoft OneDrive, OmniPresence, SugarSync, Sync. Resilio Sync limits xattr support according to a whitelist at. In practice, particularly when moving files between Sierra and High Sierra (in either direction), it only seems to support some com.apple xattrs, and strips all third-party ones. ICloud Drive should, according to Apple, support all xattrs. Services which provide support for some extended attributes:ĭropbox preserves (?all) com.apple xattrs, but probably no others, although this document claims that it supports all xattrs. None known, although in some circumstances iCloud Drive can. Services which provide full support for extended attributes, including custom types: You may need to update to macOS 10.13.2 for this to work properly. This has changed again with High Sierra: its NFSv4 client requires that you enable an option called ‘Enforce extended attributes and named forks if supported by server’ in the NFS client (see man 5 nfs, or NFS Manager documentation). However, support is now available in some NFSv4 implementations. Those appear to be subject to a lower maximum file size in xattr.h of 128 KiB, which may be the origin of the claim that that is the maximum size supported by HFS+.įile systems which do not support extended attributes: _ (period/stop, underscore), a hidden file. In FAT32 and ExFAT, macOS creates an AppleDouble file containing xattr content, which is named by prefixing the main file name with. Most others, including FAT variants such as FAT32 and ExFAT, as commonly used on USB memory sticks. NTFS includes full support in what it terms alternate data streams (ADS)įile systems on which macOS arranges full support for extended attributes: Other Linux file systems and ZFS should also provide full support. Check with your distribution’s documentation before trying to use them. Linux ext3 and ext4 provide excellent support too, but in some distributions xattrs are disabled, and have to be enabled through the /etc/fstab settings. It is sometimes claimed that HFS+ only supports xattrs with data up to 128 KB in size that is not correct, as xattr.h sets XATTR_MAXSIZE to 64 MiB, which seems to be the absolute limit. Mac Extended ( HFS+) and Apple File System ( APFS). File systemsįile systems which provide full and native support for extended attributes: If you’re going to trust a file system or Cloud service with your xattrs, you must be able to do so when copying/moving files directly. This quickly becomes tedious, and is only suitable for special occasions. You can always, of course, archive and compress files with extended attributes using the bundled Archive Utility and Zip format, which does preserve all extended attributes. This article considers what support there is, both in local/networked file systems, and in Cloud and similar services. One argument often made against using extended attributes in macOS is that they are not supported on other operating systems or file systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |