[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACyNnZPqhBw2q78tfG1npfO5SFt57xahME30h9rZiTnvZnhM+A@mail.gmail.com>
Date: Thu, 5 Sep 2013 09:04:19 +0200
From: Felipe Monteiro de Carvalho <felipemonteiro.carvalho@...il.com>
To: jon ernst <jonernst07@...il.com>
Cc: "Theodore Ts'o" <tytso@....edu>, linux-ext4@...r.kernel.org
Subject: Re: Which features should I implement in my ext4 reader?
Hello,
On Thu, Sep 5, 2013 at 6:50 AM, jon ernst <jonernst07@...il.com> wrote:
> But I don't quite understand why does Felipe suspect those padding 0s?
> What's wrong with it? Pardon my silly question.
My point is why there are exactly 3 zeroes of padding? Can sometimes
it be 2 zeroes? Or 1? Or none? How is this decided? Any tips to where
in the source code this padding is decided?
I am implementing my own ext4 reader library so I am not using the
standard library, so this kind of detail is very important to me to
make sure that my implementation is correct. For now I hard coded the
existence of 3 zeroes of padding, but maybe the amount could be
different?
Is it to make sure that the block of data starts aligned to 4-bytes?
thanks,
--
Felipe Monteiro de Carvalho
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists