lkml.org 
[lkml]   [2008]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/7] omfs: define filesystem structures
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


\
 
 \ /
  Last update: 2008-03-28 21:23    [W:0.054 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site