severity 588153 wishlist
thanks

Hi Ian,

On Mon, Jul 05, 2010 at 04:52:54PM +0100, Ian Jackson wrote:
> However, on Linux nowadays device names and minor numbers are not
> stable.  That means that if I reboot and different numbers get
> assigned, […]

> There should be a way for me to specify device name patterns in /dev,
> which the disk plugin should stat() to find the major and minor
> numbers.

if I understand you correctly, you would like to have a new way to
specify which information to collect. Rather than simply reading
/proc/diskstats and working with what's there, you would like to specify
a list of "interesting" device paths, for example the path to an LVM
volume. The plugin should then look up the major and minor number of
that device (may be a symbolic link to a device file, too) and look for
the correct line in /proc/diskstats using that information.

Did I get that correctly?

Regards,
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to