mirror of
https://github.com/linux-apfs/apfsprogs.git
synced 2026-08-18 02:19:50 -07:00
b9efac41c452def8703f88bb792e5066fc9d1abb
Now that I've actually implemented snapshots in the driver, I can see that the way extent reference counting is handled in the fsck makes no sense at all. Update extents mean that the number of references can be different for each block of a physical extent. So now, the extents listed in the table will get split when it becomes necessary, and each fraction will have its own refcnt. Signed-off-by: Ernesto A. Fernández <ernesto@corellium.com>
Apfsprogs is a suite of userland software to work with the Apple File System on Linux. For now only mkfs and fsck tools are available, both functional but lacking in features. Compatibility with the Apple implementations has barely been tested; please exercise caution, and report any issues that you find. A Linux kernel module for mounting the filesystem can be retrieved from <git://github.com/eafer/linux-apfs-rw.git>. The main purpose of apfsprogs is to assist in testing the write support. Usage ===== To build either the mkapfs or apfsck tool, just cd to its directory and run make The resulting executable will have the name of the tool, and a man page is available under the same directory. If you run make install the files will be copied to the typical locations in the user home folder: the binary is placed in ~/bin, and the man page in ~/share/man/man8. You can override those paths by setting the BINDIR and MANDIR variables, for example: make install BINDIR=/sbin MANDIR=/usr/share/man/man8/ Credits ======= Written by Ernesto A. Fernández <ernesto@corellium.com>.
Languages
C
98.6%
Makefile
0.6%
Roff
0.5%
Shell
0.3%