truck...@freebsd.org (Don Lewis) writes:

>On 22 Jul, David Wolfskill wrote:
>> Back when I was doing sysadmin stuff for a group of engineers, my
>> usual approach for that sort of thing was to use amd (this was late
>> 1990s - 2001) to have maps so it would set up NFS mounts if the
>> file system being served was from a different host (from the one
>> running amd), but instantiating a symlink instead if the file system
>> resided on the current host.

>Same here.

>It's a bit messy to do this manually, but you could either use a symlink
>or a nullfs mount for the filesystems that are local.

Yes, I've been running amd for years, but the warning in the amd(8)
man page prompted me to switch to autofs last week as part of updating
my system. My amd maps had a way of specifying per-client information,
which I indeed used in the way indicated above.

I bit the bullet yesterday and implemented this capability in an
include_nis script attached to

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221010

It currently doesn't notice IPv6 addresses that belong to "self,"
as I haven't decided how to parse _that_ ifconfig output (and does
anyone really specify IPv6 addresses in NIS maps?)
-- 
G. Paul Ziemba
FreeBSD unix:
 5:16PM  up 18:11, 8 users, load averages: 0.36, 0.32, 0.33
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to