Subject: fsck_cd9660
To: None <tech-userlevel@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 11/30/2004 00:01:49
Why is there no fsck_cd9660?

Ok, I think I know the actual answer to that: cd9660 is not designed
for write access, so there is no need to check 9660 filesystems for
corruption.

That's a nice ideal, but it isn't really good enough.  If someone gives
me a supposed ISO image - perhaps on CD, perhaps not - I would very
much like to have a program I can run over it to give me reasonable
assurance that it won't cause Bad Things to happen if I mount it.  For
other filesystem types this is the fsck_* for that filesystem.

Does anyone know of an fsck-alike in this sense - something that will
_detect_ problems, even if not _repair_ them, for 9660 filesystems?

Failing that, does anyone know of a good reference for the filesystem,
good enough to write code to, so I can build one myself?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B