I've been busy over the holiday break updating my autofs patches. The intent
was to make Solaris-style /net mounts work properly with autofs, but the result
is a much more general type of program maps which can output multiple lines of
mounts.
This involved changes to both the core daemon code and the kernel code, mainly
to get expiration working properly when there's a tree of mounts hanging off an
autofs mountpoint. It updates the protocol version to 4, but it is completely
backwards and forwards compatible.
Changes since my last release include:
- updating the kernel patch for 2.3
- updating daemon patch to 3.1.4-pre4
- making backwards and forwards compatibility work. A v3 daemon can work with
a v4 kernel, and vice versa (you only get the new features when both are v4,
however).
- bug fixes. The old release seemed pretty reliable, but I found a few race
conditions which could have been problematic. I also fixed submounts, which
weren't properly implemented in my last patch. They should function the same
as the plain autofs-3.1.3 daemon.
- I added a "nosymlink" pseudo mountflag to the NFS mount module, to inhibit
the "symlink local filesystems" optimisation. This isn't necessary for the
rest of the functionality, but it seemed useful enough to include.
Patches are available at http://www.goop.org/~jeremy/autofs.
Please test these out and tell me how well they work for you. There are no
loose ends or unimplemented features, so barring bugs, this release should be
close to production grade.
J