ravynsoft / ravynos

A BSD-based OS project that aims to provide source and binary compatibility with macOS® and a similar user experience.
https://www.ravynos.com
Other
5.68k stars 192 forks source link

Support for APFS/HFS and other essentials #17

Closed mszoek closed 2 years ago

mszoek commented 3 years ago

Configure the kernel Userspace tools Can the default root fs be APFS?

probonopd commented 3 years ago

Also see https://github.com/helloSystem/ISO/issues/170.

davidchisnall commented 3 years ago

ZFS provides most of the advantages of APFS (compression, snapshots, and so on). Writing command-line tools that wrap libzfs_core and mimic the interface of Apple's disk-management tooling would be much easier than adding a kernel driver for APFS.

That said, APFS is very well documented by Apple and I'd love for someone to add FreeBSD support for it and provide some tools that abstracted over it and zfs.

mszoek commented 3 years ago

ZFS provides most of the advantages of APFS (compression, snapshots, and so on). Writing command-line tools that wrap libzfs_core and mimic the interface of Apple's disk-management tooling would be much easier than adding a kernel driver for APFS.

Yep, that is exactly the strategy for the native filesystem! The intent of supporting HFS+ & APFS is mostly to read/write macOS volumes like external drives or USB sticks. I had originally thought of using APFS natively but then I discovered how good ZFS is and of course that there is no kernel support for APFS yet. sad trombone

mszoek commented 2 years ago

Similar to #81 - closing.