<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Please change DMRAID to have a naming convention that makes since.<BR>
<BR>I need to display a menu of drives to users and there doesn't seem to be a standard to tell a drive from a partition.&nbsp; I thought if it ended in a digit then it must be a partition, but that's not always the case.&nbsp; Here's an example:<BR>
&nbsp;<BR>
contents of /dev/mapper directory<BR>/dev/mapper:<BR>
<BR>control&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>
isw_ibacibfhi_SYS_DATA_RAID01<BR>isw_ibacibfhi_BACKUP_RAID1&nbsp;&nbsp;&nbsp;&nbsp; <BR>
isw_ibacibfhi_SYS_DATA_RAID05<BR>isw_ibacibfhi_BACKUP_RAID11&nbsp;&nbsp;&nbsp; <BR>
isw_ibacibfhi_SYS_DATA_RAID06<BR>isw_ibacibfhi_SYS_DATA_RAID0<BR><BR>
&nbsp;<BR>
How do I know what's what?<BR>
&nbsp;<BR>
In reality you should be changing the /dev/sdx entries to something like /dev/phy_sdx and then creating&nbsp;virtual drives that look lke just normal drives /dev/sda so it's all hidden when presented to the end user.&nbsp; But anyway...<BR>
&nbsp;<BR>
Thanks!<BR>
&nbsp;<BR><br /><hr />Help yourself to FREE treats served up daily at the Messenger Café. <a href='http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline' target='_new'>Stop by today!</a></body>
</html>