Here's changes to the file plugin (which I'm happy with) and a new exportname filter (which is still at RFC stage; I need to finish implementing strict mode in .open, and add tests). I also discovered that we really want .list_exports and .open to know when they are used on plaintext vs. tls clients for --tls=on, and we may want to split out a new .default_export callback rather than overloading .list_exports(default_only=true). Ah well, more to play with tomorrow. Eric Blake (4): file: Forbid non-regular, non-block file names file: Add .list_exports support file: Use dirent.dt_type for speed exportname: New filter .../exportname/nbdkit-exportname-filter.pod | 116 +++++++++++ filters/ext2/nbdkit-ext2-filter.pod | 5 + plugins/file/nbdkit-file-plugin.pod | 30 ++- configure.ac | 3 + filters/exportname/Makefile.am | 67 +++++++ tests/Makefile.am | 4 +- plugins/file/file.c | 135 +++++++++++-- filters/exportname/exportname.c | 180 ++++++++++++++++++ tests/test-file-dir.sh | 143 ++++++++++++++ TODO | 9 + 10 files changed, 669 insertions(+), 23 deletions(-) create mode 100644 filters/exportname/nbdkit-exportname-filter.pod create mode 100644 filters/exportname/Makefile.am create mode 100644 filters/exportname/exportname.c create mode 100755 tests/test-file-dir.sh -- 2.28.0