summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* parted: add type commandArvin Schnell2022-05-132-0/+25
| | | | | | | | | Include the partition type-id and type-uuid in the JSON output. Also add the the command 'type' to set them. Remove redundant flags from DosPartitionData and use only the system variable. Signed-off-by: Brian C. Lane <bcl@redhat.com>
* doc: Add KiB and mention rescue in documentationBrian C. Lane2022-03-282-2/+2
|
* maint: Update copyright statements to 2022Brian C. Lane2022-03-233-3/+3
| | | | By running make update-copyright
* doc: Add bios_grub to parted manpageBrian C. Lane2021-12-011-1/+1
|
* docs: Update documentation to be consistentBrian C. Lane2021-10-062-53/+148
| | | | | | | | | This fixes some missing commands in the parted.texi file used to generate the web manual and info document. It also removes documentation for the never-implemented 'print NUMBER' command which only returns 1. The parted manpage has been updated to document the available print options, disk_set, and disk_toggle commands.
* doc: Document gpt linux-home flagBrian C. Lane2021-09-302-1/+6
|
* parted: Add --json cmdline switch to output JSONArvin Schnell2021-08-252-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This outputs the disk's details as a JSON object. eg. a disk image with a single partition from 1M to 100M: { "disk": { "path": "/root/disk1.img", "size": "2097152s", "model": "", "transport": "file", "logical-sector-size": 512, "physical-sector-size": 512, "label": "gpt", "max-partitions": 128, "partitions": [ { "number": 0, "start": "34s", "end": "2047s", "size": "2014s", "type": "free" },{ "number": 1, "start": "2048s", "end": "200703s", "size": "198656s", "type": "primary", "name": "root" },{ "number": 0, "start": "200704s", "end": "2097118s", "size": "1896415s", "type": "free" } ] } } Signed-off-by: Brian C. Lane <bcl@redhat.com>
* libparted: Add swap flag to msdos disklabelBrian C. Lane2021-08-101-2/+2
| | | | | | | | | Previously you had to set the filesystem type to one of the linux-swap options at creation time. With this change you can now toggle the partition swap type using the 'swap' partition flag in the same way that you can on gpt disklabels. Thanks to Arvin Schnell for this patch.
* doc: Document --fix flagCristian Klein2021-01-282-0/+9
| | | | | | Also fix copyright year, to please `make syntax-check`. Signed-off-by: Brian C. Lane <bcl@redhat.com>
* maint: Update copyright statements to 2021Brian C. Lane2021-01-183-3/+3
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-113-3/+3
| | | | By running make update-copyright
* libparted: Add support for bls_boot to GPT disksBrian C. Lane2019-12-201-0/+4
| | | | | | This sets the partition GUID to bc13c2ff-59e6-4262-a352-b275fd6f7172 to indicate that the partition is a Boot Loader Specification compatible /boot partition.
* libparted: Add support for MSDOS partition type bls_boot (0xea)Brian C. Lane2019-12-201-1/+1
| | | | | This type is used by the Boot Loader Specification to identify a compatible /boot boot partition.
* libparted: Add ChromeOS Kernel partition flagAlper Nebi Yasak2019-12-202-1/+5
| | | | | | | | | | | | | | | | | | | | This adds a GPT-only partition type flag, chromeos_kernel, for use on Chrome OS machines, with GUID FE3A2A5D-4F32-41A7-B725-ACCC3285A309. The firmware/bootloader in these machines relies on special images being written to partitions of this type. Among multiple such partitions, it decides which one it will boot from based on the GUID-specific partition attributes. This patch is not intended to and does not manipulate these bits. Google refers to these partitions as "ChromeOS kernel" partitions. They also define partitions for rootfs, firmware, and a reserved one; but these are not necessary for the boot flow and are not included here. Relevant ChromiumOS documentation: https://www.chromium.org/chromium-os/chromiumos-design-docs/disk-format Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
* maint: Update copyright statements to 2019Brian C. Lane2019-08-124-3/+4
| | | | By running make update-copyright
* doc: Create po directory if missingBrian C. Lane2019-08-091-0/+1
| | | | | When running 'make distcheck' the directory tree it uses is created without the po directory. Create it if it is missing.
* Added support for Windows recovery partition (WINRE) on MBRHans-Joachim Baader2019-01-312-3/+3
| | | | | | | | | Windows 10 uses a recovery partition which is sometimes marked with partition type 0x27 on MBR systems. It wasn't possible to handle such a partition with parted. Therefore the partition type PARTITION_MSFT_RECOVERY is now used properly also on MBR when the flag msftres is set. Signed-off-by: Brian C. Lane <bcl@redhat.com>
* docs: Update GNU License version in parted .text filesBrian C. Lane2019-01-302-6/+6
|
* Add udf to t1700-probe-fs and to the manpageBrian C. Lane2018-10-161-1/+1
| | | | | If mkfs.udf is installed this will test to make sure that the filesystem is detected.
* build: Remove unused traces of dynamic loadingColin Watson2018-06-051-15/+0
| | | | | | | | | Now that file system operations have been removed from libparted, libreiserfs is no longer used. Remove references to it, along with the dynamic loading build infrastructure which was only used for libreiserfs. Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
* doc: Add information about quotingBrian C. Lane2016-12-222-2/+6
| | | | | | | Some shells (bash) will strip off the " so it needs to be wrapped in '' to prevent it. eg. parted -s ./disk.img mkpart '"EFI System Partition"' 1M 500M
* doc: Cleanup mkpart manpage entry (#1183077)Brian C. Lane2016-12-222-5/+5
|
* docs: Improve partition description in parted.texiGareth Randall2016-09-301-5/+31
|
* docs: Add list of filesystems for fs-type (#1311596)Brian C. Lane2016-04-121-0/+2
| | | | | | Add the most common filesystem types to the parted manpage. Resolves: rhbz#1311596
* doc: Fix url for LWN articleBrian C. Lane2015-06-241-1/+1
| | | | Removed an extra http:// from it.
* Update manpage NAME so whatis will workBrian C. Lane2015-03-231-1/+1
|
* maint: correct a POT-file updating ruleJim Meyering2014-06-231-0/+1
| | | | | * doc/C/Makefile.am (updatepo): If there is no po/$name.pot, create an empty one. Reported by Philip Susi.
* Document resizepart commandPhillip Susi2014-06-152-0/+20
|
* maint: fix "make syntax-check" nitsJim Meyering2014-05-281-1/+1
| | | | | | | | | | | | | | | | * doc/parted.texi: Update copyright year to 2014. * tests/gpt-header-move.py: Remove empty line at EOF. * tests/t0281-gpt-grow.sh: Correct reversed args to compare. * tests/t0282-gpt-move-backup.sh: Likewise. * libparted/labels/gpt.c (gpt_partition_set_name): Change "Can not" to "failed to" in diagnostic. (gpt_partition_get_name): Likewise. * tests/t1102-loop-label.sh (dev): Remove trailing space in here document that creates expected output, and strip that same trailing space from actual output. * libparted/fs/jfs/jfs.c: Do not cast alloca return value. * libparted/fs/reiserfs/reiserfs.c: Likewise. * libparted/fs/xfs/xfs.c: Likewise.
* maint: run "make update-copyright"Jim Meyering2014-05-252-2/+2
|
* libparted: Recognize btrfs filesystemBrian C. Lane2014-03-021-0/+1
| | | | | | | | | | | | Add support for showing 'btrfs' in the 'file system' column. Also allows the used to enter btrfs as the fs type. It doesn't really do anything -- just sets the partition type to linux. * NEWS (Changes in behavior): Mention it. * doc/parted.texti: Document btrfs fs. * (libparted/fs/Makefile.am): Add btrfs.c * (libparted/fs/btrfs/btrfs.c): Probe for btrfs * (libparted/libparted.c): Register btrfs
* libparted: Add UEFI System Partition flag.Brian C. Lane2014-03-022-1/+5
| | | | | | | | | | | | | | | | | | | | | | | This adds support for the ESP partition type on MS-DOS. It also aliases it to the boot flag on GPT which sets the ESP GUID type. * NEWS (New Features): Mention it. * doc/C/parted.8: Document esp flag. * doc/parted.texti: Document esp flag. * include/parted/disk.in.h (_PedPartitionFlag): Add PED_PARTITION_ESP flag * libparted/disk.c (ped_partition_flag_get_name): Add esp flag * libparted/labels/dos.c (DosPartitionData): Likewise (raw_part_parse): Likewise (msdos_partition_new): Likewise (msdos_partition_duplicate): Likewise (msdos_partition_set_system): Likewise (clear_flags): Likewise (msdos_partition_set_flag): Likewise (msdos_partition_get_flag): Likewise (msdos_partition_is_flag_available): Likewise * libparted/labels/gpt.c (gpt_partition_set_flag): Add PED_PARTITION_ESP (gpt_partition_get_flag): Likewise (gpt_partition_is_flag_available): Likewise
* libparted: Add Intel Rapid Start Technology partition flag.Brian C. Lane2014-03-022-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the irst partition type flag. Sets the type to 0x84 on MS-DOS and D3BFE2DE-3DAF-11DF-BA-40-E3A556D89593 on GPT. * NEWS (New Features): Mention it. * doc/C/parted.8: Document irst flag. * doc/parted.texti: Document irst flag. * include/parted/disk.in.h (_PedPartitionFlag): Add PED_PARTITION_IRST flag * libparted/disk.c (ped_partition_flag_get_name): Add irst flag * libparted/labels/dos.c (DosPartitionData): Likewise (raw_part_parse): Likewise (msdos_partition_new): Likewise (msdos_partition_duplicate): Likewise (msdos_partition_set_system): Likewise (clear_flags): Likewise (msdos_partition_set_flag): Likewise (msdos_partition_get_flag): Likewise (msdos_partition_is_flag_available): Likewise * libparted/labels/gpt.c: Add PARTITION_IRST_GUID (GPTPartitionData): Add irst flag (_parse_part_entry): Likewise (gpt_partition_new): Likewise (gpt_partition_set_system): Likewise (gpt_partition_set_flag): Likewise (gpt_partition_get_flag): Likewise (gpt_partition_is_flag_available): Likewise
* GPT: add support for PReP GUIDDaniel Battaiola Kreling2013-11-231-1/+1
| | | | | | | | | PReP (PowerPC Reference Platform) boot partition is the first partition used in PowerPC platform for containing the bootable kernel or bootloader. The firmware searches for this partition and jumps to it for booting. So far no GUID was specified for this partition type and hence booting from GPT disk was not supported on this platform. A new GUID 9e1a2d38-c612-4316-aa26-8b49521e5a8b for PReP partition is proposed to be included in GPT.
* maint: update all copyright year number rangesJim Meyering2013-01-062-2/+2
| | | | Run "make update-copyright".
* doc: 1MiB-alignment is not enough for cheap flash drivesJim Meyering2013-01-021-5/+34
| | | | | * doc/parted.texi: Add an example that aligns to 4GiB, and reference Arnd Bergman's LWN article.
* maint: regenerate .po, .pot filesJim Meyering2012-10-172-57/+85
|
* maint: use $(AM_V_GEN) to cut down on build noiseJim Meyering2012-10-172-5/+5
| | | | | * doc/Makefile.am: Prefix each rule with $(AM_V_GEN). * doc/po4a.mk (dist_man_MANS): Likewise.
* doc: update partprobe manpagePetr Uzel2012-10-151-6/+7
| | | | | * doc/C/partprobe.8: Add long options, REPORTING BUGS section and adjust DESCRIPTION section because it wasn't quite correct.
* add support for a new Linux-specific GPT partition type codeRoderick W. Smith2012-09-291-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: Describe the new Linux-specific partition type code and the new msftres flag that can be used to override this type code, should it be necessary. * doc/parted.texi: Describe of the new msftres flag. * include/parted/disk.in.h [_PedPartitionFlag]: Add PED_PARTITION_MSFT_DATA. * libparted/disk.c: Add check for PED_PARTITION_MSFT_DATA, with return of "msftdata", to ped_partition_flag_get_name() * libparted/labels/gpt.c (PARTITION_LINUX_DATA_GUID): Define. [_GPTPartitionData]: New member, "int msftdata". (_parse_part_entry): Set the msftdata flag if and only if the PARTITION_BASIC_DATA_GUID type code is in use; (gpt_partition_new): Use the PARTITION_LINUX_DATA_GUID type as the default type code (gpt_partition_set_system): Set the PARTITION_BASIC_DATA_GUID type code on partitions on which the msftdata flag is set and set PARTITION_LINUX_DATA_GUID as the type by default. Clear the msftdata flag in most tests in gpt_partition_set_flag() (gpt_partition_set_flag): Add test for PED_PARTITION_MSFT_DATA, which sets msftdata and other flags appropriately (gpt_partition_get_flag): Add test for the PED_PARTITION_MSFT_DATA item that returns the status of the msftdata flag (gpt_partition_is_flag_available): Add test for PED_PARTITION_MSFT_DATA item to * tests/t0220-gpt-msftres.sh: Accommodate the fact that now, partition table listings include "msftdata" for file systems of type NTFS and FAT*. For more discussion and justification, see http://thread.gmane.org/gmane.comp.gnu.parted.bugs/10456
* maint: avoid new syntax-check failure re @xrefJim Meyering2012-08-282-3/+3
| | | | | | * doc/parted.texi: Adjust @xref usage: it must be used only at start of sentence. * doc/parted-pt_BR.texi: Likewise.
* build,test: update gnulib, bootstrap and init.shJim Meyering2012-02-181-1/+1
| | | | | | | | | * bootstrap: Update. * tests/init.sh: Update. * gnulib: Update. * doc/po4a.mk: Updating gnulib pulls in newer syntax-check rules, including one that rejects @lower_case@ variables in Makefiles. Fix the sole violation: s/@mandir@/$(mandir)/
* doc: update parted documentationBrian C. Lane2012-02-021-0/+31
| | | | * doc/parted.text: Add disk_set command.
* maint: remove "MAINTAINERCLEANFILES = Makefile.in" from Makefile.am'sJim Meyering2012-01-113-8/+0
| | | | | | | | | | | | | | * debug/Makefile.am: As above. * debug/test/Makefile.am: Likewise. * doc/C/Makefile.am: Likewise. * doc/pt_BR/Makefile.am: Likewise. * include/Makefile.am: Likewise. * include/parted/Makefile.am: Likewise. * libparted/Makefile.am: Likewise. * libparted/fs/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. * doc/Makefile.am: Likewise, for mdate-sh and texinfo.tex.
* build: update to latest from gnulibJim Meyering2012-01-095-502/+8
| | | | | | | | | | | | | | | | | | | | | | | * bootstrap: Update. * tests/init.sh: Likewise. * gnulib: Update submodule to latest. maint: remove two generated files in doc/ * doc/fdl.texi: Remove file from version control. It is generated. * doc/gendocs_template: Likewise. * doc/parted.texi: Add @node ... before inclusion of fdl.texi, since fdl.texi dropped that part. * doc/parted-pt_BR.texi: Likewise. * doc/.gitignore: Update. build: accommodate newer bootstrap from gnulib * bootstrap.conf (gnulib_tool_option_extras): Add both --symlink and --makefile-name=gnulib.mk. Remove stray use of $bt. * lib/Makefile.am: Initialize all of the following so that generated code in gnulib.mk may use += to append to those variables: AM_CFLAGS, AM_CPPFLAGS, BUILT_SOURCES, CLEANFILES, EXTRA_DIST, MAINTAINERCLEANFILES, MOSTLYCLEANDIRS, MOSTLYCLEANFILES, SUFFIXES, noinst_LTLIBRARIES.
* maint: update all copyright year number rangesJim Meyering2012-01-015-5/+5
| | | | Run "make update-copyright".
* doc: update manpagePetr Uzel2011-10-031-65/+21
| | | | | | | Remove documentation for removed commands, adjust general description to match parted's capabilities, add documentation for 'toggle' and 'align-check' commands. Remove 'KNOWN ISSUES' section since it no longer applies.
* doc: reflect removal of FS-related commandsJim Meyering2011-05-271-231/+20
| | | | | | | * README (WARNING): Say that all FS-manipulation code is now gone. * doc/parted.texi (Command explanations): Remove descriptions of and any examples or references to the following commands: check, cp, mkfs, mkpartfs, move, resize.
* doc: remove FS-related documentation and other stale bitsJim Meyering2011-05-271-96/+9
| | | | | * doc/parted.texi: Remove FS-related documentation and other stale bits.
* maint: s/can not/cannot/ in a comment and documentationJim Meyering2011-04-141-1/+1
| | | | | | Without this, a new "make syntax-check" rule would fail. * libparted/filesys.c: s/can not/cannot/ * doc/parted-pt_BR.texi (BIOSes and Firmware): Likewise.