Bob Montgomery wrote:
With respect to character devices:
... [snip] ...
I can come up with believable file_ops values for (most? all?) of the
others. And this leads me to wonder if crash shouldn't be collecting
this info in a similar manner to fill in the other OPERATIONS fields.
But now I'm quite a bit past what I know about how the character device
stuff works.
Thanks,
Bob Montgomery
Working at HP
I've attached what I'm going with. I've added the capability of getting
the file_operations from the cdev_map when necessary. The block device
code was also suffering from bit-rot as well, and so I put in a new
collector function that uses the bdev_map as well.
Thanks,
Dave