Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755699AbZFVU2Z (ORCPT ); Mon, 22 Jun 2009 16:28:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752183AbZFVU2Q (ORCPT ); Mon, 22 Jun 2009 16:28:16 -0400 Received: from pfepb.post.tele.dk ([195.41.46.236]:36710 "EHLO pfepb.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751129AbZFVU2P (ORCPT ); Mon, 22 Jun 2009 16:28:15 -0400 Date: Mon, 22 Jun 2009 22:30:34 +0200 From: Sam Ravnborg To: Chris Simmonds Cc: Arnd Bergmann , Marco , Linux FS Devel , Linux Embedded , Linux Kernel Subject: Re: [PATCH 06/14] Pramfs: Include files Message-ID: <20090622203034.GA12587@uranus.ravnborg.org> References: <4A33A7EC.6070008@gmail.com> <200906221317.04166.arnd@arndb.de> <4A3FC7F1.5050108@gmail.com> <200906222033.20883.arnd@arndb.de> <4A3FDBFE.8050509@2net.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A3FDBFE.8050509@2net.co.uk> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1826 Lines: 40 On Mon, Jun 22, 2009 at 08:31:10PM +0100, Chris Simmonds wrote: > Arnd Bergmann wrote: > >On Monday 22 June 2009, Marco wrote: > >>Sorry, I meant it's not currently possible. At the moment the only way > >>to use it as rootfs it's to copy all the data in an already mounted > >>(empty) ram partition and reboot. However it's not my first item on my > >>todo list because I think that it's possible to use it as rootfs but it > >>isn't the standard use for this fs. > > > >Well, it doesn't have to work right away. What I'm asking to > >define the data structures in a way that keeps the layout stable > >across kernel updates. Since a future version of the file system > >might support cross-endian image creation, it would be good to > >define the data structures in a fixed endian mode already, so > >you don't have to change it in the future. > > > > Arnd <>< > >-- > >To unsubscribe from this list: send the line "unsubscribe linux-embedded" > >in > >the body of a message to majordomo@vger.kernel.org > >More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > I disagree: that adds an unnecessary overhead for those architectures > where the cpu byte order does not match the data structure ordering. It is not that we are talking big and complex stuff here. pramfs is likely to be used for small things and then having to fix endian on a few headers in the on-dsk format does not matter. Not compared to the potential disadvantages. It should be possible to read a file-system on your x86 64bit box that you wrote with your small powerpc target. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/