<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"MS Sans Serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Microsoft Sans Serif";
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"MS Sans Serif";
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>Why
do I get “null” when the following is executed on the command line?
Because of this only one symbolic link “(null)” is created in
/dev/mpath pointing to last dm device (when “udevstart” is executed).<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>dmsetup
ls --target multipath --exec basename -j 253 -m 8<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>
<p><font size=2 face="Microsoft Sans Serif"><span style='font-size:10.0pt;
font-family:"Microsoft Sans Serif"'>Thanks and regards<br>
-Murthy<o:p></o:p></span></font></p>
</div>
</body>
</html>