On 06/18/15 at 01:54pm, Minfei Huang wrote:
On 06/18/15 at 10:12am, Dave Young wrote:
> On 06/15/15 at 04:33pm, Minfei Huang wrote:
> > Here is some content from blkid manpage.
> > - Note that blkid reads information directly from devices and for
> > non-root users it returns cached unverified information.
> > - Avoid using the symlinks directly; it is not reliable to use the
> > symlinks without verification.
> >
>
> Thinking more about it, You may need fix it in dracut, and then backport to
mkdumprd.
>
> It is btrfs specific so only doing this for btrfs case is better..
>
Hi, Dave.
As blkid manpage mentioned, reading symlink (soft-link) does not
recommend. All will be solved, once we use blkid to get the filesystem
UUID, including the btrfs issue.
Minfei, I did not mean to change the symlink code, instead I talked about
the whole get_presistant_dev function cleanup.
But I will think a bit about this patch, and comment it later.
Thanks
Minfei
>
> > perror "WARNING: Persistent device name of $1 not found. Using $1 as
dump target name"
> > echo $1
> > }
> > --
> > 2.1.0
> >
> > _______________________________________________
> > kexec mailing list
> > kexec(a)lists.fedoraproject.org
> >
https://lists.fedoraproject.org/mailman/listinfo/kexec
> >
> >
_______________________________________________
kexec mailing list
kexec(a)lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/kexec