diff options
| author | Michael Prokop <mika@grml.org> | 2010-01-31 13:46:46 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:06 +0100 |
| commit | e4b9ce3049d5eceb4cb815087062a5bed0d6c2ce (patch) | |
| tree | 1e636febb17d2c84822313bc25eb2cf260b4a123 /scripts | |
| parent | be744799f72f8d1d264fb0c20efae469c15abb18 (diff) | |
| download | live-boot-e4b9ce3049d5eceb4cb815087062a5bed0d6c2ce.tar.gz live-boot-e4b9ce3049d5eceb4cb815087062a5bed0d6c2ce.zip | |
Avoid the use of fstype in a running live system, as it's a executable and not a shell function and causes problems for example within live-snapshot.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/live-helpers | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers index d5ad29f..0d97d10 100644 --- 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 } |
