Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35617 Details for
Bug 57110
on pure udev systems only non-sysfs devices should be saved in /lib/udev/devices.tar.bz2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
halt-udev-tarball.patch
halt-udev-tarball.patch (text/plain), 797 bytes, created by
Georgi Georgiev
on 2004-07-16 21:56:59 UTC
(
hide
)
Description:
halt-udev-tarball.patch
Filename:
MIME Type:
Creator:
Georgi Georgiev
Created:
2004-07-16 21:56:59 UTC
Size:
797 bytes
patch
obsolete
>--- init.d/halt.sh 2004-07-15 15:24:04.927488662 +0900 >+++ init.d/halt.sh 2004-07-15 15:25:12.422104296 +0900 >@@ -22,8 +22,22 @@ > then > ebegin "Saving device nodes" > cd /dev >- try tar -jclpf "/tmp/devices-$$.tar.bz2" * >+ # A few extras, to *not* save sysfs-aware devices >+ find . -xdev -type b -or -type c -or -type l | cut -d/ -f2- > /tmp/devices.real.$$ >+ # add a few of my own >+ udevinfo -d | awk '/^N|S: ..*/ { i=1; while (i++<NF) { print $i}}' > /tmp/devices.udev.$$ >+ cat <<EOF >>/tmp/devices.udev.$$ >+stdin >+stdout >+stderr >+core >+fd >+initctl >+EOF >+ try tar -jclpf "/tmp/devices-$$.tar.bz2" \ >+ `fgrep -x -v -f /tmp/devices.udev.$$ < /tmp/devices.real.$$` > try mv -f "/tmp/devices-$$.tar.bz2" /lib/udev-state/devices.tar.bz2 >+ try rm -f /tmp/devices.{real,udev}.$$ > eend 0 > fi >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57110
:
35451
|
35452
| 35617