17 lines
648 B
HTML
17 lines
648 B
HTML
<!-- X-URL: http://step.polymtl.ca/~ldd/ext2fs/ext2fs_11.html -->
|
|
|
|
<!-- This HTML file has been created by texi2html 1.29
|
|
from ext2fs.texi on 3 August 1994 -->
|
|
|
|
<TITLE>Analysis of the Ext2fs structure - Formulae</TITLE>
|
|
<P>Go to the <A HREF="ext2fs_10.html">previous</A>, <A HREF="ext2fs_12.html">next</A> section.<P>
|
|
<H1><A NAME="SEC11" HREF="ext2fs_toc.html#SEC11">Formulae</A></H1>
|
|
<P>
|
|
Here are a couple of formulae usually used in ext2fs managers.
|
|
<P>
|
|
The block number of a file relative offset:
|
|
<P>
|
|
block = offset / s_blocksize
|
|
<P>
|
|
<P>Go to the <A HREF="ext2fs_10.html">previous</A>, <A HREF="ext2fs_12.html">next</A> section.<P>
|