summaryrefslogtreecommitdiff
path: root/src/extsh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extsh.cpp')
-rw-r--r--src/extsh.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/extsh.cpp b/src/extsh.cpp
index 87df7d3..07a7d47 100644
--- a/src/extsh.cpp
+++ b/src/extsh.cpp
@@ -10,10 +10,14 @@ int main(int argc, char const * argv[])
if(disk.open())
{
- std::clog << "[EXT2] Successfully opened ext*fs at: '" << path << "'\n";
+ std::clog << "[EXTSH] Successfully opened ext*fs at: '" << path << "'\n";
+ if(disk.has_label())
+ {
+ std::clog << "[EXTSH] The filesystem is labeled '" << disk.label() << "'\n";
+ }
}
else
{
- std::clog << "[EXT2] Failed to open ext*fs at: '" << path << "'\n";
+ std::clog << "[EXTSH] Failed to open ext*fs at: '" << path << "'\n";
}
}