From: John Hodge Date: Thu, 14 Jun 2012 08:48:47 +0000 (+0800) Subject: Modules/LVM - Changed drive file from .volume to ROOT X-Git-Tag: rel0.15~611^2~55 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=513b0638dbbcf84eeb23d9f0d1bcf01d6af2c008;p=tpg%2Facess2.git Modules/LVM - Changed drive file from .volume to ROOT --- diff --git a/KernelLand/Modules/Storage/LVM/main.c b/KernelLand/Modules/Storage/LVM/main.c index d6845e19..0bca233e 100644 --- a/KernelLand/Modules/Storage/LVM/main.c +++ b/KernelLand/Modules/Storage/LVM/main.c @@ -102,7 +102,7 @@ char *LVM_Vol_ReadDir(tVFS_Node *Node, int ID) return NULL; if( ID == 0 ) - return strdup(".volume"); + return strdup("ROOT"); else return strdup( vol->SubVolumes[ID-1]->Name ); } @@ -110,7 +110,7 @@ tVFS_Node *LVM_Vol_FindDir(tVFS_Node *Node, const char *Name) { tLVM_Vol *vol = Node->ImplPtr; - if( strcmp(".volume", Name) == 0 ) + if( strcmp("ROOT", Name) == 0 ) return &vol->VolNode; for( int i = 0; i < vol->nSubVolumes; i ++ )