Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137922517
D51043.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
D51043.diff
View Options
diff --git a/libexec/rc/rc.d/devfs b/libexec/rc/rc.d/devfs
--- a/libexec/rc/rc.d/devfs
+++ b/libexec/rc/rc.d/devfs
@@ -44,19 +44,19 @@
cd /dev
while read action devicelist parameter; do
case "${action}" in
- l*) for device in ${devicelist}; do
+ l*) for device in $(expandpath ${devicelist}); do
if [ ! -e ${parameter} ]; then
ln -fs ${device} ${parameter}
fi
done
;;
- o*) for device in ${devicelist}; do
+ o*) for device in $(expandpath ${devicelist}); do
if [ -c ${device} ]; then
chown ${parameter} ${device}
fi
done
;;
- p*) for device in ${devicelist}; do
+ p*) for device in $(expandpath ${devicelist}); do
if [ -c ${device} ]; then
chmod ${parameter} ${device}
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 7:03 AM (9 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26276879
Default Alt Text
D51043.diff (772 B)
Attached To
Mode
D51043: rc: devfs needs pathname expansion
Attached
Detach File
Event Timeline
Log In to Comment