. incompatible with installboot -d FSDEV on mounted filesystems
. should be re-enabled when netbsd boot loader is default
*===========================================================================*/
int block_write_ok(struct buf *bp)
{
+ /* XXX this check is temporarily disabled as it's incompatible with
+ * updating the sector list in the bootcode. This will change when
+ * we switch to the netbsd-based bootloader.
+ */
+#if 0
if(superblock.s_dev != bp->b_dev) return 1;
if(bp->b_blocknr >= super_start && bp->b_blocknr <= super_end) {
printf("This shouldn't happen.\n");
return 0;
}
+#endif
return 1;
}