Description: Support for NTFS of Windows XP (Closes: #474321).
Author: Trace Green <debian.y.h.xu@gmail.com>
Last-Update: 2008-11-06
Index: gpart-0.1h/src/gm_ntfs.c
===================================================================
--- gpart-0.1h.orig/src/gm_ntfs.c
+++ gpart-0.1h/src/gm_ntfs.c
@@ -73,9 +73,11 @@ int ntfs_gfun(disk_desc *d,g_module *m)
 			return (1);
 		size = NTFS_GETU64(d->d_sbuf + 0x28);
 
+#if 0
 		size /= clusterfactor;
 		size *= clustersize;
 		size /= d->d_ssize;
+#endif
 
 		/*
 		 * look for an additional backup boot sector at the end of
