Bug 445658 - livecd-iso-to-disk
Summary: livecd-iso-to-disk
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 9
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-08 11:17 UTC by Victor Bogado
Modified: 2008-05-27 19:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-27 19:33:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Victor Bogado 2008-05-08 11:17:05 UTC
Description of problem:
The tool should do some sanity tests before wiping out a disk partition. I
though in at least two.  

1. check if the target partition is mounted, to avoid messing with a live system. 

2. check if the target partition is not from an internal HD, unless some option
to override this is used in the command line. 

Any one of those checks would have prevented this to happed: 

http://iquaid.org/2008/05/08/partition-devsd-namespace-fail/

Ps. How do I mark a bug as an enhancement? :P

Comment 1 Bug Zapper 2008-05-14 10:50:13 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Jeremy Katz 2008-05-27 19:33:52 UTC
Added a (simple) check to see if the device is mounted or in use as a swap. 
Note that it's not fool-proof but it should help some of the obvious ways of
problems.  And longer-term, people should likely be using
https://fedorahosted.org/liveusb-creator/ if they're likely to be shooting
themselves in the foot ;)


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