[lkml]   [1998]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[RFC] /proc/fs/nfsd/exports
    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 = and
    and if the etc/export file contained:

    /home myhost(async, ro, root_squash)
    /home, rw, no_root_quash)

    /proc/fs/nfsd/exports would have:

    /home myhost 15 01000001,-02000001
    /home 10 02000001


    /home localhost(async,ro,root_squash) #,(
    /home #

    The `myhost' export has its IP _masked_ by the `' export.
    This is what the `-' or `()'s are trying to signify.

    I prefer the first, as it is much easier to implement, and easier to parse.
    but the second one is easier to read and would be compatible with exports(5).
    Or there might be something better.


    Allen Morris <>

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:45    [W:0.019 / U:4.384 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site