Re: [rhel6-branch 4/4] mpath: filter out the slave devices and their partitions.

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

 



On 01/03/2011 07:22 PM, Brian C. Lane wrote:
On Wed, Dec 22, 2010 at 11:22:41AM +0100, Ales Kozumplik wrote:
+    sample input:
+    [sr0, sda, sda1, sdb, sdb1, sdb2, sdc, sdc1, sdd, sdd1, sdd2, dm-0]
+    where:
+    [sdb, sdc] is a multipath pair
+    dm-0 is a mutliapth device already coalesced from [sdb, sdc]
+
+    sample output:
+    [sda, sdd], [[sdb, sdc]], [sr0, sda1, sdd1, sdd2]]

Could you explain the return values in more detail? Is this always a 3
element list or does it depend on the number of devices? What does it
look like with no multipath devices?

Thanks,
Brian

Yes,

it is always a tuple of 3 lists, the middle list is empty if there are no multipath devices found. I'll make sure to document it before pushing.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux