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.
Thanks.
> There is one thing I'm wondering at.
>
> @@ -33,6 +33,9 @@
> #ifndef MS_SILENT
> #define MS_SILENT (1 << 15)
> #endif
> +#ifndef MS_RELATIME
> +#define MS_RELATIME 2097152
> +#endif
>
> 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
2097152
> 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.
Cheers,
--
Colin Watson [cjwatson@debian.org]
Reply to: