lsof on 6.0

Melvyn Sopacua freebsd.stable at melvyn.homeunix.org
Thu Dec 22 06:13:29 PST 2005


On Thursday 22 December 2005 14:51, Danny Braniss wrote:
> > On Thursday 22 December 2005 12:36, Danny Braniss wrote:
> > > > On Thu, 22 Dec 2005 10:12:17 +0200
> > > >
> > > > Danny Braniss <danny at cs.huji.ac.il> wrote:
> > > > > i keep getting:
> > > > > 	lsof: can't determine user device random seed.
> > > > > is it only me?
> > > >
> > > > 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.
> >
> > Do you have a mount which is a symlink?
>
> no, but many nfs.
> minbari> mount
> 132.65.16.100:/d/6 on / (nfs)

nfs mounted root. I think that's the problem. 
If you can compile as follows:
env CFLAGS='-g -pipe' STRIP= make install

then run:
gdb /usr/local/sbin/lsof

At gdb:
(gdb) break dmnt.c:159
(gdb) run

When breaking:
(gdb) print sr
(gdb) print ln
(gdb) print dn


-- 
Melvyn Sopacua
freebsd.stable at melvyn.homeunix.org

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3


More information about the freebsd-stable mailing list