You are not logged in.

#1 2005-08-23 09:38:55

Colossus
Member
Registered: 2005-07-06
Posts: 39

udev 063: when ?

Hi,

please accept my aplogies if I posted in the wrong place. Udev 063 is out but the archie package not, what is the problem ?

Thanks,
Colossus


--
Colossus
Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net

Offline

#2 2005-08-23 10:15:31

Beavis
Member
From: UK
Registered: 2005-01-01
Posts: 71

Re: udev 063: when ?

The problem is most likely one of two things, The package hasn't been flagged as out of date yet or the package maintainers are just a bit busy at the moment and will update udev when they can. I have checked the arch home page for the latest version of udev and it has been flagged as out of date so a new version should be with us soon.

Package updates are pretty rapid here so I expect the wait will be short.

Offline

#3 2005-08-23 10:24:06

Colossus
Member
Registered: 2005-07-06
Posts: 39

Re: udev 063: when ?

More than two months have passed since the 063 came out, the problem shoud be another one.

Colossus


--
Colossus
Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net

Offline

#4 2005-08-23 11:09:58

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: udev 063: when ?

063? There is 068 now:
http://www.us.kernel.org/pub/linux/util … l/hotplug/

In fact there is a new udev version released every few days...

Hopefully they are close to perfect udev since TODO file is quite short:

This is a short list of things that needs to be done.  They are in no specific
order.  I will gladly accept patches for any of these items, or any other stuff
people offer up.

greg k-h
greg@kroah.com


- more documentation (can never have too much.)
- persuade the distro packagers to submit their changes (or just steal them
  if we can find them...)
- do early boot logic (putting udev into initramfs, handle pivot-root,
  etc.)
- solve world hunger

On the other hand the last thing may take a lot more time to acomplish ;-)

Offline

#5 2005-08-23 11:37:38

Colossus
Member
Registered: 2005-07-06
Posts: 39

Re: udev 063: when ?

Ok now I understand why the package has not been built yet.

Colossus


--
Colossus
Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net

Offline

#6 2005-08-23 12:32:30

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: udev 063: when ?

Now, after browsing example new udev rules (gentoo version) I'm not so sure it's going to be easier. New rules and tools are less readable IMO.

FYI a good source of information about latest releases of udev and its bugs (next to docs from the sources) is this gentoo thread:
http://forums.gentoo.org/viewtopic-t-35 … t-100.html

@Colossus: I'm not one of the devs and the reason for delaying new udev package may be different. It was only my observation.

Offline

#7 2005-08-23 12:44:02

Colossus
Member
Registered: 2005-07-06
Posts: 39

Re: udev 063: when ?

Very nice link, very informative thank you lanrat. Do you how can I have /dev/dvd pointing to /dev/hdd in group optical ? I created a custom rule in /etc/udev/rules.d/ with this content but the group is always root:

KERNEL=="hdd", SYMLINK="dvd" , GROUP="optical"

Thank you,
Colossus


--
Colossus
Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net

Offline

#8 2005-08-23 13:19:12

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: udev 063: when ?

I think you should create /etc/udev/rules.d/010.udev.rules and put something like this inside (don't change standard arch udev.rules file):

BUS=="ide", KERNEL=="hdd", SYSFS{removable}=="1", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT=="cdrom*", NAME="%k", GROUP="optical", SYMLINK+="dvd cdrw", OPTIONS="last_rule"

or a shorter one:

BUS=="ide", KERNEL=="hdd", NAME="%k", GROUP="optical", SYMLINK+="dvd", OPTIONS="last_rule"

Restart udev as root with udevstart. Now you should have root:optical for /dev/hdd and root:root for /dev/dvd (it's a symlink so it's normal).


My custom udev rules:
http://bbs.archlinux.org/viewtopic.php? … dev+custom
There are more examples in the forums and wiki.

Offline

#9 2005-08-23 13:25:36

Colossus
Member
Registered: 2005-07-06
Posts: 39

Re: udev 063: when ?

lanrat wrote:

Now you should have root:optical for /dev/hdd and root:root for /dev/dvd (it's a symlink so it's normal).

This is what I DON'T want: root.root I need root.optical for /dev/dvd otherwise xine will not access my dvd disc.

Thank you,
Colossus


--
Colossus
Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net

Offline

#10 2005-08-23 16:15:35

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: udev 063: when ?

Colossus wrote:
lanrat wrote:

Now you should have root:optical for /dev/hdd and root:root for /dev/dvd (it's a symlink so it's normal).

This is what I DON'T want: root.root I need root.optical for /dev/dvd otherwise xine will not access my dvd disc.

Thank you,
Colossus

I don't think it works that way... I'm pretty sure permissions on a symlink are only for changing the symlink, and when opening "/dev/dvd" is will use the permissions associated to "/dev/hdc" - I may be wrong though.

Offline

#11 2005-08-23 23:10:08

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: udev 063: when ?

ls -l /dev/dvd
lrwxrwxrwx  1 root root 3 2005-08-23 20:49 /dev/dvd -> hdc
ls -l /dev/hdc
brw-rw----  1 root users 22, 0 2005-08-23 20:49 /dev/hdc

and any user on my system can burn dvd and so on...

Offline

Board footer

Powered by FluxBB