From owner-freebsd-stable@FreeBSD.ORG Thu Dec 22 11:36:42 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 302BE16A41F for ; Thu, 22 Dec 2005 11:36:42 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEECD43D45 for ; Thu, 22 Dec 2005 11:36:41 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1EpOkS-000KIv-EO; Thu, 22 Dec 2005 13:36:40 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Torfinn Ingolfsen In-Reply-To: Message from Torfinn Ingolfsen of "Thu, 22 Dec 2005 12:06:20 +0100." <20051222120620.67b63f3d.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Dec 2005 13:36:40 +0200 From: Danny Braniss Message-ID: Cc: freebsd-stable@freebsd.org Subject: Re: lsof on 6.0 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: Thu, 22 Dec 2005 11:36:42 -0000 > On Thu, 22 Dec 2005 10:12:17 +0200 > Danny Braniss wrote: > > > i keep getting: > > lsof: can't determine user device random seed. > > is it only me? > > You'll have to be more specific: do you get that by doing only 'lsof' or > are you using any parameters? _Do you run as a normal user, or as root? > FWIW, plain 'lsof' works here, on > > tingo@kg-quiet$ uname -a > FreeBSD kg-quiet.kg4.no 6.0-STABLE FreeBSD 6.0-STABLE #1: Thu Dec 22 > 06:29:24 CET 2005 root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET > amd64 > > both as a normal user and as root. > I don't see the message you are referring to. either root, or just a mere mortal, just typing lsof, no arguments: shuttle-3> lsof lsof: can't determine user device random seed. shuttle-3> uname -a FreeBSD shuttle-3 6.0-STABLE FreeBSD 6.0-STABLE #23: Mon Dec 19 11:53:42 IST 2005 danny@x-dev:/r+d/obj/x-dev/amd64/r+d/6.0/src/sys/HUJI amd64 shuttle-3> lsof -v lsof version information: revision: 4.77 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: Thu Dec 22 09:42:49 IST 2005 constructed by and on: danny@shuttle-3 compiler: cc compiler flags: -fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -D HAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DFREEBSDV=6000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHAS_NO_ISO_DEV -DH ASIPv6 -DLSOF_VSTR="6.0-STABLE" -I/usr/src/sys -O2 loader flags: -L./lib -llsof -lkvm system info: FreeBSD shuttle-3 6.0-STABLE FreeBSD 6.0-STABLE #23: Mon Dec 19 11:53:42 IST 2005 danny@x-dev:/r+d/obj/x-dev/amd64 /r+d/6.0/src/sys/HUJI amd64 Only root 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: /cs/system/danny/.lsof_shuttle-3 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: /cs/system/danny/.lsof_shuttle-3