git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36026b1
)
zero: Disable file test because of bug in file command.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 18 May 2011 09:04:05 +0000
(10:04 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 18 May 2011 10:40:52 +0000
(11:40 +0100)
See: https://bugzilla.redhat.com/show_bug.cgi?id=705499
(cherry picked from commit
f55b32b2db83495fc0987f0fe0e979818704dff1
)
generator/generator_actions.ml
patch
|
blob
|
history
diff --git
a/generator/generator_actions.ml
b/generator/generator_actions.ml
index
085d329
..
cf6907c
100644
(file)
--- a/
generator/generator_actions.ml
+++ b/
generator/generator_actions.ml
@@
-2741,10
+2741,9
@@
Checking or repairing NTFS volumes is not supported
This command is entirely equivalent to running C<fsck -a -t fstype device>.");
("zero", (RErr, [Device "device"], []), 85, [Progress],
- [InitBasicFS, Always, Test
Output
(
+ [InitBasicFS, Always, Test
Run
(
[["umount"; "/dev/sda1"];
- ["zero"; "/dev/sda1"];
- ["file"; "/dev/sda1"]], "data")],
+ ["zero"; "/dev/sda1"]])],
"write zeroes to the device",
"\
This command writes zeroes over the first few blocks of C<device>.