--- loader/driverdisk.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/loader/driverdisk.c b/loader/driverdisk.c index da3d3c2..5b1f7d5 100644 --- a/loader/driverdisk.c +++ b/loader/driverdisk.c @@ -348,7 +348,10 @@ int getRemovableDevices(char *** devNames) { if(devs) for (i = 0; devs[i] ; i++) { logMessage(DEBUGLVL, "Considering device %s (isremovable: %d)", devs[i]->device, devs[i]->priv.removable); - if (devs[i]->priv.removable) { + + /* XXX Filter out memory devices from the list for now, we have to come + up with smarter way of filtering someday.. */ + if (strncmp(devs[i]->device, "ram", 3) && strncmp(devs[i]->device, "loop", 4)) { *devNames = realloc(*devNames, (numDevices + 2) * sizeof(char *)); (*devNames)[numDevices] = strdup(devs[i]->device); (*devNames)[numDevices+1] = NULL; -- 1.6.6.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list