Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2010 11:32:35 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        gary.jennejohn@freenet.de
Cc:        freebsd-current@freebsd.org
Subject:   Re: A tool for remapping bad sectors in CURRENT?
Message-ID:  <4BA20143.2050600@quip.cz>
In-Reply-To: <20100317130542.3fe19ba0@ernst.jennejohn.org>
References:  <20100308102918.GA5485@localhost> <4B94DDC8.5080008@quip.cz>	<20100308115052.GA31896@office.redwerk.com>	<4B94FBA6.5090107@quip.cz> <861vfq995i.fsf@ds4.des.no>	<4B9BF957.4060507@quip.cz> <86eijn3of2.fsf@ds4.des.no>	<4B9CB287.9080205@quip.cz>	<20100314123859.47664ace@ernst.jennejohn.org>	<4B9D0C65.7000809@quip.cz>	<20100314184806.3eddf33b@ernst.jennejohn.org>	<4BA0BFED.7050103@quip.cz> <20100317130542.3fe19ba0@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Jennejohn wrote:
> On Wed, 17 Mar 2010 12:41:33 +0100
> Miroslav Lachman<000.fbsd@quip.cz>  wrote:
>
>> I absolutely don't understand how you get the number 4 (it is some magic
>> for me :]) but it works!

[...]

> Umm, it's standard C code: 1<<  2 = 4.  It's a power of 2, in this
> case 2 squared.

I am not a C programmer, so I didn't understand the syntax. Now it makes 
sense.

Thank you again for the explanation.

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA20143.2050600>