Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
zzam 07/11/13 22:40:49
Added: write_root_link_rule digest-udev-117
Log:
Version bumped. Now all helper-apps are merged into binary udevadm. This needs to be included when building initramfs'. Using udevadm for providing /dev/root link. Added special warning for Bug #190994. No longer install udevstart, it is not needed for 2.6.15 and newer and just confuses people.
(Portage version: 2.1.3.19)
Revision Changes Path
1.1 sys-fs/udev/files/write_root_link_rule
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/files/write_root_link_rule?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/files/write_root_link_rule?rev=1.1&content-type=text/plain
Index: write_root_link_rule
===================================================================
#!/bin/sh
#
# This script should run before doing udevtrigger at boot.
# It will create a rule matching the device directory / is on, and
# creating /dev/root symlink pointing on its device node.
#
# This is especially useful for hal looking at /proc/mounts containing
# a line listing /dev/root as device:
# /dev/root / reiserfs rw 0 0
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation version 2 of the License.
#
# (c) 2007 Matthias Schwarzott <zzam@g.o>
DEV=$(udevadm info --device-id-of-file=/)
if [ $? = 0 ]; then
MAJOR="${DEV% *}"
MINOR="${DEV#* }"
[ -d /dev/.udev/rules.d ] || mkdir -p /dev/.udev/rules.d
RULES=/dev/.udev/rules.d/10-root-link.rules
echo "# Created by /lib/udev/write_root_link_rule" > "${RULES}"
echo "# This rule should create /dev/root as link to real root device." >> "${RULES}"
echo "SUBSYSTEM==\"block\", ENV{MAJOR}==\"$MAJOR\", ENV{MINOR}==\"$MINOR\", SYMLINK+=\"root\"" >> "${RULES}"
fi
1.1 sys-fs/udev/files/digest-udev-117
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/files/digest-udev-117?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/files/digest-udev-117?rev=1.1&content-type=text/plain
Index: digest-udev-117
===================================================================
MD5 d3c1a5cdc772fffe70253e07a5f80e17 udev-117.tar.bz2 199961
RMD160 bce663cb6c2bdd449b67122e01c8da106feb7a1f udev-117.tar.bz2 199961
SHA256 42ffd09f50f6a0e16d832dbe0e8f1b2aa558b8982d1dd767ddb23365f9736dee udev-117.tar.bz2 199961
--
gentoo-commits@g.o mailing list
|
|