Bug#460824: Bug#457901: Installation report - HP pavillion 2585ep
On Tue, Mar 11, 2008 at 02:22:28PM +0100, Frans Pop wrote:
> Attached is an updated patch that makes relatime work with busybox 1.9.1.
> There is one thing I'm wondering at.
> @@ -33,6 +33,9 @@
> #ifndef MS_SILENT
> #define MS_SILENT (1 << 15)
> +#ifndef MS_RELATIME
> +#define MS_RELATIME 2097152
> I used 2097152 because that is the value Colin had. However, MS_SILENT is
> defined as a single bit (2^15), but MS_RELATIME is two bits: 2^21 + 2^1.
One of our calculators is broken.
$ echo '2^21' | bc
> Is that correct?
> If it is, what would be the correct notation to make it consistent with the
> notation for MS_SILENT?
Using (1 << 21) should be fine.
Colin Watson [firstname.lastname@example.org]