close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
- Timestamp:
-
May 22, 2009, 9:52:52 AM (16 years ago)
- Author:
-
ramon
- Comment:
-
Renombrar función
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
1 | | = {{{hidraPartitionSize}}} = |
| 1 | = {{{hidraGetPartitionSize}}} = |
2 | 2 | |
3 | 3 | == Descripción == |
… |
… |
|
6 | 6 | |
7 | 7 | Formatos:: |
8 | | {{{hidraPartitionSize numdisco numparticion}}} |
| 8 | {{{hidraGetPartitionSize numdisco numparticion}}} |
9 | 9 | |
10 | 10 | Salida:: |
… |
… |
|
16 | 16 | |
17 | 17 | Errores:: |
18 | | * ERRFORMAT: Formato incorrecto. |
19 | | * ERRNOTFOUND: Dispositivo no accesible. |
| 18 | * ERRFORMAT - Formato incorrecto. |
| 19 | * ERRNOTFOUND - Dispositivo no accesible. |
20 | 20 | |
21 | 21 | Notas:: |
… |
… |
|
23 | 23 | |
24 | 24 | Código fuente: |
25 | | [source:/trunk/Hidra/scripts/hidraPartitionSize] |
| 25 | [source:/trunk/Hidra/scripts/hidraGetPartitionSize] |
26 | 26 | |
27 | 27 | == Ejemplos == |
… |
… |
|
29 | 29 | Ejecución desde la consola: |
30 | 30 | {{{ |
31 | | # hidraPartitionSize 1 2 |
| 31 | # hidraGetPartitionSize 1 2 |
32 | 32 | 15000000 |
33 | 33 | }}} |
… |
… |
|
37 | 37 | #!sh |
38 | 38 | # Obtener en una variable el tamaño en KB de partición indicada por los 2 primeros parámetros de entrada. |
39 | | TAM=$(hidraPartitionSize $1 $2) |
| 39 | TAM=$(hidraGetPartitionSize $1 $2) |
40 | 40 | }}} |