logoalt Hacker News

lmz05/01/20252 repliesview on HN

It can't be done without fs specific snapshots - otherwise how would it distinguish between a cp/rsync needing consistent reads vs another sqlite client wanting the newest data?


Replies

ummonk05/01/2025

I would assume cp uses ioctl (with atomic copies of individual files on filesystems that support CoW like APFS and BTRFS), whereas sqlite probably uses mmap?

show 2 replies
o11c05/01/2025

Obligatory "LVM still exists and snapshots are easy enough to overprovision for"

show 1 reply