[gparted] Add virtual move method to FileSystem class



commit ca30f986f79eb97939176e24f6775cc6daed3c1a
Author: Curtis Gedak <gedakc gmail com>
Date:   Tue Oct 19 13:35:53 2010 -0600

    Add virtual move method to FileSystem class
    
    This is preparation work for the following bug report:
    Bug #589555 - Moving a swap partition needlessly copies
                  all "data" on it

 include/FileSystem.h |    6 +++++-
 include/btrfs.h      |    5 +++++
 include/ext2.h       |    6 +++++-
 include/ext3.h       |    6 +++++-
 include/ext4.h       |    6 +++++-
 include/fat16.h      |    6 +++++-
 include/fat32.h      |    6 +++++-
 include/hfs.h        |    6 +++++-
 include/hfsplus.h    |    6 +++++-
 include/jfs.h        |    6 +++++-
 include/linux_swap.h |    6 +++++-
 include/ntfs.h       |    6 +++++-
 include/reiser4.h    |    6 +++++-
 include/reiserfs.h   |    6 +++++-
 include/ufs.h        |    6 +++++-
 include/xfs.h        |    6 +++++-
 src/btrfs.cc         |    9 +++++++++
 src/ext2.cc          |    8 ++++++++
 src/ext3.cc          |    8 ++++++++
 src/ext4.cc          |    8 ++++++++
 src/fat16.cc         |    8 ++++++++
 src/fat32.cc         |    8 ++++++++
 src/hfs.cc           |    8 ++++++++
 src/hfsplus.cc       |   10 +++++++++-
 src/jfs.cc           |    8 ++++++++
 src/linux_swap.cc    |    8 ++++++++
 src/ntfs.cc          |    8 ++++++++
 src/reiser4.cc       |    8 ++++++++
 src/reiserfs.cc      |    8 ++++++++
 src/ufs.cc           |   10 +++++++++-
 src/xfs.cc           |    8 ++++++++
 31 files changed, 203 insertions(+), 17 deletions(-)
---
diff --git a/include/FileSystem.h b/include/FileSystem.h
index 67fa481..9d26294 100644
--- a/include/FileSystem.h
+++ b/include/FileSystem.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -42,6 +42,10 @@ public:
 	virtual bool resize( const Partition & partition_new,
 			     OperationDetail & operationdetail,
 			     bool fill_partition = false ) = 0 ;
+	virtual bool move( const Partition & partition_new
+	                 , const Partition & partition_old
+	                 , OperationDetail & operationdetail
+	                 ) = 0 ;
 	virtual bool copy( const Glib::ustring & src_part_path,
 			   const Glib::ustring & dest_part_path,
 			   OperationDetail & operationdetail ) = 0 ;
