GNU/Linux Debian

cfdisk
utilitario para partición de disco



La ventana de cfdisk tiene este aspecto:
cfdisk 2.10f

Disk Drive: /dev/hda
Size: 20020396032 bytes
Heads: 255 Sectors per Track: 63 Cylinders: 2434

Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
hda1 Boot Primary Linux 3068,03
hda2 Primary Linux ext2 3142,06
hda3 Primary Linux 3002,23
hda5 Logical Linux 896,56
hda6 Logical Linux swap 254,99
hda7 Logical Linux ext2 3002,23
Logical Free Space 6654,26



[Bootable] [ Delete ] [ Help ] [Maximize] [ Print ]
[ Quit ] [ Type ] [ Units ] [ Write ]

Toggle bootable flag of the current partition

Teclas:
flechas arriba y abajo: desplazan en las particiones.
flechas izquierda y derecha: desplazan en opciones del menú, abajo.
Anatomía de la ventana:
La ventana tiene varias partes. De arriba hacia abajo,
- datos del disco;
- lista de particiones, con una de las particiones seleccionada;
- menú de tareas, con una tarea seleccionada.
- descripción de la opción de menú seleccionada.
Menú.
Las opciones de menú, abajo, pueden variar según la partición seleccionada.
Al ubicarse la selección sobre la parte de espacio libre ("Free space") el menú mostrado es éste:
[ Help ] [ New ] [ Print ] [ Quit ] [ Units ]
[ Write ]
Al seleccionar la opción "New" pide el tamaño a asignar a la nueva partición:
Size (in MB): 6654,25
Si la nueva partición no ocupa todo el resto del disco, pregunta si se la desea crear al principio o al final del espacio libre:
[Beginning] [ End ] [ Cancel ]
Al seleccionar la opción "Write", para escribir la tabla de particiones a disco, aparece en la parte inferior la leyenda:
Are you sure you want write the partition table to disk? (yes or no):
Warning!! This may destroy data on your disk!
Pide confirmación para escribir la tabla a disco, advirtiendo que esta operación puede destruir todo o parte de los datos del disco. Es preciso escribir la palabra entera "yes" para confirmar la operación.
Ayuda.
La opción "Help" del menú muestra la siguiente ayuda, en tres ventanas sucesivas:
Help Screen for cfdisk
This is cfdisk, a curses based disk partitioning program, which
allows you to create, delete and modify partitions on your hard
disk drive.
Copyright (C) 1994-1999 Kevin E. Martin & aeb
Command Meaning
------- -------
b Toggle bootable flag of the current partition
d Delete the current partition
g Change cylinders, heads, sectors-per-track parameters
WARNING: This option should only be used by people who
know what they are doing.
h Print this screen
m Maximize disk usage of the current partition
Note: This may make the partition incompatible with
DOS, OS/2, ...
n Create new partition from free space
p Print partition table to the screen or to a file
There are several different formats for the partition
that you can choose from:
r - Raw data (exactly what would be written to disk)
s - Table ordered by sectors
t - Table in raw format
q Quit program without writing partition table
t Change the filesystem type
u Change units of the partition size display
Rotates through MB, sectors and cylinders
W Write partition table to disk (must enter upper case W)
Since this might destroy data on the disk, you must
either confirm or deny the write by entering `yes' or
`no'
Up Arrow Move cursor to the previous partition
Down Arrow Move cursor to the next partition
CTRL-L Redraws the screen
? Print this screen
Note: All of the commands can be entered with either upper or lower
case letters (except for Writes).

Bibliografía.

cfdisk, página man.



Víctor A. González Barbone - Ingeniero de Sistemas en Computación
E-mail: vagonbar en fing edu uy - Página personal: - http://iie.fing.edu.uy/~vagonbar
Instituto de Ingeniería Eléctrica - Facultad de Ingeniería - Montevideo, Uruguay.