Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 22663 Details for
Bug 36327
version bump : sys-fs/udev 009 => 0.11
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
foo.sh
foo.sh (text/plain), 1.10 KB, created by
Martin Schlemmer (RETIRED)
on 2003-12-25 14:26:41 UTC
(
hide
)
Description:
foo.sh
Filename:
MIME Type:
Creator:
Martin Schlemmer (RETIRED)
Created:
2003-12-25 14:26:41 UTC
Size:
1.10 KB
patch
obsolete
>#!/bin/bash > >call_udev() { > echo "DEVPATH=$DEVPATH, CLASS=$1" > /sbin/udev $1 >} > >populate_udev() { > local x= > local y= > local CLASS= > > # Propogate /dev from /sys - we only need this while we do not > # have initramfs and an early user-space with which to do early > # device bring up > export ACTION=add > > # Add block devices and their partitions > for x in /sys/block/* > do > # Add each drive > export DEVPATH="${x#/sys}" > call_udev block > > # Add each partition, on each device > for y in ${x}/* > do > if [ -f "${y}/dev" ] > then > export DEVPATH="${y#/sys}" > call_udev block > fi > done > done > > # All other device classes > for x in /sys/class/* > do > for y in ${x}/* > do > if [ -f "${y}/dev" ] > then > CLASS="$(echo "${x#/sys}" | cut --delimiter='/' --fields=3-)" > export DEVPATH="${y#/sys}" > call_udev ${CLASS} > fi > done > done > > unset ACTION DEVPATH > > return 0 >} > >populate_udev >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 36327
:
22607
| 22663