mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Add support for non /dev devices
Since test suite is not using /dev - add support for such dirs into fsadm.
This commit is contained in:
parent
4026cb6fd1
commit
13e3c25ade
@ -1,5 +1,6 @@
|
||||
Version 2.02.89 -
|
||||
==================================
|
||||
Add support for non /dev device paths into fsadm script.
|
||||
Support different PATH setting for fsadm script testing.
|
||||
Surround all executed commands with quotes in fsadm script.
|
||||
Fix missing '$' in test for content of "$LVM" in fsadm script.
|
||||
|
@ -177,7 +177,7 @@ decode_size() {
|
||||
detect_fs() {
|
||||
VOLUME_ORIG=$1
|
||||
VOLUME=${1#/dev/}
|
||||
VOLUME=$("$READLINK" $READLINK_E "/dev/$VOLUME") || error "Cannot get readlink $1"
|
||||
VOLUME=$("$READLINK" $READLINK_E "/dev/$VOLUME") || VOLUME=$("$READLINK" $READLINK_E "$VOLUME_ORIG") || error "Cannot get readlink \"$1\""
|
||||
RVOLUME=$VOLUME
|
||||
case "$RVOLUME" in
|
||||
/dev/dm-[0-9]*)
|
||||
|
Loading…
Reference in New Issue
Block a user