From b9dfba489309b35d751b5757e7f0ec390ed0ca4c Mon Sep 17 00:00:00 2001 From: John Hodge Date: Wed, 18 Dec 2013 22:14:20 +0800 Subject: [PATCH 1/1] Modules/LVM - Log basics of supervolumes --- KernelLand/Modules/Storage/LVM/volumes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KernelLand/Modules/Storage/LVM/volumes.c b/KernelLand/Modules/Storage/LVM/volumes.c index d923d88f..17682676 100644 --- a/KernelLand/Modules/Storage/LVM/volumes.c +++ b/KernelLand/Modules/Storage/LVM/volumes.c @@ -60,6 +60,8 @@ void *LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_ // Type->CountSubvolumes dummy_vol.nSubVolumes = fmt->CountSubvolumes(&dummy_vol, first_block); + Log_Debug("LVM", "Volume %s as format %s gives %i sub-volumes", + Name, fmt->Name, dummy_vol.nSubVolumes); // Create real volume descriptor // TODO: If this needs to be rescanned later, having the subvolume list separate might be an idea -- 2.20.1