Skip to content
Snippets Groups Projects
Commit 7a91f8c0 authored by Brian Carrier's avatar Brian Carrier
Browse files

Fixed issue 2655831 regarding sorter not knowing ext2/ext3 types

parent 4fff0fcb
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,11 @@ collisions with GPT and the DOS safety partition table. DOS partition ...@@ -57,6 +57,11 @@ collisions with GPT and the DOS safety partition table. DOS partition
table ignored if it seems to be the safety partition. Based on a table ignored if it seems to be the safety partition. Based on a
variation of a patch submitted by Aaron Burghardt. variation of a patch submitted by Aaron Burghardt.
4/11/09: Bug Fix: Fixed issue 2655831 regarding sorter not knowing
about the ext2 and ext3 types (it knew about ext and the older
forms). Also added support for ufs1, ufs2, iso, and hfs. reported
by Vinogratzky.
---------------- VERSION 3.0.0 -------------- ---------------- VERSION 3.0.0 --------------
0/00/00: Update: Many, many, many API changes. 0/00/00: Update: Many, many, many API changes.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# The Sleuth Kit # The Sleuth Kit
# #
# Brian Carrier [carrier <at> sleuthkit [dot] org] # Brian Carrier [carrier <at> sleuthkit [dot] org]
# Copyright (c) 2003-2008 Brian Carrier. All rights reserved # Copyright (c) 2003-2009 Brian Carrier. All rights reserved
# #
# TASK # TASK
# Copyright (c) 2002-2003 Brian Carrier, @stake Inc. All rights reserved # Copyright (c) 2002-2003 Brian Carrier, @stake Inc. All rights reserved
...@@ -1400,15 +1400,26 @@ sub set_platform { ...@@ -1400,15 +1400,26 @@ sub set_platform {
} }
# Use freebsd as a default for UFS # Use freebsd as a default for UFS
elsif ($FSTYPE eq "-f ufs") { elsif (($FSTYPE eq "-f ufs")
|| ($FSTYPE eq "-f ufs1")
|| ($FSTYPE eq "-f ufs2"))
{
$PLATFORM = "freebsd"; $PLATFORM = "freebsd";
} }
elsif (($FSTYPE eq "-f linux-ext2") elsif (($FSTYPE eq "-f linux-ext2")
|| ($FSTYPE eq "-f linux-ext3") || ($FSTYPE eq "-f linux-ext3")
|| ($FSTYPE eq "-f ext")) || ($FSTYPE eq "-f ext")
|| ($FSTYPE eq "-f ext2")
|| ($FSTYPE eq "-f ext3"))
{ {
$PLATFORM = "linux"; $PLATFORM = "linux";
} }
elsif ($FSTYPE eq "-f iso9660") {
$PLATFORM = "";
}
elsif ($FSTYPE eq "-f hfs") {
$PLATFORM = "mac";
}
else { else {
print "Unknown file system type: $FSTYPE\n"; print "Unknown file system type: $FSTYPE\n";
exit(1); exit(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment