-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhd-tool: when opening raw images, peek behind any tapdisks
When opening a file for reading, if we open a tapdisk device then `SEEK_DATA` and `SEEK_HOLE` won't work. Instead if we peek behind the tapdisk then the filesystem can implement `SEEK_*` (or not). Signed-off-by: David Scott <dave.scott@citrix.com>
- Loading branch information
David Scott
committed
Sep 3, 2015
1 parent
be03b7c
commit 1322a4d
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
open Xenstore | ||
|
||
let (|>) a b = b a | ||
module Opt = struct | ||
let default d = function | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters