On Mon, 12 Jan 2004, Mike Waychison wrote:The example above is a direct map entry with no root offset. The semantics are different than if it were an indirect map with browsing enable.
I see. This requires direct mount triggers to do properly. Trying to do it with some sort of passthrough to the underlying filesystem is a nightmare waiting to happen..Transparency of an autofs filesystem (as I'm calling it) is the situation where, given a map
/usr /man1 server:/usr/man1 /man2 server:/usr/man2
where the filesystem /usr contains, say a directory lib, that needs to be available while also seeing the automounted directories.
So what are we saying here?
We install triggers at /usr/man1 and /usr/man2. Then suppose the map had a nobrowse option. Does the trigger also take care of hiding man1 and man2?
Is there some definition of these triggers?
I tested this out against other automount implementations and discovered that direct map entries with no root offsets should be broken down into several direct map entries with root offsets.. so:
/usr /man1 server:/usr/man1 \
/man2 server:/usr/man2is the same as the two distinct entries:
/usr/man1 server:/usr/man1 /usr/man2 server:/usr/man2
Now that I think about it, the discussion in my proposal paper about multimounts with no root offsets probably isn't required.
-- Mike Waychison Sun Microsystems, Inc. 1 (650) 352-5299 voice 1 (416) 202-8336 voice mailto: [EMAIL PROTECTED] http://www.sun.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: The opinions expressed in this email are held by me, and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgp00000.pgp
Description: PGP signature_______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
