Hello,
As I said in a previous mail, files on reiserfs can have tails that
are not block aligned. Those files can't be directly loaded by
stage1, but there is currently not even a warning. As only the tail
of that file fails to load this may lead to very subtle errors.
This patch will make the install command complain with an error
message. Furthermore the blocklist command will give a more detailed
list, if some blocks are unaligned.
Jochen
2000-02-29 Jochen Hoenicke <[EMAIL PROTECTED]>
* stage2/shared.h [!STAGE1_5] (disk_read_hook,disk_read_func): new
parameters offset and length.
(ERR_UNALIGNED): new error code.
* stage2/common.c (err_list): added message for ERR_UNALIGNED.
* stage2/disk_io.c (rawread) [!STAGE1_5]: call disk_read_func with
offset and length.
* stage2/builtin.c (disk_read_print_func): print offset and length.
(blocklist_func): print detailed byte ranges for partial sectors.
(install_func): detect partial sectors and print error message.
grub-checkblock.diff.gz