Ernesto A. Fernández 2736e2913f Don't check the sparse byte count for orphans
My driver now splits orphan deletion among multiple transactions, but it
doesn't bother to update the inode record for half-deleted files. This
is reasonable because the orphans are not real files, and we don't want
to waste time on them. My fsck is still checking one field though: the
sparse byte count. Stop that.

By the way, the official driver behaves like us in all cases I've
encountered so far, but I have never seen what it does to sparse files.
I have confirmed, however, that the official fsck has no problem with
this, so it's probably the same.

Signed-off-by: Ernesto A. Fernández <ernesto@corellium.com>
2024-03-22 21:38:17 -03:00
2022-12-09 16:23:14 -03:00
2023-11-29 20:55:54 -03:00
2019-02-10 09:56:50 -03:00

Apfsprogs is a suite of userland software to work with the Apple File System
on Linux. It's intended mainly to help test the Linux kernel module that can
be retrieved from <git://github.com/eafer/linux-apfs-rw.git>. The following
are included:

  o mkapfs: an experimental filesystem build tool
  o apfs-snap: a tool to take snapshots of a volume mounted with our module
  o apfsck: a filesystem integrity checker, for now only useful for testers

Usage
=====

To build any of the tools, 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>.
S
Description
No description provided
Readme GPL-2.0
995 KiB
Languages
C 98.6%
Makefile 0.6%
Roff 0.5%
Shell 0.3%