From 30db9f527dde7fe6c27253ea3b1e3fd172c7b2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Thu, 19 Jan 2006 12:38:14 +0000 Subject: [PATCH] print also the mount point, useful in case it's generated git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16007 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/mountvolume.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/mountvolume.cpp b/src/bin/mountvolume.cpp index bf12d74091..34b0f1a98a 100644 --- a/src/bin/mountvolume.cpp +++ b/src/bin/mountvolume.cpp @@ -147,7 +147,9 @@ struct MountVisitor : public BDiskDeviceVisitor { (readOnly ? B_MOUNT_READ_ONLY : 0)); if (!silent) { if (error >= B_OK) { - printf("Volume `%s' mounted successfully.\n", name); + BPath mountPoint; + partition->GetMountPoint(&mountPoint); + printf("Volume `%s' mounted successfully at '%s'.\n", name, mountPoint.Path()); } else { fprintf(stderr, "Failed to mount volume `%s': %s\n", name, strerror(error));