linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cramfs crc?
@ 2003-08-23  1:32 Josh Boyer
  0 siblings, 0 replies; only message in thread
From: Josh Boyer @ 2003-08-23  1:32 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-23  1:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-23  1:32 cramfs crc? Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).