Bug 712553

Summary: Solve the iso9660 USB problem
Product: [Fedora] Fedora Reporter: Brian Lane <bcl>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: adam.stokes, bcl, bruno, dhuff, Jasper.Hartline, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: livecd-tools-17.0-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-11 23:40:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Brian Lane 2011-06-11 03:46:35 UTC
Description of problem:
if you dd an iso to the usb and then later use livecd-iso-to-disk to overwrite it the iso9660 signature is still present (offset 8000?) so tools like blkid think it is an iso.

I need to do one of the following
 1. just wipe the first 1M using dd if=/dev/zero bs=1M count=1 of=device
 2. detect that the blkid thinks it is iso9660 instead of extX or vfat

I'm leaning towards doing #1 when we do a --reset-mbr since that involves wiping everything anyway there is no chance for data loss.