summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradv <adv@uma.es>2018-07-05 12:52:50 +0200
committeradv <adv@uma.es>2018-07-05 12:52:50 +0200
commitd01525bd830f71c8ff9fe013a574a96a6622402b (patch)
treef45e793137127f1c4906877a39e3e701c4d85941
parent62d6dd59b1fefce1d5396a1c916998ba91f4d008 (diff)
#853 Adapting FileSystem.lib library for doxygen
-rwxr-xr-xclient/engine/FileSystem.lib24
1 files changed, 20 insertions, 4 deletions
diff --git a/client/engine/FileSystem.lib b/client/engine/FileSystem.lib
index 868642fd..0642a854 100755
--- a/client/engine/FileSystem.lib
+++ b/client/engine/FileSystem.lib
@@ -602,7 +602,8 @@ test -n "$(ogGetMountPoint $1 $2)"
#@version 1.1.0 - Primera versión para OpenGnsys.
#@author Ramon Gomez, ETSII Universidad de Sevilla
#@date 2016-01-20
-#/**
+#*/ ##
+
function ogIsReadonly ()
{
# Variables locales
@@ -631,7 +632,7 @@ test -n "$(findmnt -n -o OPTIONS $PART | awk 'BEGIN {RS=","} /^ro$/ {print}')"
#@version 1.0.5 - Primera versión para OpenGnSys.
#@author Ramon Gomez, ETSII Universidad de Sevilla
#@date 2013-10-09
-#/**
+#*/ ##
function ogIsWritable ()
{
# Variables locales
@@ -1145,8 +1146,23 @@ case "$(ogGetFsType $1 $2)" in
esac
}
-# AVISO: Componer corretcamente esta función.
-function ogGetFreeSize () {
+
+#/**
+# ogGetFreeSize int_disco int_partition str_SizeOutput
+#@brief muestra informacion del tamaño total, datos y libre.
+#@param int_ndisk nº de orden del disco
+#@param int_npart nº de orden de partición
+#@param str_unitSize unidad mostrada
+#@return int_size:int_data:int_free
+#@TODO Componer corretcamente esta función.
+#@exception OG_ERR_FORMAT Formato incorrecto.
+#@version
+#@author
+#@date
+#*/ ##
+
+function ogGetFreeSize ()
+{
local particion unit factor valor
if [ $# = 0 ]
then