Write out 15 sectors of boot code.
This commit is contained in:
parent
27072bf00c
commit
ae59d02e12
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106222
@ -89,6 +89,10 @@ Write_Disk(const struct disk *d1)
|
||||
}
|
||||
|
||||
write_block(fd, 0, sl, sizeof *sl);
|
||||
|
||||
for(i = 1; i < 16; i++)
|
||||
write_block(fd, i * 512, d1->boot1 + 512 * (i - 1), 512);
|
||||
|
||||
close(fd);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user