Bug 186400 - Remote vfat diskdrivers don't work
Remote vfat diskdrivers don't work
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
Depends On:
Blocks: RHEL3U8CanFix 185486
  Show dependency treegraph
Reported: 2006-03-23 07:04 EST by Bastien Nocera
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHEA-2006-0443
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-07-20 11:11:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
anaconda-try-vfat-for-dd.patch (913 bytes, patch)
2006-03-23 07:04 EST, Bastien Nocera
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2006:0443 normal SHIPPED_LIVE anaconda enhancement and bug fix update 2006-07-19 15:40:00 EDT

  None (edit)
Description Bastien Nocera 2006-03-23 07:04:58 EST
1. Start the installation with dd=http://path/to/vfat-dd.img
vfat-dd.img being a VFAT driver disk
2. Error out with "Invalid argument"

The current HEAD code tries to mount loopback images as vfat in mountLoopback(),
but the RHEL3 code doesn't.

    /* FIXME: really, mountLoopback() should take a list of "valid"
    * filesystems for the specific type of image being mounted */
   if (doPwMount(filename, mntpoint, "iso9660", IMOUNT_RDONLY, NULL)) {
       if (doPwMount(filename, mntpoint, "ext2", IMOUNT_RDONLY, NULL)) {
           if (doPwMount(filename, mntpoint, "cramfs", IMOUNT_RDONLY, NULL)) {
             if (doPwMount(filename, mntpoint, "vfat", IMOUNT_RDONLY, NULL)) {

    if (doPwMount(filename, mntpoint, "iso9660", 1,
                 0, NULL, NULL, 0)) {
       if (doPwMount(filename, mntpoint, "ext2", 1,
                     0, NULL, NULL, 0)) {
           if (doPwMount(filename, mntpoint, "cramfs", 1,
                         0, NULL, NULL, 0)) {
               logMessage("failed to mount loop: %s",

Patch attached.
Comment 1 Bastien Nocera 2006-03-23 07:04:59 EST
Created attachment 126537 [details]
Comment 2 Bastien Nocera 2006-03-23 07:06:50 EST
Note that having the image on a local device such as a floppy instead will mount
the floppy as vfat successfully.
Comment 5 Bob Johnson 2006-04-11 12:16:58 EDT
This issue is on Red Hat Engineering's list of planned work items 
for the upcoming Red Hat Enterprise Linux 3.8 release.  Engineering 
resources have been assigned and barring unforeseen circumstances, Red 
Hat intends to include this item in the 3.8 release.
Comment 6 David Lawrence 2006-04-25 12:49:03 EDT
Adding blocker bug 185486 and IBM group per request by John Jarvis.
Comment 7 David Lawrence 2006-04-27 13:16:08 EDT
Mistakenly added to IBM group, removing.
Comment 10 Red Hat Bugzilla 2006-07-20 11:11:06 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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