From owner-freebsd-fs@FreeBSD.ORG Fri Nov 5 23:18:06 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 269A616A4CE for ; Fri, 5 Nov 2004 23:18:06 +0000 (GMT) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C31FD43D1D for ; Fri, 5 Nov 2004 23:18:05 +0000 (GMT) (envelope-from nehalmistry@gmx.net) Received: from pd3mr7so.prod.shaw.ca (pd3mr7so-qfe3.prod.shaw.ca [10.0.141.23])2004)) with ESMTP id <0I6Q00KHPBDB1X10@l-daemon> for freebsd-fs@freebsd.org; Fri, 05 Nov 2004 16:17:35 -0700 (MST) Received: from pn2ml2so.prod.shaw.ca ([10.0.121.146]) by pd3mr7so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I6Q002YLBDBCOL0@pd3mr7so.prod.shaw.ca> for freebsd-fs@freebsd.org; Fri, 05 Nov 2004 16:17:35 -0700 (MST) Received: from nehal (S0106000ae6ceb225.vf.shawcable.net [70.68.12.33]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with SMTP id <0I6Q00542BDAG6@l-daemon> for freebsd-fs@freebsd.org; Fri, 05 Nov 2004 16:17:35 -0700 (MST) Date: Fri, 05 Nov 2004 15:17:48 -0800 From: Nehal To: freebsd-fs@freebsd.org Message-id: <20041105151748.00002d74@nehal> MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.3.0; Win32) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Subject: ufs2 access from windows X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 23:18:06 -0000 i have just released ufs2tools-0.4 , this contains a command line utility for reading ufs2 filesystems from windows 2000/XP (as opposed to http://ffs.szm.sk/en/ which is a filesystem driver). url: http://ufs2tools.sourceforge.net/ although the code is, afaik, clean and bug-free, the implementation probably isn't the best. i've implemented it most from scratch except for using the following files from freebsd src: ffs/fs.h, ufs/dinode.h, ufs/dir.h i would appreciate it if someone could go over the code and give me tips on how i could improve or optimize the code. i've noticed that retrieving many small files can be slow, this is because it has to lookup the directory name each time, i could probably add some sort of hash/lookup table to speed it up. i'm not sure what else could be done. i have looked over the code in freebsd src, but it was quite complex and i couldn't understand much of it. -- Nehal