From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH 1/7] omfs: define filesystem structures Date: Fri, 28 Mar 2008 21:19:40 +0100 Message-ID: <20080328201940.GA3974@ucw.cz> References: <1206578760-9050-1-git-send-email-me@bobcopeland.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Bob Copeland Return-path: Received: from gprs189-60.eurotel.cz ([160.218.189.60]:2058 "EHLO spitz.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753641AbYC1UTv (ORCPT ); Fri, 28 Mar 2008 16:19:51 -0400 Content-Disposition: inline In-Reply-To: <1206578760-9050-1-git-send-email-me@bobcopeland.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed 2008-03-26 20:45:54, Bob Copeland wrote: > OMFS is a proprietary filesystem created for the ReplayTV and > also used by the Rio Karma. It uses hash tables with unordered, > unbounded lists in each bucket for directories, extents for Why did they create such beast? > +struct omfs_header { > + __be64 h_self; > + __be32 h_body_size; > + __be16 h_crc; > + char h_fill1[2]; > + u8 h_version; > + char h_type; > + u8 h_magic; > + u8 h_check_xor; > + __be32 h_fill2; > +}; attribute packed or something? Some strange machine (alpha?) may decide to align u8s at 32bit boundaries... -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html