[arch-general] devtmpfs

Andrej Gelenberg andrej.gelenberg at udo.edu
Sat Jun 26 12:47:36 EDT 2010


On 06/26/2010 01:50 PM, Damjan Georgievski wrote:
>>> And if I do will I be able to use root=/dev/disk/by-uuid/xx-yy-zz-etc
>>
>> No.
>>
>>> or any of the similar kernel command line options?
>>
>> Which ones?
>
> I meant the options like root=/dev/disk/by-label or maybe
> root=LABEL=Arch or something

you can use findfs:

dev="$(findfs UUID=<uuid>)"
if [ -e "$dev" ]
then
  mount "$dev" /mnt
done

Regards,
Andrej


More information about the arch-general mailing list