summaryrefslogtreecommitdiff
path: root/partprobe
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+2
| | | | By running make update-copyright
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-1/+1
| | | | By running make update-copyright
* partprobe: Open the device once for probingBrian C. Lane2016-12-221-0/+5
| | | | | | Previously there were 3 open/close pairs for the device, which may result in triggering extra udev actions. Instead, open it once at the start of process_dev and close it at the end.
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* partprobe: do not skip loop labelsPhillip Susi2014-05-221-3/+1
| | | | | Partprobe was not syncing loop labels. This resulted it failing to remove existing partitions when switching to a loop label.
* maint: update all copyright year number rangesJim Meyering2013-01-061-1/+1
| | | | Run "make update-copyright".
* partprobe: remove partitions when there is no partition tablePetr Uzel2012-10-161-5/+16
| | | | | | | | | When partprobe detects no partition table on a device, it should tell the kernel to drop partitions on that device, but it did not. * parted/partprobe.c (process_dev): When ped_disk_probe fails, create a dummy (empty) partition table and use that. * NEWS (Bug fixes): Mention it. Addresses: https://bugzilla.novell.com/783419
* partprobe: remove --no-update long optionPetr Uzel2012-10-151-3/+0
| | | | | It was deprecated and scheduled for removal in 2009. * partprobe/partprobe.c (long_options): Remove "no-update" entry.
* build: prefer $(AM_CPPFLAGS) over $(INCLUDES)Stefano Lattarini2012-08-301-1/+1
| | | | | | | | | | | | | | | The latter is obsolete, and might be removed in future Automake versions. Moreover, it's already been removed in Automake-NG, so its use would make a port to Automake-NG more difficult. * parted/Makefile.am (INCLUDES): Rename ... (AM_CPPFLAGS): ... like this. * partprobe/Makefile.am: Likewise. * libparted/fs/Makefile.am: Likewise. * libparted/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise. Copyright-paperwork-exempt: yes
* 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.
* build: insert -I$(top_builddir)/include before -I$(top_srcdir)/includeKeshav P R2012-01-101-1/+2
| | | | | | | | | | | | | everywhere, for those who perform non-srcdir builds from a pristine cloned directory. There is no problem when building from a tarball, since that includes include/parted/*.h files under $(top_srcdir). * libparted/Makefile.am: Insert it. * libparted/fs/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. * tests/Makefile.am: Likewise.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* maint: update copyright year ranges to include 2011Jim Meyering2011-02-221-1/+1
| | | | Run "make update-copyright".
* doc: use a valid http:.../AUTHORS URLJim Meyering2010-04-271-1/+1
| | | | | | | | | * debug/clearfat/clearfat.c (AUTHORS): Point to the git repo. * parted/parted.c (AUTHORS): Likewise. * partprobe/partprobe.c (AUTHORS): Likewise. * parted/parted.c: Include "version.h". (_version): Use Version, not VERSION.
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-081-1/+1
| | | | Run this command: make update-copyright
* maint: update most copyright year lists to include 2009Jim Meyering2009-09-291-1/+1
| | | | | | I used this command: make update-copyright \ UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1
* build: enable many warningsJim Meyering2009-07-241-0/+1
| | | | | | | | | | | | * configure.ac: New configure-time option: --enable-gcc-warnings. * bootstrap.conf: Use gnulib modules: warnings manywarnings. * debug/Makefile.am: Define AM_CFLAGS. * libparted/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. * debug/clearfat/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise.
* build: avoid new warningsJim Meyering2009-07-241-2/+2
| | | | | | | | | * debug/clearfat/clearfat.c (usage): Declare static. * partprobe/partprobe.c (usage): Likewise. * libparted/cs/natmath.c (abs_mod, extended_euclid): Declare static. * libparted/timer.c (PED_TIMER_START_DELAY): Remove unused definition. * libparted/unit.c (ped_unit_format_custom_byte): Remove an unnecessary cast-to-double.
* libparted: link with gnulibJim Meyering2009-06-031-1/+0
| | | | | | | | | | | | | * libparted/Makefile.am (libparted_la_LIBADD): Add $(top_builddir)/lib/libparted.la to the list. * partprobe/Makefile.am (partprobe_LDADD): Remove now-unneeded $(top_builddir)/lib/libparted.la. * libparted/tests/Makefile.am (LDADD): Remove now-unneeded $(top_builddir)/lib/libparted.la. * debug/clearfat/Makefile.am (clearfat_LDADD): Likewise. * parted/Makefile.am (parted_LDADD): Likewise. Otavio Salvador reported that linking with the resulting shared library produced an unresolved reference to last_component.
* portability: use last_component, not basenameJim Meyering2009-03-051-1/+1
| | | | | | | | | | | * libparted/arch/linux.c (read_device_sysfs_file): Use last_component from gnulib's basename module, not the less-portable "basename" function. (_device_get_partition_range): Likewise. Reported by Karel Zak. * debug/clearfat/Makefile.am (clearfat_LDADD): Link gnulib *after* libparted, not before. * partprobe/Makefile.am (partprobe_LDADD): Likewise. * parted/Makefile.am (parted_LDADD): Likewise.
* use gnulib's progname moduleJim Meyering2008-06-051-5/+3
| | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add progname. * debug/clearfat/clearfat.c: Include "progname.h". (main): Call set_program_name rather than setting program_name. * parted/parted.c: Likewise. * partprobe/partprobe.c: Likewise. * libparted/tests/disk.c: Include "progname.h" and call set_program_name even though program_name isn't used, yet. * libparted/tests/label.c: Likewise.
* Set partprobe's text domain.Benno Schulenberg2007-08-161-0/+5
| | | | * partprobe/partprobe.c (main): Set textdomain.
* Updated GPL license boilerplate.David Cantrell2007-07-231-3/+2
|
* partprobe: new option: --dry-run, synonym for now-deprecated --no-update; ↵Benno Schulenberg2007-05-161-6/+9
| | | | improve its description
* Use <config.h> consistently, not "config.h".Jim Meyering2007-03-071-1/+1
| | | | | * Makefile.cfg (local-checks-to-skip): Remove sc_require_config_h, to enable the "make distcheck" test for this.
* Make partprobe accept --help and --version options.Jim Meyering2007-03-051-46/+81
| | | | | | | | | | | Add long options: --no-update (same as existing -d), and --summary (same as existing -s). * partprobe/partprobe.c Include configmake.h, getopt.h, and NLS-related things. (main): Rewrite option handling. Along the way, fix a bug whereby "partprobe DEV1 DEV2 ... DEVN" would exit successfully whenever process_dev (DEVN) returns nonzero, even when that function fails for each of the preceding devices.
* Use $(VAR), rather than obsolescent @VAR@ automake notation.Jim Meyering2007-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the makefile-check rule. * Makefile.cfg: Remove makefile-check from the list of rules to skip. * Makefile.am: change e.g., @VERSION@ to $(VERSION). * debug/clearfat/Makefile.am: Likewise. * libparted/Makefile.am: Likewise. * libparted/fs/Makefile.am: Likewise. * libparted/fs/amiga/Makefile.am: Likewise. * libparted/fs/bfs/Makefile.am: Likewise. * libparted/fs/ext2/Makefile.am: Likewise. * libparted/fs/fat/Makefile.am: Likewise. * libparted/fs/hfs/Makefile.am: Likewise. * libparted/fs/jfs/Makefile.am: Likewise. * libparted/fs/linux_swap/Makefile.am: Likewise. * libparted/fs/ntfs/Makefile.am: Likewise. * libparted/fs/reiserfs/Makefile.am: Likewise. * libparted/fs/ufs/Makefile.am: Likewise. * libparted/fs/xfs/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. The above conversion caused a problem: * libparted/Makefile.am: Remove this recursive definition: LIBS = @INTLLIBS@ @LIBS@. Once converted to LIBS = ...$(LIBS), GNU make would (rightly) fail, objecting to the recursive definition. (libparted_la_LIBADD): Instead, add $(INTLLIBS) here.
* Add -I$(top_srcdir)/lib, required for new use of close_stdout.Jim Meyering2007-02-271-1/+1
| | | | * partprobe/Makefile.am (partedincludedir):
* partprobe: Detect/report any error when writing to stdout.Jim Meyering2007-02-252-8/+25
| | | | | | | | | | | | | * partprobe/Makefile.am (partprobe_LDADD): Add lib/libparted.la. * partprobe/partprobe.c: Include "closeout.h" for close_stdout. Include "version-etc.h" for version_etc prototype. Declare global, program_name. (PROGRAM_NAME, AUTHORS): Define. (help): Use PROGRAM_NAME, rather than hard-coding it. (version): Use gnulib's version_etc. (main): Set program_name. Use atexit to close stdout carefully upon exit.
* Introduced MAINTAINERCLEANFILES in Makefile.am for carrying out 'make ↵Debarshi Ray2007-02-191-0/+1
| | | | maintainer-clean'.
* Fix ChangeLogAnant Narayanan2006-09-142-0/+174
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@820 2d424fd7-7fe2-0310-af74-8bc65edeb173