From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 5 16:24:20 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 267E316A40A for ; Mon, 5 Feb 2007 16:24:20 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id DCE7D13C471 for ; Mon, 5 Feb 2007 16:24:19 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so969385ana for ; Mon, 05 Feb 2007 08:24:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GNcDLlmDcLGJGEaIzFmjFI/tXAgXrLC9t8pC/OngfijmJ27b/FHU7ww2qgXcgb2DfIr3FhzdpKumRsCyLLJVRXDlPfIkrxjvjk9eZHeEko+tO/88bzsJGqx+zwpVk9pZwQ/7nfsuOG7Q3D7pCEoSzsOYNi6ew6tXkoVwH6CPBEI= Received: by 10.114.202.15 with SMTP id z15mr595075waf.1170692658437; Mon, 05 Feb 2007 08:24:18 -0800 (PST) Received: by 10.114.170.13 with HTTP; Mon, 5 Feb 2007 08:24:18 -0800 (PST) Message-ID: Date: Mon, 5 Feb 2007 17:24:18 +0100 From: "Rene Ladan" To: "FreeBSD Hackers" In-Reply-To: <45B4CC81.1090607@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_17016_32169935.1170692658287" References: <45B4CC81.1090607@gmail.com> Subject: Fwd: xtaf-20070122 available X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Feb 2007 16:24:20 -0000 ------=_Part_17016_32169935.1170692658287 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hmm, the fs@ list seems to be a bit silent on this, let's try it here :) The message is slightly modified to reflect reality. For those who can read from a real xbox360 memory card or hard disk, have a look at kern/107707 which defines a xbox360 geom module. Thanks, Rene ---------- Forwarded message ---------- From: Rene Ladan Date: 22 jan 2007 15:38 Subject: xtaf-20070122 available To: fs@freebsd.org Hi, I put a new version of the XTAF (xbox360 filesystem) module online at http://home.tiscali.nl/rladan/freebsd/xtaf The patch consists of two parts: * glue-20070205.diff.bz2 (the build glue) * kern-20070205.diff.bz2 (the file system module) There fs module still contains some nasty bugs, maybe some (msdos)fs or VOP gurus could have a look? My own guess is that I somehow mangle the cluster offsets, resulting in such things as directories showing up as files in ls(1), directories getting skipped, and some files in the root directory showing the wrong contents. Copying this without modifications from the msdosfs module is not possible because Microsoft decided to omit the . and .. directory entries (everywhere, not just in the root directory). I've uploaded an actual xtaf fs from my xbox360 memory card at http://home.tiscali.nl/rladan/freebsd/xtaf/part0.tbz That file also contains some notes about how that file system should look. To test it on a CURRENT box : (download and bunzip2 the files) # cd /usr/src # patch < glue-20070205.diff # patch < kern-20070205.diff # cd modules/xtaf # make depend && make obj && make && make install (get part0.tbz, extract part0.xtaf from it) # mdconfig -a -t vnode -f part0.xtaf # mount -t xtaf /dev/mdX /my/favorite/mountpoint (play with it) Note that * write support is currently disabled behind #ifdef XTAF_WRITE. * NFS support is currently disabled behind #ifdef XTAF_NFS. Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 ------=_Part_17016_32169935.1170692658287 Content-Type: text/plain; name=xtaf-20070205.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_ext45gng Content-Disposition: attachment; filename="xtaf-20070205.txt" LXJ3LXItLXItLSAgMSByZW5lICB3aGVlbCAgICA2NjEgRmViICA1IDE3OjIwIGdsdWUtMjAwNzAy MDUuZGlmZi5iejIKTUQ1IChnbHVlLTIwMDcwMjA1LmRpZmYuYnoyKSA9IDIxYjEzZGY5MTAxYjA4 NDkzMmQxMGEwZTE5OTU2NDk3ClNIQTI1NiAoZ2x1ZS0yMDA3MDIwNS5kaWZmLmJ6MikgPSBhYTg3 MDllOGEzMTc2NWIzYTljMmM2OGY5YWJmMmI3MWZkYzdmN2YxNjNhMTQwNTk0OTZhNWQ2NTc2MjVj MDljCgotcnctci0tci0tICAxIHJlbmUgIHdoZWVsICAzNTg4NSBGZWIgIDUgMTc6MjAga2Vybi0y MDA3MDIwNS5kaWZmLmJ6MgpNRDUgKGtlcm4tMjAwNzAyMDUuZGlmZi5iejIpID0gOGUwYzNmMDlh MDgzNjBmZGZlYzkzZmUxZjY0NTAzOGEKU0hBMjU2IChrZXJuLTIwMDcwMjA1LmRpZmYuYnoyKSA9 IGM5YTAzNTllNDJlZjM0N2NkOTY2NGEzZDM1ZjE0MDc1MWMyNTZlMDcyZTMyYTZjNTNiYzJlNGQw MDU4YTVlYTcK ------=_Part_17016_32169935.1170692658287--