From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Viro Subject: Re: Identifying writes to NFS Date: Wed, 30 May 2007 13:56:34 -0400 Message-ID: <20070530175634.GK27042@devserv.devel.redhat.com> References: <1180542928.5055.16.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1180542928.5055.16.camel@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Matthew Booth Cc: linux-audit List-Id: linux-audit@redhat.com On Wed, May 30, 2007 at 05:35:28PM +0100, Matthew Booth wrote: > I'd like to be able to reliably recognise a PATH record which refers to > an NFS mount. It seems that dev=00:xx would be related to the answer. > However, each mount seems to have its own value of xx, and other mounts > not backed by a block device, eg /proc and /dev, also have dev=00:xx. > > The answer can't be related to a single system, as the solution has to > be rolled out across a large estate with a variety of nfs mounts on > particular servers. > > Any ideas? Thanks, man statfs, look at f_type field there.