dracut: _get_fs_type() also handle /dev/block/maj:min

master
Harald Hoyer 2012-01-23 13:49:39 +01:00
parent 4fcd5409e0
commit 4f10ae2b86
1 changed files with 4 additions and 0 deletions

4
dracut
View File

@ -574,6 +574,10 @@ _get_fs_type() (
echo "$1|$ID_FS_TYPE"
return 1
fi
if [[ -b /dev/block/$1 ]] && get_fs_env /dev/block/$1; then
echo "/dev/block/$1|$ID_FS_TYPE"
return 1
fi
if fstype=$(find_dev_fstype $1); then
echo "$1|$fstype"
return 1