diff options
author | Pete Bentley <prb@google.com> | 2019-01-25 16:30:10 +0000 |
---|---|---|
committer | Pete Bentley <prb@google.com> | 2019-01-25 16:42:34 +0000 |
commit | ca0f7ba6e457d412a1b27cb76e2deab00be8b709 (patch) | |
tree | 3a43c99b217412392c32ac0d17c19529ced44814 /test/ProfileTestMultiDex | |
parent | 2207ba0bf0987fb635441ed16e80c5fdddc7f957 (diff) |
Add read-only option to guestfs mount.
Without this, fails sporadically (consistently today) with:-
libguestfs: error: mount_options: /dev/sda on / (options: ''):
mount: /sysroot: wrong fs type, bad option, bad superblock
on /dev/sda, missing codepage or helper program, or other error.
guestmount: '/dev/sda' could not be mounted.
guestmount: Did you mean to mount one of these filesystems?
guestmount: /dev/sda (ext4)
Running the same guestmount command with --trace shows:-
libguestfs: trace: mount_options "" "/dev/sda" "/"
libguestfs: trace: mount_options = -1 (error)
Adding this makes it go away and seems otherwise harmless :)
Test: runtests.sh
Bug: 119090773
Bug: 113373927
Change-Id: Ic0107405d5c2766fb46de20bfbc523c14950e0b7
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions