From owner-freebsd-stable@FreeBSD.ORG Sat Jul 21 17:04:07 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66B97106564A; Sat, 21 Jul 2012 17:04:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 119FA8FC12; Sat, 21 Jul 2012 17:04:07 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1Ssd63-000I3t-Tp; Sat, 21 Jul 2012 20:04:04 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: Chris Rees In-reply-to: References: Comments: In-reply-to Chris Rees message dated "Sat, 21 Jul 2012 17:03:23 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Jul 2012 20:04:03 +0300 From: Daniel Braniss Message-ID: Cc: stable@freebsd.org, Rick Macklem , David O'Brien Subject: Re: lsof needs update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 17:04:07 -0000 > On 21 July 2012 10:36, Daniel Braniss wrote: > > hi, lsof on freebsd 9.1: > > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME > > ntpd 1707 root cwd unknown file > > system type: newnfs > > ntpd 1707 root rtd unknown file > > system type: newnfs > > ntpd 1707 root txt unknown file > > system type: newnfs > > ntpd 1707 root txt unknown file > > system type: newnfs > > ntpd 1707 root txt unknown file > > system type: newnfs > > ntpd 1707 root txt unknown file > > system type: newnfs > > ntpd 1707 root txt unknown file > > system type: newnfs > > ntpd 1707 root txt unknown file > > system type: newnfs > > ntpd 1707 root txt unknown file > > system type: newnfs > > ntpd 1707 root txt unknown file > > system type: newnfs > > Did you recompile lsof when upgrading? > > Chris I compiled it last week, but just in case I did it again, samr result lsof -v lsof version information: revision: 4.86 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man constructed: Sat Jul 21 20:00:36 IDT 2012 constructed by and on: root@pe-00 compiler: cc compiler flags: -pipe -fno-strict-aliasing -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="9.1-PRERELEASE" -I/usr/src/sys -O2 loader flags: -L./lib -llsof -lkvm system info: FreeBSD pe-00 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #6: Fri Jul 20 17:41:41 IDT 2012 danny@rnd:/home/obj/rnd/r+d/stable/9/sys/HUJI amd64 Anyone can list all files. /dev warnings are enabled. Kernel ID check is enabled. Device cache file read-only paths: Named via -D: none Named in environment variable LSOFDEVCACHE: none Personal path format (HASPERSDC): "%h/%p.lsof_%L" Modified personal path environment variable: LSOFPERSDCPATH LSOFPERSDCPATH value: none Personal path: /root/.lsof_pe-00 Device cache file write paths: Named via -D: none Named in environment variable LSOFDEVCACHE: none Personal path format (HASPERSDC): "%h/%p.lsof_%L" Modified personal path environment variable: LSOFPERSDCPATH LSOFPERSDCPATH value: none Personal path: /root/.lsof_pe-00