Re: [RFC] /proc/fs/nfsd/exports

H.J. Lu (hjl@lucon.org)
Fri, 30 Oct 1998 07:11:16 -0800 (PST)


>
> I am adding a proc file to kernel nfsd to display the exports and would
> like opions on what its output should look like.
>
> The basic layout is
>
> path client flags IPs
>
> This is simular to the /etc/exports file, with the addition of the IP numbers
> that client refers to.
>
> if myhost = 1.0.0.1 and 2.0.0.1
> and if the etc/export file contained:
>
> /home myhost(async, ro, root_squash)
> /home 2.0.0.1(async, rw, no_root_quash)
>
> /proc/fs/nfsd/exports would have:
>
> /home myhost 15 01000001,-02000001
> /home 2.0.0.1 10 02000001
>
> or
>
> /home localhost(async,ro,root_squash) # 1.0.0.1,(2.0.0.1)
> /home 2.0.0.1(async) # 2.0.0.1
>
>
> The `myhost' export has its 2.0.0.1 IP _masked_ by the `2.0.0.1' export.
> This is what the `-' or `()'s are trying to signify.
>

What do you meany "its 2.0.0.1 IP _masked_ by the `2.0.0.1' export"?
BTW, I'd like to see the IP number in hex and the host order.

-- 
H.J. Lu (hjl@gnu.org)

- 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/