Greg KH <gregkh@suse.de> wrote:So e.g. lilo should depend on sysfs and *a*special*configuration* of udev, while the admin MUST NOT use mknod'ed device files nor manually create symlinks pointing to them, and not use relative path names? That's plain stupid. $ udevinfo /dev/hda missing option $ udevinfo /dev/hda --help Usage: udevinfo OPTIONS --query=<type> query database for the specified value: name name of device node symlink pointing to node path sysfs device path env the device related imported environment all all values --path=<devpath> sysfs device path used for query or chain --name=<name> node or symlink name used for query --root prepend to query result or print udev_root --attribute-walk print all SYSFS_attributes along the device chain --export-db export the content of the udev database --help print this text $ udevinfo --name=/dev/hda missing option $ udevinfo --name=/dev/hda --query=all P: /block/hda N: hda S: disk/by-id/ata-Maxtor_2F040L0_F1748ZQE S: disk/by-path/pci-0000:00:0f.0-ide-0:0 E: DEVTYPE=disk E: ID_TYPE=disk E: ID_MODEL=Maxtor_2F040L0 E: ID_SERIAL=F1748ZQE E: ID_REVISION=VAM51JJ0 E: ID_BUS=ata E: ID_PATH=pci-0000:00:0f.0-ide-0:0 As you can see, it gives no major:minor information. But it is in the DB: $ cd /dev/.udev/db $ grep -l hda * 2>/dev/null \x2fblock\x2fhda \x2fblock\x2fhda\x2fhda1 $ cat "\x2fblock\x2fhda" N:hda S:disk/by-id/ata-Maxtor_2F040L0_F1748ZQE S:disk/by-path/pci-0000:00:0f.0-ide-0:0 M:3:0 E:DEVTYPE=disk E:ID_TYPE=disk E:ID_MODEL=Maxtor_2F040L0 E:ID_SERIAL=F1748ZQE E:ID_REVISION=VAM51JJ0 E:ID_BUS=ata E:ID_PATH=pci-0000:00:0f.0-ide-0:0 What a great tool - for making linux look bad. --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Jakub Narebski | Git User's Survey 2007 unfinished summary continued |
| Linus Torvalds | I'm a total push-over.. |
| Marco Costalba | Decompression speed: zip vs lzo |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Bill Chmura | SSL Certs on Carp'd web servers |
| Denys Fedoryshchenko | thousands of classes, e1000 TX unit hang |
| Steve French | Fwd: [PATCH] Fix CIFS compilation with CONFIG_KEYS unset |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Treason Uncloaked | 3 hours ago | Linux kernel |
| Shared swap partition | 14 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 2 days ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 2 days ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 2 days ago | Linux kernel |
