maharmstone / ntfs2btrfs

GNU General Public License v2.0
678 stars 29 forks source link

Do not `mmap(2)` disk devices on FreeBSD #69

Closed danfe closed 1 year ago

danfe commented 1 year ago

Currently, class memory_map which provides mmap(2)-based access for a device and the code using it are guarded with #ifndef _WIN32. These bits should be excluded on FreeBSD as well (see this discussion which gives some rationale as to why).

maharmstone commented 1 year ago

Thanks for this - fixed by https://github.com/maharmstone/ntfs2btrfs/commit/1e0115b7faf4b72a1c5757165874645cf03663cc. Thanks also for adding it to Ports.