Bug 306661

Summary: Image being created with duplicate file names
Product: [Fedora] Fedora Reporter: Joel Andres Granados <jgranado>
Component: makebootfatAssignee: Dmitry Butskoy <dmitry>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: jgranado
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-06 12:05:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joel Andres Granados 2007-09-26 10:23:19 UTC
Description of problem:
When using makebootfat the user must specify the image directory.  All the files
that are in this directory are included in the image.  Moreover the app has a -c
option that is used to add files to the image.  When a file is added with the
"-c" option that is already present in the image directory the image ends up
with two files with apparently the same name

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


How reproducible:
Always, if the file specified file with the "-c" option is contained in the
image directory.


Steps to Reproduce:
1.ll /mp1/isolinux | grep ldlinux.sys
  ldlinux.sys
2.makebootfat -o usb -Y -Z -b /usr/share/makebootfat/x86/ldlinux.bss -m
/usr/share/makebootfat/x86/mbrfat.bin -F -c/mp1/ldlinux.sys /mp1/isolinux
3.mount /dev/sdb /mnt
4.ls /mnt
  ... ldlinux.sys ldlinux.sys

 
Actual results:
1.mount /dev/sdb /mnt
2.ls /mnt
  ... ldlinux.sys ldlinux.sys

Expected results:
This really seems pretty strange to me and I think that the app should choose
one of the files (the one in -c or the one in the image dir) and add that to the
image.

Additional info:

Comment 1 Dmitry Butskoy 2007-09-26 13:27:19 UTC
It is an upstream issue.

I've already sent an email for some person from those project...

It seems it is better to report this (and another similar) bugs upstream,
f.e. at:
http://sourceforge.net/tracker/?atid=409010&group_id=33717&func=browse

On the other hand, I hope this bug is not a blocker for using of makebootfat at
all. Let's create a good diskboot.img with current makebootfat :)