Re: Updates to autofs

Jeremy Fitzhardinge (jeremy@goop.org)
Sun, 11 Apr 1999 23:38:40 -0700 (PDT)


On 12-Apr-99 Peter Benie wrote:
> The mount options for /net should be more restrictive, and soft mounts
> should never be encouraged:
>
> $key could do with a more checking too. You should force $key to be a
> hostname (see the DNS RFC for the set of valid characters), and you
> should throw away hostnames beginning with "-". This will avoid $key
> being passed to showmount as an option or to sed with an extra "|".
>
> Also, you should throw away any entry from showmount that contains the
> string "/../" or fails to have a leading '/'.

Yes, I agree with you. auto.net was never intented to be anything more than a
placeholder. It should also work out whether to make it a ro or rw mount,
depending on what the server says.

What's your problem with soft mounts?

J

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/