Bug 467257 - Wrong argument of livecd-iso-to-disk --overlay-size-mb causes USB filesystem corruption
Summary: Wrong argument of livecd-iso-to-disk --overlay-size-mb causes USB filesystem ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-16 15:34 UTC by Jacek Chrząszcz
Modified: 2008-10-21 15:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-21 15:25:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jacek Chrząszcz 2008-10-16 15:34:08 UTC
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):
livecd-tools-017.1-1.fc9.i386

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 15:25:21 UTC
Fixed in git; thanks for the report


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