FreeBSD makefs(8) for Linux / *BSD
FreeBSD makefs(8) + HAMMER2 support + exFAT support
Linux, Cygwin, FreeBSD, NetBSD, OpenBSD, DragonFly BSD
| file system | -t option name | original implementation |
|---|---|---|
| UFS | ffs (default) | FreeBSD makefs(8) |
| FAT | msdos | FreeBSD makefs(8) |
| ISO9660 | cd9660 | FreeBSD makefs(8) |
| HAMMER2 | hammer2 | DragonFly BSD makefs(8) |
| exFAT | exfat | https://github.com/relan/exfat |
-
libuuid
-
OpenSSL
-
By default all supported file systems above are enabled. Use gmake(1) on *BSD.
$ cd makefs $ make -
Specify USE_HAMMER2=0 to disable HAMMER2 support.
$ cd makefs $ make USE_HAMMER2=0 -
Specify USE_EXFAT=0 to disable exFAT support.
$ cd makefs $ make USE_EXFAT=0
-
"-t zfs" option in FreeBSD makefs(8) is unsupported.
-
mtree(5) parser in makefs(8) requires specification converted by mtree(8) -C option.
$ ./src/mtree -c -p /path/to/src -R nlink | ./src/mtree -C > spec.mtree