1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
|
<chapter id="reference">
<title>Command Reference</title>
<sect1 id="reference-overview">
<title>Overview</title>
<para>This chapter gives detailed explanations of all commands available in &partman;. It is intended as a reference to accompany the information given in <xref linkend="usermanual"/>.</para>
<sect2 id="menu-file">
<title>The File Menu</title>
<para>
<variablelist>
<varlistentry id="menu-file-quit">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Quit</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Quits &partman;</action> without applying any pending operations. The application will however ask you to confirm your choice to quit if there are pending operations.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect2>
<sect2 id="menu-edit">
<title>The Edit Menu</title>
<para>
<variablelist>
<varlistentry id="menu-edit-undo">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>Z</keycap></keycombo></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Undo</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Undoes the last operation</action> that has been added to the operation stack.
</para>
<para>
This command is only enabled if the list of operations is not empty.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-edit-clear">
<term>
<menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Clear</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Clears the list of operations</action> without applying any of them.
</para>
<para>
This command is only enabled if the list of operations is not empty.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-edit-apply">
<term>
<menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Apply</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Applies the list of operations</action>. This command will apply all operations in the list so that all changes are permanently written to your disks. After the operations have been applied, the list is cleared and there will be no way to undo any operation.
</para>
<para>
This command is only enabled if the list of operations is not empty.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect2>
<sect2 id="menu-device">
<title>The Device Menu</title>
<para>
<variablelist>
<varlistentry id="menu-device-selectcurrentdevice">
<term>
<menuchoice>
<guimenu>Device</guimenu>
<guimenuitem>Select Current Device</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Allows you to select a device from a submenu with all available devices of the system.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-tools-refresh">
<term>
<menuchoice>
<shortcut><keycap>F5</keycap></shortcut>
<guimenu>Device</guimenu>
<guimenuitem>Refresh Devices</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Refreshes the devices</action>: This command forces &partman; to scan and read the devices on your computer again. This may for example be useful if you plugged in an external USB hard disk after you started &partman;.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-device-createpartitiontable">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;&Shift;<keycap>N</keycap></keycombo></shortcut>
<guimenu>Device</guimenu>
<guimenuitem>New Partition Table</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Creates a new partition table</action>: This command creates a new and empty GPT or MSDOS partition table on the currently selected device. This will delete all partitions on the device and all data on them, so you will want to be careful with this command.
</para>
<para>
This command is only enabled if a device is selected and no partition on this device
is currently mounted.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-device-exportpartitiontable">
<term>
<menuchoice>
<guimenu>Device</guimenu>
<guimenuitem>Export Partition Table</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Allows you to export a list of all partitions on the selected device into a file.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-device-importpartitiontable">
<term>
<menuchoice>
<guimenu>Device</guimenu>
<guimenuitem>Import Partition Table</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Allows you to import partition table from a previously exported file.</para>
<para>This will delete all partitions on the device and all data on them,
so you will want to be careful with this command.</para>
<para>This command is only enabled if a device is selected and no partition on this device is
currently mounted. Importing into logical devices such as LVM Volume Groups is currently not supported.</para>
</listitem>
</varlistentry>
<varlistentry id="menu-device-smartstatus">
<term>
<menuchoice>
<guimenu>Device</guimenu>
<guimenuitem>SMART Status</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Shows a SMART report. SMART is a monitoring system included in hard disk and solid-state drives
that detects and reports on various indicators of drive reliability, with the intent of enabling the
anticipation of hardware failures.</para>
</listitem>
</varlistentry>
<varlistentry id="menu-device-properties">
<term>
<menuchoice>
<guimenu>Device</guimenu>
<guimenuitem>Properties</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Shows information about currently selected devices. In this dialog you can find capacity, sector sizes,
partition table type as well as used and maximum number of primary partitions.</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect2>
<sect2 id="menu-partition">
<title>The Partition Menu</title>
<para>
<variablelist>
<varlistentry id="menu-partition-new">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo></shortcut>
<guimenu>Partition</guimenu>
<guimenuitem>New</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Creates a new partition</action>: Opens the dialog to create a new partition where you will be able to set type, size, position and file system of the partition to create.
</para>
<para>
Please note that the partition table on a device may impose restrictions on how many partitions can be created. MS-DOS partition tables, for example, allow only four primary partitions.
</para>
<para>
This command is only enabled if an unallocated area on a device is selected.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-resize">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>R</keycap></keycombo></shortcut>
<guimenu>Partition</guimenu>
<guimenuitem>Resize/Move</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Resizes or moves a partition</action>: Opens the dialog to resize or move an existing partition. Depending on the partition's file system and the external tools installed on your computer, not all three possible resize-related actions -- that is, moving the partition, making it smaller (<quote>shrinking</quote> it) or making it larger (<quote>growing</quote> it) -- may be available in this dialog. See <xref linkend="menu-tools-filesystemsupport"/>.
</para>
<para>
This command is only enabled if a partition is selected that is not currently mounted and whose file system can be shrunk, grown or moved. For an extended partition, it is only enabled if none of the logicals in the extended partition are mounted.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-delete">
<term>
<menuchoice>
<shortcut>∇</shortcut>
<guimenu>Partition</guimenu>
<guimenuitem>Delete</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Deletes a partition</action>: This command deletes the currently selected partition.
</para>
<para>
This command is only enabled if a partition is selected that is not currently mounted. For an extended partition, it is only enabled if it does not contain any logical partitions.
</para>
<warning>
<title>Warning: Possible loss of data</title>
<para>Deleting a partition means that all data on the partition is destroyed.</para>
</warning>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-shred">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;∇</keycombo></shortcut>
<guimenu>Partition</guimenu>
<guimenuitem>Shred</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Shreds a partition</action>: This command shreds the currently selected partition.
</para>
<para>
This command is only enabled if a partition is selected that is not currently mounted. For an extended partition, it is only enabled if it does not contain any logical partitions.
</para>
<warning>
<title>Warning: Loss of data</title>
<para>Shredding a partition means that all data on the partition is destroyed.</para>
</warning>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-copy">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>C</keycap></keycombo></shortcut>
<guimenu>Partition</guimenu>
<guimenuitem>Copy</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Copies a partition</action>: This command copies the currently selected partition to &partman;'s clipboard.
</para>
<para>
This command is only enabled if a partition is selected that is not currently mounted and whose file system can be copied. Extended partitions can not be copied.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-paste">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>V</keycap></keycombo></shortcut>
<guimenu>Partition</guimenu>
<guimenuitem>Paste</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Paste a partition</action>: This command pastes the partition from &partman;'s clipboard to the currently selected partition or unallocated area.
</para>
<para>
When pasting to an unallocated area, a dialog will open allowing you to move or grow the inserted copy. When overwriting an existing partition this dialog will not be shown.
</para>
<para>
This command is only enabled if a partition is currently in the clipboard and a valid target (either a partition or an unallocated area) is selected. The target must also be large enough to hold the source and can not be mounted. You can not copy a partition onto itself.
</para>
<warning>
<title>Warning: Possible loss of data</title>
<para>Pasting a partition on an existing one means that all data on the existing partition is destroyed and replaced with the data from the pasted partition.</para>
</warning>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-edit-mount">
<term>
<menuchoice>
<guimenu>Partition</guimenu>
<guimenuitem>Edit Mount Point</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Opens a dialog</action> to edit the mount point and the mount options.
</para>
<para>
This command is only enabled if a partition is unmounted.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-mount">
<term>
<menuchoice>
<guimenu>Partition</guimenu>
<guimenuitem>Mount/Unmount</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Mounts or unmounts a partition</action>: This command mounts or unmounts the selected partition, depending on its current state.
</para>
<para>
This command is only enabled if a partition is selected that can be mounted or unmounted. If the operating system does not know a mount point for the partition you can not mount it from &partman;.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-check">
<term>
<menuchoice>
<guimenu>Partition</guimenu>
<guimenuitem>Check</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Checks a partition</action>: This command checks the selected partition and its file system for errors and tries to correct any problems it finds. During this process the file system on the partition will also be resized to fill the partition completely.
</para>
<para>
This command is only enabled if a partition is selected that can be checked and is not currently mounted.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-backup">
<term>
<menuchoice>
<guimenu>Partition</guimenu>
<guimenuitem>Backup</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Backs up a partition</action>: This command backs up the file system on the selected partition to a file. You will be asked where to store the image file after activating this command.
</para>
<para>
The created image file is a sector-for-sector copy of the file system on the partition. It is not compressed and does not have any additional meta information or header added to it, thus it can be directly mounted using a loop device outside of &partman; if the operating system supports that.
</para>
<para>
This command is only enabled if a partition is selected and the file system on it can be backed up. The partition must also not be mounted.
</para>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-restore">
<term>
<menuchoice>
<guimenu>Partition</guimenu>
<guimenuitem>Restore</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Restores a partition</action>: This command restores a file system from an image file to a partition. You will be asked for the name of the image file to restore after activating this command. The target to restore to must be large enough for the image file.
</para>
<para>
The command is only enabled if either an unallocated area is selected or a partition that is not currently mounted.
</para>
<warning>
<title>Warning: Possible loss of data</title>
<para>Restoring a partition on an existing one means that all data on the existing partition is destroyed and replaced with the data from the restored image file.</para>
</warning>
</listitem>
</varlistentry>
<varlistentry id="menu-partition-properties">
<term>
<menuchoice>
<guimenu>Partition</guimenu>
<guimenuitem>Properties</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Shows a partition's properties</action>: This command shows a dialog with information about the currently selected partition or unallocated space.
</para>
<para>
What is displayed and what can be modified in this dialog depends on the type of partition, the type of the file system on the partition and on the partition being currently mounted or not.
</para>
<para>
Not all file systems, for example, support setting a label. It is also generally not possible to modify any properties if the partition is mounted.
</para>
<para>
This is a list of all partition and file system properties that can in general be modified in this dialog:
<itemizedlist>
<listitem>
<para>Set or modify a file system's label</para>
</listitem>
<listitem>
<para>Change the partition's file system.</para>
<warning>
<title>Warning: Possible loss of data</title>
<para>Changing the file system for a partition always means that all data on the partition is destroyed.</para>
</warning>
</listitem>
<listitem>
<para>Recreate the file system on the partition</para>
<warning>
<title>Warning: Possible loss of data</title>
<para>Recreating a file system on a partition always means that all data on the partition is destroyed. Recreating a file system should only be used as a last resort if the file system on a partition cannot be repaired anymore.</para>
</warning>
</listitem>
<listitem>
<para>Change a partition's flags</para>
<para>Depending on the type of partition table used, there will be several flags available for each partition on the partition table. In most cases, modifying the flags is not necessary and should be considered an advanced feature.</para>
</listitem>
</itemizedlist>
</para>
<para>
The command is only enabled if either an unallocated area or a partition is selected.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect2>
<sect2 id="menu-tools">
<title>The Tools Menu</title>
<para>
<variablelist>
<varlistentry id="menu-tools-volumegroup">
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;&Shift;<keycap>L</keycap></keycombo></shortcut>
<guimenu>Tools</guimenu>
<guimenuitem>New Volume Group</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Create a new logical device such as <link linkend="glossary-lvm">LVM</link> Volume Group.</para>
</listitem>
</varlistentry>
<varlistentry id="menu-tools-filesystemsupport">
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>File System Support</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Shows the file system support dialog.</action> This dialog shows in detail which operations can be performed for which of the supported file systems.
</para>
<para>
Here is an example how the dialog might look like with most external tools installed:
</para>
<para>
<screenshot>
<mediaobject>
<imageobject><imagedata fileref="filesystemsupport.png" format="PNG"/></imageobject>
<textobject><phrase>File system support dialog with most external tools installed</phrase></textobject>
</mediaobject>
</screenshot>
</para>
<para>
The blue check marks mean <quote>supported</quote>, the red crosses mean <quote>not supported</quote>. Some combinations are never supported, for example checking a linuxswap file system, because they are inherently impossible. Others cannot be supported because the external tools lack the functionality.
</para>
<para>
If you have installed new tools while &partman; is running click on <guibutton>Rescan Support</guibutton> to force a recheck of installed file system support tools.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect2>
<sect2 id="menu-settings-help">
<title>The Settings and Help Menu</title>
<para>
&partman; has the common &kde; <ulink url="help:/fundamentals/menus.html#menus-settings">Settings</ulink> and
<ulink url="help:/fundamentals/menus.html#menus-help">Help</ulink> menu described in
the &kde; Fundamentals with an additional submenu <guisubmenu>Panels Shown</guisubmenu>,
where you can toggle the display of the <guimenuitem>Devices</guimenuitem>,
<guimenuitem>Pending Operations</guimenuitem>, <guimenuitem>Information</guimenuitem>
and panels <guimenuitem>Log Output</guimenuitem> on and off.
</para>
</sect2>
</sect1>
</chapter>
|