summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdisk.8
Commit message (Collapse)AuthorAgeFilesLines
* fdisk: add note about -S and -HKarel Zak2019-05-281-0/+4
| | | | | | | It's seems people still follow old advices for SSD/4K devices. Let's make CHS deprecation more visible at the begin of the man page... Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: Accept negative numbers for last sector inputAwal Garg2018-07-311-7/+10
| | | | | | | | [kzak@redhat.com: - add note to the man page - add '-' to the dialog query - cleanup functions names and libfdisk.sym] Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add to the man page missing optionKarel Zak2017-05-091-0/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: improve --wipe functionalityKarel Zak2017-02-141-11/+0Star
| | | | | | | | | * always (except --wipe=never) wipe old partition tables * improve warn messages * improve man page Addresses: https://github.com/karelzak/util-linux/issues/410 Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: replace FTP by HTTPS in kernel.org URLsSébastien Helleu2016-12-191-1/+1
| | | | | | | The links to ftp://ftp.kernel.org/ are replaced by https://www.kernel.org/. Signed-off-by: Karel Zak <kzak@redhat.com>
* Place SEE ALSO entries in orderMichael Kerrisk (man-pages)2016-11-291-2/+2
| | | | | | | | | | | | This patch does only the following: * Order SEE ALSO entries first by section name, then alphabetically within section * Adds one or two missing commas in SEE ALSO lists * Removes one or two periods that were (inconsistently) used at the end of SEE ALSO lists. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
* libsmartcols: support LIBSMARTCOLS_DEBUG_PADDING=onKarel Zak2016-09-071-0/+2
| | | | | | | | | | | | This env.variable forces libsmartcols to use visible padding chars. The standard debug has to be enabled (to minimize overhead for non-debug execution). For example: $ LIBSMARTCOLS_DEBUG=all LIBSMARTCOLS_DEBUG_PADDING=on findmnt 2> ~/log Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add --wipe-partitions=auto|never|defaultKarel Zak2016-05-041-0/+12
| | | | | | | | | | | | | The option allows to remove filesystes/RAIDs from newly created partitions before the partition table is updated (and partition device created). The default is "auto" in this case wipe is enabled in interactive mode only and user's confirmation (yes/no dialog) is required. Note that keep filesystem signature on partition is pretty valid use-case, so we don't erase anything by default. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: miscellaneous tiny tweaks of man pagesBenno Schulenberg2016-03-171-4/+4
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* fdisk, sfdisk: adjust the wording of the --wipe optionBenno Schulenberg2016-03-081-6/+7
| | | | | | | Use "when" as argument, to match the argument of --color, that can have the same three values. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* fdisk, sfdisk: adjust some formatting in the man pagesBenno Schulenberg2016-03-081-3/+3
| | | | | | | Only the optional argument should be in italics, the literal = should be bold. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* fdisk: add --wipeKarel Zak2016-02-181-0/+10
| | | | | | | | | | | | | | This patch changes fdisk behavior and it wipes foreign signatures from the device to avoid collisions. The wipe functionality is automatically enabled in the interactive mode only (user is always warned about it), otherwise it's possible to control all by --wipe <auto|never|always>. The program does not change behavior when executed in scripts (echo <something> | fdisk), the option "--wipe=always" is required to enable in this case. Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add --protect-bootKarel Zak2015-04-131-0/+4
| | | | | | | | Now fdisk erases the begin of the device when create a new disk label, it seems like disadvantage for some use-cases. Reported-by: Jean-Loup 'clippix' Bogalho <clippix@lse.epita.fr> Signed-off-by: Karel Zak <kzak@redhat.com>
* colors: cleanup man pages, add hint to usage()Karel Zak2015-02-251-2/+4
| | | | | | | | cfdisk, fdisk, calm dmesg and hexdump Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: add info about *_DEBUG= to man pagesKarel Zak2015-02-031-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: restore minus symbols in long optsJ William Piggott2015-01-211-1/+1
| | | | Signed-off-by: J William Piggott <elseifthen@gmx.com>
* docs: don't use bold or italics for "[option]" in synopsis of man pagesBenno Schulenberg2014-12-191-1/+1
| | | | | | | As per the convention shown in Documentation/howto-man-page.txt. Also make a few other tiny adjustments along the way. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* fdisk: add support for sfdisk scriptsKarel Zak2014-11-121-0/+13
| | | | | | | | | New commands 'I' and 'O' allows to read and write sfdisk compatible scripts by fdisk. It means that you can save your work (partition table) and later use it (in fdisk, sfdisk or cfdisk) to create a new partition table. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update info about env debug variablesKarel Zak2014-11-031-1/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add section about sizes to the man pageKarel Zak2014-10-231-0/+17
| | | | | Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594005 Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add --output <list> for print command(s)Karel Zak2014-10-071-0/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: don't use --geom-* prefix for CHS optionsKarel Zak2014-06-301-3/+3
| | | | | | | We already use --cylinders, --heads and --sectors for sfdisk, let's make new fdisk option compatible. Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add long options, cleanup man page and usage()Karel Zak2014-06-251-28/+27Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: support colors customizationKarel Zak2014-05-131-8/+19
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add note about colors to the man pageKarel Zak2014-03-111-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: ove fdisks to disk-utilsKarel Zak2014-03-111-0/+272
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.9i tarball.Karel Zak2006-12-071-213/+0Star
|
* Imported from util-linux-2.8 tarball.Karel Zak2006-12-071-87/+134
|
* Imported from util-linux-2.7.1 tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.5 tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.2 tarball.Karel Zak2006-12-071-0/+166