[linux-lvm] How to get lvm partition size from kernel space?

Heinz J . Mauelshagen mauelshagen at sistina.com
Tue Jan 22 05:30:01 UTC 2002


On Mon, Jan 21, 2002 at 11:01:39AM -0700, Nemecek, Lad wrote:
> Greetings,
> 
> Does anyone know how to obtain lvm partition size when we are in 
> a kernel module? 

blk_size[MAJOR][MINOR] in 1024 byte units.

> 
> Thanks,
> 
> Lad Nemecek
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list