Bug 244950

Summary: Remove usbfs mount from Hotplug
Product: [openSUSE] openSUSE 10.3 Reporter: Olaf Hering <ohering>
Component: YaST2Assignee: Lukas Ocilka <locilka>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olaf Hering 2007-02-13 12:15:00 UTC
similar to bug #244497

installation/src/modules/Hotplug.ycp

    169         if (haveUSB)
    170         {
    171             // prevent multiple mounts for /proc/bus/usb
    172             list<map> mtab = (list<map>) SCR::Read(.etc.mtab);
    173             if (mtab == nil) mtab = [];
    174             boolean usb_mounted = false;
    175             foreach (map mpoint, mtab,
    176             ``{
    177                 if (mpoint["file"]:"" == "/proc/bus/usb")
    178                     usb_mounted = true;
    179             });
    180             if (!usb_mounted)
    181                 SCR::Execute (.target.mount, ["usbfs", "/proc/bus/usb"], "-t usbfs");
    182         }

Also, remove the sparc check from StartUSB(), it makes no sense
Comment 1 Olaf Hering 2007-02-13 12:15:33 UTC
bug #244947
Comment 2 Lukas Ocilka 2007-02-14 09:21:53 UTC
Fixed in yast2-installation-2.15.9