mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
added getlabel funcion
This commit is contained in:
parent
ab1b1bbe52
commit
b58ad6d84e
1 changed files with 9 additions and 0 deletions
|
@ -97,6 +97,15 @@ getuuid()
|
||||||
echo "$(blkid -s UUID -o value ${1})"
|
echo "$(blkid -s UUID -o value ${1})"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# parameters: device file
|
||||||
|
# outputs: LABEL on success
|
||||||
|
# nothing on failure
|
||||||
|
# returns: nothing
|
||||||
|
getlabel()
|
||||||
|
{
|
||||||
|
echo "$(blkid -s LABEL -o value ${1})"
|
||||||
|
}
|
||||||
|
|
||||||
# activate_dmraid()
|
# activate_dmraid()
|
||||||
# activate dmraid devices
|
# activate dmraid devices
|
||||||
activate_dmraid()
|
activate_dmraid()
|
||||||
|
|
Loading…
Reference in a new issue