[Pkg-libvirt-commits] [libguestfs] 13/40: resize: print FSes which cannot be expanded
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:44:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.44-1
in repository libguestfs.
commit 55f70c13e3064cc1132deaf5dadcd53387d0987e
Author: Pino Toscano <ptoscano at redhat.com>
Date: Wed Sep 10 11:16:23 2014 +0200
resize: print FSes which cannot be expanded
Should ease a bit the discovery of a filesystem which cannot be
expanded.
---
resize/resize.ml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/resize/resize.ml b/resize/resize.ml
index 78ec81e..0485db0 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -558,7 +558,11 @@ read the man page virt-resize(1).
| ContentFS (("ntfs"), _) when !ntfs_available -> true
| ContentFS (("btrfs"), _) when !btrfs_available -> true
| ContentFS (("xfs"), _) when !xfs_available -> true
- | ContentFS (_, _) -> false
+ | ContentFS (fs, _) ->
+ if verbose then
+ eprintf "Unknown/unavailable method for expanding filesystem %s\n"
+ fs;
+ false
| ContentExtendedPartition -> false
else
fun _ -> false
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list