Bug 119681

Summary: macio.rc does not handle empty device list
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Olaf Hering <ohering>
Component: BasesystemAssignee: Kay Sievers <kasievers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olaf Hering 2005-09-30 16:29:32 UTC
a macio bus can also be empty. macio.rc does not check that.

lemon:~ # tree /sys/bus/macio
/sys/bus/macio
|-- devices
`-- drivers

2 directories, 0 files
lemon:~ # find /sys/bus/macio
/sys/bus/macio
/sys/bus/macio/drivers
/sys/bus/macio/devices
Comment 1 Kay Sievers 2005-09-30 16:37:52 UTC
I have no idea about macio. care to fix the script?
Comment 2 Olaf Hering 2005-09-30 16:43:01 UTC
just add test -d $foo or test -f $foo ?
Comment 3 Kay Sievers 2005-11-07 20:19:16 UTC
All *.rc scripts are gone now and replaced by "sysfs coldplug".