Re: [arch-general] [arch-dev-public] mkinitcpio 0.6 alpha - testing and help needed
* Thomas Bächler <thomas@archlinux.org> [02.02.2010 19:13]:
Grützi I use your kill-klibc repo on i686 and I just want to confirm, that it works with % cat /etc/mkinitcpio.conf MODULES="" HOOKS="base udev pata uresume filesystems" No problems so far, except http://wiki.archlinux.org/index.php/Udev#Auto_mounting_USB_devices don't work anymore, this worked with the packages from the official repos. I have to find another nice way to automount my drives without hal, but that's another topic. Greetz Army
Am 02.02.2010 22:51, schrieb Uli Armbruster:
Just out of curiosity, where's the uresume hook from, which package?
No problems so far, except http://wiki.archlinux.org/index.php/Udev#Auto_mounting_USB_devices don't work anymore, this worked with the packages from the official repos. I have to find another nice way to automount my drives without hal, but that's another topic.
I'm not sure how this can be related.
2010/2/2 Thomas Bächler <thomas@archlinux.org>:
uresume is needed for uswsusp (from [community]) In the wiki, it says that all of these udev rules don't work, because there's no program called vol_id anymore. But it worked for me, not really sure why. Now with kill-klibc udev isn't able to detect the volume name, so it always mounts at /media/sdb1 or something like that. I'm really not sure, how this is related neither. Right now I rather think it is strange that it worked before..
Am 03.02.2010 10:32, schrieb Uli Armbruster:
uresume is needed for uswsusp (from [community])
Good to know. This hook used glibc anyway, so there is no adjustment needed to the new initramfs. Less work for me.
It seems those rules used /lib/initcpio/udev/vol_id because /lib/udev/vol_id was gone for a while. But now there is no klibc-udev any more, vol_id has been deprecated for some time. You need to use blkid to do this now. "blkid -o udev -p ..." will have an output compatible to vol_id, but the usage is probably a little different. See /lib/udev/rules.d/60-persistent-storage.rules for examples on how blkid is used instead of vol_id, then the udev rules in the wiki can be easily adjusted to work again. blkid is in any way superior to vol_id, it has more and better filesystem support and is updated more frequently. I hope you can correct the wiki after you've figured out the details, I would guess it is not very difficult.
* Thomas Bächler <thomas@archlinux.org> [03.02.2010 11:12]:
Cool, thanks a lot! I'll do some testing with blkid, in case I succeed I'll adjust the wiki
participants (2)
-
Thomas Bächler
-
Uli Armbruster