Bug 467257 - Wrong argument of livecd-iso-to-disk --overlay-size-mb causes USB filesystem corruption
Wrong argument of livecd-iso-to-disk --overlay-size-mb causes USB filesystem ...
Product: Fedora
Classification: Fedora
Component: livecd-tools (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-10-16 11:34 EDT by Jacek Chrząszcz
Modified: 2008-10-21 11:25 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-21 11:25:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jacek Chrząszcz 2008-10-16 11:34:08 EDT
Description of problem:

When the parameter of --overlay-size-mb is incorrect (e.g. 256MB instead of 256) the script doesn't stop but an arbitrary (large?) overlay size is used and the filesystem on USB stick (vfat) is garbled.

Version-Release number of selected component (if applicable):

How reproducible:
I tried only once, but it should be deterministic.

Steps to Reproduce:
1. connect a vfat USB stick
2. run livecd-iso-to-disk --overlay-size-mb 256MB /tmp/F10-Beta-i686-Live-KDE.iso /dev/sdb1
Actual results:
The script prints the message that the argument is incorrect, but continues anyway. After some time it stops with "cannot write some file" sort of message, the filesystem on the USB stick is garbled

Expected results:
The script should stop with the message that the argument is incorrect.
Comment 1 Jeremy Katz 2008-10-21 11:25:21 EDT
Fixed in git; thanks for the report

Note You need to log in before you can comment on or make changes to this bug.