Scott McDermott wrote:
>
> That would take too long at large sites. How about
>
> + if [ `ypcat -k $map 2>/dev/null | head | wc -l` -eq 0 ] ; then
> + map=`echo "$map" | sed -e 's/^auto_/auto./'`
> + fi
>
> besides what about when auto_home is just "+auto.home" ?
>
Handling + in auto_master would be nice. The + as an entry in a map is
utterly and fundamentally broken (a map is an associative lookup, d****
it!) although the same (and better) functionality can be had with
"multi" maps. Unfortunately, I don't know of any sane way to specify
multi maps in the auto_master format; it's probably time to try to
recommend using something like /etc/autofstab with auto_master as a
compatibility fallback.
-hpa
- auto_ -> auto. in init script Camm Maguire
- Re: auto_ -> auto. in init script H. Peter Anvin
- Re: auto_ -> auto. in init script Scott McDermott
- Re: auto_ -> auto. in init script Darrel Hankerson
- Re: auto_ -> auto. in init script H. Peter Anvin
- Re: auto_ -> auto. in init script H. Peter Anvin
- Re: auto_ -> auto. in init script Peter Bunclark
- Re: auto_ -> auto. in init scrip... H. Peter Anvin
- Re: auto_ -> auto. in init s... Camm Maguire
- Re: auto_ -> auto. in in... Scott McDermott
- Re: auto_ -> auto. in in... hpa
- Re: auto_ -> auto. in in... Scott McDermott
- Re: auto_ -> auto. in in... H. Peter Anvin
- Re: auto_ -> auto. in in... Scott McDermott
- Re: auto_ -> auto. in in... Peter Bunclark
- Re: auto_ -> auto. in in... Camm Maguire
- Re: auto_ -> auto. in in... H. Peter Anvin
- Re: auto_ -> auto. in in... Camm Maguire
- Re: auto_ -> auto. in in... Scott McDermott
- Re: auto_ -> auto. in in... H. Peter Anvin
- Re: auto_ -> auto. in in... Scott McDermott
