Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137042272
D14812.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1011 B
Referenced Files
None
Subscribers
None
D14812.id.diff
View Options
Index: head/usr.sbin/makefs/cd9660/cd9660_eltorito.c
===================================================================
--- head/usr.sbin/makefs/cd9660/cd9660_eltorito.c
+++ head/usr.sbin/makefs/cd9660/cd9660_eltorito.c
@@ -294,7 +294,10 @@
return NULL;
sh = &entry->entry_data.SH;
- /* More by default. The last one will manually be set to 0x91 */
+ /*
+ * More by default.
+ * The last one will manually be set to ET_SECTION_HEADER_LAST
+ */
sh->header_indicator[0] = ET_SECTION_HEADER_MORE;
sh->platform_id[0] = platform;
sh->num_section_entries[0] = 0;
@@ -463,6 +466,13 @@
LIST_INSERT_AFTER(head, temp, ll_struct);
tmp_disk = TAILQ_NEXT(tmp_disk, image_list);
}
+
+ /* Find the last Section Header entry and mark it as the last. */
+ LIST_FOREACH(next, &diskStructure->boot_entries, ll_struct) {
+ if (next->entry_type == ET_ENTRY_SH)
+ head = next;
+ }
+ head->entry_data.SH.header_indicator[0] = ET_SECTION_HEADER_LAST;
/* TODO: Remaining boot disks when implemented */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 22, 1:05 AM (6 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25852872
Default Alt Text
D14812.id.diff (1011 B)
Attached To
Mode
D14812: Correctly mark last section header in El Torito catalog
Attached
Detach File
Event Timeline
Log In to Comment