summaryrefslogtreecommitdiff
path: root/doc/C
Commit message (Collapse)AuthorAgeFilesLines
* doc: Add KiB and mention rescue in documentationBrian C. Lane2022-03-281-1/+1
|
* doc: Add bios_grub to parted manpageBrian C. Lane2021-12-011-1/+1
|
* docs: Update documentation to be consistentBrian C. Lane2021-10-061-3/+13
| | | | | | | | | 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-301-1/+2
|
* parted: Add --json cmdline switch to output JSONArvin Schnell2021-08-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* doc: Document --fix flagCristian Klein2021-01-281-0/+3
| | | | | | Also fix copyright year, to please `make syntax-check`. Signed-off-by: Brian C. Lane <bcl@redhat.com>
* 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-201-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* 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-311-1/+1
| | | | | | | | | 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>
* 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.
* doc: Add information about quotingBrian C. Lane2016-12-221-1/+3
| | | | | | | 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-221-4/+4
|
* 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
* 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-151-0/+4
|
* libparted: Add UEFI System Partition flag.Brian C. Lane2014-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* maint: regenerate .po, .pot filesJim Meyering2012-10-171-27/+32
|
* 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.
* maint: remove "MAINTAINERCLEANFILES = Makefile.in" from Makefile.am'sJim Meyering2012-01-111-2/+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.
* 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.
* gpt: add legacy_boot partition flagBrian C. Lane2011-02-261-1/+1
| | | | | | | | | | | | | | | | | Add support for the Legacy BIOS Bootable flag in the GPT Attribute field. This is used by software like syslinux to determine which partition to boot when in BIOS mode. See Page 105, Table 19 Bit 2 of the UEFI Spec 2.3 book. * doc/C/parted.8: Document legacy_boot. * doc/parted.texi: Document legacy_boot. * include/parted/disk.h: Add PED_PARTITION_LEGACY_BOOT flag. * libparted/disk.c (ped_partition_flag_get_name): Add legacy_boot flag. * libparted/labels/gpt.c (_parse_part_entry): (_partition_generate_part_entry, gpt_partition_new): (gpt_partition_set_flag, gpt_partition_get_flag): (gpt_partition_is_flag_available): Add legacy_boot flag support.
* doc: regenerate partprobe .pot and .po filesJim Meyering2011-02-261-1/+26
| | | | | * doc/C/po/partprobe.8.pot: Slight syntax update induced by newer tool. * doc/pt_BR/partprobe.8.pt_BR.po: Likewise.
* doc: regenerate two files using gettext-0.18Jim Meyering2010-05-281-1/+2
| | | | | * doc/pt_BR/partprobe.8.pt_BR.po: Regenerate with gettext-0.18. * doc/C/po/partprobe.8.pot: Likewise.
* ui: add --align command-line option to specify mkpart alignmentHans de Goede2009-12-101-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new --align command-line option can have the following values: none: Use the minimum alignment allowed by the disk type cylinder: Align partitions to cylinders (the default) minimal: Use minimum alignment as given by the disk topology information optimal: Use optimum alignment as given by the disk topology information Note the "minimal" and "optimal" values will use layout information provided by the disk to align the logical partition table addresses to actual physical blocks on the disks. The "minimal" value is the minimum aligment needed to align the partition properly to physical blocks, which avoids performance degradation. Whereas the "optimum" alignment align's to a multiple of the physical block size in a way that guarantees optimal performance. The "minimal" and "optimal" values are useful only when parted is compiled with libblkid >= 2.17 and running on a kernel >= 2.6.31, otherwise they are equivalent to --align=none. * parted/parted.c (ALIGNMENT_ enum values): New enum. (options, options_help): Add --align option. (align_args, align_types, alignment): New global variables. (do_mkpart): Honor aligment variable. (_parse_options): handle --align option. * bootstrap.conf (gnulib_modules): Add argmatch. * NEWS: Mention the new --align option. * doc/parted.texi: Document --align option. * doc/C/parted.8: Likewise.
* remove all trailing blanksJim Meyering2009-03-052-3/+3
| | | | | | ...by running these commands: t=$'\t' git grep -l "[ $t]\$"|xargs perl -pi -e 's/[ \t]+$//'
* avoid "make install" failure with latest GNU makeJim Meyering2008-12-231-4/+2
| | | | | | * doc/C/Makefile.am (dist_man8_MANS): Use per-section variable names, as recommended by automake. (man_MANS): Remove redundant definition.
* doc: remove obsolete --interactive (-i) option descriptionsPetr Uzel2008-08-191-3/+0
|
* Document the lack of support for ext3 filesystems.Joel Andres Granados2008-07-181-11/+23
| | | | | | | - doc/C/parted.8: Add a message in the KNOWN ISSUES section that describes the lack of support for ext3. Take out some references that were contained in the man page. - doc/parted.texi: Do the same as above to the info page.
* Add KNOWN ISSUES sectionDavid Cantrell2007-11-061-0/+12
| | | | | Add a KNOWN ISSUES section explaining that ext3 resizing does not work and that you should use resize2fs.
* Added 'rescue', 'unit', and 'version' to the man page, plus some small edits.Benno Schulenberg2007-04-051-39/+55
|
* Patched parted.8 man page to show partition names apply to GPT disk labelsDavid Cantrell2007-03-061-2/+2
| | | | as well as Mac and PC98 disk labels.
* Add a bunch of .gitignore files.Jim Meyering2007-02-251-405/+0
|
* Introduced MAINTAINERCLEANFILES in Makefile.am for carrying out 'make ↵Debarshi Ray2007-02-191-0/+2
| | | | maintainer-clean'.
* Make it so "make distcheck" passes.Jim Meyering2007-02-141-0/+2
| | | | | | | * doc/po4a.mk (updatepo): Don't choke when *.$(lang).po matches no file. * doc/C/Makefile.am (updatepo): Don't do anything when $(srcdir) is not writable. Signed-off-by: Jim Meyering <jim@meyering.net>
* Synchronise manual page and --help documentation.Debarshi Ray2007-01-141-5/+8
|
* Updated i18n information.David Cantrell2007-01-121-46/+57
|
* Update doc/C/parted.8 to document --list.Debarshi Ray2007-01-121-0/+3
|
* Changes done on darcs repository suitable for 1.8 release:Otavio Salvador2006-11-101-2/+2
| | | | | | | | | | | | | | | Wed Nov 8 20:40:43 BRST 2006 Otavio Salvador <otavio@debian.org> * Merge libparted/ChangeLog conflict caused by Subversion syncing Wed Nov 8 21:15:58 BRST 2006 Otavio Salvador <otavio@debian.org> * doc/C/parted.8: small documentation simplification Wed Nov 8 20:09:03 BRST 2006 Otavio Salvador <otavio@debian.org> * libparted/fs/hfs/probe.c: Fix a segmentation fault when running without debug git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@890 2d424fd7-7fe2-0310-af74-8bc65edeb173
* i18n updates for parted-1.8.0.David Cantrell2006-09-152-6/+6
| | | | git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@828 2d424fd7-7fe2-0310-af74-8bc65edeb173
* Fix ChangeLogAnant Narayanan2006-09-145-0/+764
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@820 2d424fd7-7fe2-0310-af74-8bc65edeb173