[Tux3] Patch: Move Tux3 magic to kernel magic.h

Daniel Phillips phillips at phunq.net
Thu Mar 12 22:24:22 PDT 2009


This required splitting the Tux3 magic number up into two parts, the
four byte magic string "tux3", and the BCD encoded date of most recent
format revision.  Doing the magic as a string is a little different
from all other filesystems, which do it as a 32 or 16 bit int, except
for ReiserFS, which does it as three different strings and has an int
version too, for good measure.  So we are a little tidier than that.

Regards,

Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: magic.patch
Type: text/x-diff
Size: 2769 bytes
Desc: not available
URL: <http://phunq.net/pipermail/tux3/attachments/20090312/ed6df435/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tux3.magic.patch
Type: text/x-diff
Size: 361 bytes
Desc: not available
URL: <http://phunq.net/pipermail/tux3/attachments/20090312/ed6df435/attachment-0001.patch>
-------------- next part --------------
_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3


More information about the Tux3 mailing list