Skip to content

Latest commit

 

History

History
59 lines (35 loc) · 1.91 KB

File metadata and controls

59 lines (35 loc) · 1.91 KB

FreeBSD makefs(8) for Linux / *BSD

FreeBSD makefs(8) + HAMMER2 support + exFAT support

Supported platforms

Linux, Cygwin, FreeBSD, NetBSD, OpenBSD, DragonFly BSD

Supported file systems

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

Linux / Cygwin specific requirements

  • libuuid

  • OpenSSL

Build

  • 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
    

Notes

  • "-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
    

License