Bug 119681 - macio.rc does not handle empty device list
Summary: macio.rc does not handle empty device list
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: PowerPC Linux
: P5 - None : Normal
Target Milestone: ---
Assignee: Kay Sievers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 16:29 UTC by Olaf Hering
Modified: 2008-07-16 15:46 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".