When I use Emacs to open any file that's in my zfs snapshots directory (<dataset>/.zfs/snapshot) folder, it does not open the file and prints out the following error:
File mode specification error: (error ‘tramp-file-name-structure’ didn’t match!)
Recursive load: "/usr/share/emacs/26.3/lisp/net/tramp.elc", "/usr/share/emacs/26.3/lisp/net/tramp.elc", "/usr/share/emacs/26.3/lisp/net/tramp.elc", "/usr/share/emacs/26.3/lisp/net/tramp.elc", "/usr/share/emacs/26.3/lisp/net/tramp.elc"
This happens in all modes: batch, GUI and console (-nw) modes.
Although the .zfs/snapshot directory is read only, I have a valid a usecase to leverage emacs excellent language support in batch mode for a tool I'm writing.
Environment:
OS: Ubuntu 20.04.4 LTS
Emacs: 26.3
~/.emacs.el: (none)
~/.emacs.d: (none)