Bug#576537: Incorrect labels generated in /etc/fstab during PATA conversion
On Mon, Apr 05, 2010 at 04:12:48PM +0200, Moritz Muehlenhoff wrote:
> Package: linux-base
> Version: 2.6.32-10
> Severity: normal
>
> The conversion on my Thinkpad X31 seems to have generated incorrect
> labels, which lead to the home partition not being mounted automatically:
>
> This is the /etc/fstab which was generated:
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> # /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
> LABEL=\x2f / ext3 defaults,errors=remount-ro 0 1
> # /dev/hda6 /home ext3 defaults,noatime 0 2
> LABEL=\x2fhome /home ext3 defaults,noatime 0 2
> # /dev/hda5 none swap sw 0 0
> UUID=0603958c-bb68-46df-940b-c562b9fdb4aa none swap sw 0 0
> /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
> /dev/sda /stick vfat rw,user,noauto 0 0
>
> The labels itself seem correct:
>
> root@galadriel:~# e2label /dev/sda1
> /
> root@galadriel:~# e2label /dev/sda6
> /home
> root@galadriel:~#
>
> I have no idea where "\x2f" instead of "/" is coming from?
>
> Cheers,
> Moritz
this is how udev encodes / in sysfs as it is not a new dir and
kind of special.
afair initramfs-tools does the conversion from / to \x2f,
so it should not be necessary to use that.
anyway newer linux-base should convert you over to UUID and not LABEL.
don't know thus if this bug still applies.
Reply to: