Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 180313 Details for
Bug 256979
sys-fs/openrc-0.4.2 - /sbin/rc segfaults on empty /dev
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/init script
init.sh (text/plain), 675 bytes, created by
Dennis Schridde
on 2009-01-30 19:55:33 UTC
(
hide
)
Description:
/init script
Filename:
MIME Type:
Creator:
Dennis Schridde
Created:
2009-01-30 19:55:33 UTC
Size:
675 bytes
patch
obsolete
>#!/bin/busybox sh > >local X INIT=/sbin/init ROOT RUNLEVEL > ># Mount filesystems >mount -t proc proc /proc >mount -t sysfs sysfs /sys >mount -t tmpfs mdev /dev > ># Create devices >mdev -s > ># Try to resume. This never returns if it succeeds. >/bin/resume > ># Parse the command line for relevant options. >for X in `cat /proc/cmdline` >do > case "$X" in > init=*) INIT=${X#init=} ;; > root=*) ROOT=${X#root=} ;; > [0-6Ss]) RUNLEVEL=${X} ;; > esac >done > ># Mount root >mount -o ro ${ROOT} /root > ># Cleanup temporary mounts >umount -f /dev || umount -l /dev >umount -f /sys || umount -l /sys >umount -f /proc || umount -l /proc > ># Switch to new root >exec switch_root /root ${INIT} ${RUNLEVEL}
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 256979
: 180313