Description of problem: livecd-iso-to-disk doesn't fail when the device node is missing. I accidentally ejected the device (a 4G USB flash drive) instead of unmounting it and this happened: [bcl@lister ~]$ sudo livecd-iso-to-disk --format --reset-mbr /extra/iso/Fedora-14-Beta-x86_64-netinst.iso /dev/sdd1 Verifying image... /extra/iso/Fedora-14-Beta-x86_64-netinst.iso: 3191cf7698dda8f520aa4dd150721d19 Fragment sums: 8cd83c388bb32ffc6c2a6ab67f2d9eaf1ad24493cb22f45849c7473f2dfd Fragment count: 20 Checking: 100.0% The media check is complete, the result is: PASS. It is OK to use this media. device node not found basename: missing operand Try `basename --help' for more information. WARNING: THIS WILL DESTROY ANY DATA ON /dev//!!! Press Enter to continue or ctrl-c to abort Warning: Unable to open /dev read-write (Is a directory). /dev has been opened read-only. Warning: Unable to open /dev read-write (Is a directory). /dev has been opened read-only. Error: Is a directory during read on /dev Error: Is a directory during read on /dev Error: Can't write to /dev, because it is opened read-only. /sbin/parted: invalid option -- '1' /sbin/parted: invalid option -- '7' /sbin/parted: invalid option -- '4' /sbin/parted: invalid option -- '0' /sbin/parted: invalid option -- '8' Usage: /sbin/parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...] Waiting for devices to settle... mkdosfs 3.0.9 (31 Jan 2010) /dev//1: No such file or directory USB filesystem must be vfat or ext[23] Cleaning up to exit... No damage was done, but seeing it try to operate on /dev and /dev// is disturbing.
Created attachment 449478 [details] patch to fix issue
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
livecd-tools-15.5-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/livecd-tools-15.5-1.fc15
livecd-tools-14.2-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/livecd-tools-14.2-1.fc14
livecd-tools-14.2-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
livecd-tools-15.5-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.