Skip to content

Commit 541576a

Browse files
authored
Merge pull request #40 from flatcar/jepio/btrfs-opt
Mount btrfs fs with rescue= option
2 parents f627c4d + 53262f6 commit 541576a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/update_engine/postinstall_runner_action.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void PostinstallRunnerAction::PerformAction() {
5050
temp_rootfs_dir_.c_str(),
5151
"btrfs",
5252
mountflags,
53-
"norecovery");
53+
"rescue=nologreplay");
5454
if (errno == EEXIST) {
5555
/* When trying to mount an identical btrfs image twice because the old
5656
* and new partition are identical, the kernel refuses because same UUIDs

0 commit comments

Comments
 (0)