pkolaczk / fclones

Efficient Duplicate File Finder
MIT License
1.84k stars 70 forks source link

macOS - '/System/Volumes/Data' DiskDevice path remapping #162

Closed kapitainsky closed 1 year ago

kapitainsky commented 1 year ago

Fixes https://github.com/pkolaczk/fclones/issues/158

On macOS APFS disk all users' data is mounted in '/System/Volumes/Data' but fused transparently using firmlinks and presented as part of the root filesystem. It requires remapping Data volume path for this DiskDevice to '/' in order for fclones correctly recognise device deduplicated files are on.

Ref:

https://www.swiftforensics.com/2019/10/macos-1015-volumes-firmlink-magic.html

https://eclecticlight.co/2020/01/23/catalina-boot-volumes/

kapitainsky commented 1 year ago

Not sure what is wrong with my format....

kapitainsky commented 1 year ago

Formatting fixed.

kapitainsky commented 1 year ago

Done and all grenn