udev 047 release
I've released the 047 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-046.tar.gz
udev allows users to have a dynamic /dev and provides the ability to have persistent device names. It uses sysfs and /sbin/hotplug and runs entirely in userspace. It requires a 2.6 kernel with CONFIG_HOTPLUG enabled to run. Please see the udev FAQ for any questions about it:
kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ
For any udev vs devfs questions anyone might have, please see:
kernel.org/pub/linux/utils/kernel/hotplug/udev_vs_devfs
And there is a general udev web page at:
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)
- wait_for_sysfs is now gone.
- bugfixes and rules file tweaks
- add ability to handle expressions in GROUP rules.
Thanks to everyone who has send me patches for this release, a full list of everyone, and their changes is below.
udev development is done in a BitKeeper repository located at:
bk://linuxusb.bkbits.net/udev
Daily snapshots of udev from the BitKeeper tree can be found at:
http://www.codemonkey.org.uk/projects/bitkeeper/udev/
If anyone ever wants a tarball of the current bk tree, just email me.
thanks,
greg k-h
Summary of changes from v046 to v047
======================
<klauser:access.unizh.ch>:
o Various typos and other litte errors in udev.8.in
<sjoerd:spring.luon.net>:
o DEVNAME on device removal
<sschweizer:gmail.com>:
o Allow GROUP to have modifiers in it
Greg Kroah-Hartman:
o add more debian rules files
o move distro specific config files into their own directories
o update debian rules files
o added asterix rules to the gentoo file
o use udevstart for udev.init.* files
o delete a bunch of files no longer needed
o fix gentoo scsi cdrom rule
o Fix the multithreaded build again
o merge
o comment out ability to run udev-test.pl with valgrind
o fix spurious valgrind warning in udev
o fix udevinfo '-q path' option as it was not working
o merge
o fix parallel build error
Kay Sievers:
o update Fedora dev.d/ example and remove unused conf.d/ directory
o don't install distribution specific init script on "make install"
o restore OWNER/GROUP assignment in rule coming from RESULT
o make gcov compile scripts working with recent gcc
o fix udev-test/udev-test.pl to work with again
o add net/atml and class/ppdev to the wait_for_sysfs exception list
o add net/nlv* devices to the exception list
o add "pcmcia" and "fc_transport" to the wait_for_sysfs lists
o remove unused timestamp field
o simplify permission handling
o handle /etc/hotplug.d/ only if the event comes from udevd
o trivial cleanups and change some comments
o remove unused variables
o udevsend/udevd handle events without a subsystem
o use blacklist on device "remove" and remove dev.d/ call code duplication
o update the man pages and correct Usage: hints
o don't call the hotplug scripts with a test run
o don't call dev.d/ scripts twice, if directory = subsystem
o remove archive file if we changed something
o link archive insted of objects
o rename udev_lib to udev_utils and dev_d to udev_multiplex
o handle whole hotplug event with udevd/udev
o integrate wait_for_sysfs in udev
o make the searched multiplex directories conditionally
o add MANAGED_EVENT to the forked udev environment
o export DEVNAME on remove event
o export udev_log flag to the environment
o remove my test code
o add support for /devices-devices without any file to wait for
o Patch from Alex Riesen <[email protected]>
o add a bunch of busses to the list of what to wait for
o close connection to syslog in forked udevd child
o udevd exit path cleanup
o fix network device naming bug
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Greg KH
I've released the 047 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-046.tar.gz
Ick, the programs in the extras/ directory don't seem to build anymore. I'll fix that up and do a new release in a few hours. Sorry about that...
greg k-h
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
[ANNOUNCE] udev 048 release
Quoted 7 lines · Greg KH
Quoted 2 lines · Greg KH
I've released the 047 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-046.tar.gzIck, the programs in the extras/ directory don't seem to build anymore. I'll fix that up and do a new release in a few hours. Sorry about that...
Ok, version 048 has been released to fix the build errors for the extras/ directory. It's available at
kernel.org/pub/linux/utils/kernel/hotplug/udev-048.tar.gz
thanks,
greg k-h
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
Quoted 5 lines · Greg KH
Quoted 4 lines · Greg KH
Quoted 2 lines · Greg KH
I've released the 047 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-046.tar.gz
Quoted 7 lines
Quoted 3 lines
Ick, the programs in the extras/ directory don't seem to build anymore. I'll fix that up and do a new release in a few hours. Sorry about that...
Ok, version 048 has been released to fix the build errors for the extras/ directory. It's available at
kernel.org/pub/linux/utils/kernel/hotplug/udev-048.tar.gz
I have question about curent form of udev source.
First: is it any real reason for use by udev private copy libsysfs which is statically linked with udev ?
I'm using udev with shared libsysfs for a months and all works correcly.
If no reasons patches for using system avalaible libsysfs for udev 048 can be downloaded from:
http://cvs.pld.org.pl/SOURCES/udev-uses_system_libsysfs.patch?rev=1.7
http://cvs.pld.org.pl/SOURCES/udev-extras_scsi_id_sysfs.patch?rev=1.1
Also after aplying this patches libsysfs/ subdirectory can be removed from udev source tree.
Second: in current udev Makefile is used direct stripping linked binaries.
Why ? It makes harder packaging udev if someone will try generate udev in for example rpm form with debug info in separated udev-debug package.
Patch for remove stripping:
http://cvs.pld.org.pl/SOURCES/udev-no_strip.patch?rev=1.7
After aplying this patch pereviouse behavior can be obtained by:
% make LDFLAGS="-s"
kloczek
Signature · 4 lines
----------------------------------------------------------- *Ludzie nie mają problemów, tylko sobie sami je stwarzają* ----------------------------------------------------------- Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*
Re: [ANNOUNCE] udev 048 release
Quoted 3 lines · Tomasz K?oczko
First: is it any real reason for use by udev private copy libsysfs which is statically linked with udev ?
Yes, the "system" version of libsysfs is not always the same one that udev wants. Over the past year or so, sometimes it has varied a lot. Hopefully now we are properly synced up, but I still trust our own version, not any other version (this really matters on boxes that have older versions of libsysfs, like SLES 9 and friends.)
Quoted 1 line
I'm using udev with shared libsysfs for a months and all works correcly.
Great. Notice any code size savings? Yeah, it's not really all that much. You also need static linking when using klibc to get a very tiny udev for your boot initramfs image.
Quoted 8 lines
If no reasons patches for using system avalaible libsysfs for udev 048 can be downloaded from:
http://cvs.pld.org.pl/SOURCES/udev-uses_system_libsysfs.patch?rev=1.7
http://cvs.pld.org.pl/SOURCES/udev-extras_scsi_id_sysfs.patch?rev=1.1Also after aplying this patches libsysfs/ subdirectory can be removed from udev source tree.
Will it still properly build with klibc?
Also, please realize that libsysfs is really not on many machines, due to it only being used by 1 other program at this time. So any memory size savings is very limited.
Quoted 2 lines
Second: in current udev
Makefileis used direct stripping linked binaries. Why ?
Smaller size :)
Quoted 2 lines
It makes harder packaging udev if someone will try generate udev in for example rpm form with debug info in separated udev-debug package.
I'm sure those who package up rpms of udev have dealt with this properly somehow. For the rest of the world, I'd prefer to keep the current way.
thanks,
greg k-h
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
Quoted 6 lines · Greg KH
Quoted 2 lines · Tomasz K?oczko
Also after aplying this patches libsysfs/ subdirectory can be removed from udev source tree.
Will it still properly build with klibc?
This will not work at the moment, as we fake the getmntent() call in libsysfs at compile time for the klibc build.
Quoted 2 lines
I'm sure those who package up rpms of udev have dealt with this properly somehow. For the rest of the world, I'd prefer to keep the current way.
I agree. It's much easier to tweak the udev sources to use a dynamic linked libsysfs than the other way around.
Thanks,
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 7 lines · Greg KH
Quoted 3 lines · Tomasz K?oczko
First: is it any real reason for use by udev private copy libsysfs which is statically linked with udev ?
Yes, the "system" version of libsysfs is not always the same one that udev wants.
Sorry but from eons spend some time on prepare correct build enviromet isn't task for each project maintainers but for persons who tries buid specified project from source tree :-|
Try prepare in corect form only udev .. and nothing more :_)
Me and probaly many othet people aroud the word who tries build variose
tools for variouse distributions hates maintainers who includes in project tree souce code another projects. Much more haten is project maitainer who don't allow in easy way use system avalaible libraries. Please don't try be listed on this long hated maintainers list ;>
Argument allways is like yours .. and allways this is source ass pain for distribution maintainers like:
- patchin from each new version for use system avalaible libraries if something will be changed in build automations (for udev from may this year it hapens .. seven times),
- what if in libsysfs will be discovered some nasty bug ? Why I must audit not only libsysfs but also any other projests where libsysfs source was included ? (this not hipotetycal case .. do you remember case with for example with security bugs in zlib ?).
If you want more argumets for not link statisally look at Solarias 10 why *ALL* binaries are linked with shared version of any library and lern more .. this is _specialy_ for tools very close to kernel layer.
[..]
Quoted 5 lines
Quoted 1 line
I'm using udev with shared libsysfs for a months and all works correcly.
Great. Notice any code size savings? Yeah, it's not really all that much. You also need static linking when using klibc to get a very tiny udev for your boot initramfs image.
This not for code saving but for use only one copy of library by any tools which uses specifieed API/ABI. In case any bug on for example libsysfs which can be fixed without changing API/API all what must be performed is
replace libsysfs shared library .. nothing more.
[..]
Quoted 5 lines
Quoted 2 lines
It makes harder packaging udev if someone will try generate udev in for example rpm form with debug info in separated udev-debug package.
I'm sure those who package up rpms of udev have dealt with this properly somehow. For the rest of the world, I'd prefer to keep the current way.
Greg meybe you are very good kernel hacker (for me you are :) but seems you are not so good as person for maintaining user space tools ;>
IMO ony ~1-2% of *all* project uses direct stripping chained directly chained in build automation which is used by default. All from this ~1-2% because maintainer isn't skilled in some subjects. Default behavior ~99-98% projects build automations is pass not stripped
binaries. On most of this projects (all which uses for example automake)
producing stripped binaries cen be enabled by add -s to linking options
(usualy LDFLAGS="-s").
kloczek
Signature · 4 lines
----------------------------------------------------------- *Ludzie nie mają problemów, tylko sobie sami je stwarzają* ----------------------------------------------------------- Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 5 lines · Greg KH
Yes, the "system" version of libsysfs is not always the same one that udev wants. Over the past year or so, sometimes it has varied a lot. Hopefully now we are properly synced up, but I still trust our own version, not any other version (this really matters on boxes that have older versions of libsysfs, like SLES 9 and friends.)
What's wrong with letting distributions deal with this? If they package udev they can package libsysfs as well.
Quoted 4 lines
Quoted 2 lines
It makes harder packaging udev if someone will try generate udev in for example rpm form with debug info in separated udev-debug package.
I'm sure those who package up rpms of udev have dealt with this properly somehow. For the rest of the world, I'd prefer to keep the current way.
I doubt that there are many people installing udev from source on a distribution which does not support it. And if they do, they have to change so many things that I doubt stripping installed binaries is going to be a problem.
Signature · 2 lines
ciao, | Marco | [9659 cawOtuyEEoELY]
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 3 lines · Tomasz K?oczko
binaries. On most of this projects (all which uses for example automake) producing stripped binaries cen be enabled by add -s to linking options (usualy LDFLAGS="-s").
Or even better build unstripped binaries and then use install -s.
Signature · 2 lines
ciao, | Marco | [9660 alo3B4byfkQYA]
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 1 line · Marco d'Itri
Or even better build unstripped binaries and then use install -s.
using install -s is a very bad idea ... it completely breaks cross compiling since install will just call strip
-mike
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 5 lines · Greg KH
Ok, version 048 has been released to fix the build errors for the extras/ directory. It's available at
kernel.org/pub/linux/utils/kernel/hotplug/udev-048.tar.gz
I've built a boot cd with linux-2.6.10-rc3, udev 048 and latest hotplug.
When I boot a machine with my CD, udev doesn't create /dev/hda
I can't fathom why. Any reasons why it wouldn't create it?
It _has_ created /dev/hdc, (the cdrom drive) and all the other usual devices.
/proc/ide shows hda->ide0/hda/proc/ide/ide0/hda/model = MAXTOR 6L040J2
This is a simple Asus P4PE m/b with intel ICH4 IDE.
( I know I can mknod, but since this is supposed to be a general purpose boot/toolkit CD, I'd like to make sure udev is working properly)
Any clues? hda currently contains windows server and I'm rather eager to wipe it ;)
Andrew Walrond
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
Quoted 11 lines · Andrew Walrond
Quoted 5 lines · Greg KH
Ok, version 048 has been released to fix the build errors for the extras/ directory. It's available at
kernel.org/pub/linux/utils/kernel/hotplug/udev-048.tar.gzI've built a boot cd with linux-2.6.10-rc3, udev 048 and latest hotplug.
When I boot a machine with my CD, udev doesn't create
/dev/hdaI can't fathom why. Any reasons why it wouldn't create it?
Does /sys/block/hda exist?
Did you run udevstart as part of your boot process after init happens?
thanks,
greg k-h
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
Quoted 3 lines · Greg KH
Does
/sys/block/hdaexist?
No; ide-disk wasn't loaded :(
Thanks
Andrew
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 16 lines · Andrew Walrond
Quoted 5 lines · Greg KH
Ok, version 048 has been released to fix the build errors for the extras/ directory. It's available at
kernel.org/pub/linux/utils/kernel/hotplug/udev-048.tar.gzI've built a boot cd with linux-2.6.10-rc3, udev 048 and latest hotplug.
When I boot a machine with my CD, udev doesn't create
/dev/hda
I can't fathom why. Any reasons why it wouldn't create it?
It _has_ created/dev/hdc, (the cdrom drive) and all the other usual devices.
/proc/ideshows hda->ide0/hda/proc/ide/ide0/hda/model= MAXTOR 6L040J2
Quoted 7 lines
This is a simple Asus P4PE m/b with intel ICH4 IDE.
( I know I can mknod, but since this is supposed to be a general purpose boot/toolkit CD, I'd like to make sure udev is working properly)
Any clues? hda currently contains windows server and I'm rather eager to wipe it ;)
Do you run udevstart at one of the first things after boot? udev only creates a node if it gets a hotplug event, but that may not be the case for your boot drive...
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 21 lines · Kay Sievers
Quoted 20 lines · Andrew Walrond
Quoted 3 lines · Greg KH
Ok, version 048 has been released to fix the build errors for the extras/ directory. It's available at
kernel.org/pub/linux/utils/kernel/hotplug/udev-048.tar.gzI've built a boot cd with linux-2.6.10-rc3, udev 048 and latest hotplug.
When I boot a machine with my CD, udev doesn't create
/dev/hdaI can't fathom why. Any reasons why it wouldn't create it? It _has_ created/dev/hdc, (the cdrom drive) and all the other usual devices.
/proc/ideshows hda->ide0/hda/proc/ide/ide0/hda/model= MAXTOR 6L040J2This is a simple Asus P4PE m/b with intel ICH4 IDE.
( I know I can mknod, but since this is supposed to be a general purpose boot/toolkit CD, I'd like to make sure udev is working properly)
Quoted 6 lines
Quoted 2 lines
Any clues? hda currently contains windows server and I'm rather eager to wipe it ;)
Do you run udevstart at one of the first things after boot? udev only creates a node if it gets a hotplug event, but that may not be the case for your boot drive...
I run start_udev right after mounting proc and sys. Note that the boot drive node gets created just fine (hdc, the cdrom) but hda, the harddrive, doesn't.
Andrew
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 25 lines · Andrew Walrond
Quoted 24 lines · Kay Sievers
Quoted 22 lines · Andrew Walrond
Quoted 3 lines · Greg KH
Ok, version 048 has been released to fix the build errors for the extras/ directory. It's available at
kernel.org/pub/linux/utils/kernel/hotplug/udev-048.tar.gzI've built a boot cd with linux-2.6.10-rc3, udev 048 and latest hotplug.
When I boot a machine with my CD, udev doesn't create
/dev/hdaI can't fathom why. Any reasons why it wouldn't create it? It _has_ created/dev/hdc, (the cdrom drive) and all the other usual devices.
/proc/ideshows hda->ide0/hda/proc/ide/ide0/hda/model= MAXTOR 6L040J2This is a simple Asus P4PE m/b with intel ICH4 IDE.
( I know I can mknod, but since this is supposed to be a general purpose boot/toolkit CD, I'd like to make sure udev is working properly)
Any clues? hda currently contains windows server and I'm rather eager to wipe it ;)
Quoted 6 lines
Quoted 3 lines
Do you run udevstart at one of the first things after boot? udev only creates a node if it gets a hotplug event, but that may not be the case for your boot drive...
I run
start_udevright after mounting proc and sys. Note that the boot drive node gets created just fine (hdc, the cdrom) but hda, the harddrive, doesn't.
Does running udevstart manually create the node? What does
ls -l /sys/block/hda/* print?
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 5 lines · Kay Sievers
Does running udevstart manually create the node? What does
ls -l
/sys/block/hda/*print?
udevstart has no effect.
However, /sys/block/hda doesn't exist. (/sys/block/hdc is there) What does that tell me? Why would /proc/sys/hda exist, but not /sys/block/hda?
Andrew
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 11 lines · Andrew Walrond
Quoted 5 lines · Kay Sievers
Does running udevstart manually create the node? What does
ls -l
/sys/block/hda/*print?udevstart has no effect.
However,
/sys/block/hdadoesn't exist. (/sys/block/hdcis there) What does that tell me? Why would/proc/sys/hdaexist, but not/sys/block/hda?
Try to load ide-disk.
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 048 release
In reply to Greg KHQuoted 2 lines · you
Try to load ide-disk.
Doh!
Thanks Kay :)
Andrew
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 047 release [u]
In reply to Greg KHQuoted 9 lines · Greg KH
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)
Any suggestions to determining the version of the installed udev? This is now during startup, to see if we can make use of using udevsend as hotplug agent. If the system was up, udevinfo could be used, but that is in /usr/bin that might be on a seperate /usr. I know we might move udevinfo to /bin, but that might be an issue for some, and adding a -V switch to /sbin/udev might be a better choice if you do not have have any nit's against it ....
Thanks,
Signature · 1 line
Martin Schlemmer
Re: [ANNOUNCE] udev 047 release [u]
Quoted 12 lines · Martin Schlemmer [c]
Quoted 9 lines · Greg KH
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)
Quoted 7 lines
Any suggestions to determining the version of the installed udev? This is now during startup, to see if we can make use of using udevsend as hotplug agent. If the system was up, udevinfo could be used, but that is in
/usr/binthat might be on a seperate /usr. I know we might move udevinfo to /bin, but that might be an issue for some, and adding a -V switch to/sbin/udevmight be a better choice if you do not have have any nit's against it ....
Good idea, we should do that. I've added it to my tree at:
http://vrfy.bkbits.net:8080/udev/
The next version will print:
[kay@pim udev.kay]$ /sbin/udev -V
048
Thanks,
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 047 release [u]
In reply to Martin Schlemmer [c]Quoted 21 lines · Kay Sievers
Quoted 12 lines · Martin Schlemmer [c]
Quoted 9 lines · Greg KH
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)Quoted 7 lines
Any suggestions to determining the version of the installed udev? This is now during startup, to see if we can make use of using udevsend as hotplug agent. If the system was up, udevinfo could be used, but that is in
/usr/binthat might be on a seperate /usr. I know we might move udevinfo to /bin, but that might be an issue for some, and adding a -V switch to/sbin/udevmight be a better choice if you do not have have any nit's against it ....
Quoted 7 lines
Good idea, we should do that. I've added it to my tree at:
http://vrfy.bkbits.net:8080/udev/The next version will print:
[kay@pim udev.kay]$/sbin/udev-V
048
Ah, great, thanks.
Greg, sorda OT for this list, but mind adding patch to portage, then I can whip up some /sbin/rc changes ....
Thanks,
Signature · 1 line
Martin Schlemmer
Re: [ANNOUNCE] udev 047 release [u]
In reply to Martin Schlemmer [c]Quoted 21 lines · Kay Sievers
Quoted 12 lines · Martin Schlemmer [c]
Quoted 9 lines · Greg KH
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)Quoted 7 lines
Any suggestions to determining the version of the installed udev? This is now during startup, to see if we can make use of using udevsend as hotplug agent. If the system was up, udevinfo could be used, but that is in
/usr/binthat might be on a seperate /usr. I know we might move udevinfo to /bin, but that might be an issue for some, and adding a -V switch to/sbin/udevmight be a better choice if you do not have have any nit's against it ....
Quoted 7 lines
Good idea, we should do that. I've added it to my tree at:
http://vrfy.bkbits.net:8080/udev/The next version will print:
[kay@pim udev.kay]$/sbin/udev-V
048
Another quick question ... why was the '-d' switch to udevinfo removed?
Thanks,
Signature · 1 line
Martin Schlemmer
Re: [ANNOUNCE] udev 047 release [u]
In reply to Martin Schlemmer [c]Quoted 25 lines · Martin Schlemmer [c]
Quoted 24 lines · Kay Sievers
Quoted 12 lines · Martin Schlemmer [c]
Quoted 9 lines · Greg KH
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)Quoted 7 lines
Any suggestions to determining the version of the installed udev? This is now during startup, to see if we can make use of using udevsend as hotplug agent. If the system was up, udevinfo could be used, but that is in
/usr/binthat might be on a seperate /usr. I know we might move udevinfo to /bin, but that might be an issue for some, and adding a -V switch to/sbin/udevmight be a better choice if you do not have have any nit's against it ....Good idea, we should do that. I've added it to my tree at:
http://vrfy.bkbits.net:8080/udev/
Quoted 7 lines
Quoted 4 lines
The next version will print:
[kay@pim udev.kay]$/sbin/udev-V
048Another quick question ... why was the '-d' switch to udevinfo removed?
The udev db is plaintext now. The -d option was for the binary tdb file, to get an idea whats in there.
A dump is just a "cat /dev/.udevdb/*" now. :)
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 047 release [u]
In reply to Martin Schlemmer [c]Quoted 31 lines · Kay Sievers
Quoted 30 lines · Martin Schlemmer [c]
Quoted 28 lines · Kay Sievers
Quoted 12 lines · Martin Schlemmer [c]
Quoted 9 lines · Greg KH
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)Quoted 7 lines
Any suggestions to determining the version of the installed udev? This is now during startup, to see if we can make use of using udevsend as hotplug agent. If the system was up, udevinfo could be used, but that is in
/usr/binthat might be on a seperate /usr. I know we might move udevinfo to /bin, but that might be an issue for some, and adding a -V switch to/sbin/udevmight be a better choice if you do not have have any nit's against it ....Good idea, we should do that. I've added it to my tree at:
http://vrfy.bkbits.net:8080/udev/The next version will print:
[kay@pim udev.kay]$/sbin/udev-V
048
Quoted 7 lines
Quoted 2 lines
Another quick question ... why was the '-d' switch to udevinfo removed?
The udev db is plaintext now. The -d option was for the binary tdb file, to get an idea whats in there.
A dump is just a "cat/dev/.udevdb/*" now. :)
Ah, ok, thanks. Btw, using udevsend as hotplug agent seem to work fine, although hal still do not recognise a flash drive if I have udev renave the node to /dev/usbfd* ...
PS: you might need something like:
-----
udevinfo.c 2004-12-13 21:16:59.000000000 +0200 renamed from udevinfo.c.orig 2004-12-13 21:15:49.000000000 +0200 +2 -2
@@ -242,7 +242,7 @@ static int process_options(int argc, char *argv[]) { - static const char short_options[] = "adn:p:q:rsVh"; + static const char short_options[] = "an:p:q:rsVh"; int option; int retval = 1; struct udevice udev;
@@ -439,7 +439,7 @@ } help: - printf("Usage: udevinfo [-anpqrdVh]\n" + printf("Usage: udevinfo [-anpqrVh]\n" " -q TYPE query database for the specified value:\n" " 'name' name of device node\n" " 'symlink' pointing to node\n"
-----
Thanks,
Signature · 1 line
Martin Schlemmer
Re: [ANNOUNCE] udev 047 release [u]
In reply to Martin Schlemmer [c]Quoted 29 lines · Martin Schlemmer [c]
Quoted 8 lines · Kay Sievers
Quoted 2 lines · Martin Schlemmer [c]
Another quick question ... why was the '-d' switch to udevinfo removed?
The udev db is plaintext now. The -d option was for the binary tdb file, to get an idea whats in there.
A dump is just a "cat/dev/.udevdb/*" now. :)Ah, ok, thanks. Btw, using udevsend as hotplug agent seem to work fine, although hal still do not recognise a flash drive if I have udev renave the node to
/dev/usbfd*...PS: you might need something like:
-----
udevinfo.c 2004-12-13 21:16:59.000000000 +0200 renamed from udevinfo.c.orig 2004-12-13 21:15:49.000000000 +0200 +1
-1@@ -242,7 +242,7 @@ static int process_options(int argc, char *argv[]) { - static const char short_options[] = "adn:p:q:rsVh"; + static const char short_options[] = "an:p:q:rsVh"; int option; int retval = 1; struct udevice udev;
udevinfo.c 2004-12-13 21:16:59.000000000 +0200 line 445
Quoted 8 lines
udevinfo.c 2004-12-13 21:16:59.000000000 +0200 renamed from udevinfo.c.orig 2004-12-13 21:15:49.000000000 +0200 +1
-1@@ -439,7 +439,7 @@ } help: - printf("Usage: udevinfo [-anpqrdVh]\n" + printf("Usage: udevinfo [-anpqrVh]\n" " -q TYPE query database for the specified value:\n" " 'name' name of device node\n" " 'symlink' pointing to node\n"
Thanks, I've applied it to my tree and it will show up with the next sync.
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 047 release [u]
In reply to Martin Schlemmer [c]Quoted 30 lines · Martin Schlemmer [c]
Quoted 21 lines · Kay Sievers
Quoted 12 lines · Martin Schlemmer [c]
Quoted 9 lines · Greg KH
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)Quoted 7 lines
Any suggestions to determining the version of the installed udev? This is now during startup, to see if we can make use of using udevsend as hotplug agent. If the system was up, udevinfo could be used, but that is in
/usr/binthat might be on a seperate /usr. I know we might move udevinfo to /bin, but that might be an issue for some, and adding a -V switch to/sbin/udevmight be a better choice if you do not have have any nit's against it ....Quoted 7 lines
Good idea, we should do that. I've added it to my tree at:
http://vrfy.bkbits.net:8080/udev/The next version will print:
[kay@pim udev.kay]$/sbin/udev-V
048
Quoted 4 lines
Ah, great, thanks.
Greg, sorda OT for this list, but mind adding patch to portage, then I can whip up some
/sbin/rcchanges ....
The 049 version is in portage, and you can use that now.
While we're OT, and Gentoo specific, what about moving all of the udev specific startup and shutdown stuff to a separate file, owned by the udev package? Or is that just too messy now?
Just trying to make your life easier.
thanks,
greg k-h
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Re: [ANNOUNCE] udev 047 release [u]
In reply to Martin Schlemmer [c]Quoted 36 lines · Greg KH
Quoted 30 lines · Martin Schlemmer [c]
Quoted 21 lines · Kay Sievers
Quoted 12 lines · Martin Schlemmer [c]
Quoted 9 lines · Greg KH
Lots of changes here in this release, see the full changelog below. Highlights are:
- massive change with the way udevd can now work. See
http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for more details on this (Kay's changes are now part of udev proper, you don't have to apply anything for this to work, just follow the directions in
http://article.gmane.org/gmane.linux.hotplug.devel/6192
to enable this mode.)Quoted 7 lines
Any suggestions to determining the version of the installed udev? This is now during startup, to see if we can make use of using udevsend as hotplug agent. If the system was up, udevinfo could be used, but that is in
/usr/binthat might be on a seperate /usr. I know we might move udevinfo to /bin, but that might be an issue for some, and adding a -V switch to/sbin/udevmight be a better choice if you do not have have any nit's against it ....Quoted 7 lines
Good idea, we should do that. I've added it to my tree at:
http://vrfy.bkbits.net:8080/udev/The next version will print:
[kay@pim udev.kay]$/sbin/udev-V
048Quoted 4 lines
Ah, great, thanks.
Greg, sorda OT for this list, but mind adding patch to portage, then I can whip up some
/sbin/rcchanges ....
Quoted 8 lines
The 049 version is in portage, and you can use that now.
While we're OT, and Gentoo specific, what about moving all of the udev specific startup and shutdown stuff to a separate file, owned by the udev package? Or is that just too messy now?
Just trying to make your life easier.
Hmm - thing is things are currently in flux on the whole rc side (redoing some code, cleanups, etc), and it uses things that are pretty tied to baselayout proper that are part of the stuff fluxing. Also I guess we want to do whatever for the devfs die-hards as well, along with a split or three that will happen at some stage due to the bsd support, as well as my threatened rewrite of some stuff when I get the time eventually ... Maybe later when we done restructuring ...
Thanks,
Signature · 1 line
Martin Schlemmer
Re: [ANNOUNCE] udev 047 release [u]
In reply to Martin Schlemmer [c]Quoted 9 lines · Martin Schlemmer [c]
Quoted 7 lines · Greg KH
While we're OT, and Gentoo specific, what about moving all of the udev specific startup and shutdown stuff to a separate file, owned by the udev package? Or is that just too messy now?
Just trying to make your life easier.
Quoted 8 lines
Hmm - thing is things are currently in flux on the whole rc side (redoing some code, cleanups, etc), and it uses things that are pretty tied to baselayout proper that are part of the stuff fluxing. Also I guess we want to do whatever for the devfs die-hards as well, along with a split or three that will happen at some stage due to the bsd support, as well as my threatened rewrite of some stuff when I get the time eventually ... Maybe later when we done restructuring ...
Fair enough, thanks for letting me know.
greg k-h
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel