Hi, fstat(1) seems to be missbehaving on -current, no idea when this started. Can list open files with the <file> argument, it works fine on RELENG_5. zero# fstat /var/log/messages USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME zero# ls -i /var/log/messages 918970 /var/log/messages zero# fstat -p `pgrep syslogd` USER CMD PID FD MOUNT INUM MODE SZ|DV R/W ... root syslogd 314 8 / 918970 -rw-r--r-- 49550 w ... zero# uname -a FreeBSD zero 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Thu Mar 17 01:14:36 CET 2005 root_at_zero:/usr/obj/usr/src/sys/ZERO i386 zero# ls -l /usr/bin/fstat /lib/libkvm.so.2 -r--r--r-- 1 root wheel 21700 Mar 17 01:14 /lib/libkvm.so.2 -r-xr-sr-x 1 root kmem 15068 Mar 17 01:16 /usr/bin/fstat Also I see strange stuff like this that seems to be related to phk's changes. root syslogd 314 0 /dev 24 crw-rw-rw- #C:0:0x0 rw root syslogd 314 1 /dev 24 crw-rw-rw- #C:0:0x0 rw root syslogd 314 2 /dev 24 crw-rw-rw- #C:0:0x0 rw Is that expected ? Any ideas? -- PawelReceived on Thu Mar 17 2005 - 00:31:50 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC