I have added some debugging code to ps. I get the following output:
$ /tmp/procps-2.0.7 > ./ps/ps # ok
PID TTY TIME CMD
5360 pts/1 00:00:00 bash
5783 pts/1 00:00:33 xterm
10642 pts/1 00:00:00 ps
ps_readproc: !ent
$ /tmp/procps-2.0.7 > ./ps/ps # error
ps_readproc: stat(/proc/1)=-1
ps_readproc: stat(/proc/2)=-1
ps_readproc: stat(/proc/3)=-1
...
ps_readproc: !ent
PID TTY TIME CMD
I have also mounted the procfs on an ext2 partition (with / on reiserfs)
and it gives the same error. It seems that the problem is having / on the
reiserfs.
-- Massimo Dal Zotto+----------------------------------------------------------------------+ | Massimo Dal Zotto email: dz@cs.unitn.it | | Via Marconi, 141 phone: ++39-0461534251 | | 38057 Pergine Valsugana (TN) www: http://www.cs.unitn.it/~dz/ | | Italy pgp: see my www home page | +----------------------------------------------------------------------+ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/