lkml.org 
[lkml]   [2003]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectcramfs crc?
From
Date
the cramfs_info structure contains a u32 crc field, but it is never used
in the kernel. the mkcramfs tool calculates a crc on the whole fs image
and then embeddeds this crc into the image file.

why is this never checked in the kernel? it could be recalculated at
mount time and compared the the embedded crc. if a mismatch is
detected, the mount could simply fail.

is there a reason this isn't done, or is it that nobody thought it would
be useful?


thx,
jb

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.028 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site