Adaptando comentarios-histórico al doxygen al engine. ticket:216
git-svn-id: https://opengnsys.es/svn/trunk@1176 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/debian-pkg
parent
1222da7564
commit
985bef0e31
|
@ -20,10 +20,10 @@
|
|||
#@exception OG_ERR_PARTITION Tipo de partición desconocido o no se puede montar.
|
||||
#@exception OG_ERR_NOTOS La partición no tiene instalado un sistema operativo.
|
||||
#@note En Linux, debe arrancarse la partición del directorio \c /boot
|
||||
#@version 0.1 - Integración para OpenGNSys.
|
||||
#@author Antonio J. Doblas Viso, Universidad de Málaga
|
||||
#@version 0.1 - Integracion para OpenGNSys. - EAC: HDboot(); BootLinuxEX() en Boot.lib
|
||||
#@author Antonio J. Doblas Viso, Universidad de Malaga
|
||||
#@date 2008-10-27
|
||||
#@version 0.9 - Adaptación para OpenGNSys.
|
||||
#@version 0.9 - Adaptacion para OpenGNSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009-09-11
|
||||
#*/ ##
|
||||
|
|
|
@ -102,10 +102,12 @@ rm -f /dev/disk/by-label/CACHE
|
|||
#@param No requiere parametros
|
||||
#@return int_ndisk int_npart - devuelve el par nº de disco-nº de partición .
|
||||
#@warning Si no hay cache no devuelve nada
|
||||
#@version 0.1 - Versión adaptada del Proyecto EAC.
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@Date 27/10/2008
|
||||
#@version 0.91 - Adaptación a la caché local de OpenGnSys.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: FindCache() en ATA.lib - HIDRA: DetectarCache.sh
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@Date 2008/06/19
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@Date 2008/10/27
|
||||
#@version 0.91 - Adaptacion a la cache local de OpenGnSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2010/03/16
|
||||
#*/ ##
|
||||
|
@ -135,10 +137,10 @@ ogDevToDisk $PART 2>/dev/null
|
|||
#@warning Prueba con formato Reiser.
|
||||
#@attention
|
||||
#@note El sistema de archivos de la caché se queda montado.
|
||||
#@version 0.1 - Versión adaptada del Proyecto EAC.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: FormatCache() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 27/10/2008
|
||||
#@version 0.91 - Creación caché local.
|
||||
#@date 2008/10/27
|
||||
#@version 0.91 - Creacion cache local.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2010-03-11
|
||||
#*/ ##
|
||||
|
@ -173,7 +175,10 @@ mkdir -p $MNTDIR/$OGIMG
|
|||
#@brief Devuelve el tamaño definido para la partición de caché.
|
||||
#@return int_partsize tamaño de la partición (en KB)
|
||||
#@exception OG_ERR_PARTITION No existe partición de caché.
|
||||
#@version 0.91 - Definición de caché local.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: InfoCache() en FileSystem.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.91 - Definicion de cache local.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2010/03/09
|
||||
#*/ ##
|
||||
|
@ -200,7 +205,10 @@ ogGetPartitionSize $PART
|
|||
#@brief Devuelve el espacio de disco disponible para la partición de caché.
|
||||
#@return int_size tamaño disponible (en KB)
|
||||
#@note El espacio disponible es el que hay entre el límite superior de la partición 3 del disco 1 y el final de dicho disco, y no puede ser superior a la mitad de dicho disco.
|
||||
#@version 0.91 - Definición de caché local.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: InfoCache() en FileSystem.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.91 - Definicion de cache local.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2010/03/09
|
||||
#*/ ##
|
||||
|
@ -235,10 +243,12 @@ fi
|
|||
#@param sin parametros
|
||||
#@return path_mountpoint - Punto de montaje del sistema de archivos de cache.
|
||||
#@warning Salidas de errores no determinada
|
||||
#@version 0.1 - Versión adaptada del Proyecto EAC.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: MountCache() en FileSystem.lib - HIDRA: MontarCache.sh
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2008/06/19
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@Date 27/10/2008
|
||||
#@version 0.91 - Adaptación a la caché local de OpenGnSys.
|
||||
#@Date 2008/10/27
|
||||
#@version 0.91 - Adaptacion a la cache local de OpenGnSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2010/03/16
|
||||
#*/ ##
|
||||
|
@ -262,10 +272,10 @@ export OGCAC
|
|||
#@param sin parametros
|
||||
#@return nada
|
||||
#@warning Salidas de errores no determinada
|
||||
#@version 0.1 - Versión adaptada del Proyecto EAC.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: UmountCache() en FileSystem.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@Date 27/10/2008
|
||||
#@version 0.91 - Adaptación a la caché local de OpenGnSys.
|
||||
#@Date 2008/10/27
|
||||
#@version 0.91 - Adaptacion a la cache local de OpenGnSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2010/03/16
|
||||
#*/ ##
|
||||
|
|
|
@ -134,9 +134,12 @@ rm -f $tmpsfdisk
|
|||
#@exception OG_ERR_FORMAT Formato incorrecto.
|
||||
#@exception OG_ERR_NOTFOUND Dispositivo no detectado.
|
||||
#@note Requisitos: awk
|
||||
#@version 0.9 - Primera versión para OpenGNSys
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: DiskEAC() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso, Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Primera version para OpenGNSys
|
||||
#@author Ramon Gomez, ETSII Universidad Sevilla
|
||||
#@date 2009-07-20
|
||||
#@date 2009/07/20
|
||||
#*/ ##
|
||||
function ogDevToDisk ()
|
||||
{
|
||||
|
@ -176,7 +179,12 @@ return $OG_ERR_NOTFOUND
|
|||
#@exception OG_ERR_FORMAT Formato incorrecto.
|
||||
#@exception OG_ERR_NOTFOUND Dispositivo no detectado.
|
||||
#@note Requisitos: awk, lvm
|
||||
#@version 0.9 - Primera versión para OpenGNSys
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: Disk() en ATA.lib; HIDRA: DetectarDiscos.sh
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@Date 2008/06/19
|
||||
#@author Antonio J. Doblas Viso, Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Primera version para OpenGNSys
|
||||
#@author Ramon Gomez, ETSII Universidad Sevilla
|
||||
#@date 2009-07-20
|
||||
#*/ ##
|
||||
|
@ -243,7 +251,10 @@ esac
|
|||
#@param str_fstype mnemónico de tipo de sistema de archivos
|
||||
#@return int_idpart nº identificador de tipo de partición.
|
||||
#@exception OG_ERR_FORMAT Formato incorrecto.
|
||||
#@version 0.9 - Primera versión para OpenGNSys
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: TypeFS () en ATA.lib
|
||||
#@author Antonio J. Doblas Viso, Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Primera version para OpenGNSys
|
||||
#@author Ramon Gomez, ETSII Universidad Sevilla
|
||||
#@date 2009-12-14
|
||||
#*/ ##
|
||||
|
@ -293,9 +304,9 @@ echo $ID
|
|||
#@exception OG_ERR_NOTFOUND Disco o particion no corresponden con un dispositivo.
|
||||
#@note Requisitos: parted
|
||||
#@todo Queda definir formato para atributos (arranque, oculta, ...).
|
||||
#@version 0.9 - Primera versión compatible con OpenGNSys.
|
||||
#@version 0.9 - Primera version compatible con OpenGNSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009/07/24
|
||||
#@date 2009/09/17
|
||||
#*/ ##
|
||||
function ogGetPartitionActive ()
|
||||
{
|
||||
|
@ -359,7 +370,10 @@ echo $(sfdisk --id $DISK $2 2>/dev/null)
|
|||
#@exception OG_ERR_FORMAT formato incorrecto.
|
||||
#@exception OG_ERR_NOTFOUND disco o particion no detectado (no es un dispositivo).
|
||||
#@note Requisitos: sfdisk, awk
|
||||
#@version 0.9 - Primera versión para OpenGNSys
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: SizePartition () en ATA.lib
|
||||
#@author Antonio J. Doblas Viso, Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Primera version para OpenGNSys
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009/07/24
|
||||
#*/ ##
|
||||
|
@ -476,7 +490,10 @@ echo $PARTS | cut -sf5- -d" "
|
|||
#@exception OG_ERR_FORMAT Formato incorrecto.
|
||||
#@exception OG_ERR_NOTFOUND Disco o partición no corresponden con un dispositivo.
|
||||
#@note Requisitos: parted
|
||||
#@version 0.9 - Primera versión compatible con OpenGNSys.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: SetPartitionActive() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso, Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Primera version compatible con OpenGNSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009/09/17
|
||||
#*/ ##
|
||||
|
@ -548,8 +565,9 @@ partprobe 2>/dev/null
|
|||
#@return informacion propia de la herramienta
|
||||
#@note Requisitos: \c partprobe
|
||||
#@warning pendiente estructurar la funcion a opengnsys
|
||||
#@version 0.1 Date: 27/10/2008 Author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@note funcion importada de EAC
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: UpdatePartitionTable() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 27/10/2008
|
||||
#*/
|
||||
|
||||
function ogUpdatePartitionTable ()
|
||||
|
@ -561,16 +579,20 @@ echo $list > /tmp/disk
|
|||
|
||||
|
||||
|
||||
|
||||
function ogGetPartitionsNumber () {
|
||||
#/** @function ogGetPartitionsNumber: @brief detecta el numero de particiones del disco duro indicado.
|
||||
#@param int_numdisk (indentificado EAC del disco)
|
||||
#@return devuelve el numero paritiones del disco duro indicado
|
||||
#@warning Salidas de errores no determinada
|
||||
#@attention Requisitos: parted
|
||||
#@note Notas sin especificar
|
||||
#@version 0.1 Date: 27/10/2008 Author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: DetectNumberPartition () en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date Date: 27/10/2008
|
||||
#@version 1.0 - Uso de sfdisk Primera version para OpenGnSys
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009/07/24
|
||||
#*/
|
||||
function ogGetPartitionsNumber () {
|
||||
#local disco totalpart
|
||||
#disco=`ogDiskToDev $1`
|
||||
#totalpart=`parted $disco print | egrep ^" [0123456789] " -c`
|
||||
|
@ -582,7 +604,6 @@ sfdisk -l $DISK 2>/dev/null | grep -c "^$DISK"
|
|||
}
|
||||
|
||||
|
||||
function ogDiskToRelativeDev () {
|
||||
#/** @function ogDiskToRelativeDev: @brief Traduce los ID de discos o particiones EAC a ID Linux relativos, es decir 1 1 => sda1
|
||||
#@param Admite 1 parametro: $1 int_numdisk
|
||||
#@param Admite 2 parametro: $1 int_numdisk $2 int_partition
|
||||
|
@ -591,9 +612,11 @@ function ogDiskToRelativeDev () {
|
|||
#@warning No definidas
|
||||
#@attention
|
||||
#@note Notas sin especificar
|
||||
#@version 0.1 Date: 27/10/2008 Author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: IdPartition en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 27/10/2008
|
||||
#*/
|
||||
|
||||
function ogDiskToRelativeDev () {
|
||||
if [ $# = 0 ]
|
||||
then
|
||||
Msg "Info: Traduce el identificador del dispositivo EAC a dispositivo linux \n" info
|
||||
|
@ -607,8 +630,6 @@ PART=$(ogDiskToDev|cut -f$1 -d' ')$2
|
|||
echo $PART | cut -f3 -d \/
|
||||
}
|
||||
|
||||
|
||||
function ogDeletePartitionTable () {
|
||||
#/** @function ogDeletePartitionTable: @brief Borra la tabla de particiones del disco.
|
||||
#@param $1 opcion A (identificador LINUX) str_ID_linux (/dev/sda)
|
||||
#@param $1 opcion B (Identifiador EAC) int_numdiskEAC(1)
|
||||
|
@ -616,8 +637,11 @@ function ogDeletePartitionTable () {
|
|||
#@warning no definidos
|
||||
#@attention
|
||||
#@note
|
||||
#@version 0.1 Date: 27/10/2008 Author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: DeletePartitionTable () en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 27/10/2008
|
||||
#*/
|
||||
function ogDeletePartitionTable () {
|
||||
if [ $# = 0 ]
|
||||
then
|
||||
Msg "sintaxis1: ogDeletePartitionTable int_disk" red
|
||||
|
@ -634,8 +658,6 @@ echo -ne "o\nw" | fdisk $dev
|
|||
}
|
||||
|
||||
|
||||
|
||||
function ogSetPartitionId() {
|
||||
#/** @function ogSetPartitionId: @brief Cambia el identificador de la particion, pero no su sistema de archivos.
|
||||
#@param $1 int_numdiskEAC
|
||||
#@param $2 int_numpartitionEAC
|
||||
|
@ -645,9 +667,11 @@ function ogSetPartitionId() {
|
|||
#@warning Identifica por nombre del sistema de archivos no por número
|
||||
#@attention Requisitos: fdisk
|
||||
#@note
|
||||
#@version 0.1 Date: 27/10/2008 Author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@version 0.1 - Integracion para Opengnsys - SetPartitionType() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 27/10/2008
|
||||
#*/
|
||||
|
||||
function ogSetPartitionId() {
|
||||
# Variables locales
|
||||
local DISK PART ID
|
||||
|
||||
|
@ -672,15 +696,17 @@ echo -ne "t\n$2\n${ID}\nw\n" | fdisk $DISK 1>/dev/null 2>&1
|
|||
}
|
||||
|
||||
|
||||
function ogDeletePartitionsLabels () {
|
||||
#/** @function ogDeletePartitionsLabels: @brief Elimina la informacion que tiene el kernel del cliente og sobre los labels de los sistemas de archivos
|
||||
#@param No requiere
|
||||
#@return Nada
|
||||
#@warning
|
||||
#@attention Requisitos: comando interno linux rm
|
||||
#@note
|
||||
#@version 0.1 Date: 27/10/2008 Author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: DeletePartitionTable() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 27/10/2008
|
||||
#*/
|
||||
function ogDeletePartitionsLabels () {
|
||||
rm /dev/disk/by-label/* # */ COMENTARIO OBLIGATORIO PARA DOXYGEN
|
||||
}
|
||||
|
||||
|
|
|
@ -164,6 +164,11 @@ rm -fr "$DIR" || ogRaiseError $OG_ERR_NOTFOUND "$*" || return $?
|
|||
#@exception OG_ERR_PARTITION Tipo de partición desconocido o no se puede montar.
|
||||
#@warning En caso de error, sólo devuelve el código y no da mensajes.
|
||||
#@todo Terminar de definir parámetros para acceso a repositorios.
|
||||
#@version 0.1 - Integracion para Opengnsys - HIDRA: CaminoWindows.sh; EAC: GetPath(), FormatSintaxSpacePath(), FormatSintaxBackSlashPath (), en FileSystem.lib
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@Date 2008/10/10
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Pruebas con OpenGnSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009-09-15
|
||||
|
@ -322,6 +327,11 @@ ogCalculateChecksum "$FILE" > "$FILE.sum"
|
|||
# ogMakeDir [ str_repo | int_ndisk int_npartition ] path_dirpath
|
||||
#@brief Metafunción que crea un subdirectorio vacío en un dispositivo.
|
||||
#@see ogGetParentPath
|
||||
#@version 0.1 - Integracion para Opengnsys - HIDRA: CrearDirectorio.sh, EAC: MkdirPath() en FileSystem.lib
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@Date 2008/10/10
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Pruebas con OpenGnSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009-09-29
|
||||
|
|
|
@ -81,7 +81,10 @@ return $ERRCODE
|
|||
#@exception OG_ERR_NOTFOUND Disco o particion no corresponden con un dispositivo.
|
||||
#@exception OG_ERR_PARTITION Partición desconocida o no accesible.
|
||||
#@note Requisitos: *resize*
|
||||
#@version 0.9 - Primera adaptación para OpenGNSys.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: EnlargeFileSystem() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008-10-27
|
||||
#@version 0.9 - Primera adaptacion para OpenGNSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009-09-23
|
||||
#*/
|
||||
|
@ -149,7 +152,7 @@ esac
|
|||
|
||||
|
||||
#/**
|
||||
# ogFoarmatFs int_ndisk int_npartition [type_fstype] [str_label]
|
||||
# ogFormatFs int_ndisk int_npartition [type_fstype] [str_label]
|
||||
#@brief Formatea un sistema de ficheros según el tipo de su partición.
|
||||
#@param int_ndisk nº de orden del disco
|
||||
#@param int_npartition nº de orden de la partición
|
||||
|
@ -268,7 +271,10 @@ return $ERRCODE
|
|||
#@note Mnemonico: { EXT2, EXT3, EXT4, REISERFS, XFS, JFS, LINUX-SWAP, LINUX-LVM, LINUX-RAID, SOLARIS, FAT16, HFAT16, FAT32, HFAT32, NTFS, HNTFS, WIN-DYNAMIC, CACHE, EMPTY, EXTENDED, UNKNOWN }
|
||||
#@exception OG_ERR_FORMAT Formato incorrecto.
|
||||
#@exception OG_ERR_NOTFOUND Disco o particion no corresponden con un dispositivo.
|
||||
#@version 0.9 - Primera adaptación para OpenGNSys.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: TypeFS() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008-10-27
|
||||
#@version 0.9 - Primera adaptacion para OpenGNSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009-07-21
|
||||
#*/ ##
|
||||
|
@ -506,7 +512,10 @@ esac
|
|||
#@exception OG_ERR_FORMAT Formato incorrecto.
|
||||
#@exception OG_ERR_NOTFOUND Disco o particion no corresponden con un dispositivo.
|
||||
#@exception OG_ERR_PARTITION Tipo de particion desconocido o no se puede montar.
|
||||
#@version 0.9 - Primera versión para OpenGNSys.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: MountPartition() en FileSystem.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008-10-27
|
||||
#@version 0.9 - Primera version para OpenGNSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009-09-28
|
||||
#*/ ##
|
||||
|
@ -599,7 +608,10 @@ echo $MNTDIR
|
|||
#@warning En Windows, se borran los ficheros pagefile.sys e hiberfile.sys
|
||||
#@warning El sistema de archivos se amplía al mínimo + 1 KB.
|
||||
#@note Requisitos: *resize*
|
||||
#@version 0.9 - Primera versión para OpenGNSys.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: ReduceFileSystem() en ATA.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008-10-27
|
||||
#@version 0.9 - Primera version para OpenGNSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009-09-23
|
||||
#*/ ##
|
||||
|
@ -713,7 +725,10 @@ ogUnmountFs "$@"
|
|||
#@exception OG_ERR_FORMAT Formato incorrecto.
|
||||
#@exception OG_ERR_NOTFOUND Disco o particion no corresponden con un dispositivo.
|
||||
#@warning La partición no está previamente montada o no se puede desmontar.
|
||||
#@version 0.9 - Primera versión para OpenGNSys.
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: UmountPartition() en FileSystem.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008-10-27
|
||||
#@version 0.9 - Primera version para OpenGNSys.
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009-09-28
|
||||
#*/ ##
|
||||
|
@ -788,8 +803,6 @@ for ((PART=1; PART<=$(ogGetPartitionsNumber $1); PART++)); do
|
|||
done
|
||||
}
|
||||
|
||||
|
||||
function ogGetFsSize () {
|
||||
#/** @function ogGetFsSize: @brief Muestra el tamanio del sistema de archivos indicado, permite definir la unidad de medida, por defecto GB
|
||||
#@param $1 int_diskEAC
|
||||
#@param $2 int_PartitionEAC
|
||||
|
@ -798,8 +811,11 @@ function ogGetFsSize () {
|
|||
#@warning Salidas de errores no determinada
|
||||
#@warning
|
||||
#@attention
|
||||
#@version 1.0 Date: 27/10/2008 Author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@version 0.1 - Integracion para Opengnsys - EAC: SizeFileSystem() en FileSystem.lib
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008-10-27
|
||||
#*/
|
||||
function ogGetFsSize () {
|
||||
if [ $# = 0 ]
|
||||
then
|
||||
echo "sintaxis: ogGetFsSize int_disco int_partition str_SizeOutput [ kB MB GB -default GB]-]" red
|
||||
|
|
|
@ -25,7 +25,12 @@
|
|||
#@exception OG_ERR_IMAGE error al crear la imagen del sistema.
|
||||
#@warning En pruebas iniciales
|
||||
#@todo Comprobaciones, control de errores, definir parámetros, etc.
|
||||
#@version 0.9 - Versión en pruebas para OpenGNSys
|
||||
#@version 0.1 - Integracion para Opengnsys - HIDRA:CrearImagen{EXT3, NTFS}.sh; EAC: CreateImageFromPartition () en Deploy.lib
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@Date 2008/05/13
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Version en pruebas para OpenGNSys
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009/10/07
|
||||
#*/ ##
|
||||
|
@ -146,7 +151,12 @@ partimage -B gui=no imginfo "$IMGFILE" 2>&1 | \
|
|||
#@exception OG_ERR_IMAGE error al restaurar la imagen del sistema.
|
||||
#@warning En pruebas iniciales
|
||||
#@todo Comprobar incongruencias partición-imagen, control de errores, definir parámetros, caché/repositorio, etc.
|
||||
#@version 0.1 - Primera versión muy en pruebas para OpenGNSys
|
||||
#@version 0.1 - Integracion para Opengnsys - HIDRA:RestaurarImagen{EXT3, NTFS}.sh; EAC: RestorePartitionFromImage() en Deploy.lib
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@Date 2008/05/13
|
||||
#@author Antonio J. Doblas Viso. Universidad de Malaga
|
||||
#@date 2008/10/27
|
||||
#@version 0.9 - Primera version muy en pruebas para OpenGNSys
|
||||
#@author Ramon Gomez, ETSII Universidad de Sevilla
|
||||
#@date 2009/09/10
|
||||
#*/ ##
|
||||
|
|
Loading…
Reference in New Issue