maillog: 06/07/2005-15:46:51(-0700): Greg KH types
> Ok, now that devfs is removed from the 2.6 kernel tree[1], I think it's
> time to start to revisit some of the /dev naming rules that we currently
> are living with[2].
> 
> To start with, the 061 version of udev offers a big memory savings if
> you use the "default" kernel name of a device[3].  If you do that, it does
> not create a file in its database in /dev/.udevdb/

Ah, that will break /etc/init.d/halt.sh

Particularly the stuff around here:

    ebegin "Saving device nodes"
                  ...
        cd /dev
        # Find all devices
        find . -xdev -type b -or -type c -or -type l | cut -d/ -f2- > \
            "${devices_real}"
        # Figure out what udev created
        eval $(grep '^[[:space:]]*udev_db=' /etc/udev/udev.conf)
        if [[ -d ${udev_db} ]]; then
            # New udev_db is clear text ...
            udevinfo=$(cat "${udev_db}"/*)
        else
            # Old one is not ...
            udevinfo=$(udevinfo -d)
        fi
        # This basically strips 'S:' and 'N:' from the db output, and then
        # print all the nodes/symlinks udev created ...
                ...

The script will be unable to figure out what device is being handled by
udev, and what is not.

-- 
|    Georgi Georgiev   |  I read the newspaper avidly. It is my one    |
|     [EMAIL PROTECTED]    |  form of continuous fiction. -- Aneurin       |
|   +81(90)2877-8845   |  Bevan                                        |
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to