⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cfdisk.texi

📁 fdisk 实现源码,可以查询Linux下系统的分区信息
💻 TEXI
📖 第 1 页 / 共 2 页
字号:
\input texinfo   @c -*-texinfo-*-@setfilename cfdisk.info@settitle GNU cfdisk User's Manual@set UPDATED 19 August 2006@set UPDATED-MONTH August 2006@set EDITION 0.0.1@set VERSION 0.0.1@comment @documentencoding ISO-8859-1@set lq ``@set rq ''@ifnottex @c texi2pdf don't understand copying and insertcopying ???@c modifications must also be done in the titlepage@copyingCopyright @copyright{} 2006Free Software Foundation, Inc.Permission is granted to copy, distribute and/or modify this documentunder the terms of the GNU Free Documentation License, Version 1.1 orany later version published by the Free Software Foundation; with noInvariant Sections, with no Front-Cover Texts, and with no Back-CoverTexts.  A copy of the license is included in the section entitled ``GNUFree Documentation License''.@end copying@c WTF does the info get the copying output and the plaintext output not ????@ifplaintext@insertcopying@end ifplaintext@end ifnottex@titlepage@title GNU cfdisk User Manual@subtitle GNU cfdisk, version @value{VERSION}, @value{UPDATED}@author Milko Krasnomirov Krachounov @email{exabyte@@3mhz.net}@c @page@c @vskip 0pt plus 1filll@c modifications must also be done in the copying blockCopyright @copyright{} 2006Free Software Foundation, Inc.Permission is granted to copy, distribute and/or modify this documentunder the terms of the GNU Free Documentation License, Version 1.1 orany later version published by the Free Software Foundation; with noInvariant Sections, with no Front-Cover Texts, and with no Back-CoverTexts.  A copy of the license is included in the section entitled ``GNUFree Documentation License''.@end titlepage@dircategory GNU partitioning software@direntry* cfdisk: (cfdisk).                         GNU cfdisk User Manual@end direntry@ifnottex@node Top@top GNU cfdisk User Manual@c WTF doesn't texi2html include the titlepage?@ifhtml@insertcopying @end ifhtmlThis document describes the use of GNU Cfdisk, a curses-based programfor creating, destroying, resizing, checking and copying hard drivepartitions, and the file systems on them.@end ifnottex@shortcontents@menu* About::* Using cfdisk::* Bugs::* See also::* Copying this manual::@end menu@node About@chapter About@menu* Name::@end menu@node Name@section NameGNU cfdisk @minus{} curses-based partition table manipulator (clone of Linux cfdisk)@node Using cfdisk@chapter Using cfdisk@menu* Invoking cfdisk::* Overview::* Options::* Units::* Usage::* Flags::@end menu@node Invoking cfdisk@section Invoking cfdisk@b{cfdisk [options] [device]}@node Overview@section OverviewHard disks can be divided into logical disks called @i{partitions}(or @i{disk slices} in the BSD world), which are described in a @i{partition table}, which is also called a @i{disklabel}.For ordinary use, like file storage or operation system installation, youwill most likely need at least one partition, although with most modern operating system,you might also want to create several partitions, including one for swap space. For example,you usually create a seperate partition for home directories. For more information on whatpartitions you need for your operating system, look at its installation manual.@b{GNU cfdisk} is a menu-driven program for creating and editing partition tables. It has supportfor DOS and MAC type partition tables, BSD and SUN type disklabels and others.If you don't specify the device of the disk, cfdisk tries to look for devices and opens the firstdevice available. On most GNU/Linux distributions @i{device} is usually one of the following:@c ---------------------------------------------------------------------@display@c ---------------------------------------------------------------------@quotation/dev/hda/dev/hdb/dev/sda/dev/sdb@end quotation@end displayIDE disks are usually using /dev/hd[a-h] for device names, SCSI disks - /dev/sd[a-p]. The partitions willtake the device name followed by the partition number, e.g. /dev/hda1. If you are using a GNU/Linuxoperating system, you can see @i{/usr/src/linux/Documentation/devices.txt} for more infomation ondevice naming.A DOS type partition table can have up to four `primary' partitions, which get numbers 1-4. One of the primary partitions may be used as an `extended' partition, which is used as a container for more partitions,which are called `logical' and take numbers starting from 5.A BSD/SUN type disklabel can hold up to 8 partitions, and an IRIX/SGI type disk label, called `dvh'in cfdisk can hold up to 16.@node Options@section Options@table @code@item @b{@minus{}h, @minus{}@minus{}help}Displays a help message.@item @b{@minus{}v, @minus{}@minus{}version}Displays the program's version.@item @b{@minus{}a, @minus{}@minus{}arrow-cursor}Use an arrow cursor, instead of reverse video highlighting, in case your terminal doesn't support it.@item @b{@minus{}z, @minus{}@minus{}new-table}Create a new partition table on the disk. This is useful if  youwant  to  change the partition table type or want to repartitionyou entire drive. Note that this does not delete the  old  tableon the disk until you commit the changes.@item @b{@minus{}u, @minus{}@minus{}units=}@i{UNIT}Sets the default display units to @i{UNIT}. A list of possible unitsis given below.@item @b{@minus{}t, @minus{}@minus{}list-partition-types}Displays a list of supported partition types and features.@end table@node Units

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -