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

From: Pavel Machek
Date: Fri Mar 28 2008 - 16:20:04 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/