Files
Ernesto A. Fernández 51367042f3 apfs-label: add new tool to list container labels
Since the driver only allows you to mount volumes based on their index,
sometimes it's hard to remember which volume goes by which number:

  https://github.com/linux-apfs/linux-apfs-rw/issues/69

Implement a simple tool to list the volumes in a container that isn't
mounted.

Signed-off-by: Ernesto A. Fernández <ernesto@corellium.com>
2024-09-27 18:14:56 -03:00

34 lines
1.1 KiB
Plaintext

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 apfs-label: a tool to list the labels of all volumes in a container
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>.