[arch-general] [arch-dev-public] mkinitcpio 0.6 alpha - testing and help needed

Thomas Bächler thomas at archlinux.org
Wed Feb 3 05:12:22 EST 2010


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.

> 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..

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100203/31daae5e/attachment.bin>


More information about the arch-general mailing list