projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d323cd
)
dracut-functions: use udevadm to get ID_FS_*
author
Harald Hoyer
<harald@redhat.com>
Mon, 3 May 2010 09:34:30 +0000
(11:34 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 3 May 2010 09:34:30 +0000
(11:34 +0200)
dracut-functions
patch
|
blob
|
history
diff --git
a/dracut-functions
b/dracut-functions
index
16b7d3d
..
fdcfb7e
100755
(executable)
--- a/
dracut-functions
+++ b/
dracut-functions
@@
-51,6
+51,9
@@
derror() {
}
get_fs_env() {
+ eval $(udevadm info --query=env --name=$1|egrep 'ID_FS_(TYPE|UUID)=')
+ [[ $ID_FS_TYPE ]] && return
+
if [[ -x /lib/udev/vol_id ]]; then
eval $(/lib/udev/vol_id --export $1)
elif find_binary blkid >/dev/null; then