summaryrefslogtreecommitdiffstats
path: root/disk-utils/partx.8
Commit message (Collapse)AuthorAgeFilesLines
* partx: document -d vs. --nr and fix testHEADmasterKarel Zak2019-08-211-1/+4
| | | | | | | | | | The commit ab025087f91b66ee8e23a16bc49eb0d9bd421d65 has disabled error message, but unfortunately it keeps wrong return code. This has been fixed by commit 53ae7d60cfeacd4e87bfe6fcc015b58b78ef4555. This commit add hit about it to docs and fix regression test too. Signed-off-by: Karel Zak <kzak@redhat.com>
* man: Use the correct macro for a font change of one argumentBjarni Ingi Gislason2018-05-231-2/+2
| | | | | | | | Use the correct macro (I, B) for the font change of one argument, not those that are used for alternating two fonts, like "BR", "IR", "RB", or "RI". Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
* partx: add --output-all optionSami Kerola2018-05-031-0/+3
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* partx: add --list-types optionSami Kerola2017-05-031-14/+4Star
| | | | | | | Use libblkid as the source of truth what partition type names exist, and are supported. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: update disk-utilsSami Kerola2017-04-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdformat: Add --from, --to, and --repair options. Commit: e0402441a143533d33d3c450471b2cd655407d77 fdisk: Add --output [1], --bytes [2], --wipe [3], --wipe-partition [4], and remove --geom- from from --cylinders, --heads, --sector options [5]. Commit [1]: fff8ad5882308825a131c645e4d28bcaef943351 Commit [2]: 354f8cc8cf06de44656fb83705c57062d04d1565 Commit [3]: cb9a4b0033eca429689a403be2a192fe2842f2e9 Commit [4]: ba465623d84b9e330f248a477d078b5f280b7943 Commit [5]: 4b4e391a28b4dfeb69781c20190bffe8622d1907 fsck.cramfs: Broken since first commit. Commit: bf60993cf2442f67bd47bcfcf6bd49c7392c2ba1 mkswap: Provide random uuid when completing --uuid argument. partx: Add --sector-size option. Fix also list of known partition types to match with libblkid blkid_idinfo names. The fix is also applied to manual page. Commit: f8a4a0d4f2fd569252029bd004e24ee433b43fe8 Reference: git grep -A 4 blkid_idinfo libblkid/src/partitions | grep name sfdisk: Add --reoder, --delete, --mode-dataa, -no-tell-kernel, --wipe, and --wipe-partitions options. In same go fix some option argument completions. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* partx: add --sector-size optionKarel Zak2017-01-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /dev/sdc is 4K disk: # fdisk -l /dev/sdc Disk /dev/sdc: 100 MiB, 104857600 bytes, 25600 sectors ... Device Boot Start End Sectors Size Id Type /dev/sdc1 1024 25599 24576 96M 83 Linux let's use it as disk image: # dd if=/dev/sdc of=~/sdc.img # losetup -f ~/sdc.img old version: # partx --show /dev/loop0 NR START END SECTORS SIZE NAME UUID 1 1024 25599 24576 12M 6a4ba75b-01 new version: # partx --show /dev/loop0 --sector-size 4096 NR START END SECTORS SIZE NAME UUID 1 8192 204799 196608 96M 6a4ba75b-01 Addresses: https://github.com/karelzak/util-linux/issues/396 Signed-off-by: Karel Zak <kzak@redhat.com>
* man: fix couple tools/checkmans.sh warningsSami Kerola2017-01-101-1/+1
| | | | | | | | | | <standard input>:407: warning: macro `fi.' not defined (possibly missing space after `fi') From: cat ./disk-utils/fsck.8 | troff -mandoc -ww -z <standard input>:71: warning: escape character ignored before `1' From: cat ./disk-utils/partx.8 | troff -mandoc -ww -z Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* 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>
* partx: fix --nr usageKarel Zak2016-03-221-1/+1
| | | | | Reported-by: Serge van den Boom <serge+util-linux@vdboom.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: make the wording of the partx man page a bit more preciseBenno Schulenberg2015-01-121-16/+19
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* partx: add --update to ul_excl_twq listKarel Zak2015-01-121-3/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: adjust some formatting and wordings in a handful of man pagesBenno Schulenberg2014-12-191-60/+69
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: don't use bold or italics for "[option]" in synopsis of man pagesBenno Schulenberg2014-12-191-2/+9
| | | | | | | 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>
* docs: update info about env debug variablesKarel Zak2014-11-031-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: fix inconsistencies in man pagesSteven Honeyman2014-08-061-2/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* partx: Improve the typesetting of the manualBjarni Ingi Gislason2014-04-221-17/+17
| | | | | | | | | | | | | | | | | | | | | | Add a space character around '|' (means "or") Add "(hyphen-minus)" after "\-" to show character name for input Change '\-\-' to '\en', when it is used as a dash (pause, separation) Add a comma before "or" in a series of words (3 or more) Change '-' to '\(en' (an en-dash), if it means a range Protect a full stop (.), that begins or ends a string, with \& Change '--' to '\-\-', if it indicates an option Change '-' to '\-', if it indicates an option Change '-' to '\-', if means a minus Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
* docs: standardize the phrases for --help and --version in all man pagesBenno Schulenberg2013-10-151-1/+1
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* partx: add update commandPhillip Susi2012-12-191-2/+4
| | | | | | | Update the kernel partition table to match what is on disk. Remove any extra partitions and add any missing ones. Signed-off-by: Phillip Susi <psusi@ubuntu.com>
* blkid: document LIBBLKID_DEBUG usersDavidlohr Bueso2012-09-041-0/+3
| | | | | | | Update the manpages of programs that use this environment variable for extra debugging information. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* build-sys: move partx to disk-utils/Karel Zak2012-06-261-0/+173
Signed-off-by: Karel Zak <kzak@redhat.com>