diff --git a/include/btrfs.h b/include/btrfs.h
index 2f6aafc..1f28fc6 100644
--- a/include/btrfs.h
+++ b/include/btrfs.h
@@ -1,4 +1,5 @@
 /* Copyright (C) 2009,2010 Luca Bruno <lucab debian org>
+ * Copyright (C) 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -32,6 +33,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/ext2.h b/include/ext2.h
index 81dc6c2..42e55f9 100644
--- a/include/ext2.h
+++ b/include/ext2.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/ext3.h b/include/ext3.h
index fc19bc3..caf4c26 100644
--- a/include/ext3.h
+++ b/include/ext3.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/ext4.h b/include/ext4.h
index f82bf0e..4f04bae 100644
--- a/include/ext4.h
+++ b/include/ext4.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008 Curtis Gedak
+/* Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -33,6 +33,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/fat16.h b/include/fat16.h
index 133c682..d0d527d 100644
--- a/include/fat16.h
+++ b/include/fat16.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/fat32.h b/include/fat32.h
index 350cb7e..9d20dce 100644
--- a/include/fat32.h
+++ b/include/fat32.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/hfs.h b/include/hfs.h
index 094c881..8455c03 100644
--- a/include/hfs.h
+++ b/include/hfs.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/hfsplus.h b/include/hfsplus.h
index 33a138b..4bbc0ed 100644
--- a/include/hfsplus.h
+++ b/include/hfsplus.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/jfs.h b/include/jfs.h
index ea9c5e8..77e793a 100644
--- a/include/jfs.h
+++ b/include/jfs.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path, 
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/linux_swap.h b/include/linux_swap.h
index 0e77c6b..f7d3295 100644
--- a/include/linux_swap.h
+++ b/include/linux_swap.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/ntfs.h b/include/ntfs.h
index 7b6f640..2668013 100644
--- a/include/ntfs.h
+++ b/include/ntfs.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path, 
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/reiser4.h b/include/reiser4.h
index 3a5820d..cc14dd1 100644
--- a/include/reiser4.h
+++ b/include/reiser4.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/reiserfs.h b/include/reiserfs.h
index c08bc66..4839333 100644
--- a/include/reiserfs.h
+++ b/include/reiserfs.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/ufs.h b/include/ufs.h
index 8b3c1ec..46e7ffe 100644
--- a/include/ufs.h
+++ b/include/ufs.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/include/xfs.h b/include/xfs.h
index 46c9236..11bba4e 100644
--- a/include/xfs.h
+++ b/include/xfs.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -34,6 +34,10 @@ public:
 	bool write_label( const Partition & partition, OperationDetail & operationdetail ) ;
 	bool create( const Partition & new_partition, OperationDetail & operationdetail ) ;
 	bool resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition = false ) ;
+	bool move( const Partition & partition_new
+	         , const Partition & partition_old
+	         , OperationDetail & operationdetail
+	         ) ;
 	bool copy( const Glib::ustring & src_part_path,
 		   const Glib::ustring & dest_part_path,
 		   OperationDetail & operationdetail ) ;
diff --git a/src/btrfs.cc b/src/btrfs.cc
index 7d69803..0cd39a3 100644
--- a/src/btrfs.cc
+++ b/src/btrfs.cc
@@ -1,4 +1,5 @@
 /* Copyright (C) 2009,2010 Luca Bruno <lucab debian org>
+ * Copyright (C) 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -106,6 +107,14 @@ bool btrfs::write_label( const Partition & partition, OperationDetail & operatio
         return true ;
 }
 
+bool btrfs::move( const Partition & partition_new
+                , const Partition & partition_old
+                , OperationDetail & operationdetail
+                )
+{
+	return true ;
+}
+
 bool btrfs::copy( const Glib::ustring & src_part_path,
                     const Glib::ustring & dest_part_path,
                     OperationDetail & operationdetail )
diff --git a/src/ext2.cc b/src/ext2.cc
index 572a3bc..806c731 100644
--- a/src/ext2.cc
+++ b/src/ext2.cc
@@ -121,6 +121,14 @@ bool ext2::resize( const Partition & partition_new, OperationDetail & operationd
 	return ! execute_command( str_temp, operationdetail ) ;
 }
 
+bool ext2::move( const Partition & partition_new
+               , const Partition & partition_old
+               , OperationDetail & operationdetail
+               )
+{
+	return true ;
+}
+
 bool ext2::copy( const Glib::ustring & src_part_path, 
 		 const Glib::ustring & dest_part_path,
 		 OperationDetail & operationdetail )
diff --git a/src/ext3.cc b/src/ext3.cc
index 7b05892..23788a1 100644
--- a/src/ext3.cc
+++ b/src/ext3.cc
@@ -122,6 +122,14 @@ bool ext3::resize( const Partition & partition_new, OperationDetail & operationd
 	return ! execute_command( str_temp, operationdetail ) ;
 }
 
+bool ext3::move( const Partition & partition_new
+               , const Partition & partition_old
+               , OperationDetail & operationdetail
+               )
+{
+	return true ;
+}
+
 bool ext3::copy( const Glib::ustring & src_part_path,
 		 const Glib::ustring & dest_part_path,
 		 OperationDetail & operationdetail )
diff --git a/src/ext4.cc b/src/ext4.cc
index a5eb48f..b837c52 100644
--- a/src/ext4.cc
+++ b/src/ext4.cc
@@ -125,6 +125,14 @@ bool ext4::resize( const Partition & partition_new, OperationDetail & operationd
 	return ! execute_command( str_temp, operationdetail ) ;
 }
 
+bool ext4::move( const Partition & partition_new
+               , const Partition & partition_old
+               , OperationDetail & operationdetail
+               )
+{
+	return true ;
+}
+
 bool ext4::copy( const Glib::ustring & src_part_path,
 		 const Glib::ustring & dest_part_path,
 		 OperationDetail & operationdetail )
diff --git a/src/fat16.cc b/src/fat16.cc
index 67690e2..a9d418a 100644
--- a/src/fat16.cc
+++ b/src/fat16.cc
@@ -161,6 +161,14 @@ bool fat16::resize( const Partition & partition_new, OperationDetail & operation
 	return true ;
 }
 
+bool fat16::move( const Partition & partition_new
+                , const Partition & partition_old
+                , OperationDetail & operationdetail
+                )
+{
+	return true ;
+}
+
 bool fat16::copy( const Glib::ustring & src_part_path,
 		  const Glib::ustring & dest_part_path,
 		  OperationDetail & operationdetail )
diff --git a/src/fat32.cc b/src/fat32.cc
index 2512687..f7990dd 100644
--- a/src/fat32.cc
+++ b/src/fat32.cc
@@ -160,6 +160,14 @@ bool fat32::resize( const Partition & partition_new, OperationDetail & operation
 	return true ;
 }
 
+bool fat32::move( const Partition & partition_new
+                , const Partition & partition_old
+                , OperationDetail & operationdetail
+                )
+{
+	return true ;
+}
+
 bool fat32::copy( const Glib::ustring & src_part_path, 
 		  const Glib::ustring & dest_part_path,
 		  OperationDetail & operationdetail )
diff --git a/src/hfs.cc b/src/hfs.cc
index ba37066..aa6fed7 100644
--- a/src/hfs.cc
+++ b/src/hfs.cc
@@ -91,6 +91,14 @@ bool hfs::resize( const Partition & partition_new, OperationDetail & operationde
 	return true ;
 }
 
+bool hfs::move( const Partition & partition_new
+              , const Partition & partition_old
+              , OperationDetail & operationdetail
+              )
+{
+	return true ;
+}
+
 bool hfs::copy( const Glib::ustring & src_part_path,
 		const Glib::ustring & dest_part_path,
 		OperationDetail & operationdetail )
diff --git a/src/hfsplus.cc b/src/hfsplus.cc
index 2234ea8..bb5126d 100644
--- a/src/hfsplus.cc
+++ b/src/hfsplus.cc
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -89,6 +89,14 @@ bool hfsplus::resize( const Partition & partition_new, OperationDetail & operati
 	return true ;
 }
 
+bool hfsplus::move( const Partition & partition_new
+                  , const Partition & partition_old
+                  , OperationDetail & operationdetail
+                  )
+{
+	return true ;
+}
+
 bool hfsplus::copy( const Glib::ustring & src_part_path,
 		    const Glib::ustring & dest_part_path,
 		    OperationDetail & operationdetail )
diff --git a/src/jfs.cc b/src/jfs.cc
index 33ae3cc..d8b7f40 100644
--- a/src/jfs.cc
+++ b/src/jfs.cc
@@ -216,6 +216,14 @@ bool jfs::resize( const Partition & partition_new, OperationDetail & operationde
 	return return_value ;
 }
 
+bool jfs::move( const Partition & partition_new
+              , const Partition & partition_old
+              , OperationDetail & operationdetail
+              )
+{
+	return true ;
+}
+
 bool jfs::copy( const Glib::ustring & src_part_path, 
 		const Glib::ustring & dest_part_path,
 		OperationDetail & operationdetail )
diff --git a/src/linux_swap.cc b/src/linux_swap.cc
index 946f276..d604684 100644
--- a/src/linux_swap.cc
+++ b/src/linux_swap.cc
@@ -93,6 +93,14 @@ bool linux_swap::resize( const Partition & partition_new, OperationDetail & oper
 	return exit_status ;
 }
 
+bool linux_swap::move( const Partition & partition_new
+                     , const Partition & partition_old
+                     , OperationDetail & operationdetail
+                     )
+{
+	return true ;
+}
+
 bool linux_swap::copy( const Glib::ustring & src_part_path,
 		       const Glib::ustring & dest_part_path,
 		       OperationDetail & operationdetail )
diff --git a/src/ntfs.cc b/src/ntfs.cc
index b34ced7..aecf928 100644
--- a/src/ntfs.cc
+++ b/src/ntfs.cc
@@ -149,6 +149,14 @@ bool ntfs::resize( const Partition & partition_new, OperationDetail & operationd
 	return return_value ;
 }
 
+bool ntfs::move( const Partition & partition_new
+               , const Partition & partition_old
+               , OperationDetail & operationdetail
+               )
+{
+	return true ;
+}
+
 bool ntfs::copy( const Glib::ustring & src_part_path,
 		 const Glib::ustring & dest_part_path, 
 		 OperationDetail & operationdetail )
diff --git a/src/reiser4.cc b/src/reiser4.cc
index d645739..f36e7c1 100644
--- a/src/reiser4.cc
+++ b/src/reiser4.cc
@@ -112,6 +112,14 @@ bool reiser4::resize( const Partition & partition_new, OperationDetail & operati
 	return true ;
 }
 
+bool reiser4::move( const Partition & partition_new
+                  , const Partition & partition_old
+                  , OperationDetail & operationdetail
+                  )
+{
+	return true ;
+}
+
 bool reiser4::copy( const Glib::ustring & src_part_path, 
 		    const Glib::ustring & dest_part_path,
 		    OperationDetail & operationdetail )
diff --git a/src/reiserfs.cc b/src/reiserfs.cc
index 4075dd6..9409d10 100644
--- a/src/reiserfs.cc
+++ b/src/reiserfs.cc
@@ -133,6 +133,14 @@ bool reiserfs::resize( const Partition & partition_new, OperationDetail & operat
 	return ( exit_status == 0 || exit_status == 256 ) ;
 }
 
+bool reiserfs::move( const Partition & partition_new
+                   , const Partition & partition_old
+                   , OperationDetail & operationdetail
+                   )
+{
+	return true ;
+}
+
 bool reiserfs::copy( const Glib::ustring & src_part_path,
 		     const Glib::ustring & dest_part_path,
 		     OperationDetail & operationdetail )
diff --git a/src/ufs.cc b/src/ufs.cc
index f6b2e69..80b8cfe 100644
--- a/src/ufs.cc
+++ b/src/ufs.cc
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -57,6 +57,14 @@ bool ufs::resize( const Partition & partition_new, OperationDetail & operationde
 	return true ;
 }
 
+bool ufs::move( const Partition & partition_new
+              , const Partition & partition_old
+              , OperationDetail & operationdetail
+              )
+{
+	return true ;
+}
+
 bool ufs::copy( const Glib::ustring & src_part_path,
 		const Glib::ustring & dest_part_path,
 		OperationDetail & operationdetail )
diff --git a/src/xfs.cc b/src/xfs.cc
index fee402f..9d67d68 100644
--- a/src/xfs.cc
+++ b/src/xfs.cc
@@ -222,6 +222,14 @@ bool xfs::resize( const Partition & partition_new, OperationDetail & operationde
 	return return_value ;
 }
 
+bool xfs::move( const Partition & partition_new
+              , const Partition & partition_old
+              , OperationDetail & operationdetail
+              )
+{
+	return true ;
+}
+
 bool xfs::copy( const Glib::ustring & src_part_path,
 		const Glib::ustring & dest_part_path,
 		OperationDetail & operationdetail )



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]