lkml.org 
[lkml]   [2005]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Linux 2.6.11
    From
    Date
    su den 06.03.2005 Klokka 00:19 (+0000) skreiv J.A. Magallon:

    > static int __init init_nfsd(void)
    > {
    > ...
    > if (proc_mkdir("fs/nfs", NULL)) {
    > struct proc_dir_entry *entry;
    > entry = create_proc_entry("fs/nfs/exports", 0, NULL);
    > if (entry)
    > entry->proc_fops = &exports_operations;
    > }
    > ...
    >
    > But nfs-utils 1.0.7 say that you can mount nfsd at /proc/fs/nfsd.
    > What 'exports' would kernel use ? Just duplicate info or a bug ?

    Not sure why /proc/fs/nfs was originally chosen (perhaps Neil knows?),
    but the above code has nothing to do with where you mount the "nfsd"
    filesystem. It is rather part of the legacy support for older versions
    of nfs-utils.

    We should aim to deprecate it at some point soon.

    Cheers,
    Trond

    --
    Trond Myklebust <trond.myklebust@fys.uio.no>

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

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