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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux