Problem
The lsof(ADM) shows the files that are currently open on your system and what process have them open.
However, running lsof(ADM) is not showing files that are open on my HTFS filesystem.
To demonstrate the issue:/u (dev/u) is a HTFS Filesystem.Run the below script:while true
do
cat /u/testfile
doneThen run "lsof | grep HTFS" and see the following error:# lsof | grep HTFS
cat -1074368512 root cwd vnode@0xee
cc8c3c: unknown successor@0xeecc8c00; fx=HTFS
sh 1714 root cwd vnode@0xee
cc8c3c: unknown successor@0xeecc8c00; fx=HTFS
sh 1720 root cwd vnode@0xee
cc8c3c: unknown successor@0xeecc8c00; fx=HTFS
grep 13155 root cwd vnode@0xee
cc8c3c: unknown successor@0xeecc8c00; fx=HTFS
lsof 13156 root cwd vnode@0xee Solution
This has been reported to SCO Engineering.
If you want to use lsof with files that currently reside on a HTFS filesystem then you will need to either move the files to a vxfs filesystem or convert the HTFS filesystem to vxfs.
See also
TA127210 - On SCO OpenServer 6.0.0, how can I change a
Filesystem type of a non-root filesystem on
the root disk without destroying the other
filesystems including the root FS? at:
TA 127210