Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 595646 Details for
Bug 836710
Data loss when writing to qcow2-format disk files
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
reread.sh
reread.sh (text/plain), 966 bytes, created by
Richard W.M. Jones
on 2012-07-02 07:41:39 UTC
(
hide
)
Description:
reread.sh
Filename:
MIME Type:
Creator:
Richard W.M. Jones
Created:
2012-07-02 07:41:39 UTC
Size:
966 bytes
patch
obsolete
>#!/bin/sh - > >cd /tmp > ># Test will overwrite both of these files. >logfile=/tmp/log >datafile=/tmp/test.img > ># Uncomment both of these for lots of extra debugging info (in ># $logfile). Unfortunately doing this makes the test rarer. >#export LIBGUESTFS_DEBUG=1 >#export LIBGUESTFS_TRACE=1 > >test () >{ > qemu-img create -f qcow2 $datafile 500M >/dev/null 2>&1 > > guestfish <<EOF > add $datafile readonly:false format:qcow2 > run > part-init /dev/sda gpt > part-add /dev/sda primary 64 65599 > part-add /dev/sda primary 65664 1019647 > copy-device-to-device /dev/zero /dev/sda2 size:385810944 >EOF > > # This command will fail if the partition cannot be found, so > # effectively it's a test of whether Linux recognized the > # partition table on disk. > guestfish <<EOF > add $datafile > run > blockdev-getsize64 /dev/sda2 >EOF >} > >rm -f $datafile $logfile > >echo -n "Testing: " > >while test >>$logfile 2>&1; do > echo -n . >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 836710
:
595560
| 595646