Какие файловые системы совместимы с Mac и ПК и поддерживают расширенные атрибуты файлов

Какие файловые системы совместимы с Mac и ПК и поддерживают расширенные атрибуты файлов

У меня есть внешний жесткий диск, который я хотел бы использовать как с Mac, так и с Windows. Я хочу избежать проблемы с файлом ._ (см.Удаление файлов ._ из файловой системы, отличной от Mac OS, в Dropbox)

В какой файловой системе я могу отформатировать жесткий диск, чтобы она поддерживала расширенные атрибуты файлов (и, таким образом, избегала файлов ._) и была совместима как с Mac, так и с Windows без использования дополнительных драйверов или чего-либо еще?

Я знаю, что есть куча вопросов о файловых системах для совместного использования между Mac/PC. Я конкретно хочу узнать, какие из них совместимы, но дополнительно поддерживают расширенные атрибуты файлов.

Спасибо

решение1

Ничто не соответствует всем вашим критериям. Единственные файловые системы, которые macOS читает и записывает из коробки без файлов ._ AppleDouble, — это фирменные семейства файловых систем Apple HFS+ и APFS. Windows не читает и не записывает ни одну из этих файловых систем из коробки.

решение2

Операционная система macOS включает dot_cleanкоманду, которую можно использовать для удаления dot-файлов из раздела диска, отформатированного в FAT32 или ExFAT. Я считаю, что работа, необходимая для периодического запуска этой команды, примерно такая же, как очистка корзины.

Например, если мой внешний диск называется MYEXTUSB, то я могу использовать команду, показанную ниже, чтобы удалить файлы с точками.

dot_clean /Volumes/MYEXTUSB  

Приложение

dot_cleanНиже приведена страница руководства для macOS 10.13.3 (High Sierra) .

DOT_CLEAN(1)              BSD General Commands Manual             DOT_CLEAN(1)

NAME
     dot_clean -- Merge ._* files with corresponding native files.

SYNOPSIS
     dot_clean [-fmnsv] [--keep=[mostrecent|dotbar|native]] [dir ...]

DESCRIPTION
     For each dir, dot_clean recursively merges all ._* files with their cor-
     responding native files according to the rules specified with the given
     arguments.  By default, if there is an attribute on the native file that
     is also present in the ._ file, the most recent attribute will be used.

     If no operands are given, a usage message is output.  If more than one
     directory is given, directories are merged in the order in which they are
     specified.

OPTIONS
     -f      Flat merge.  Do not recursively merge all directories in the
             given dir.  This is off by default.

     -h      Help. Prints verbose usage message.

     -m      Always delete dot underbar files.

     -n      Delete dot underbar file if there is no matching native file.

     -s      Follow symbolic links.  This will follow symbolic dot underbar
             files when they are found.

     -v      Print verbose output.

     --keep=mostrecent
             The default option.  If an attribute is associated with a data
             fork, use that.  Otherwise, use information stored in the Apple-
             Double file.  Note that the native fork's data is preferred even
             if the data in the AppleDouble file is newer.

     --keep=dotbar
             Always use information stored in the AppleDouble file, replacing
             any extended attributes associated with the native file.

     --keep=native
             Always use the information associated with the data fork, ignor-
             ing any AppleDouble files.

EXAMPLES
     The following is how to do an dot_clean merge on the mounted volume test,
     always using the dot underbar information.

           dot_clean --keep=dotbar /Volumes/test

DIAGNOSTICS
     The dot_clean utility exits 0 on success, and >0 if an error occurs.

BUGS
     None known.

BSD                              Sept 27, 2012                             BSD

Связанный контент