From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 20 06:33:04 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E46C2882; Fri, 20 Mar 2015 06:33:04 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B64679CA; Fri, 20 Mar 2015 06:33:03 +0000 (UTC) Received: from Julian-MBP3.local (ppp121-45-255-201.lns20.per4.internode.on.net [121.45.255.201]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t2K6Wq4H055464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 19 Mar 2015 23:32:56 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <550BBF0E.2050600@freebsd.org> Date: Fri, 20 Mar 2015 14:32:46 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: sson , freebsd-hackers@freebsd.org Subject: Re: UFS endian conversion References: <20150309190119.GC72806@spindle.one-eyed-alien.net> <1426819192856-5998370.post@n5.nabble.com> In-Reply-To: <1426819192856-5998370.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed 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 06:33:05 -0000 On 3/20/15 10:39 AM, sson wrote: > 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. > \ rather cool. does it all compile away to naught if not wanted?