search for: errno_erofs

Displaying 1 result from an estimated 1 matches for "errno_erofs".

2018 Apr 16
2
[PATCH] v2v: Give better diagnostics if filesystem falls back to read-only (RHBZ#1567763).
...ad-only mount. Check the root filesystem is really writable. + * RHBZ#1567763 + *) + if mp = "/" then ( + let file = sprintf "/%s" (String.random8 ()) in + (try g#touch file + with G.Error msg -> + if g#last_errno () = G.Errno.errno_EROFS then + error (f_"filesystem was mounted read-only, even though we asked for it to be mounted read-write. This usually means that the filesystem was not cleanly unmounted. Possible causes include trying to convert a guest which is running, or using Windows Hibernation or Fast Rest...