Re: dev command deteriorates with new kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-06-05 at 14:53 +0000, Dave Anderson wrote:

> 
> 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.

Dave, this looks good.  Two issues:

1) Add "-f" to dev help?  (What does it mean to still be a "(none)"
device?)

2) The old code found the block extended device number (a feature added
to the kernel by a 25 Aug 2008 patch from Tejun Heo):  
   
    259      blkext        (unknown)

Also shown in /proc/devices:
...
 Block devices:
  1 ramdisk
259 blkext
  7 loop
 11 sr
104 cciss0

Deliberate omission?

Thanks for cleaning this up,
Bob Montgomery






--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux