devicekit-disks and Md

David Zeuthen david at fubar.dk
Tue Oct 6 16:46:11 PDT 2009


On Wed, 2009-10-07 at 00:35 +0200, Davide Bettio wrote:
> Hi,
> 
> I've been working with md and I noticed a couple of problems related to md
> properties:
> * An md raid shouldn't be reported as a drive.

Actually it should. It's not really written down anywhere, but a drive
in DKD terminology is basically something that is a top-level block
device and has vendor/model/serial metadata.

> * md device usage is not reported (it should be ext4, xfs, whatever)

Actually it is:

 $ devkit-disks --show-info /dev/md1 |grep -4 usage
   presentation icon:           
   size:                        157942546432
   block size:                  512
   job underway:                no
   usage:                       filesystem
   type:                        ext4
   version:                     1.0
   uuid:                        e714536f-a402-470d-955e-06f2e08bd4cf
   label:                       Fedora

Maybe you didn't format (or partition) the md device? Or maybe your udev
rules are not set up correctly?

Cheers,
David




More information about the devkit-devel mailing list