projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be74479
)
Avoid the use of fstype in a running live system, as it's a executable and not a...
author
Michael Prokop
<mika@grml.org>
Sun, 31 Jan 2010 12:46:46 +0000
(13:46 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:06 +0000
(17:48 +0100)
scripts/live-helpers
patch
|
blob
|
history
diff --git
a/scripts/live-helpers
b/scripts/live-helpers
index
d5ad29f
..
0d97d10
100644
(file)
--- a/
scripts/live-helpers
+++ b/
scripts/live-helpers
@@
-76,24
+76,6
@@
is_supported_fs ()
get_fstype ()
{
- local FSTYPE
- local FSSIZE
-
- # fstype misreports LUKS devices
- if is_luks "${1}"
- then
- /lib/udev/vol_id -t ${1} 2>/dev/null
- return
- fi
-
- eval $(fstype ${1} 2>/dev/null)
-
- if [ "${FSTYPE}" != "unknown" ]
- then
- echo ${FSTYPE}
- return 0
- fi
-
/lib/udev/vol_id -t ${1} 2>/dev/null
}