autofs.init

Elan Ruusamäe glen at delfi.ee
Sun Mar 6 20:25:35 CET 2005


On Sunday 27 February 2005 15:47, Kacper Kornet wrote:
> Hi!
>
> autofs from PLD doesn't work with auto.master in the format:
>
> mount_point maptype:mapname options
>
> I enclose a patch to the autofs.init that corrects it.
applied the patch

> I have also a question to the line
>
> options=`echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g'`
>
> Why the leading dash in options is stripped?
probably nobody has any idea, you can only guess that it's done for 
compatability with older options?

-- 
glen




More information about the pld-devel-en mailing list