On Wed, 17 Mar 2010 12:41:33 +0100 Miroslav Lachman <000.f...@quip.cz> wrote:
> I absolutely don't understand how you get the number 4 (it is some magic > for me :]) but it works! > > fsdb (inum: 3)> blocks > Blocks for inode 3: > Direct blocks: > 3001 (1 frag) > > 3001 * 4 = 12004 > > fsdb (inum: 3)> findblk 12004 > 12004: data block of inode 3 > > Thank you for this hint! > Umm, it's standard C code: 1 << 2 = 4. It's a power of 2, in this case 2 squared. --- Gary Jennejohn _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"