lkml.org 
[lkml]   [1999]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Updates to autofs

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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.058 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site