DiskTool - Added LVM support
[tpg/acess2.git] / Tools / DiskTool / src / helpers.c
index ddfe0f0..f326677 100644 (file)
@@ -19,6 +19,13 @@ size_t DiskTool_int_TranslatePath(char *Buffer, const char *Path)
 {
         int    len;
        const char *colon = strchr(Path, ':');
+
+       if( Path[0] == '#' )
+       {
+               if(Buffer)
+                       strcpy(Buffer, Path+1);
+               return strlen(Path) - 1;
+       }
        
        if( colon )
        {

UCC git Repository :: git.ucc.asn.au