From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 20 02:40:00 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04D6DB42 for ; Fri, 20 Mar 2015 02:40:00 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id E16ABF37 for ; Fri, 20 Mar 2015 02:39:59 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id C94C817F1A9D for ; Thu, 19 Mar 2015 19:40:05 -0700 (PDT) Date: Thu, 19 Mar 2015 19:39:52 -0700 (MST) From: sson To: freebsd-hackers@freebsd.org Message-ID: <1426819192856-5998370.post@n5.nabble.com> In-Reply-To: <20150309190119.GC72806@spindle.one-eyed-alien.net> References: <20150309190119.GC72806@spindle.one-eyed-alien.net> Subject: Re: UFS endian conversion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2015 02:40:00 -0000 Brooks Davis-2 wrote > On Mon, Mar 09, 2015 at 02:11:02PM +0100, Wojciech Puchar wrote: >> is it possible without backup/restore? >> >> any tool? >> >> or do i miss something in fsck_ffs manual? > > You would need to backup on the source endian and restore on the > destination. Stacey Son (cc'd) has some patches to allow access to UFS > file systems of non-native endian that need someone to help polishing > them up. > > -- Brooks > > > attachment0 (188 bytes) > <http://freebsd.1045724.n5.nabble.com/attachment/5995345/0/attachment0> (Sorry, I have been on vacation and then started having #mbp2011 issues with my laptop so I am just catching up.) I just rebased my patches to something a little closer to -current. You can find my preliminary changes here: https://github.com/staceyson/freebsd/commit/642ad5aec8e9d130cdd347699da9718b23ff749a This provides enough support for the somewhat trivial case (e.g. ro, no soft updates, etc.). This, indeed, needs more polishing. -stacey. -- View this message in context: http://freebsd.1045724.n5.nabble.com/UFS-endian-conversion-tp5995230p5998370.html Sent from the freebsd-hackers mailing list archive at Nabble.com.