News for hackers. Stuff that matters.
Re:A brief history of APFS (Apple File System) in honour of ... by AnonC on Tuesday March 28, 2023 @01:05AM (#35336158)
> One of the most obvious usecases would be for something like time machine. I have a parallels virtual machine that is hundreds of gigabytes in size and as far as I can tell that each time you modify even a single byte in that vm it will need to backup the entire file all over again. not only is this infeasible in the amount of space it would require it's also infeasible in that every time I do a backup i would need to spend the time transfering the whole thing all over again. this is also one of the biggest problems that next gen filesystems were designed to solve.

This is a likely an issue with Time Machine’s design rather than any limitation in APFS. Time Machine works with full files and uses hard links to link different versions. Unlike HFS+, APFS does support CoW (Copy on Write) and snapshots. You can verify this yourself by duplicating a file on your local drive and seeing that it doesn’t actually create one full copy of he file and occupy double the space.

Re:A brief history of APFS (Apple File System) in honour of ... by ShadowBanThis01 on Tuesday March 28, 2023 @02:02AM (#35336537)
Why do Time Machine volumes inevitably become corrupt? This is a known problem but I don't remember the explanation.
Re:A brief history of APFS (Apple File System) in honour of ... by cj on Tuesday March 28, 2023 @07:10AM (#35338804)
For me, it was forgetting the password on the external hard drive. After that, iCloud got to a point where I felt like backing up became unnecessary so I stopped TM.

(I know this isn't the response you were looking for. I've also experienced corrupt TM unrelated to HD encryption, not sure why)

Re:A brief history of APFS (Apple File System) in honour of ... by Tagbert on Tuesday March 28, 2023 @12:15PM (#35343433)
Nor is it inevitable. I have never run across a corrupt volume in TM.
Re:A brief history of APFS (Apple File System) in honour of ... by ShadowBanThis01 on Wednesday March 29, 2023 @02:25AM (#35353360)
I have, and I rely on Carbon Copy Cloner instead as a result.

The reports have continued for years, right into this one: https://forums.macrumors.com/threads/how-is-this-an-acceptab...

I recommend surveying the extant reports on the issue. I've read several analyses that assert that corruption is indeed inevitable, and my experience was consistent with that. But hey, roll the dice if you want. I'm just providing information.

Re:A brief history of APFS (Apple File System) in honour of ... by ribit on Tuesday March 28, 2023 @04:30AM (#35337471)
> Time Machine works with full files and uses hard links to link different versions

They did change it recently. It uses snapshots now (I think from Big Sur on?)