[Forensics-changes] [SCM] Guess PC disk partition table, find lost partitions branch, debian, updated. debian/0.1h-5-3-gaa33ba2

Daniel Baumann daniel at debian.org
Thu Nov 6 15:26:01 UTC 2008


The following commit has been merged in the debian branch:
commit 69f6096055c4a9df3a0c5461f31190087b6ce6be
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Nov 6 16:23:33 2008 +0100

    Adding patch from Trace Green <debian.y.h.xu at gmail.com> to add support for NTFS of Windows XP (Closes: #474321).

diff --git a/debian/patches/00list b/debian/patches/00list
index 4926043..c83745f 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1 +1,2 @@
 01-conglomeration.dpatch
+02-ntfs-winxp.dpatch
diff --git a/debian/patches/02-ntfs-winxp.dpatch b/debian/patches/02-ntfs-winxp.dpatch
new file mode 100644
index 0000000..fccf360
--- /dev/null
+++ b/debian/patches/02-ntfs-winxp.dpatch
@@ -0,0 +1,22 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 02-ntfs-winxp.dpatch by Trace Green <debian.y.h.xu at gmail.com>
+##
+## DP: Support for NTFS of Windows XP (Closes: #474321).
+
+ at DPATCH@
+
+diff -Naurp gpart-0.1h.orig/src/gm_ntfs.c gpart-0.1h/src/gm_ntfs.c
+--- gpart-0.1h.orig/src/gm_ntfs.c	2001-02-07 18:08:08.000000000 +0000
++++ gpart-0.1h/src/gm_ntfs.c	2008-11-06 15:20:09.000000000 +0000
+@@ -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

-- 
Guess PC disk partition table, find lost partitions



More information about the forensics-changes mailing list