<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi
<BLOCKQUOTE TYPE=CITE>
<PRE>
A more generic solution will be to call from the disk plugin an external
script (call it a &quot;PersistentNameProvider&quot;) that given the kernel name
will provide the persistent name to use. But I think that this will
create a great overhead with system with a lot of disks...

</PRE>
</BLOCKQUOTE>
In most systems names of disks don't change that often ;) so it could be cached. In case of DM devices there is also UUID in /sys/block/dm-X/dm/uuid so it could check if UUID changed and if it changed rerun script.<BR>
<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Mariusz Gronczewski (XANi) &lt;<A HREF="mailto:xani666@gmail.com">xani666@gmail.com</A>&gt;
GnuPG: 0xEA8ACE64
<A HREF="http://devrandom.pl">http://devrandom.pl</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>