diff options
author | ramon <ramongomez@us.es> | 2014-09-23 11:48:41 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-09-23 11:48:41 +0000 |
commit | fd1846fe10d86fdc5df52e97536816c64ac33960 (patch) | |
tree | ecc0bfe90470d054ecd0994fb1fea5942eed45e0 /admin/Interface/getConfiguration | |
parent | 2851a935492a9b29c346f631c1409f0ef81402b9 (diff) |
#51: Integrar código del ticket:51 para detectar metadispositivos (LVM, RAID hardware y Multipath).
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4395 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface/getConfiguration')
-rwxr-xr-x | admin/Interface/getConfiguration | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/Interface/getConfiguration b/admin/Interface/getConfiguration index 2bfdaeeb..0979986d 100755 --- a/admin/Interface/getConfiguration +++ b/admin/Interface/getConfiguration @@ -17,6 +17,7 @@ for ((dsk=1; dsk<=$disks; dsk++)); do case "$ptt" in MSDOS) ptt=1 ;; GPT) ptt=2 ;; + LVM) ptt=3 ;; *) ptt=0 ;; esac # Información de disco (partición 0) @@ -31,8 +32,8 @@ for ((dsk=1; dsk<=$disks; dsk++)); do tam=$(ogGetPartitionSize $dsk $par 2>/dev/null) tam=${tam:-"0"} # Sistema operativo instalado - case "$cod" in - ""|82|8200|A502|BF02|EE) + case "$fsi" in + ""|EMPTY|CACHE|LINUX-SWAP|LINUX-LVM) soi="" ;; *) soi=$(getOsVersion $dsk $par 2>/dev/null | cut -f2 -d:) # Sistema de archivos para datos (sistema operativo "DATA") |