Interesting fs usage issue

Kris Kennaway kris at obsecurity.org
Tue Mar 22 15:42:58 PST 2005


On Tue, Mar 22, 2005 at 08:17:29PM +0000, Gavin Atkinson wrote:
> On Tue, 22 Mar 2005, David D.W. Downey wrote:
> 
> > >
> > > You probably have a process holding a reference to a file that's been
> > > unlinked.  Run "fstat -f /tmp" to see.
> > >
> >
> > fbdev# fstat -f /tmp
> > USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
> > fbdev#
> >
> > Nothing shows at *all*. Which is weird. I've currently several screen
> > sessions open, which uses /tmp (as seen by an ls of /tmp which shows
> > the proper timestamps as expected for each session).
> >
> > Would that not generate a response from fstat since the screens are
> > active?
> 
> fstat is currently broken in -CURRENT.
> http://lists.freebsd.org/mailman/htdig/freebsd-current/2005-March/047656.html
> 
> I have no idea if the lsof port will still work since those changes, I
> suspect not but it might be worth a try.

It currently does not even compile :)

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050322/0b61845c/attachment.bin


More information about the freebsd-current mailing list