summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2015-11-15 09:14:21 -0500
committerGene Cumm <gene.cumm@gmail.com>2015-11-15 16:04:23 -0500
commit8d2aa9f0e35b47b37a08c9430cde994d36545404 (patch)
tree9b904094d642840a530d640640436a485e78b2f9
parentb752a1f64abd10c37058f755946e9210d8772153 (diff)
downloadsyslinux-8d2aa9f0e35b47b37a08c9430cde994d36545404.tar.gz
extlinux/main.c: Correct comment about btrfs install
As of commit ID 37eef640 (before 6.03-pre12, before 6.03), it is now in Boot Area B. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--extlinux/main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/extlinux/main.c b/extlinux/main.c
index 26eb43c7..e2eb7281 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -598,9 +598,12 @@ bail:
return 1;
}
-/* btrfs has to install ldlinux.sys in the first 64K blank area, which
- is not managed by btrfs tree, so actually this is not installed as a file,
- since the cow feature of btrfs would move the ldlinux.sys file everywhere. */
+/* btrfs has to install ldlinux.sys to a boot area, which is not managed by
+ btrfs tree, so actually this is not installed as a file, since the cow
+ feature of btrfs would move the ldlinux.sys file everywhere. Older
+ versions installed it to the first 64kiB (aka Boot Area A) but as of
+ commit ID 37eef640 (before 6.03-pre12, before 6.03), it is now in Boot
+ Area B (a 768kiB blank space at offset 256kiB). */
int btrfs_install_file(const char *path, int devfd, struct stat *rst)
{
char *file;