Skip to content

Commit

Permalink
extlinux/main.c: Correct comment about btrfs install
Browse files Browse the repository at this point in the history
As of commit ID 37eef64 (before 6.03-pre12, before 6.03), it is now in
Boot Area B.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  • Loading branch information
geneC committed Nov 15, 2015
1 parent b752a1f commit 8d2aa9f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions extlinux/main.c
Expand Up @@ -598,9 +598,12 @@ int ext2_fat_install_file(const char *path, int devfd, struct stat *rst)
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;
Expand Down

0 comments on commit 8d2aa9f

Please sign in to comment.