allow setting root option to pseudofs. fixes #16
This commit is contained in:
parent
cab221b1c9
commit
4f94d6e40c
4
init
4
init
@ -20,10 +20,12 @@ resolve_device()
|
||||
{
|
||||
count=0; device="$1"
|
||||
|
||||
case "${device%%=*}" in /dev/*) ;;
|
||||
case "${device%%=*}" in
|
||||
UUID) device="/dev/disk/by-uuid/${device#*=}" ;;
|
||||
LABEL) device="/dev/disk/by-label/${device#*=}" ;;
|
||||
PARTUUID) device="/dev/disk/by-partuuid/${device#*=}" ;;
|
||||
/dev/*) ;;
|
||||
*) return 0 ;;
|
||||
esac
|
||||
|
||||
# prevent race condition
|
||||
|
Loading…
Reference in New Issue
Block a user