From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Drebes Subject: [PATCH 0/2] cramfs: update README file Date: Thu, 15 Nov 2007 21:37:27 +0100 Message-ID: <200711152137.28105.lists-receive@programmierforen.de> References: <200711152129.25686.lists-receive@programmierforen.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Christoph Hellwig , Andrew Morton , Linus Torvalds To: linux-fsdevel@vger.kernel.org Return-path: Received: from server001.webpack.hosteurope.de ([80.237.130.9]:33027 "EHLO server001.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757306AbXKOUh7 (ORCPT ); Thu, 15 Nov 2007 15:37:59 -0500 In-Reply-To: <200711152129.25686.lists-receive@programmierforen.de> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org This patch updates the readme file according to the new mount option "swapendian". Signed-off-by: Andi Drebes --- fs/cramfs/README | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/fs/cramfs/README b/fs/cramfs/README index 445d1c2..acbbdc4 100644 --- a/fs/cramfs/README +++ b/fs/cramfs/README @@ -1,3 +1,12 @@ +Mount options +------------- + +Currently, there is only one mount option available for cramfs: + +swapendian: + causes the filesystem's metadata to be converted from + non-host-endianness to host-endianness. + Notes on Filesystem Layout -------------------------- @@ -108,18 +117,6 @@ kernels, not even necessarily kernels of the same architecture if PAGE_CACHE_SIZE is subject to change between kernel versions (currently possible with arm and ia64). -The remaining options try to make cramfs more sharable. - -One part of that is addressing endianness. The two options here are -`always use little-endian' (like ext2fs) or `writer chooses -endianness; kernel adapts at runtime'. Little-endian wins because of -code simplicity and little CPU overhead even on big-endian machines. - -The cost of swabbing is changing the code to use the le32_to_cpu -etc. macros as used by ext2fs. We don't need to swab the compressed -data, only the superblock, inodes and block pointers. - - The other part of making cramfs more sharable is choosing a block size. The options are: