Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 393970 Details for
Bug 520920
sys-fs/smdev-0.2.1 - suckless mdev
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init-0.2.3
init-0.2.3 (text/plain), 1.21 KB, created by
Ari Malinen
on 2015-01-14 14:33:48 UTC
(
hide
)
Description:
init-0.2.3
Filename:
MIME Type:
Creator:
Ari Malinen
Created:
2015-01-14 14:33:48 UTC
Size:
1.21 KB
patch
obsolete
>#!/sbin/runscript > >command="/bin/smdev" > >depend() >{ > provide dev > need sysfs devfs > before checkfs fsck >} > >start() >{ > ebegin "Starting smdev" > > local mounted=false fstab=false > > mountinfo -q -f devtmpfs /dev && mounted=true > fstabinfo -q -t devtmpfs /dev && fstab=true > > if $fstab; then > ebegin "Remounting /dev according to /etc/fstab" > if $mounted; then > fstabinfo --remount /dev > else > fstabinfo --mount /dev > fi > eend "$?" > elif ! $mounted; then > ebegin "Mounting /dev" > mount -n -t devtmpfs -o "exec,nosuid,mode=0755,size=10M" devtmpfs /dev > eend "$?" > else > ebegin "Using /dev mounted from kernel" > eend 0 > fi > > # Not provided by sysfs but needed > ln -snf /proc/self/fd /dev/fd > ln -snf fd/0 /dev/stdin > ln -snf fd/1 /dev/stdout > ln -snf fd/2 /dev/stderr > [ -e /proc/kcore ] && ln -snf /proc/kcore /dev/core > > if [ -e /proc/sys/kernel/hotplug ]; then > ebegin "Setting up smdev as hotplug agent" > echo $command > /proc/sys/kernel/hotplug > eend 0 > fi > > ebegin "Loading kernel modules" > $command -s > find /sys -name 'modalias' -type f -exec cat '{}' + | sort -u | xargs modprobe -b -a 2>/dev/null > eend 0 >} > >stop() >{ > ebegin "Stopping smdev" > [ -e /proc/sys/kernel/hotplug ] && echo '' >/proc/sys/kernel/hotplug > eend 0 >}
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 520920
:
383586
|
383588
|
393968
| 393970