From: "Mohit Katiyar" Subject: nfs mounting operation Date: Thu, 28 Sep 2006 13:13:23 +0900 Message-ID: <46465bb30609272113i4daf0b9em1f32e03f35bf9fb7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from wx-out-0506.google.com ([66.249.82.225]:40154 "EHLO wx-out-0506.google.com") by vger.kernel.org with ESMTP id S965257AbWI1ENY (ORCPT ); Thu, 28 Sep 2006 00:13:24 -0400 Received: by wx-out-0506.google.com with SMTP id s14so443387wxc for ; Wed, 27 Sep 2006 21:13:23 -0700 (PDT) To: linux-fsdevel@vger.kernel.org Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi all, I am new to the NFS filesystem. When we perfrom a nfs mount the nfs_getattr function is called. I would like to know why this getattr function is called and from which function in the vfs layer. I think it comes from vfs_stat_fd function but what are the parameters passed to it for calling get_attribute. Basically whose attributes are being searched?? The same case with unmounting operation. why this getattr function is called and from where in vfs layer it is invoked? I am using linux-2.6.15. TIA Mohit Katiyar