Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2006 05:22:59 GMT
From:      Bob McClure <h8msft@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/91580: fstat not working properly?
Message-ID:  <200601100522.k0A5Mx7Y040247@www.freebsd.org>
Resent-Message-ID: <200601100530.k0A5U87G067131@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91580
>Category:       i386
>Synopsis:       fstat not working properly?
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 10 05:30:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Bob McClure
>Release:        FreeBSD 6.0-RELEASE
>Organization:
Vestcom
>Environment:
FreeBSD lr-netcom-01.vestcomretail.com 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Sat Dec 17 09:58:03 CST 2005     bobm@lr-netcom-02.vestcomretail.com:/usr/src/sys/i386/compile/GENERIC  i386
              
>Description:
I have been relying on fstat to verify that files are closed before processing in batch FreeBSD 5.3-RELEASE and parsing the output.  6.0-RELEASE does not report open files in the same manner.

>How-To-Repeat:
5.3-RELEASE:
  ;cd /var/log
  ;fstat messages
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
root     syslogd      296    9 /var      16486 -rw-r--r--   79798  w  messages


6.0-RELEASE:
  ;cd /var/log
  fstat messages
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
(no output)            
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601100522.k0A5Mx7Y040247>