]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: improve conversion from root= to the devname
authorKarel Zak <kzak@redhat.com>
Tue, 15 Mar 2016 13:02:19 +0000 (14:02 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 15 Mar 2016 13:07:34 +0000 (14:07 +0100)
commit40f00b4f8e50c201647e0adb1d44bf01efbed09f
treedba875d6bf9743892a0a6b5ec4faec3337307614
parent12f5cbe15940bfb94d31a1b898084aa5f0e5fa10
libmount: improve conversion from root= to the devname

Currently the code supports /dev/name or PARTUUID= only. We also
need to support 'maj:min' and 'hexhex' notations.

Reported-by: George Spelvin <linux@horizon.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/strutils.h
lib/strutils.c
libmount/src/mountP.h
libmount/src/tab_parse.c
libmount/src/utils.c