
Mac과 Windows 모두에서 사용하고 싶은 외장 하드 드라이브가 있습니다. ._ 파일 문제를 피하고 싶습니다(참조Dropbox의 Mac OS가 아닌 파일 시스템에서 ._ 파일 제거)
확장된 파일 특성을 지원하고(따라서 ._ 파일을 피함) 추가 드라이버 등을 사용하지 않고도 Mac 및 Windows와 호환되는 HD를 포맷할 수 있는 파일 시스템은 무엇입니까?
Mac/PC 간 공유를 위한 파일 시스템에 관해 많은 질문이 있다는 것을 알고 있습니다. 특히 호환 가능하지만 확장된 파일 속성을 추가로 지원하는 것이 무엇인지 알고 싶습니다.
감사해요
답변1
모든 기준을 충족하는 것은 없습니다. ._ AppleDouble 파일을 수행하지 않고 macOS가 기본적으로 읽고 쓰는 유일한 파일 시스템은 Apple 독점 HFS+ 및 APFS 파일 시스템 제품군입니다. Windows는 기본적으로 해당 파일 시스템 중 하나를 읽고 쓰지 않습니다.
답변2
macOS 운영 체제에는 dot_clean
FAT32 또는 ExFAT 형식의 드라이브 파티션에서 도트 파일을 제거하는 데 사용할 수 있는 명령이 포함되어 있습니다. 이 명령을 주기적으로 실행하는 데 필요한 작업은 휴지통을 비우는 것과 거의 같다고 생각합니다.
예를 들어, 외부 드라이브 이름이 MYEXTUSB
이면 아래 표시된 명령을 사용하여 도트 파일을 제거할 수 있습니다.
dot_clean /Volumes/MYEXTUSB
부록
macOS 10.13.3(High Sierra)의 매뉴얼 dot_clean
페이지는 다음과 같습니다.
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