tskmount [ -h ] [ -f ] [ -d ] [ -e ] [ -q ] [ -v ] [ -o fuseoptions ] filesystem mountpoint
tskmount(8) is the command to mount the deleted files filesystem.
tskmount(8) is part of the TSKmount-Fuse package, a Fuse filesystem written in Perl and based on The Sleuth Kit tools (commands fls(1), icat(1) and ils(1) are required).
Here is some commands examples.
Mounting device /dev/hda5 on /tmp/fuse empty directory:
tskmount /dev/hda5 /tmp/fuse
Wait the "Ready" message before going to the mountpoint /tmp/fuse.
Unmounting the filesystem:
fusermount -u /tmp/fuse
Mounting device /dev/sda1 a USB pen device, to recover deleted file.
su -c "chmod o+r /dev/sda1" # make readable mkdir /tmp/fuse # create mountpoint tskmount -f /dev/sda1 /tmp/fuse & # wait "Ready" ls /tmp/fuse/ # show content cp /tmp/fuse/... . # copy your file fusermount -u /tmp/fuse # unmount su -c "chmod o-r /dev/sda1" # reset permissions
Copy a large file named "/tmp/fuse/foo (deleted_12345)" using icat(1) command from The Sleuth Kit package.
# at the end of the filename you can get the real inode to use # as last argument of icat command icat -r /dev/sda1 12345 >/tmp/foo_recovery
Device or image file must be readable by the user, so you may have to do a chmod(1) like "chmod o+r device" as root before if you intend to use tskmount with common user rights. And don't forget to "chmod o-r device" after unmounting :-)
Copying files is really slow and if size is more than 8 MB you shouldn't try to copy the file directly. Instead use the icat(1) sleuthkit command like tskmount will show you in the alert message.
Command line find(1) should be used with -noleaf option to work properly.
Mounted filesystem is readonly.
Don't expect miracle, only a small part of the files can be recovered. Generaly the more recent.
Let me know at http://tskmount-fuse.sourceforge.net/.
Jean Diraison <jean.diraison@ac-versailles.fr>, <jean.diraison@ac-rennes.fr>
tskmount(8) is part of TSKmount-Fuse package, a Fuse filesystem written in perl and based on The Sleuth Kit tools. It is intended to provide an easy way to recover deleted files over ext2, vfat (FAT 12/16/32) and NTFS filesystems. Latest version can be downloaded at http://tskmount-fuse.sourceforge.net/.
Copyright © 2007 Jean Diraison. There is NO warranty. You may redistribute this software under the terms of the GNU General Public License version 2. For more information about these matters, see the files named COPYING.
fusermount(1), icat(1), fls(1), ils(1).