Re: [PATCH 1/7] omfs: define filesystem structures

Pavel Machek
2008-03-28T20:20:01Z

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