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

Bug#489008: initramfs-tools: Does not work with labels containing '/'



On 2008-07-02 20:39 +0200, Josh Triplett wrote:

> The initramfs scripts cannot handle a label containing '/'.

Same here, with the label being "/". :-(

> For example, if I boot with root=LABEL=/alt-root , I get a message
> saying the initramfs could not find /dev/disk/by-label//alt-root .

Hm, I don't even get such a message, but simply "mount: No such device"
followed by three "mount: No such file or directory" messages before I
land in busybox.

> From the initramfs shell, "echo /dev/disk/by-label/*" showed
> /dev/disk/by-label/\x2falt-root .  However, on the booted system I see
> /dev/disk/by-label/alt-root.

Shouldn't that be /dev/disk/by-label/\xf2alt-root?  Except if you're
using zsh, which will convert \xf2 to /.

Sven



Reply to: