Imported Upstream version 3.2 upstream/3.2
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 18 Jan 2022 06:22:01 +0000 (15:22 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 18 Jan 2022 06:22:01 +0000 (15:22 +0900)
654 files changed:
.prev-version
.tarball-version
.version
ChangeLog
GNUmakefile
INSTALL
Makefile.am
Makefile.in
NEWS
aclocal.m4
build-aux/announce-gen
build-aux/compile
build-aux/config.guess
build-aux/config.rpath
build-aux/config.sub
build-aux/depcomp
build-aux/do-release-commit-and-tag
build-aux/gendocs.sh
build-aux/git-version-gen
build-aux/gitlog-to-changelog
build-aux/gnu-web-doc-update
build-aux/gnupload
build-aux/install-sh
build-aux/ltmain.sh
build-aux/mdate-sh
build-aux/missing
build-aux/mktempd
build-aux/snippet/_Noreturn.h
build-aux/snippet/arg-nonnull.h
build-aux/snippet/c++defs.h
build-aux/snippet/warn-on-use.h
build-aux/test-driver
build-aux/texinfo.tex
build-aux/update-copyright
build-aux/useless-if-before-free
build-aux/vc-list-files
cfg.mk
configure
configure.ac
debug/Makefile.in
debug/test/HOWTO
debug/test/Makefile.in
doc/C/Makefile.am
doc/C/Makefile.in
doc/C/parted.8
doc/C/partprobe.8
doc/Makefile.am
doc/Makefile.in
doc/parted-pt_BR.texi
doc/parted.info
doc/parted.texi
doc/po4a.mk
doc/pt_BR/Makefile.in
doc/stamp-vti
doc/version.texi
include/Makefile.in
include/parted/Makefile.am
include/parted/Makefile.in
include/parted/constraint.h
include/parted/constraint.in.h
include/parted/crc32.h
include/parted/crc32.in.h
include/parted/debug.h
include/parted/debug.in.h
include/parted/device.h
include/parted/device.in.h
include/parted/disk.h
include/parted/disk.in.h
include/parted/endian.h
include/parted/endian.in.h
include/parted/exception.h
include/parted/exception.in.h
include/parted/fdasd.h
include/parted/fdasd.in.h
include/parted/filesys.h
include/parted/filesys.in.h
include/parted/geom.h
include/parted/geom.in.h
include/parted/natmath.h
include/parted/natmath.in.h
include/parted/parted.h
include/parted/parted.in.h
include/parted/timer.h
include/parted/timer.in.h
include/parted/unit.h
include/parted/unit.in.h
include/parted/vtoc.h
include/parted/vtoc.in.h
lib/Makefile.in
lib/alloca.in.h
lib/argmatch.c
lib/argmatch.h
lib/basename-lgpl.c
lib/basename.c
lib/btowc.c
lib/c-ctype.c
lib/c-ctype.h
lib/c-strcase.h
lib/c-strcasecmp.c
lib/c-strcaseeq.h
lib/c-strncasecmp.c
lib/calloc.c
lib/canonicalize-lgpl.c
lib/close-stream.c
lib/close.c
lib/closeout.c
lib/closeout.h
lib/config.charset
lib/config.h.in
lib/dirname-lgpl.c
lib/dirname.c
lib/dirname.h
lib/dosname.h
lib/errno.in.h
lib/error.c
lib/error.h
lib/exitfail.c
lib/exitfail.h
lib/fcntl.in.h
lib/fd-hook.c
lib/fd-hook.h
lib/fpending.c
lib/fpending.h
lib/fstat.c
lib/fsync.c
lib/getopt.c
lib/getopt.in.h
lib/getopt1.c
lib/getopt_int.h
lib/gettext.h
lib/gettimeofday.c
lib/glthread/lock.c [new file with mode: 0644]
lib/glthread/lock.h [new file with mode: 0644]
lib/glthread/threadlib.c [new file with mode: 0644]
lib/gnulib.mk
lib/intprops.h
lib/inttypes.in.h
lib/langinfo.in.h
lib/localcharset.c
lib/localcharset.h
lib/locale.in.h [new file with mode: 0644]
lib/localeconv.c [new file with mode: 0644]
lib/long-options.c
lib/long-options.h
lib/lseek.c
lib/lstat.c
lib/malloc.c
lib/malloca.c
lib/malloca.h
lib/mbrtowc.c
lib/mbsinit.c
lib/mbtowc-impl.h
lib/mbtowc.c
lib/mkstemp.c
lib/msvc-inval.c
lib/msvc-inval.h
lib/msvc-nothrow.c
lib/msvc-nothrow.h
lib/nl_langinfo.c
lib/pathmax.h
lib/progname.c
lib/progname.h
lib/quote.c [deleted file]
lib/quote.h
lib/quotearg.c
lib/quotearg.h
lib/read.c
lib/readlink.c
lib/realloc.c
lib/ref-add.sin
lib/ref-del.sin
lib/regcomp.c
lib/regex.c
lib/regex.h
lib/regex_internal.c
lib/regex_internal.h
lib/regexec.c
lib/rpmatch.c
lib/safe-read.c
lib/safe-read.h
lib/secure_getenv.c [new file with mode: 0644]
lib/sleep.c
lib/stat.c
lib/stdarg.in.h
lib/stdbool.in.h
lib/stddef.in.h
lib/stdint.in.h
lib/stdio.in.h [new file with mode: 0644]
lib/stdlib.in.h
lib/strcasecmp.c [deleted file]
lib/strdup.c
lib/streq.h
lib/strerror-override.c
lib/strerror-override.h
lib/strerror.c
lib/string.in.h
lib/strings.in.h [deleted file]
lib/stripslash.c
lib/strncasecmp.c [deleted file]
lib/strndup.c
lib/strnlen.c
lib/strtol.c
lib/strtoll.c
lib/strtoul.c
lib/strtoull.c
lib/sys_stat.in.h
lib/sys_time.in.h
lib/sys_types.in.h
lib/tempname.c
lib/tempname.h
lib/time.in.h
lib/unistd.c [new file with mode: 0644]
lib/unistd.in.h
lib/unlink.c
lib/usleep.c
lib/verify.h
lib/version-etc-fsf.c
lib/version-etc.c
lib/version-etc.h
lib/wchar.in.h
lib/wcrtomb.c
lib/wctype-h.c [new file with mode: 0644]
lib/wctype.in.h
lib/xalloc-die.c
lib/xalloc-oversized.h
lib/xalloc.h
lib/xmalloc.c
lib/xstrndup.c
lib/xstrndup.h
lib/xstrtol-error.c
lib/xstrtol.c
lib/xstrtol.h
libparted/Makefile.am
libparted/Makefile.in
libparted/arch/beos.c
libparted/arch/gnu.c
libparted/arch/linux.c
libparted/arch/linux.h
libparted/architecture.c
libparted/architecture.h
libparted/cs/constraint.c
libparted/cs/geom.c
libparted/cs/natmath.c
libparted/debug.c
libparted/device.c
libparted/disk.c
libparted/exception.c
libparted/filesys.c
libparted/fs/Makefile.am
libparted/fs/Makefile.in
libparted/fs/amiga/a-interface.c
libparted/fs/amiga/affs.c
libparted/fs/amiga/affs.h
libparted/fs/amiga/amiga.c
libparted/fs/amiga/amiga.h
libparted/fs/amiga/apfs.c
libparted/fs/amiga/apfs.h
libparted/fs/amiga/asfs.c
libparted/fs/amiga/asfs.h
libparted/fs/btrfs/btrfs.c [new file with mode: 0644]
libparted/fs/ext2/ext2.h
libparted/fs/ext2/ext2_fs.h
libparted/fs/ext2/interface.c
libparted/fs/fat/bootsector.c
libparted/fs/fat/bootsector.h
libparted/fs/fat/count.h
libparted/fs/fat/fat.c
libparted/fs/fat/fat.h
libparted/fs/hfs/hfs.c
libparted/fs/hfs/hfs.h
libparted/fs/hfs/probe.c
libparted/fs/hfs/probe.h
libparted/fs/jfs/jfs.c
libparted/fs/linux_swap/linux_swap.c
libparted/fs/nilfs2/nilfs2.c
libparted/fs/ntfs/ntfs.c
libparted/fs/r/fat/bootsector.c
libparted/fs/r/fat/bootsector.h
libparted/fs/r/fat/calc.c
libparted/fs/r/fat/calc.h
libparted/fs/r/fat/clstdup.c
libparted/fs/r/fat/clstdup.h
libparted/fs/r/fat/context.c
libparted/fs/r/fat/context.h
libparted/fs/r/fat/count.c
libparted/fs/r/fat/count.h
libparted/fs/r/fat/fat.c
libparted/fs/r/fat/fat.h
libparted/fs/r/fat/fatio.c
libparted/fs/r/fat/fatio.h
libparted/fs/r/fat/resize.c
libparted/fs/r/fat/table.c
libparted/fs/r/fat/table.h
libparted/fs/r/fat/traverse.c
libparted/fs/r/fat/traverse.h
libparted/fs/r/filesys.c
libparted/fs/r/hfs/advfs.c
libparted/fs/r/hfs/advfs.h
libparted/fs/r/hfs/advfs_plus.c
libparted/fs/r/hfs/advfs_plus.h
libparted/fs/r/hfs/cache.c
libparted/fs/r/hfs/cache.h
libparted/fs/r/hfs/file.c
libparted/fs/r/hfs/file.h
libparted/fs/r/hfs/file_plus.c
libparted/fs/r/hfs/file_plus.h
libparted/fs/r/hfs/hfs.c
libparted/fs/r/hfs/hfs.h
libparted/fs/r/hfs/journal.c
libparted/fs/r/hfs/journal.h
libparted/fs/r/hfs/probe.c
libparted/fs/r/hfs/probe.h
libparted/fs/r/hfs/reloc.c
libparted/fs/r/hfs/reloc.h
libparted/fs/r/hfs/reloc_plus.c
libparted/fs/r/hfs/reloc_plus.h
libparted/fs/reiserfs/reiserfs.c
libparted/fs/reiserfs/reiserfs.h
libparted/fs/ufs/ufs.c
libparted/fs/xfs/xfs.c
libparted/labels/Makefile.am
libparted/labels/Makefile.in
libparted/labels/aix.c
libparted/labels/bsd.c
libparted/labels/dasd.c
libparted/labels/dos.c
libparted/labels/dvh.c
libparted/labels/dvh.h
libparted/labels/fdasd.c
libparted/labels/gpt.c
libparted/labels/loop.c
libparted/labels/mac.c
libparted/labels/misc.h
libparted/labels/pc98.c
libparted/labels/pt-tools.c
libparted/labels/pt-tools.h
libparted/labels/rdb.c
libparted/labels/sun.c
libparted/labels/vtoc.c
libparted/libparted.c
libparted/mbr.s
libparted/tests/Makefile.am
libparted/tests/Makefile.in
libparted/tests/t1000-label.sh
libparted/tests/t2000-disk.sh
libparted/tests/t2100-zerolen.sh
libparted/tests/t3000-symlink.sh
libparted/timer.c
libparted/unit.c
m4/00gnulib.m4
m4/absolute-header.m4 [new file with mode: 0644]
m4/alloca.m4
m4/assert.m4
m4/btowc.m4
m4/calloc.m4
m4/canonicalize.m4
m4/close-stream.m4
m4/close.m4
m4/closeout.m4
m4/codeset.m4
m4/config-h.m4
m4/configmake.m4
m4/dirname.m4
m4/double-slash-root.m4
m4/dup2.m4
m4/eealloc.m4
m4/environ.m4
m4/errno_h.m4
m4/error.m4
m4/extensions.m4
m4/extern-inline.m4 [new file with mode: 0644]
m4/fchdir.m4 [deleted file]
m4/fcntl-o.m4
m4/fcntl_h.m4
m4/fdopen.m4
m4/fpending.m4
m4/fstat.m4
m4/fsync.m4
m4/getcwd.m4
m4/getdtablesize.m4 [new file with mode: 0644]
m4/getopt.m4
m4/getpagesize.m4
m4/gettext.m4
m4/gettimeofday.m4
m4/glibc21.m4
m4/gnulib-common.m4
m4/gnulib-comp.m4
m4/include_next.m4
m4/inline.m4 [deleted file]
m4/intlmacosx.m4
m4/inttypes-pri.m4
m4/inttypes.m4
m4/langinfo_h.m4
m4/largefile.m4
m4/lcmessage.m4
m4/lib-ignore.m4
m4/lib-ld.m4
m4/lib-link.m4
m4/lib-prefix.m4
m4/libtool.m4
m4/localcharset.m4
m4/locale-fr.m4
m4/locale-ja.m4
m4/locale-tr.m4
m4/locale-zh.m4
m4/locale_h.m4
m4/localeconv.m4 [new file with mode: 0644]
m4/localename.m4
m4/lock.m4
m4/longlong.m4
m4/lseek.m4
m4/lstat.m4
m4/malloc.m4
m4/malloca.m4
m4/manywarnings.m4
m4/mbrtowc.m4
m4/mbsinit.m4
m4/mbstate_t.m4
m4/mbtowc.m4
m4/mkstemp.m4
m4/mmap-anon.m4
m4/mode_t.m4
m4/msvc-inval.m4
m4/msvc-nothrow.m4
m4/multiarch.m4
m4/nl_langinfo.m4
m4/nocrash.m4
m4/o-direct.m4
m4/off_t.m4 [new file with mode: 0644]
m4/open.m4
m4/pathmax.m4
m4/priv-set.m4
m4/putenv.m4
m4/quote.m4
m4/quotearg.m4
m4/read.m4
m4/readlink.m4
m4/realloc.m4
m4/regex.m4
m4/rpmatch.m4
m4/safe-read.m4
m4/secure_getenv.m4 [new file with mode: 0644]
m4/setenv.m4
m4/setlocale.m4
m4/sleep.m4
m4/ssize_t.m4
m4/stat.m4
m4/stdarg.m4
m4/stdbool.m4
m4/stddef_h.m4
m4/stdint.m4
m4/stdio_h.m4
m4/stdlib_h.m4
m4/strcase.m4 [deleted file]
m4/strdup.m4
m4/strerror.m4
m4/strerror_r.m4 [deleted file]
m4/string_h.m4
m4/strings_h.m4 [deleted file]
m4/strndup.m4
m4/strnlen.m4
m4/strtoll.m4
m4/strtoull.m4
m4/symlink.m4
m4/sys_socket_h.m4
m4/sys_stat_h.m4
m4/sys_time_h.m4
m4/sys_types_h.m4
m4/tempname.m4
m4/thread.m4
m4/threadlib.m4
m4/time_h.m4
m4/unistd_h.m4
m4/unlink.m4
m4/unlinkdir.m4
m4/usleep.m4
m4/version-etc.m4
m4/warn-on-use.m4
m4/warnings.m4
m4/wchar_h.m4
m4/wchar_t.m4
m4/wcrtomb.m4
m4/wctob.m4
m4/wctomb.m4
m4/wctype_h.m4
m4/wint_t.m4
m4/xalloc.m4
m4/xstrndup.m4
m4/xstrtol.m4
m4/yield.m4
maint.mk
parted.spec
parted/Makefile.am
parted/Makefile.in
parted/command.c
parted/command.h
parted/parted.c
parted/strlist.c
parted/strlist.h
parted/table.c
parted/table.h
parted/ui.c
parted/ui.h
partprobe/Makefile.am
partprobe/Makefile.in
partprobe/partprobe.c
po/POTFILES.in
po/ca.gmo
po/ca.po
po/cs.gmo
po/cs.po
po/da.gmo
po/da.po
po/de.gmo
po/de.po
po/es.gmo
po/es.po
po/fr.gmo
po/fr.po
po/gl.gmo
po/gl.po
po/id.gmo
po/id.po
po/it.gmo
po/it.po
po/ja.gmo
po/ja.po
po/nl.gmo
po/nl.po
po/nn.gmo
po/nn.po
po/parted.pot
po/pl.gmo
po/pl.po
po/pt.gmo
po/pt.po
po/pt_BR.gmo
po/pt_BR.po
po/ro.gmo
po/ro.po
po/ru.gmo
po/ru.po
po/rw.gmo
po/rw.po
po/sk.gmo
po/sk.po
po/sl.gmo
po/sl.po
po/sr.gmo
po/sr.po
po/sv.gmo
po/sv.po
po/tr.gmo
po/tr.po
po/uk.gmo
po/uk.po
po/vi.gmo
po/vi.po
po/zh_CN.gmo
po/zh_CN.po
po/zh_TW.gmo
po/zh_TW.po
scripts/extract_symvers
tests/Makefile.am
tests/Makefile.in
tests/duplicate.c
tests/gpt-header-move [new file with mode: 0755]
tests/gpt-header-munge
tests/help-version.sh
tests/init.cfg
tests/init.sh
tests/lvm-utils.sh [deleted file]
tests/msdos-overlap [new file with mode: 0755]
tests/print-max.c
tests/t-lib-helpers.sh
tests/t-local.sh
tests/t-lvm.sh
tests/t0000-basic.sh
tests/t0001-tiny.sh
tests/t0010-script-no-ctrl-chars.sh
tests/t0100-print.sh
tests/t0101-print-empty.sh
tests/t0200-gpt.sh
tests/t0201-gpt.sh
tests/t0202-gpt-pmbr.sh
tests/t0203-gpt-create-on-min-sized-device.sh [new file with mode: 0644]
tests/t0203-gpt-shortened-device-primary-valid.sh
tests/t0203-gpt-tiny-device-abort.sh
tests/t0205-gpt-list-clobbers-pmbr.sh
tests/t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh
tests/t0207-IEC-binary-notation.sh
tests/t0208-mkpart-end-in-IEC.sh
tests/t0209-gpt-pmbr_boot.sh
tests/t0210-gpt-resized-partition-entry-array.sh
tests/t0211-gpt-rewrite-header.sh
tests/t0212-gpt-many-partitions.sh
tests/t0220-gpt-msftres.sh
tests/t0250-gpt.sh
tests/t0251-gpt-unicode.sh [new file with mode: 0755]
tests/t0280-gpt-corrupt.sh
tests/t0281-gpt-grow.sh [new file with mode: 0644]
tests/t0282-gpt-move-backup.sh [new file with mode: 0644]
tests/t0283-overlap-partitions.sh [new file with mode: 0644]
tests/t0300-dos-on-gpt.sh
tests/t0301-overwrite-gpt-pmbr.sh [new file with mode: 0755]
tests/t0350-mac-PT-increases-sector-size.sh [new file with mode: 0644]
tests/t0400-loop-clobber-infloop.sh
tests/t0500-dup-clobber.sh
tests/t0501-duplicate.sh
tests/t1100-busy-label.sh
tests/t1101-busy-partition.sh
tests/t1102-loop-label.sh [new file with mode: 0644]
tests/t1104-remove-and-add-partition.sh [new file with mode: 0644]
tests/t1700-probe-fs.sh
tests/t2200-dos-label-recog.sh
tests/t2201-pc98-label-recog.sh
tests/t2300-dos-label-extended-bootcode.sh
tests/t2310-dos-extended-2-sector-min-offset.sh
tests/t2400-dos-hfs-partition-type.sh
tests/t2500-probe-corrupt-hfs.sh
tests/t3000-resize-fs.sh
tests/t3200-resize-partition.sh [new file with mode: 0755]
tests/t3200-type-change.sh
tests/t3300-palo-prep.sh
tests/t3310-flags.sh
tests/t3400-whole-disk-FAT-partition.sh
tests/t4000-sun-raid-type.sh
tests/t4001-sun-vtoc.sh
tests/t4100-dvh-partition-limits.sh
tests/t4100-msdos-partition-limits.sh
tests/t4100-msdos-starting-sector.sh
tests/t4200-partprobe.sh
tests/t4300-nilfs2-tiny.sh
tests/t5000-tags.sh
tests/t6000-dm.sh
tests/t6001-psep.sh
tests/t6002-dm-busy.sh [new file with mode: 0644]
tests/t6003-dm-hide.sh [new file with mode: 0644]
tests/t6004-dm-many-partitions.sh [new file with mode: 0755]
tests/t6005-dm-uuid.sh [new file with mode: 0755]
tests/t6100-mdraid-partitions.sh
tests/t7000-scripting.sh
tests/t8000-loop.sh
tests/t8001-loop-blkpg.sh
tests/t9010-big-sector.sh
tests/t9020-alignment.sh
tests/t9021-maxima.sh
tests/t9022-one-unit-snap.sh
tests/t9023-value-lt-one.sh
tests/t9030-align-check.sh
tests/t9040-many-partitions.sh
tests/t9041-undetected-in-use-16th-partition.sh
tests/t9042-dos-partition-limit.sh
tests/t9050-partition-table-types.sh

index 9f55b2ccb5f234fc6b87ada62389a3d73815d0d1..8c50098d8aed57b02fd10f40a670a7c673b7c5a5 100644 (file)
@@ -1 +1 @@
-3.0
+3.1
index 8c50098d8aed57b02fd10f40a670a7c673b7c5a5..a3ec5a4bd3d7209b4a687a77cad49b945339994b 100644 (file)
@@ -1 +1 @@
-3.1
+3.2
index 8c50098d8aed57b02fd10f40a670a7c673b7c5a5..a3ec5a4bd3d7209b4a687a77cad49b945339994b 100644 (file)
--- a/.version
+++ b/.version
@@ -1 +1 @@
-3.1
+3.2
index d479906f2bfcd83d0ac7a7df42daf6690695a44e..17babec6d4aaaeeeab58b5bd60f83d1e2fdeb3a0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2014-07-28  Phillip Susi  <psusi@ubuntu.com>
+
+       version 3.2
+       * NEWS: Record release date.
+
+2014-07-27  Phillip Susi  <psusi@ubuntu.com>
+
+       Bump library REVISION number for release
+
+       tests: don't require en_US locale in t0251-gpt-unicode.sh
+       Switch from en_US.UTF-8 to C.UTF-8 so the test does not fail on systems
+       that do not have the en_US locale installed.
+
+2014-06-23  Jim Meyering  <meyering@fb.com>
+
+       maint: correct a POT-file updating rule
+       * doc/C/Makefile.am (updatepo): If there is no po/$name.pot,
+       create an empty one.  Reported by Philip Susi.
+
+2014-06-15  Phillip Susi  <psusi@ubuntu.com>
+
+       tests: fix t9020-alignment.sh
+       This test was refering to print-alignment by absolute path, which
+       broke building with a different object directory, causing
+       make distcheck to fail.
+
+       Document resizepart command
+
+       parted: Add stub resize command for backward compatibility
+       To make sure that older scripts trying to use the resize command do not
+       accidentally run the new resizepart command by mistake, this undocumented
+       stub command will throw an error if called.
+
+       parted: Allow undocumented commands
+       Have command_print_summary print nothing if the command summary is NULL.
+       This allows for a command to be registered, but not documented in the
+       output of help.
+
+       parted: make _partition_warn_busy actually a warning instead of an error
+       This function was throwing a PED_EXCEPTION_ERROR with only the
+       PED_EXCEPTION_CANCEL option.  Converted to a PED_EXCEPTION_WARNING
+       with the option to continue anyhow.
+
+       libparted: Add support for partition resize
+       When resizing a partition ( same partition number, same
+       start sector, different end sector ), try to use the
+       new BLKPG_RES_PARTITION request to update the kernel
+       partition table with the new size.  Also handle resizing
+       devmapper targets.
+
+2014-06-15  Petr Uzel  <petr.uzel@suse.cz>
+
+       tests: excersise resize command
+       a lot of TODOs
+
+       parted: add resizepart command
+       Add resizepart command to resize ( change the end position ) an existing
+       partition.  Note that it does nothing to a filesystem in the partition.
+
+2014-06-15  Brian C. Lane  <bcl@redhat.com>
+
+       Fix python test scripts for distribution
+       make distcheck was failing because these scripts were not being
+       included.
+
+       Make them both executable and and add the path to the tests that use
+       them. They also need to be included in the distribution so update
+       Makefile.am
+
+       * tests/Makefile.am: Add python test scripts
+       * tests/gpt-header-move.py: rename to gpt-header-move and make it
+         executable
+       * tests/msdos-overlap.py: rename to overlap.py
+       * tests/t0282-gpt-move-backup.sh: add path to scripts and use new name
+       * tests/t0283-overlap-partitions.sh: same
+
+2014-06-15  Brian C. Lane  <bcl@redhat.com>
+
+       tests: check name when duplicating
+       Create a second partition with a name when supported by the disk label.
+       Check to make sure that the duplicate has copied over the name. The goal
+       with this was to try to catch the bug fixed by the previous commit but I
+       was unable to make it fail. But this should improve our test coverage
+       anyway.
+
+       * tests/duplicate.c: Add a partition name test.
+
+2014-06-15  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: Fix part dupe with empty name
+       It was setting the original translated_name to 0, not the new copy.
+
+       * libparted/labels/gpt.c (gpt_partition_duplicate): fix empty name
+
+2014-05-28  Jim Meyering  <meyering@fb.com>
+
+       tests: use test's "=" operator, not "=="
+       * tests/t1700-probe-fs.sh: Avoid "make syntax-check" error: s/==/=/
+
+       tests: avoid false-positive failure due to symlink
+       * tests/t6000-dm.sh (sanitize): Helper function.
+       Before this change, this test would fail due to difference between
+       absolute name and symlink-including names in "parted print" output
+
+       maint: fix "make syntax-check" nits
+       * 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.
+
+2014-05-27  Brian C. Lane  <bcl@redhat.com>
+
+       tests: Use mkfs.xfs to create files (#1101112)
+       On s390 there is a bug with mkfs.xfs and pre-existing files. Work around
+       it by creating the file directly with mkfs.xfs. This also works on other
+       arches.
+
+       * tests/t1700-probe-fs.sh: Check for xfs and use direct file creation
+       * tests/t4100-dvh-partition-limits.sh: Use mkfs.xfs -dfile
+       * tests/t4100-msdos-partition-limits.sh: Use mkfs.xfs -dfile
+
+2014-05-27  Brian C. Lane  <bcl@redhat.com>
+
+       tests: Add ntfs vfat hfsplus to t1700 probe test
+       Add some new filesystems to test. Adjust how mkfs.* tests, since some of
+       them don't support -V, and add fsname so that the printed filesystem
+       name doesn't have to match the type.
+
+       * tests/t1700-probe-fs.sh: Add new filesystems to test
+
+2014-05-26  Jim Meyering  <meyering@fb.com>
+
+       maint: run "make update-copyright"
+
+2014-05-25  Jim Meyering  <meyering@fb.com>
+
+       maint: remove doubled word: s/on on/on/
+       * NEWS: Remove doubled-word detected by "make syntax-check".
+
+       gnulib: update submodule to latest
+       * gnulib: Update module to latest.
+       * bootstrap: Update from gnulib.
+
+2014-05-25  Sergei Antonov  <saproj@gmail.com>
+
+       libparted: mac: support sector size > 512 correctly
+       This patch fixes several problems found when trying to do Apple
+       Partition Map on a 4K-sector iPod. The problems happened because of
+       unneeded conversion between physical sectors and 512-byte units.
+       For devices with sector 512 the conversion did no harm, for others it did.
+
+       List of problems (all are gone with the patch):
+
+       * Partition in OS X, connect to Linux, run "parted <dev> print".
+         "Error: Can't have a partition outside the disk!" is shown.
+         Every partition is displayed 8 times (4k/512) bigger its real size.
+
+       * Exec "mktable mac", connect to OS X.
+         The drive's partitioning scheme is not recognized.
+
+       * mkpart creates partitions 8 times (4k/512) smaller than requested.
+
+2014-05-22  Phillip Susi  <psusi@ubuntu.com>
+
+       tests: test loop labels
+       Verify previous fixes to loop labels.
+
+       libparted: don't trash filesystem when writing loop label
+       If you deleted the fake partition on a loop label, loop_write() would write
+       the loop signature to the device, zeroing out all other bytes in the first
+       sector.  When the disk contained an ext[234] filesystem and was using 2k
+       sectors, this would trash the super block residing in the 1-2kb part of the
+       sector causing the disk to become unrecognized.  Instead, read the existing
+       sector and only modify the first few bytes that contain the loop label.
+
+       libparted: give correct partition device name on loop labels
+       ped_partition_get_path() was returning "/dev/foo1" instead of
+       "/dev/foo" on loop labels.  This caused gparted to run tools like mkfs on
+       a device node that did not actually exist.
+
+       partprobe: do not skip loop labels
+       Partprobe was not syncing loop labels.  This resulted it failing to remove
+       existing partitions when switching to a loop label.
+
+       libparted: don't create partition on loop label
+       The loop label represents an unpartitioned disk, but creates
+       a dummy partition to represent the whole disk.  This dummy partition
+       was actually being loaded into the kernel.  Don't do that.
+
+2014-05-22  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: fix loop labels to not vanish
+       The loop label type was using the existence of a partition as a proxy for
+       a filesystem being detected, and loop_write() would try to write a loop
+       signature if there was no filesystem, and erase it if there was.  Because
+       of this, creating a partition without writing a filesystem to it caused
+       loop_write to erase the loop label.
+
+       There seems to be no reason to bother erasing the loop label if it is still
+       present along with a filesystem signature, so don't bother with this, and
+       actually check to see if a filesystem is detected in the partition rather
+       than using the existence of a partition to decide if writing the loop
+       signature is needed.  Finally, since there is no way to preserve the
+       existence of a partition with no filesystem in it, have loop_read() always
+       create a partition, even if no filesystem is detected.
+
+2014-05-22  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: remove all old partitions, even if new label allows less
+       We were limiting partition sync operations to the lesser number allowed
+       by the device, or the label.  This meant that when creating a new label
+       over an old label that had more partitions than the new one allows, the
+       higher partitions would not be removed.  Use the greater of the two values
+       for the remove pass, and the lesser for the add.
+
+       libparted: remove old partitions *first* before adding new ones
+       "libparted: avoid disturbing partitions" put the remove of the old
+       partition in second pass.  If you simultaneously removed partitions 1
+       and 2, and created a new partition #1 that overlapped the previous second
+       partition, the sync would fail because it would try to create the new,
+       larger partition #1 before removing the old partition #2.
+
+       libparted: don't detect fat and ntfs boot sectors as dos MBR
+       fat and ntfs boot sectors are very similar to an MBR so if you had one of
+       these filesystems on an unpartitioned disk, parted detected them as a dos
+       partition table.  Have the dos label code call the fat and ntfs filesystem
+       probes and if they recognize the sector ( their tests are more stringent )
+       then don't claim it as a dos label.
+
+2014-05-22  Phillip Susi  <psusi@ubuntu.com>
+
+       parted: don't reload partition table on every command
+       gpt was using a static local variable to suppress repeatedly reporting
+       an error if you chose to ignore it.  This is incorrect as the variable is
+       global to all disks, and ignoring the error on one should not suppress its
+       reporting on another.  Moving the flag to the PedDisk object made it
+       effectively useless because parted was destroying the PedDisk and reloading
+       the partition table on every command.
+
+       Parted has been reworked to cache the PedDisk once loaded, and only discard
+       it when changing disks, or creating a new disklabel.
+
+2014-05-22  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: fix fat resize
+       The changes to fix filesystem detection on non 512 byte sector sizes broke
+       fat filesystem resizing.
+
+2014-05-19  Brian C. Lane  <bcl@redhat.com>
+
+       GPT strings are UCS-2LE not UTF-16
+       There was a problem using UTF-16, it was writing the Byte Order Mark
+       before the string which caused problems with older versions of parted
+       reading the partition name. The test was skipping these 2 bytes when
+       checking the written string.
+
+       * libparted/labels/gpt.c: Switch to UCS-2LE for GPT Partition names
+       * tests/t0251-gpt-unicode.sh: Update the test
+
+2014-04-29  Brian C. Lane  <bcl@redhat.com>
+
+       Update NEWS with new DASD features.
+       * NEWS: New DASD support
+
+2014-04-29  Petr Uzel  <petr.uzel@suse.cz>
+
+       dasd: avoid usage of uninitialized data
+       In ped_partition_new(), disk_specific data of PedPartition
+       structure is allocated (via dasd_partition_new()). This
+       data is later used uninitialized in dasd_partition_set_system().
+
+       * libparted/labels/dasd.c (dasd_partition_new):
+       Zero out allocated disk_specific data.
+
+2014-04-29  Nageswara R Sastry  <rnsastry@linux.vnet.ibm.com>
+
+       libparted: mklabel to support EDEV DASD
+       Fixed Block Access (FBA) DASDs are mainframe-specific disk devices
+       which are layed out as a sequence of 512-byte sectors. This patch adds
+       support for mklabel to properly handle FBA devices.
+
+       libparted: Avoid dasd as default disk type while probe
+       This patch avoids setting 'dasd' as a default disk type for
+       'disk image file' at the time of probe.
+
+       libparted: mklabel to support EAV DASD
+       Extended Address Volume (EAV) DASDs are ECKD DASDs with more than
+       65520 cylinders. This patch adds support for mklabel to properly
+       handle unformatted EAV DASDs.
+
+2014-04-29  Nageswara R Sastry  <rnsastry@linux.vnet.ibm.com>
+
+       libparted: add support for EAV DASD partitions
+       Extended Address Volume (EAV) DASDs are ECKD DASDs with more than
+       65520 cylinders. This patch adds support for recognizing and
+       modifying partitions on EAV DASDs to Parted. The changes are
+       based on the EAV support added to version 1.8.1 [1] of the
+       s390-tools package.
+
+       [1] http://www.ibm.com/developerworks/linux/linux390/s390-tools-1.8.1.html
+
+2014-04-29  Nageswara R Sastry  <rnsastry@linux.vnet.ibm.com>
+
+       libparted: add support for implicit FBA DASD partitions
+       Fixed Block Access (FBA) DASDs are mainframe-specific disk devices
+       which are layed out as a sequence of 512-byte sectors. In contrast
+       to ECKD DASDs, these disks do not require formatting and resemble
+       the LBA layout of non-mainframe disks. Despite this resemblance,
+       the Linux kernel applies special handling during partition detection
+       for FBA DASDs, resulting in a single, immutable partition being
+       reported.
+
+       While actual FBA DASD hardware is no longer available, the z/VM
+       hypervisor can simulate FBA DASD disks, backed by either ECKD or
+       SCSI devices.
+
+       This patch adds support for recognizing FBA DASD partitions
+       to parted.
+
+2014-04-18  Phillip Susi  <psusi@ubuntu.com>
+
+       Fix filesystem detection on non 512 byte sectors
+       Enable probing for filesystems with non 512 byte sectors, and fix up each
+       filesystem to correctly handle that.  Remove unused field from the fs type
+       structure listing acceptable sector sizes.
+
+       tests: fix t2310-dos-extended-2-sector-min-offset.sh
+       This test was ignoring the requested sector size and always using
+       512 bytes per sector.  Fix it to use the requested sector size.
+
+       tests: fix t1700
+       bb181a7e: "tests: Use force for xfs in t1700 and a larger file" caused
+       the previous filesystem signatures to be left in the image file
+       causing mkfs.nilfs2 to complain that there is already an xfs filesystem
+       there, and hang the test suite waiting for an answer to proceed or not.
+       Remove the file between filesystems so it is recreated cleanly again.
+
+       libparted: remove last_usable_if_grown
+       Commit 3398e82a: "libparted: Use common function to calculate PTE sectors"
+       removed usage of the last_usable_if_grown variable, resulting in an error
+       because it is now unused but still defined.
+
+2014-04-17  Brian C. Lane  <bcl@redhat.com>
+
+       tests: t1700 change count to seek
+       Fix a typo when changing to sparse images.
+
+       * tests/t1700-probe-fs.sh: count should be seek.
+
+2014-04-16  Brian C. Lane  <bcl@redhat.com>
+
+       tests: Use force for xfs in t1700 and a larger file
+       Also use sparse files that are (with 512B blocks) 128M so that they are
+       large enough for all the filesystems.
+
+       * tests/t1700-probe-fs.sh: Make changes.
+
+2014-04-10  Ming Liu  <ming.liu@windriver.com>
+
+       libparted: fix several integer overflows with dvh labels
+       Integer overflows was found in libparted/labels/dvh.c, while attemptting
+       assign unsigned int values to int types in some places.
+
+       Defined by unsigned int instead.
+
+       * libparted/labels/dvh.h: Change int to unsigned int
+
+2014-04-10  Brian C. Lane  <bcl@redhat.com>
+
+       testing: Use little-endian packing in gpt tests
+       Fix gpt-header-move.py and gpt-header-munge to use little endian when
+       packing and unpacking. This allows us to turn the t0210 and t0211 tests
+       back on for big-endian systems.
+
+       * tests/gpt-header-move.py: Use little endian for pack/unpack
+       * tests/gpt-header-munge: Same
+       * tests/t-lib-helpers.sh: Add requires_64bit_ that checks for x86_64 and ppc64
+       * tests/t0210-gpt-resized-partition-entry-array.sh: Remove x86_64 test
+       * tests/t0211-gpt-rewrite-header.sh: Same
+
+2014-04-08  Brian C. Lane  <bcl@redhat.com>
+
+       tests: Use msdos-overlap to setup t0283
+       xxd isn't present in minimal build systems, as it is part of vim. Change
+       to using a simple python script to mangle the msdos disklabel for the
+       test.
+
+       * tests/msdos-overlap.py: New file
+       * tests/t0283-overlap-partitions.sh: Use msdos-overlap.py
+
+2014-04-08  Brian C. Lane  <bcl@redhat.com>
+
+       tests: Add emit_superuser_warning for gpt tests
+       When parted runs without script mode it will print a warning about not
+       being superuser. Add the library call to add this to expected output
+       from the tests.
+
+       * tests/t0281-gpt-grow.sh: Add emit_superuser_warning
+       * tests/t0282-gpt-move-backup.sh: Add emit_superuser_warning
+       * tests/t0283-overlap-partitions.sh: Add emit_superuser_warning
+
+2014-04-08  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: Use common function to calculate PTE sectors
+       Use _ptes_sectors in _parse_header's calculation to determine if the
+       disk has been grown.
+
+       * libparted/labels/gpt.c (_parse_header): use _ptes_sectors
+
+2014-04-08  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: Fix check for backup header location
+       Add a couple of helper functions for calculating the partition table
+       entry size (in sectors) and for guessing the end of the disk based on
+       the LastUsableLBA and the Partition Table Entry size.
+
+       The backup header should be either at the end of the disk, or at what
+       the primary header thinks is the end of the disk. Prompt to fix the
+       backup header if it is located any other place.
+
+       * libparted/labels/gpt.c (_ptes_sectors): New function
+         (_hdr_disk_end): New function
+         (gpt_read): Use new function to test for pri's idea of end of disk
+
+2014-03-05  Gustavo Zacarias  <gustavo@zacarias.com.ar>
+
+       ui: switch to new-style readline typedef
+       The CPPFunction typedef (among others) have been deprecated in favour of
+       specific prototyped typedefs since readline 4.2 (circa 2001).
+       It's been working since because compatibility typedefs have been in
+       place until they where removed in the recent readline 6.3 release.
+       Switch to the new style to avoid build breakage.
+
+2014-03-05  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: sync partitions > 16
+       The linux partition sync code was hard coded to only flush
+       the first 16 partitions.
+
+2014-03-02  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: don't require a system id string
+       Historically the system ID field of a fat boot sector contains a
+       string identifying the OS that formatted it.  It appears that some
+       recent versions of Windows have stopped bothering with this.  Stop
+       requiring this string to recognize fat as valid.
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       tests: Restrict gpt-header-munge to little-endian systems
+       gpt-header-munge uses perl to manipulate the gpt header for the test. It
+       only works on 64 bit little-endian systems so restrict it to x86_64
+       only.
+
+       * tests/t0210-gpt-resized-partition-entry-array.sh: Skip if not x86_64
+       * tests/t0211-gpt-rewrite-header.sh: Skip if not x86_64
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       tests: Add btrfs and xfs to the fs probe test
+       * tests/tests/t1700-probe-fs.sh: Add btrfs and xfs
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: Recognize btrfs filesystem
+       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
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: Add UEFI System Partition flag.
+       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
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: Add Intel Rapid Start Technology partition flag.
+       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
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       tests: rewrite t6001 to use /dev/mapper
+       This test began failing because using a private copy of /dev/mapper
+       confuses the system. This fixes that and generally cleans up the test.
+
+       tests/t6001.sh: update to use /dev/mapper directly
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: don't canonicalize /dev/md/ paths (#872361)
+       This is the same issue we have with /dev/mapper/ paths that was fixed in
+       commit c1eb485b9fd8919e18f192d678bc52b0488e6ee0. When libparted
+       is used to setup the device the symlink should be used to reference it,
+       not the backing device name which could change.
+
+       * libparted/device.c (ped_device_get): Don't canonicalize names
+         that start with "/dev/md/".
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       tests: Make sure dm UUIDs are not erased
+       * tests/t6005-dm-uuid.sh: Make sure dm UUIDs are not erased
+
+       libparted: preserve the uuid on dm partitions (#832145)
+       * libparted/arch/linux.c (_dm_add_partition): Set the uuid if there was
+         one.
+
+2014-03-02  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: use dm_udev_wait (#698121)
+       This is based on Peter Rajnoha's patch to use dm_udev_wait to
+       synchronize with udev.
+
+       This requires libdevmapper v1.02.39 and higher.
+
+       mailing list thread:
+       https://lists.gnu.org/archive/html/bug-parted/2010-09/msg00007.html
+
+       * libparted/arch/linux.c (_dm_task_run_wait): New function
+       (_is_dm_major): Add cookie and change call to _dm_task_run_wait
+       (_is_dmraid_device): Same
+       (_dm_is_part): Same
+       (dm_canonical_path): Same
+       (_dm_remove_partition): Same
+       (_dm_get_partition_start_and_length): Same
+       (_dm_add_partition): Same
+       (linux_new): Enable udev sync support
+
+2014-02-25  Brian C. Lane  <bcl@redhat.com>
+
+       tests: test creating 20 device-mapper partitions (#803108)
+       * tests/t6004-dm-many-partitions.sh: Make sure > 17 partitions appear in
+         device mapper.
+
+       libparted: copy pmbr_boot when duplicating GPT disk
+       * libparted/labels/gpt.c (gpt_duplicate): copy pmbr_boot flag
+
+2014-02-24  Phillip Susi  <psusi@ubuntu.com>
+
+       Fix help text for disk_{set,toggle}
+       Fix the help text to show *disk* flags instead of partition flags.
+
+2013-12-23  Phillip Susi  <psusi@ubuntu.com>
+
+       bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly
+       gpt.c was simply truncating the UTF-16 characters stored
+       in the partition name field to 8 bits.  This corrupted non
+       ascii characters which later resulted in parted crashing in
+       strlist.c trying to convert the now invalid multi byte
+       characters to wchar.
+
+       gpt.c will now properly convert the UTF-16 to the current
+       locale encoding.
+
+2013-11-23  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: make sure not to treat percentages as exact
+       If 1% of the drive size worked out ot be an even power of
+       two, it would trigger the exact placement.  Add an exception
+       for the percent units.
+
+2013-11-23  Daniel Battaiola Kreling  <dbkreling@br.ibm.com>
+
+       GPT: add support for PReP GUID
+       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.
+
+2013-11-23  Phillip Susi  <psusi@ubuntu.com>
+
+       Fix test compilation
+       The tests were not being linked against libpthread but were using
+       it, and recent versions of gcc refuse to implicitly pull it in.
+
+       libparted: avoid disturbing partitions
+       The partition sync logic was first removing all
+       partitions, then trying to re-add them.  This resulted in many
+       udev events triggering annoying behavior like auto mounting.
+       Refactor the code to avoid removing and re-adding unmodified
+       partitions.
+
+       Revert "linux-commit: do not unnecessarily open partition device nodes"
+       This reverts commit 2a6936fab4d4499a4b812dd330d3db50549029e0.  The commit
+       disabled flushing the block buffer caches on the partition nodes to ensure
+       cache consistency on 2.6 kernels, supposedly because this was no longer
+       required.  It appears this was incorrect, and the caches DO still need
+       flushed, otherwise a new fs written to the partition device does not show
+       up in the disk device cache, causing parted to still identify the old fs.
+
+       libparted: allow some common errors to be ignored
+       Partitions that overlap or extend beyond the end of the disk are common
+       errors that usually result in people having to use other tools to correct
+       because parted refuses to operate when it sees them.  Change these errors
+       to allow you to ignore them and use parted to correct the problem.
+
+2013-11-23  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: fix gpt end of disk handling
+       There are two checks for problems with the end of disk.  The first checks
+       to make sure that the backup gpt is actually at the end of the disk as it
+       should be.  The second checks to see that the gpt's idea of where the disk
+       ends is correct.  The handling of the backup gpt location was wrong because
+       if you chose not to fix the error, then as soon as you made any changes the
+       backup would be written to the end of the disk anyhow, only the previous
+       backup would not be zeroed.
+
+       This patch fixes the write path to put the backup gpt where the gpt says
+       it goes, not where we think the disk ends.  This allows you to choose
+       not to fix the problems, and the backup gpt will be written to the same
+       place it was before, not the new end of disk.
+
+2013-11-23  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: handle logical partitions starting immediately after the EBR
+       _blkpg_add_partition() set the length of the extended partition
+       to 2 sectors to allow LILO to be installed there, beacuse the
+       linux kernel does this.  If a logical partition used that second
+       sector, adding it would fail beacuse of the overlap.  Now
+       _blkpg_add_partition() will limit the length to only the first
+       sector if the second is used by a logical partition.
+
+       Previously parted did create the partition table, and after a
+       reboot, the kernel would recognize the table, and happily create
+       the extended partition as 2 sectors long, thus overlapping the
+       logical partition, but when parted tried to recreate the same
+       table with BLKPG, the kernel rightly rejected it.
+
+2013-11-23  Phillip Susi  <psusi@ubuntu.com>
+
+       gpt: Revert small device commits
+       The following commit broke the position of the LastUsableLBA:
+
+       48f236f9: gpt: permit "mklabel gpt" on a 67-sector device
+
+       It introduced an off by one error, leaving LastUsableLBA pointing to
+       the first sector of the backup partition table instead.
+
+       This effectively reverts that commit, as well as adjusting the subsequent
+       commits to instead use 68 sectors as the minimum length.  I believe
+       this is the minimum legal size as at 67 sectors, there is no valid
+       value for FirstUsableLBA and LastUsableLBA.
+
+2013-11-23  Phillip Susi  <psusi@ubuntu.com>
+
+       tests: t6003-dm-hide: don't hang on exception
+       If the parted -l found any exceptions, it would print the prompt, which was
+       redirected to the log, then hang waiting for input, which never came.  Use
+       script mode to disable the prompts.
+
+       parted: fix EOF and ctrl-c handling
+       feof() seems to not detect EOF after readline() hits it, so parted went
+       into an infinite loop prompting for input on EOF.  Change test to use the
+       got_ctrl_c variable instead, which is set when readline hits EOF and
+       returns NULL.  This also makes parted properly exit on ctrl-c.
+
+2013-10-09  Jim Meyering  <meyering@fb.com>
+
+       bootstrap: update to latest from gnulib
+
+2013-10-09  Jonathan Liu  <net147@gmail.com>
+
+       dos: improve MBR signature generation
+       Using tv_usec in struct timeval from gettimeofday() doesn't provide
+       enough precision to fill an unsigned 32-bit integer and isn't really
+       random. It it always less than one million when using the GNU C library
+       while an unsigned 32-bit integer ranges between 0 and 4294967295.
+
+       In FAT filesystem creation, parted already uses a better random
+       generator, so move that code into a common function and use it
+       for MS-DOS MBR signature generation.
+
+       * libparted/fs/r/fat/fat.c (_gen_new_serial_number): Remove.
+       (fat_create): Use generate_random_uint32 instead of
+       _gen_new_serial_number.
+       * libparted/labels/dos.c (generate_random_id): Remove.
+       (msdos_write): Use generate_random_uint32 instead of
+       generate_random_id.
+       * libparted/labels/misc.h (generate_random_uint32): New function.
+       Created from _gen_new_serial_number in libparted/fs/r/fat/fat.c with
+       additional check to avoid returning zero, which may be interpreted
+       as no FAT serial number or no MBR signature.
+
+2013-01-06  Jim Meyering  <jim@meyering.net>
+
+       maint: avoid new warning/error with gcc-4.8.0 20130105
+       * configure.ac (WERROR_CFLAGS): Disable -Wsuggest-attribute=format.
+       It was suggesting to apply the gnu_printf attribute to vsnprintf.
+
+       maint: update all copyright year number ranges
+       Run "make update-copyright".
+
+       build: update gnulib submodule to latest
+
+2013-01-02  Jim Meyering  <jim@meyering.net>
+
+       doc: 1MiB-alignment is not enough for cheap flash drives
+       * doc/parted.texi: Add an example that aligns to 4GiB, and
+       reference Arnd Bergman's LWN article.
+
+2012-10-29  Jim Meyering  <jim@meyering.net>
+
+       tests: make t6003-dm-hide work reliably on F17
+       * tests/t6003-dm-hide.sh: Adjust to work reliably on Fedora 17.
+
+2012-10-29  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: don't probe every dm device in probe_all
+       We were probing every dm device.  Only probe dmraid whole disk
+       (non-partition) devices instead.  This removes the clutter of
+       LVM logical volumes, and dmraid partitions from the list, which
+       usually do not make sense to partition.
+
+       * NEWS (Changes in behavior): Mention it.
+       * libparted/arch/linux.c (_is_dmraid_device): New function.
+       (_dm_is_part): Likewise.
+       (_probe_dm_devices): Use the latter.
+       * tests/t6003-dm-hide.sh: New test.
+       * tests/Makefile.am (TESTS): Add it.
+
+2012-10-29  Phillip Susi  <psusi@ubuntu.com>
+
+       libparted: remove extraneous blkpg add partition ped exception
+       _blkpg_add_partition was throwing an exception if it failed to add the
+       new partition, in addition to _disk_sync_part_table throwing one, and
+       then bailing out.  Instead of bailing out, just log the error for
+       reporting later and continue.
+
+       libparted: refactor device-mapper partition sync code
+       The device-mapper partition sync code was still using the remove all
+       partitions, then add new partitions method.  Refactor to use the same
+       algorithm as regular disks: try to remove all, and ignore any that could
+       not be removed but have not changed.
+
+2012-10-23  Eric Blake  <eblake@redhat.com>
+
+       build: default to --enable-gcc-warnings in a git tree
+       Anyone building from cloned sources can be assumed to have a new
+       enough environment, such that enabling gcc warnings by default will
+       be useful.  Tarballs still default to no warnings, and the default
+       can still be overridden with --disable-gcc-warnings.
+       * configure.ac (gl_gcc_warnings): Set default based on environment.
+
+2012-10-17  Brian C. Lane  <bcl@redhat.com>
+
+       tests: cleanup losetup usage
+       The unsafe_losetup_ function was failing because losetup didn't
+       recognize that the 'private' /dev/loopX devices were the same as
+       /dev/loopX, it would fail even if one was in use. Switch to using
+       losetup --show which is a cleaner solution.
+       Also use sparse file for loop_setup to save space.
+       * tests/t-lvm.sh (unsafe_losetup_): Remove function.
+       (loop_setup_): Use losetup's --show option instead.
+       Use dd with /dev/null, not /dev/zero.
+       * tests/t6001-psep.sh: Use loop_setup_ rather than losetup --show.
+
+2012-10-17  Jim Meyering  <jim@meyering.net>
+
+       maint: regenerate .po, .pot files
+
+       maint: use $(AM_V_GEN) to cut down on build noise
+       * doc/Makefile.am: Prefix each rule with $(AM_V_GEN).
+       * doc/po4a.mk (dist_man_MANS): Likewise.
+
+2012-10-16  Petr Uzel  <petr.uzel@suse.cz>
+
+       partprobe: remove partitions when there is no partition table
+       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
+
+2012-10-15  Petr Uzel  <petr.uzel@suse.cz>
+
+       doc: update partprobe manpage
+       * doc/C/partprobe.8: Add long options, REPORTING BUGS section
+       and adjust DESCRIPTION section because it wasn't quite correct.
+
+       partprobe: remove --no-update long option
+       It was deprecated and scheduled for removal in 2009.
+       * partprobe/partprobe.c (long_options): Remove "no-update" entry.
+
+       build: .gitignore: ignore tests/fs-resize
+
+2012-10-09  Jim Meyering  <meyering@redhat.com>
+
+       build: do not rely on automake's AM_TESTS_ENVIRONMENT
+       * tests/Makefile.am (TESTS_ENVIRONMENT): Rename from
+       AM_TESTS_ENVIRONMENT, since it is not honored in automake-1.11.3
+       after all.  This reverts commit v3.1-14-g2bd66d7.  For now, I'll
+       leave the following commit that made bootstrap.conf require 1.11.2.
+       Prompted by a report of test failure from Phillip Susi.
+
+2012-10-09  Gilles Espinasse  <g.esp@free.fr>
+
+       tests: t8001: do not rely on "modprobe loop"
+       Remove 'rmmod loop' and 'modprobe loop max_part=7' commands.
+       The latter command may fail after the first command has run,
+       leaving the machine with no loop support.
+
+       This happens on my chroot, because:
+       - rmmod does not depend on the availability of the loop module,
+       - modprobe fails, since the kernel compiled inside the chroot
+         is different from the running kernel.
+
+       Instead, rely on t-lvm loop_setup_ to load the loop module, if required.
+
+2012-10-09  Jim Meyering  <meyering@redhat.com>
+
+       tests: improve test for partitionable loop devices
+       * tests/init.cfg (require_partitionable_loop_device_): Skip
+       when cat fails.
+
+2012-10-06  Jim Meyering  <meyering@redhat.com>
+
+       maint: fix an error in the preceding commit log
+       Stefano Lattarini noticed an error in the log for
+       commit v3.1-32-g478e472.  Arrange for that error
+       to be fixed in the generated ChangeLog file.
+       * build-aux/git-log-fix: New file.
+       * Makefile.am (gen-ChangeLog): Adjust rule to use it.
+
+       tests: stop using private "dev" directory for losetup
+       Something about Fedora 17's losetup changed so that using a private
+       dev directory no longer worked.  Now, simply use /dev/ directly.
+       * tests/t-lvm.sh: Don't use $G_dev_.  Not needed, and actually
+       caused the t6000-dm root-only test to fail on Fedora 17.
+       Also, redirect less to /dev/null: that helps diagnose failure.
+
+2012-10-04  Bob Beers  <bob.beers.gmail.com>  (tiny change)
+
+       doc: libparted/disk.c: correct doxygen comment typo
+       * libparted/disk.c: s/PedPartition/PedDisk/
+
+2012-09-29  Jim Meyering  <meyering@redhat.com>
+
+       tests: clean up tests
+       Use warn_ and $ME_ in place of warn and $ME; remove definitions of
+       the latter two.  Remove unused code.
+       * tests/lvm-utils.sh: Remove file.  All functions were either unused
+       or duplicated/better in t-lvm.sh.
+       * tests/Makefile.am (EXTRA_DIST): Remove it.
+       * tests/t-local.sh (scsi_debug_setup_): Use echo 1>&2, not warn_, to
+       emit to log file only, not console.  The diagnostic it emitted (in
+       verbose mode) was more "informational" than a warning.
+       * tests/t9030-align-check.sh: Use warn_, not warn.
+       * tests/t-lvm.sh: Likewise, and use fail_, not error (undefined!).
+       * tests/t-lib-helpers.sh (device_mapper_required_): Use t-lvm.sh
+       and an explicit lvm_init_root_dir_ in place of lvm-utils.sh.
+
+2012-09-29  Roderick W. Smith  <rodsmith@rodsbooks.com>
+
+       add support for a new Linux-specific GPT partition type code
+       * 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
+
+2012-09-20  Jim Meyering  <meyering@redhat.com>
+
+       tests: mac: exercise the just-fixed bug
+       * tests/t0350-mac-PT-increases-sector-size.sh: New test.
+       * tests/Makefile.am (TESTS): Add it.
+
+2012-09-20  Brian C. Lane  <bcl@redhat.com>
+
+       mac: don't let larger partition-table-specified block size evoke UB
+       For example, in reading a MAC partition table on a 512-byte sector-size
+       disk, _disk_analyse_block_size could find reason to ask if it's ok to
+       increase that to e.g., 2048.  Upon a positive reply, we would read 2048
+       bytes into a 512-byte buffer.
+
+       * libparted/labels/mac.c (mac_read): If needed, reallocate "buf"
+       to accommodate a new, larger sector size.
+       * NEWS (Bug fixes): Mention it.
+
+2012-09-20  Jim Meyering  <meyering@redhat.com>
+
+       tests: avoid syntax-check failure for reversed compare args
+       * tests/t0203-gpt-create-on-min-sized-device.sh: Reverse args,
+       so that any diff output (upon failed test) looks sensible.
+
+2012-09-12  Jim Meyering  <meyering@redhat.com>
+
+       tests: show that small dev now evokes "mklabel gpt" diagnostic
+       * tests/t0203-gpt-create-on-min-sized-device.sh: New test.
+       * tests/Makefile.am (TESTS): Add it.
+
+       gpt: when "mklabel gpt" fails, always provide a diagnostic
+       * libparted/labels/gpt.c (gpt_alloc): When rejecting a device because
+       it is too small, give a diagnostic, as is done in every other failure
+       path through this function.
+
+       gpt: permit "mklabel gpt" on a 67-sector device
+       * libparted/labels/gpt.c (gpt_alloc): Correct checks in order to
+       allow creation of a GPT partition table on a 67-sector device.
+       The computation of the "data_end" sector number was one too low.
+       Whereas there are two sectors at the beginning of the disk (pMBR
+       and the GPT header sector), there is only one at the end: the
+       backup GPT header.  That (67) is the size of the smallest GPT
+       partition table, allowing for *no* partition table sectors.
+
+       tests: update t7000-scripting.sh to avoid new FP
+       * tests/t7000-scripting.sh: Use -34s as the endpoint, not -1s,
+       to avoid a spurious difference.  Also, remove quoting artifacts.
+
+2012-09-12  Davidlohr Bueso  <dave@gnu.org>
+
+       gpt: require first_usable_LBA <= last_usable_LBA
+       When verifying GPT header integrity, ensure that the
+       first usable LBA is no larger than the last usable LBA.
+       * libparted/labels/gpt.c (_header_is_valid): Reject a header
+       with last_usable < first_usable.
+
+2012-09-12  Jim Meyering  <meyering@redhat.com>
+
+       tests: clarify a comment: _reading_ gpt tables on tiny devices
+       * tests/t0203-gpt-tiny-device-abort.sh: Clarify.
+
+       maint: remove unnecessary wcslen use
+       * parted/strlist.c (gettext_to_wchar): Tighten up test for
+       mbsrtowcs failure and remove unnecessary wcslen use.
+
+2012-08-30  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       maint: tighten per version requirement
+       * bootstrap.conf ($buildreq): Require Perl >= 5.6 (not merely >= 5.5),
+       because that's the minimal version required by modern Automake and
+       Autoconf.
+
+       maint: make Autoconf version requirement consistent
+       * bootstrap.conf ($buildreq): Require Autoconf >= 2.63, not >= 2.61,
+       for consistency with what is done in AC_INIT in configure.ac
+
+2012-08-30  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       build: require Automake >= 1.11.6
+       Now that we use AM_TESTS_ENVIRONMENT, we should require at least
+       Automake >= 1.11.2; but since all the Automake version until 1.11.5
+       are vulnerable to CVE-2012-3386:
+
+           <https://lists.gnu.org/archive/html/automake/2012-07/msg00023.html>
+
+       it's even better to require 1.11.6.
+
+       * configure.ac (AM_INIT_AUTOMAKE): Bump version requirement to 1.11.6.
+       * bootstrap.conf ($buildreq): Likewise.
+
+2012-08-30  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       tests: remove unused AM_TESTS_ENVIRONMENT entries
+       Probably a copy&paste errors, likely from the TESTS_ENVIRONMENT
+       definition in the 'tests/Makefile.am' in GNU coreutils.
+
+       * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Don't define nor export
+       any of the variables PREFERABLY_POSIX_SHELL, REPLACE_GETCWD, CC,
+       MAKE, PERL.
+
+2012-08-30  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       tests: prefer AM_TESTS_ENVIRONMENT over TESTS_ENVIRONMENT
+       The latter should be reserved for user overrides.
+
+       * tests/Makefile.am (TESTS_ENVIRONMENT): Rename ...
+       (AM_TESTS_ENVIRONMENT): ... like this.
+
+2012-08-30  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       build: enable subdir-objects Automake option globally
+       That option is enabled unconditionally in Automake-NG, and enabling
+       it also for mainline Automake will help to ensure no unexpected
+       incompatibilities is introduced in a potential port to Automake-NG.
+
+       Moreover, if we have a source file 'sub/foo.c', having it compiled
+       in 'sub/foo.o' rather than in 'foo.o' is undeniably cleaner and more
+       natural.
+
+       * configure.ac (AM_INIT_AUTOMAKE): Add 'subdir-objects'.
+       * libparted/fs/Makefile.am (AUTOMAKE_OPTIONS): No need to declare
+       'subdir-objects' explicitly now.
+
+2012-08-30  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       build: prefer pattern rules over suffix rules
+       That is acceptable, because the GNU parted build system already
+       requires GNU make anyway: the $(subst ...) built-in is used in the
+       common recipe for the 'ss-1024', 'ss-2048' and 'ss-4096' targets
+       in Makefile.am.
+
+       * include/parted/Makefile.am (.in.h.h): Rename ...
+       (%.h: %.in.h): ... as this pattern rule.
+       (SUFFIXES): Delete, no more needed.
+
+2012-08-30  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       build: don't list files with unknown suffix in _SOURCES
+       While this works with mainline Automake (which blindly treats source
+       files with an unknown extension as if they were header files), it is
+       undocumented (albeit admittedly unlikely to change).  Moreover, it no
+       longer works with Automake-NG (and that's by design), so the use of
+       such feature would make a port to Automake-NG more difficult.
+
+       * libparted/labels/Makefile.am (liblabels_la_SOURCES): ... don't
+       list 'pt-limit.gperf' here; rather ...
+       (EXTRA_DIST): ... list 'pt-limit.c' and 'pt-limit.gperf' here.
+       (EXTRA_DIST, BUILT_SOURCES): Enhance few comments.
+
+2012-08-30  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       build: prefer $(AM_CPPFLAGS) over $(INCLUDES)
+       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.
+
+2012-08-28  Jim Meyering  <meyering@redhat.com>
+
+       build: update gnulib, bootstrap and init.sh
+
+       maint: don't prohibit strncpy just yet
+       * cfg.mk (local-checks-to-skip): Add sc_prohibit_strncpy,
+       so that we do not yet enable the strncpy prohibition.
+       There are many uses, and it will be a lot of work to remove
+       all of them.
+
+       maint: avoid new syntax-check failure re @xref
+       * doc/parted.texi: Adjust @xref usage: it must be used only
+       at start of sentence.
+       * doc/parted-pt_BR.texi: Likewise.
+
+2012-06-09  Jim Meyering  <meyering@redhat.com>
+
+       tests: add a test to exercise just-fixed code
+       * tests/print-max.c: Extend to provide coverage of
+       ped_disk_get_max_supported_partition_count, too.
+       * tests/t9021-maxima.sh (max_n_partitions): New function, with
+       naively hard-coded max-number-of-partitions-per-partition-table-type
+       values.
+       Use it to ensure that each expected value matches the actual one.
+       * cfg.mk: Exempt this test's use of error from the syntax-check
+       for unmarked diagnostics.
+
+2012-06-09  Richard W.M. Jones  <rjones@redhat.com>
+
+       gpt: fix endianness bug in gpt_get_max_supported_partition_count
+       * libparted/labels/gpt.c (gpt_get_max_supported_partition_count):
+       Take endianness of pth->FirstUsableLBA into account (64-bit,
+       little endian) when calculating the maximum number of partitions.
+       * NEWS (Bug fixes): Mention it.
+
+2012-03-26  Jim Meyering  <meyering@redhat.com>
+
+       tests: remove bogus envvar setting from t0300-dos-on-gpt.sh
+       * tests/t0300-dos-on-gpt.sh: Remove envvar setting that effectively
+       disabled testing(only in this test) of simulated sector sizes smaller
+       than 4KiB.
+       Also, use a much smaller backing file.
+
+2012-03-24  Brian C. Lane  <bcl@redhat.com>
+
+       tests: add t0301-overwrite-gpt-pmbr.sh
+       Make sure parted checks the PMBR before the GPT partition table.
+
+       * NEWS: Update with new GPT behavior.
+       * tests/overwrite-gpt-pmbr.sh: New test.
+       * tests/Makefile.am (TESTS): Add it.
+
+2012-03-24  Brian C. Lane  <bcl@redhat.com>
+
+       libparted: check PMBR before GPT partition table
+       The UEFI spec requires that a valid GPT disk label have a PMBR
+       partition. This moves the PMBR check to before the GPT check,
+       exiting gpt_probe with a 0 if the PMBR is not valid.
+
+       The previous behavior would cause problems in the following situation:
+        1. format a disk as GPT
+        2. re-format it as MSDOS using tools that don't understand GPT
+
+       Subsequent operations with parted would then complain about the invalid
+       PMBR, but would not allow the disk to be used as an msdos disk. This
+       change causes parted to recognize the msdos partition table.
+
+       * libparted/labels/gpt.c (gpt_probe): Move _pmbr_is_valid test.
+       Reported by Chris Murphy in http://bugzilla.redhat.com/805272
+
 2012-03-02  Jim Meyering  <meyering@redhat.com>
 
+       maint: post-release administrivia
+       * NEWS: Add header line for next release.
+       * .prev-version: Record previous version.
+       * cfg.mk (old_NEWS_hash): Auto-update.
+
        version 3.1
        * NEWS: Record release date.
 
        * tests/t9021-maxima.sh: Update for the new loop limit.
        * NEWS (Bug fixes): Mention it.
 
-2010-08-19  Jim Meyering  <meyering@redhat.com>
+2010-08-18  Jim Meyering  <meyering@redhat.com>
 
        avoid non-srcdir "make check" failure
        * tests/Makefile.am (EXTRA_DIST): Add init.cfg.
        * tests/init.sh: Update from gnulib.
        * bootstrap: Likewise.
 
-2010-08-18  Jim Meyering  <meyering@redhat.com>
-
        build: update gnulib submodule to latest
 
 2010-07-20  Hans de Goede  <hdegoede@redhat.com>
        * tests/t1101-busy-partition.sh: new file.
        * tests/Makefile.am (TESTS): add the new test in check target.
 
-2010-06-27  Otavio Salvador  <otavio@ossystems.com.br>
+2010-06-26  Otavio Salvador  <otavio@ossystems.com.br>
 
        tests: skip loop-clobber-infloop if mkswap cannot be found
        * tests/t0400-loop-clobber-infloop.sh: Skip the test is case of mkswap
        * dist-check.mk: Sync from coreutils.
        * gnulib: Update to latest.
 
+2009-12-12  Jim Meyering  <meyering@redhat.com>
+
        build: distribute gperf-generated file, pt-limit.c
        * libparted/labels/Makefile.am (EXTRA_DIST): Distribute the
        gperf-generated file, pt-limit.c, so that people don't need to
        run gperf at build-from-tarball time.
 
-2009-12-12  Jim Meyering  <meyering@redhat.com>
-
        ui: mkpart: avoid double free
        * parted/parted.c (do_mkpart): This function frees "part_name"
        immediately after the final use, but also upon e.g., ped_disk_commit
        * parted/parted.c (do_print): add the "virtblk" string to the transport
        array.
 
-2009-05-24  Otavio Salvador  <otavio@ossystems.com.br>
+2009-05-23  Otavio Salvador  <otavio@ossystems.com.br>
 
        Makefile.am: fail if ABI has changed
 
        Corrected memory leak when displaying partition flags.
        Deallocated memory allocated by partition_print_flags()
 
-2008-04-27  Matt Davis  <mattdavis9@gmail.com>
+2008-04-26  Matt Davis  <mattdavis9@gmail.com>
 
        Corrected a small memory leak when displaying partition information
        Deallocated a very small memory allocation that occurs in a for loop.
        This occurred during output of partition numbers.
 
-2008-04-27  Otavio Salvador  <otavio@ossystems.com.br>
+2008-04-26  Otavio Salvador  <otavio@ossystems.com.br>
 
        do not loop in case message exception has no message
        The exception handler was looping when the exception had no message.
        list of compatible features and to recommend the usage of tune2fs or
        debugfs to remove features which are not compatible.
 
-2007-09-01  Otavio Salvador  <otavio@ossystems.com.br>
+2007-08-31  Otavio Salvador  <otavio@ossystems.com.br>
 
        Really duplicate the disk instead of readd every partition
        To avoid possible differences between the original disk layout and the
        Revert "History with undo and redo capabilities."
        This reverts commit 3bb8494e1ed5af0a48ad0211c3219e653167854f.
 
-2007-08-09  David Cantrell  <dcantrel@mortise.boston.redhat.com>
+2007-08-08  David Cantrell  <dcantrel@mortise.boston.redhat.com>
 
        History with undo and redo capabilities.
        Author: Matt Davis <mattdavis@gmail.com>
 
        Removed unused label (compiler warning). (cherry picked from commit b43bda3134059cdacb13e1a4d0a0bee8a543cfb0)
 
-2007-07-27  Otavio Salvador  <otavio@ossystems.com.br>
+2007-07-26  Otavio Salvador  <otavio@ossystems.com.br>
 
        Fix bootstrap script to support the new translationproject html files
 
        Now that "label" is malloc'd, be sure to free it before returning.
        (read_table): Likewise.
 
-       Fix "make distcheck" failure due to not finding usable partition * m4/o-direct.m4: Require that read as well as write succeed. Require that both work with blocks of size 512 as well as 4096. Reiserfs3 doesn't support 512-byte reads. Allow the user running the test to specify the first directory to test via the PARTED_TMPDIR envvar, in case none of the dirs checked by default is usable.
-
 2007-05-30  Jim Meyering  <jim@meyering.net>
 
+       Fix "make distcheck" failure due to not finding usable partition * m4/o-direct.m4: Require that read as well as write succeed. Require that both work with blocks of size 512 as well as 4096. Reiserfs3 doesn't support 512-byte reads. Allow the user running the test to specify the first directory to test via the PARTED_TMPDIR envvar, in case none of the dirs checked by default is usable.
+
        Fix configure-with-nls vs. wchar.h/wcsdup problem differently. * parted/table.c: Include <config.h> *before* all other #include directives.  Remove explicit declaration of wcsdup.  Now, we'll get the one from <wchar.h>.
 
-2007-05-30  Otavio Salvador  <otavio@ossystems.com.br>
+2007-05-29  Otavio Salvador  <otavio@ossystems.com.br>
 
        parted/table.c: Fix a warning when compiling with translation support
        ,----[ Output when compiling with translation support ]
        | table.c:168: warning: assignment makes pointer from integer without a cast
        `----
 
-2007-05-30  Benno Schulenberg  <bensberg@justemail.net>
+2007-05-29  Benno Schulenberg  <bensberg@justemail.net>
 
        fdasd label: Move formatting out of translatable strings.
        Also gettextize several missed messages, and simplify some of them.
 
        partprobe: new option: --dry-run, synonym for now-deprecated --no-update; improve its description
 
-2007-05-16  Anant Narayanan  <anant@theghost.local>
+2007-05-15  Anant Narayanan  <anant@theghost.local>
 
        Test commit
 
 
        Avoid "make distcheck" failure, with newer system headers. * parted/parted.c: Include <limits.h>, for use of CHAR_MAX.
 
-2007-05-04  Anant Narayanan  <anant@kix.in>
+2007-05-03  Anant Narayanan  <anant@kix.in>
 
        Updated Doxyfile
 
        shouldn't redo it. It's always better to have simple tests so is much
        easier to find the bugs.
 
+2007-04-19  Otavio Salvador  <otavio@ossystems.com.br>
+
        [tests] Trivial coding style fixes around the tests code
 
-2007-04-20  Otavio Salvador  <otavio@ossystems.com.br>
+2007-04-19  Otavio Salvador  <otavio@ossystems.com.br>
 
        [tests] Add _test_exception_handler to fail every time an exception is raised
        Sometimes parts of code raises exceptions and this shouldn't happen on
                ped_exception_set_handler (_test_exception_handler);
        ...
 
-2007-04-20  Debarshi Ray  <rishi@gnu.org>
+2007-04-19  Debarshi Ray  <rishi@gnu.org>
 
        [tests] New test for cloning of disk labels.
 
-2007-04-19  Debarshi Ray  <rishi@gnu.org>
-
        [tests] Fix spacing around brackets and asterisks.
 
-2007-04-19  Benno Schulenberg  <bensberg@justemail.net>
+2007-04-18  Benno Schulenberg  <bensberg@justemail.net>
 
        Handle options independent of their order.
        Abort on any invalid option, and handle -v and -h first.
 
-2007-04-19  Otavio Salvador  <otavio@ossystems.com.br>
+2007-04-18  Otavio Salvador  <otavio@ossystems.com.br>
 
        [tests] Small refactoring on test_create_label
         - Destroy the temporary device once the test has been finished,
         - Use the _implemented_disk_label and _create_disk_label methods
           to avoid code duplication.
 
-2007-04-19  Otavio Salvador  <otavio@ossystems.com.br>
+2007-04-18  Otavio Salvador  <otavio@ossystems.com.br>
 
        [tests] Implements _implemented_disk_label and _create_disk_label on common.[hc]
         - _implemented_disk_label: returns 0 when we haven't yet implemented
 
        Tweak some help messages: change third person to imperative for consistency, add single quotes and remove letters for clarity
 
-2007-03-20  David Cantrell  <dcantrell@redhat.com>
+2007-03-19  David Cantrell  <dcantrell@redhat.com>
 
        Conditionalize the System Z stuff correctly.  We get headers installed on non-System Z platforms, but the code only compiles on that platform.
 
 
        linux.c: Avoid memory overrun.  Handle 2048-byte logical sectors. * libparted/arch/linux.c (linux_read): Allocate the right amount of space for the (potentially 2048-byte-long) sectors we're about to read.
 
+2007-03-07  Jim Meyering  <jim@meyering.net>
+
        Don't use deprecated mktemp, to avoid linker warning * libparted/tests/common.c (_create_disk): Rewrite to use mkstemp instead.
 
        * libparted/tests/label.c: Plug a trivial leak.
 
        Arrange for "make distcheck" to be stricter.
 
+2007-02-26  Jim Meyering  <jim@meyering.net>
+
        * bootstrap: new file.
 
 2007-02-26  Debarshi Ray  <rishi@gnu.org>
 
        Introduced MAINTAINERCLEANFILES in Makefile.am for carrying out 'make maintainer-clean'.
 
+2007-02-18  Debarshi Ray  <rishi@gnu.org>
+
        Cleaning up nested structs & unions.
 
 2007-02-16  Jim Meyering  <jim@meyering.net>
        * libparted/labels/dasd.c: Remove unused labels and declarations
        of unused variables.
 
-2007-02-16  Debarshi Ray  <rishi@gnu.org>
+2007-02-15  Debarshi Ray  <rishi@gnu.org>
 
        Fix the style of typedef, enum, struct and __attribute__ ((packed)).
 
-2007-02-15  Debarshi Ray  <rishi@gnu.org>
+2007-02-14  Debarshi Ray  <rishi@gnu.org>
 
        Deprecating ped_[register|unregister]_disk_type in favour of ped_disk_type_[register|unregister].
 
 
        cb6ca73be06f360308e6a2fccb7142ed8175af29 continued.
 
+2007-01-15  Debarshi Ray  <rishi@gnu.org>
+
        Add stdint.h stdlib.h & string.h to include/parted/parted.h and remove them from other files.
 
 2007-01-14  Debarshi Ray  <rishi@gnu.org>
 
        Updated the AUTHORS file. (cherry picked from commit 7ab32d423cc43a5e9372a7dc000feb183db9a89a)
 
-2007-01-12  Debarshi Ray  <rishi@gnu.org>
+2007-01-11  Debarshi Ray  <rishi@gnu.org>
 
        Rectify segmentation fault caused by 9e05418de3477666b0709f5d1996149febd33100
 
 
        added scripts/update-po
 
-2006-12-13  David Cantrell  <dcantrel@mortise.boston.redhat.com>
+2006-12-12  David Cantrell  <dcantrel@mortise.boston.redhat.com>
 
        Merge branches 'master' and 'master' of git+ssh://dcantrell-guest@git.debian.org/git/parted/parted
 
 
        Zero sized device is shown as 0.00B and not -0.00kB.
 
-2006-12-07  Otavio Salvador  <otavio@debian.org>
+2006-12-06  Otavio Salvador  <otavio@debian.org>
 
        libparted/exception.c: Dynamically allow space of exception message.
 
 
        Implement 'print devices'.
 
-2006-12-06  Benno Schulenberg  <bensberg@justemail.net>
+2006-12-05  Benno Schulenberg  <bensberg@justemail.net>
 
        Translate the copyright message, and hard wrap it
 
 
        parted/parted.c: Remove useless line break
 
-2006-12-05  Otavio Salvador  <otavio@ossystems.com.br>
+2006-12-04  Otavio Salvador  <otavio@ossystems.com.br>
 
        Add check unittest support and a initial test for a resizing bug.
 
-2006-12-04  David Cantrell  <dcantrel@mortise.boston.redhat.com>
+2006-12-03  David Cantrell  <dcantrel@mortise.boston.redhat.com>
 
        Fix the upload script to correctly reference the sig files.
 
 
        Cleanup _partition_warn_busy, _disk_warn_busy, _partition_warn_loss and _disk_warn_loss.
 
-2006-11-29  Otavio Salvador  <otavio@debian.org>
+2006-11-28  Otavio Salvador  <otavio@debian.org>
 
        Proper print when there're no extended partitions, but partition names (patch from Sven Luther)
 
-2006-11-28  Otavio Salvador  <otavio@debian.org>
-
        libparted/arch/linux.c: initialize task point to please GCC
 
        Don't enforce libselinux and libsepol linking when using device-mapper support
 
        Make mktable aliased to mklabel.
 
-2006-11-28  Otavio Salvador  <otavio@debian.org>
+2006-11-27  Otavio Salvador  <otavio@debian.org>
 
        Fix 'print' command help
        'print' command help was missing a new line at end and then breaking
 
        Updated translations.
 
-2006-11-27  Otavio Salvador  <otavio@debian.org>
+2006-11-26  Otavio Salvador  <otavio@debian.org>
 
        Remove doc/mdate-sh and doc/texinfo.tex since they are included when we run autogen.sh
 
 
        Fix loop in print_all, thanks to Debarshi Ray for the patch.
 
-2006-11-21  Otavio Salvador  <otavio@debian.org>
+2006-11-20  Otavio Salvador  <otavio@debian.org>
 
        Remove useless 'return 0;' call
        Since PED_ASSERT will always be run, the return 0 is useless, hence
 
        git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@892 2d424fd7-7fe2-0310-af74-8bc65edeb173
 
-2006-11-11  Otavio Salvador  <otavio@debian.org>
+2006-11-10  Otavio Salvador  <otavio@debian.org>
 
        Changes done on darcs repository suitable for 1.8 release:
        Fri Nov 10 23:19:15 BRST 2006  Otavio Salvador <otavio@debian.org>
 
        git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@890 2d424fd7-7fe2-0310-af74-8bc65edeb173
 
-2006-11-06  David Cantrell  <dcantrell@redhat.com>
+2006-11-05  David Cantrell  <dcantrell@redhat.com>
 
        Updates for parted-1.8.0rc3
        git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@882 2d424fd7-7fe2-0310-af74-8bc65edeb173
           * arch/linux.c: Define PROC_DEVICES_BUFSIZ for reading /proc/devices,    set to 16384.
        git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@881 2d424fd7-7fe2-0310-af74-8bc65edeb173
 
-2006-11-03  David Cantrell  <dcantrell@redhat.com>
+2006-11-02  David Cantrell  <dcantrell@redhat.com>
 
           * labels/mac.c (_rawpart_is_boot): Check for Apple_Boot type.    * labels/mac.c (_rawpart_analyse): Don't check the data_region_length    against the part->geom.length for boot partitions.
        git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@880 2d424fd7-7fe2-0310-af74-8bc65edeb173
index 58f2ead461a040942ad1bc374a28928a9ee99ef3..4ab642943f3ba3042db4659829a77806c1c93a5a 100644 (file)
@@ -5,7 +5,7 @@
 # It is necessary if you want to build targets usually of interest
 # only to the maintainer.
 
-# Copyright (C) 2001, 2003, 2006-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2006-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/INSTALL b/INSTALL
index 6e90e07d271f34826b3868acf577d68a5761c0c1..2099840756e6302d837dcd51b5dcd6262f7adb16 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,7 @@
 Installation Instructions
 *************************
 
-Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
+Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
 Inc.
 
    Copying and distribution of this file, with or without modification,
@@ -12,8 +12,8 @@ without warranty of any kind.
 Basic Installation
 ==================
 
-   Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package.  The following
+   Briefly, the shell command `./configure && make && make install'
+should configure, build, and install this package.  The following
 more-detailed instructions are generic; see the `README' file for
 instructions specific to this package.  Some packages provide this
 `INSTALL' file but do not implement all of the features documented
index 5e52a426317eb218be87bbb84d1f74a8166d268b..686b61cd4f9bf65ba6ce45b4fb0b1397b3de8c85 100644 (file)
@@ -107,6 +107,7 @@ gen_start_date = 2000-01-01
 gen-ChangeLog:
        if test -d .git; then                                           \
          $(top_srcdir)/build-aux/gitlog-to-changelog                   \
+           --amend=$(srcdir)/build-aux/git-log-fix                     \
            --since=$(gen_start_date) > $(distdir)/cl-t;                \
          rm -f $(distdir)/ChangeLog;                                   \
          mv $(distdir)/cl-t $(distdir)/ChangeLog;                      \
index d0c26e5b2e010cfbcd03139ab4ef4ce43549daa1..dbc3e93910056811776d8dcfd36e2d873cffee2e 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 @SET_MAKE@
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -51,25 +78,26 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(srcdir)/libparted.pc.in \
+DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
+       $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+       $(top_srcdir)/configure $(am__configure_deps) \
+       $(srcdir)/libparted.pc.in ABOUT-NLS COPYING THANKS TODO \
+       build-aux/compile build-aux/config.guess \
+       build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
+       build-aux/install-sh build-aux/mdate-sh build-aux/missing \
+       build-aux/texinfo.tex build-aux/ltmain.sh \
        $(top_srcdir)/build-aux/compile \
        $(top_srcdir)/build-aux/config.guess \
        $(top_srcdir)/build-aux/config.rpath \
        $(top_srcdir)/build-aux/config.sub \
        $(top_srcdir)/build-aux/install-sh \
        $(top_srcdir)/build-aux/ltmain.sh \
-       $(top_srcdir)/build-aux/missing $(top_srcdir)/configure \
-       ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS THANKS TODO \
-       build-aux/compile build-aux/config.guess \
-       build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
-       build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \
-       build-aux/missing build-aux/texinfo.tex
+       $(top_srcdir)/build-aux/missing
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -77,16 +105,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -96,35 +125,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -149,21 +179,33 @@ mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = $(top_builddir)/lib/config.h
 CONFIG_CLEAN_FILES = libparted.pc
 CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
 AM_V_GEN = $(am__v_GEN_@AM_V@)
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
 AM_V_at = $(am__v_at_@AM_V@)
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
+am__v_at_1 = 
 SOURCES =
 DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+       ctags-recursive dvi-recursive html-recursive info-recursive \
+       install-data-recursive install-dvi-recursive \
+       install-exec-recursive install-html-recursive \
+       install-info-recursive install-pdf-recursive \
+       install-ps-recursive install-recursive installcheck-recursive \
+       installdirs-recursive pdf-recursive ps-recursive \
+       tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 am__vpath_adj = case $$p in \
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -195,9 +237,29 @@ am__installdirs = "$(DESTDIR)$(pcdir)"
 DATA = $(pc_DATA)
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
   distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+  $(RECURSIVE_TARGETS) \
+  $(RECURSIVE_CLEAN_TARGETS) \
+  $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
        cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 CSCOPE = cscope
@@ -322,7 +384,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -359,7 +420,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -375,6 +435,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -450,6 +511,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -574,7 +636,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -598,7 +659,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -672,6 +732,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -681,10 +742,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -814,7 +873,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -834,7 +892,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -898,21 +955,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -941,6 +1003,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -975,6 +1038,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -1024,6 +1089,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1080,6 +1147,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1167,8 +1235,11 @@ distclean-libtool:
        -rm -f libtool config.lt
 install-pcDATA: $(pc_DATA)
        @$(NORMAL_INSTALL)
-       test -z "$(pcdir)" || $(MKDIR_P) "$(DESTDIR)$(pcdir)"
        @list='$(pc_DATA)'; test -n "$(pcdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(pcdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(pcdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -1190,17 +1261,20 @@ uninstall-pcDATA:
 # (1) if the variable is set in 'config.status', edit 'config.status'
 #     (which will cause the Makefiles to be regenerated when you run 'make');
 # (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
+$(am__recursive_targets):
+       @fail=; \
+       if $(am__make_keepgoing); then \
+         failcom='fail=yes'; \
+       else \
+         failcom='exit 1'; \
+       fi; \
        dot_seen=no; \
        target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
+       case "$@" in \
+         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+         *) list='$(SUBDIRS)' ;; \
+       esac; \
+       for subdir in $$list; do \
          echo "Making $$target in $$subdir"; \
          if test "$$subdir" = "."; then \
            dot_seen=yes; \
@@ -1215,61 +1289,12 @@ $(RECURSIVE_TARGETS):
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
        fi; test -z "$$fail"
 
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-cscopelist-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
-       done
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -1285,12 +1310,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
          fi; \
        done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1302,15 +1322,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1319,18 +1335,16 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
-
 cscope: cscope.files
        test ! -s cscope.files \
          || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
 clean-cscope:
        -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
 
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1430,10 +1444,16 @@ dist-xz: distdir
        $(am__post_remove_distdir)
 
 dist-tarZ: distdir
+       @echo WARNING: "Support for shar distribution archives is" \
+                      "deprecated." >&2
+       @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
        $(am__post_remove_distdir)
 
 dist-shar: distdir
+       @echo WARNING: "Support for distribution archives compressed with" \
+                      "legacy program 'compress' is deprecated." >&2
+       @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
        $(am__post_remove_distdir)
 
@@ -1466,9 +1486,9 @@ distcheck: dist
        *.zip*) \
          unzip $(distdir).zip ;;\
        esac
-       chmod -R a-w $(distdir); chmod a+w $(distdir)
-       mkdir $(distdir)/_build
-       mkdir $(distdir)/_inst
+       chmod -R a-w $(distdir)
+       chmod u+w $(distdir)
+       mkdir $(distdir)/_build $(distdir)/_inst
        chmod a-w $(distdir)
        test -d $(distdir)/_build || exit 0; \
        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
@@ -1476,9 +1496,10 @@ distcheck: dist
          && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
          && am__cwd=`pwd` \
          && $(am__cd) $(distdir)/_build \
-         && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+         && ../configure \
            $(AM_DISTCHECK_CONFIGURE_FLAGS) \
            $(DISTCHECK_CONFIGURE_FLAGS) \
+           --srcdir=.. --prefix="$$dc_install_base" \
          && $(MAKE) $(AM_MAKEFLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
          && $(MAKE) $(AM_MAKEFLAGS) check \
@@ -1643,27 +1664,25 @@ ps-am:
 
 uninstall-am: uninstall-pcDATA
 
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
-       cscopelist-recursive ctags-recursive install install-am \
-       install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am am--refresh check check-am clean clean-cscope \
-       clean-generic clean-libtool cscope cscopelist \
-       cscopelist-recursive ctags ctags-recursive dist dist-all \
-       dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
-       dist-xz dist-zip distcheck distclean distclean-generic \
-       distclean-libtool distclean-tags distcleancheck distdir \
-       distuninstallcheck dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-pcDATA install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am uninstall-pcDATA
+.MAKE: $(am__recursive_targets) all check install install-am \
+       install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+       am--refresh check check-am clean clean-cscope clean-generic \
+       clean-libtool cscope cscopelist-am ctags ctags-am dist \
+       dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+       dist-tarZ dist-xz dist-zip distcheck distclean \
+       distclean-generic distclean-libtool distclean-tags \
+       distcleancheck distdir distuninstallcheck dvi dvi-am html \
+       html-am info info-am install install-am install-data \
+       install-data-am install-dvi install-dvi-am install-exec \
+       install-exec-am install-html install-html-am install-info \
+       install-info-am install-man install-pcDATA install-pdf \
+       install-pdf-am install-ps install-ps-am install-strip \
+       installcheck installcheck-am installdirs installdirs-am \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+       tags tags-am uninstall uninstall-am uninstall-pcDATA
 
 
 # This is best not done via configure.ac, because automake's
@@ -1736,6 +1755,7 @@ dist-hook: gen-ChangeLog
 gen-ChangeLog:
        if test -d .git; then                                           \
          $(top_srcdir)/build-aux/gitlog-to-changelog                   \
+           --amend=$(srcdir)/build-aux/git-log-fix                     \
            --since=$(gen_start_date) > $(distdir)/cl-t;                \
          rm -f $(distdir)/ChangeLog;                                   \
          mv $(distdir)/cl-t $(distdir)/ChangeLog;                      \
diff --git a/NEWS b/NEWS
index fe0fcdd10a1983719c63b011f0f74a3fa1d8b8c4..49c8129d1cdc6b17a9af1d46c79d45bd51e45fa8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,166 @@
 GNU parted NEWS                                    -*- outline -*-
 
+* Noteworthy changes in release 3.2 (2014-07-28) [stable]
+
+** New Features
+
+  Add resizepart command to resize a partition.  This works even on
+  mounted partitions.
+
+  Add support for EAV DASD partitions, which are ECKD's with more than
+  65520 cylinders.
+
+  Add support for implicit FBA DASD partitions with a single immutable
+  partition.
+
+  Added support for recognizing btrfs filesystem. This simply displays
+  btrfs in the 'file system' column of the parted output.
+
+  Added new partition type flag, esp, to set the type to 0xEF on MS-DOS.
+  Also aliased to boot on GPT to set the UEFI ESP GUID.
+
+  Added new partition type flag, irst, for use with Intel Rapid Start
+  Technology. On MS-DOS disk labels it sets the type to 0x84 and on GPT
+  it sets the GUID to D3BFE2DE-3DAF-11DF-BA-40-E3A556D89593.
+
+  You can now choose to ignore errors about partitions that overlap,
+  or are longer than the disk.  This allows you to use parted to
+  repair the problem.
+
+  Add support for prep flag to GPT to select PowerPC Reference Platform
+  boot partition type.
+
+** Bug Fixes
+
+  libparted: fix mac partition tables on > 512 byte sector sizes
+
+  libparted: ped_partition_get_path() was returning "/dev/foo1" instead
+  of "/dev/foo" for loop labels.
+
+  partprobe: when called on a disk that has become a loop label,
+  remove any partitions left over from a previous label.
+
+  libparted: The loop label represents an unpartitioned disk, but creates
+  a dummy partition to represent the whole disk.  This dummy partition
+  was actually being loaded into the kernel.  Don't do that.
+
+  libparted: fix loop labels to not vanish if you don't create
+  a filesystem, and to not return an error syncing when you do.
+
+  libparted: remove all old partitions, even if new label does not allow
+  as many.
+
+  libparted: fat and ntfs boot sectors were misdetected as dos
+  partition tables instead of being treated as a loop label.
+
+  libparted: previously if you chose to ignore the warning about
+  the gpt thinking the disk was smaller than it appears to be on
+  disk, subsequent warnings on other disks would be suppressed.
+  Now parted will warn once per disk.
+
+  Fix filesystem detection on non 512 byte sector sizes
+
+  Fix linux partition sync code to flush partitions > 16
+
+  Do not reject a FAT boot sector as invalid because it has no
+  system ID string.
+
+  libparted: /dev/md/ symlink can change after libparted dereferences it,
+  instead it should just use the symlink as given by the caller in the
+  same way we do with /dev/mapper/.
+
+  libparted: On multipath systems new partitions would sometimes not
+  appear, reporting 'device-mapper: create ioctl failed: Device or
+  resource busy' until the system was rebooted. Added dm_udev_wait
+  calls to synchronize parted with udev.
+
+  Fix help text for disk_{set,toggle} to show *disk* flags instead
+  of partition flags.
+
+  Fix gpt to correctly handle non ASCII charcters in partition names
+
+  If a drive was 100 times an even multiple of two, sizes specified as
+  a percentage would trigger the exact placement rule and refuse to round
+  to the nearest half percent.
+
+  Avoid generating udev add/remove events for all unmodified partitions
+  when writing a new table.
+
+  Fix cache coherency issue by flushing partition block devices.
+  This had been mistakenly disabled in parted 2.0, and resulted
+  in parted sometimes identifying the previous filesystem type
+  after running an mkfs to format a partition to a new type.
+
+  libparted: fix gpt end of disk handling.  Previously if the backup
+  copy of the gpt was not at the end of the disk and you chose to
+  ignore this error, parted would move it to the end of the disk
+  anyhow.  It will now leave the backup in the same location if
+  you chose to ignore this error.
+
+  libparted: handle logical partitions starting immediately after
+  the EBR.  Creating a logical partition one sector after the EBR
+  used to cause parted to complain that it could not inform the
+  kernel of the changes, but after a reboot, everything was fine.
+  Parted will now correctly inform the kernel of the changes, but
+  only set the length of the extended partition to 1 sector instead
+  of two, which would cause it to overlap the logical partition.
+
+  parted: fix EOF and ctrl-c handling.  parted used to refuse to exit
+  in response to ctrl-c and would get stuck in an infinite loop
+  prompting for more input when it reached EOF on stdin.
+
+  libparted: Don't fail to manipulate partitions on dmraid disks that
+  have other partitions in use.
+
+  libparted: mac: a MAC partition table could have a block_size larger
+  than the one the kernel told us about.  Upon reading that partition
+  table, libparted would ask if it's ok to use the larger block size.
+  If you were to respond in the affirmative, libparted would read the
+  larger number of bytes into a buffer of the shorter length,
+  overrunning it.
+
+  libparted: gpt: fix gpt_get_max_supported_partition_count to work
+  also on little-endian systems.
+
+  libparted: treat a disk with no pMBR as an msdos-labeled disk
+  even when it has valid GPT headers.
+
+  partprobe now tells the kernel to forget about any partitions
+  on a device that has no recognizable partition table.
+
+  dos: the range of random MBR signature values was artificially limited
+  to 0..999999, which mistakenly included 0.  Now, we use the full 32-bit
+  range, but exclude 0.
+
+** Changes in behavior
+
+  When attempting to manipulate a mounted partition, parted now issues
+  a warning that you can choose to ignore, instead of an error.
+
+  When creating a loop label, it automatically comes with a partition
+  using the whole disk.
+
+  parted -l no longer lists device-mapper devices other than
+  dmraid whole disks.
+
+  Added new Linux-specific partition GUID type code
+  (0FC63DAF-8483-4772-8E79-3D69D8477DE4) for Linux filesystem data on GPT
+  disks.  This type code is now assigned as the default partition type code
+  for new partitions holding Linux filesystems.
+
+  Added new "msftdata" flag to identify partitions holding NTFS or FAT
+  filesystems on GPT disks.  This flag corresponds to a GPT type code of
+  EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 ("Microsoft Basic Data").  Since
+  Linux filesystem partitions formerly used this type code, this flag may
+  optionally be set on Linux partitions to make the partition table type
+  codes match former configurations in case the new Linux filesystem type
+  code causes problems with some utility.  Note that this flag cannot be
+  removed from NTFS or FAT partitions within parted except by setting a
+  competing flag, such as "boot" (which sets the type code used by EFI
+  System partitions) or "msftres" (which sets the "Microsoft Reserved" type
+  code).
+
+
 * Noteworthy changes in release 3.1 (2012-03-02) [stable]
 
 ** New features
@@ -698,7 +859,7 @@ GNU parted NEWS                                    -*- outline -*-
 
 ========================================================================
 
-Copyright (C) 2001-2012 Free Software Foundation, Inc.
+Copyright (C) 2001-2014 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
index d9529c587d105eb9215b0c9a67cb599c687e6e9f..070e2f748e61e1ebb3770ffc76f8a13af78e19de 100644 (file)
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11a -*- Autoconf -*-
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68b.1-36a2],,
-[m4_warning([this file was generated for autoconf 2.68b.1-36a2.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
@@ -48,7 +48,8 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
 # ----------------------------------
 AC_DEFUN([PKG_PROG_PKG_CONFIG],
 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
@@ -94,7 +95,8 @@ m4_define([_PKG_CONFIG],
     pkg_cv_[]$1="$$1"
  elif test -n "$PKG_CONFIG"; then
     PKG_CHECK_EXISTS([$3],
-                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
+                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes ],
                     [pkg_failed=yes])
  else
     pkg_failed=untried
@@ -142,9 +144,9 @@ if test $pkg_failed = yes; then
        AC_MSG_RESULT([no])
         _PKG_SHORT_ERRORS_SUPPORTED
         if test $_pkg_short_errors_supported = yes; then
-               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
         else 
-               $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
@@ -157,7 +159,7 @@ $$1_PKG_ERRORS
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.
 
-_PKG_TEXT])
+_PKG_TEXT])[]dnl
         ])
 elif test $pkg_failed = untried; then
        AC_MSG_RESULT([no])
@@ -168,7 +170,7 @@ path to pkg-config.
 
 _PKG_TEXT
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
         ])
 else
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
@@ -178,24 +180,77 @@ else
 fi[]dnl
 ])# PKG_CHECK_MODULES
 
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+
+# PKG_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable pkgconfigdir as the location where a module
+# should install pkg-config .pc files. By default the directory is
+# $libdir/pkgconfig, but the default can be changed by passing
+# DIRECTORY. The user can override through the --with-pkgconfigdir
+# parameter.
+AC_DEFUN([PKG_INSTALLDIR],
+[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+    [pkg-config installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([pkgconfigdir],
+    [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
+    [with_pkgconfigdir=]pkg_default)
+AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+]) dnl PKG_INSTALLDIR
+
+
+# PKG_NOARCH_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable noarch_pkgconfigdir as the location where a
+# module should install arch-independent pkg-config .pc files. By
+# default the directory is $datadir/pkgconfig, but the default can be
+# changed by passing DIRECTORY. The user can override through the
+# --with-noarch-pkgconfigdir parameter.
+AC_DEFUN([PKG_NOARCH_INSTALLDIR],
+[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+    [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([noarch-pkgconfigdir],
+    [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
+    [with_noarch_pkgconfigdir=]pkg_default)
+AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+]) dnl PKG_NOARCH_INSTALLDIR
+
+
+# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
+# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -------------------------------------------
+# Retrieves the value of the pkg-config variable for the given module.
+AC_DEFUN([PKG_CHECK_VAR],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
+
+_PKG_CONFIG([$1], [variable="][$3]["], [$2])
+AS_VAR_COPY([$1], [pkg_cv_][$1])
+
+AS_VAR_IF([$1], [""], [$5], [$4])dnl
+])# PKG_CHECK_VAR
+
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 8
-
 # AM_AUTOMAKE_VERSION(VERSION)
 # ----------------------------
 # Automake X.Y traces this macro to ensure aclocal.m4 has been
 # generated from the m4 files accompanying Automake X.Y.
 # (This private macro should not be called outside this file.)
 AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.11a'
+[am__api_version='1.14'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.11a], [],
+m4_if([$1], [1.14.1], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -211,21 +266,19 @@ m4_define([_AM_AUTOCONF_VERSION], [])
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.11a])dnl
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
@@ -273,14 +326,12 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
 
 # AM_CONDITIONAL                                            -*- Autoconf -*-
 
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 10
-
 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
 # -------------------------------------
 # Define a conditional.
@@ -306,13 +357,12 @@ AC_CONFIG_COMMANDS_PRE(
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 16
 
 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
 # written in clear, in which case automake, when reading aclocal.m4,
@@ -324,7 +374,7 @@ fi])])
 # _AM_DEPENDENCIES(NAME)
 # ----------------------
 # See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
 # We try a few techniques and use that to set a single cache variable.
 #
 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
@@ -340,6 +390,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl
 m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
       [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
       [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
       [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
       [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
                     [depcc="$$1"   am_compiler_list=])
@@ -497,19 +548,18 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
 
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
 
 # _AM_OUTPUT_DEPENDENCY_COMMANDS
 # ------------------------------
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 [{
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
+  # Older Autoconf quotes --file arguments for eval, but not when files
   # are listed without --file.  Let's play safe and only enable the eval
   # if we detect the quoting.
   case $CONFIG_FILES in
@@ -538,7 +588,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
     test -z "$DEPDIR" && continue
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
-    test -z "am__include" && continue
+    test -z "$am__include" && continue
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
     # Find all dependency output files, they are included files with
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
@@ -574,17 +624,21 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 
 # Do all the work for Automake.                             -*- Autoconf -*-
 
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 18
-
 # This macro actually does too much.  Some checks are only needed if
 # your package does certain things.  But this isn't really a big deal.
 
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
+m4_define([AC_PROG_CC],
+m4_defn([AC_PROG_CC])
+[_AM_PROG_CC_C_O
+])
+
 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
 # AM_INIT_AUTOMAKE([OPTIONS])
 # -----------------------------------------------
@@ -597,7 +651,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 # arguments mandatory, and then we can depend on a new Autoconf
 # release and drop the old call support.
 AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 dnl the ones we care about.
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -626,7 +680,9 @@ AC_SUBST([CYGPATH_W])
 # Define the identity of the package.
 dnl Distinguish between old-style and new-style calls.
 m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+[AC_DIAGNOSE([obsolete],
+             [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  AC_SUBST([PACKAGE], [$1])dnl
  AC_SUBST([VERSION], [$2])],
 [_AM_SET_OPTIONS([$1])dnl
@@ -652,7 +708,12 @@ AM_MISSING_PROG([AUTOHEADER], [autoheader])
 AM_MISSING_PROG([MAKEINFO], [makeinfo])
 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility.  To be removed once Automake 1.9.x
+# dies out for good.  For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
 AC_REQUIRE([AC_PROG_AWK])dnl
@@ -664,25 +725,70 @@ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
 _AM_IF_OPTION([no-dependencies],,
 [AC_PROVIDE_IFELSE([AC_PROG_CC],
                  [_AM_DEPENDENCIES([CC])],
-                 [define([AC_PROG_CC],
-                         defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+                 [m4_define([AC_PROG_CC],
+                            m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
 AC_PROVIDE_IFELSE([AC_PROG_CXX],
                  [_AM_DEPENDENCIES([CXX])],
-                 [define([AC_PROG_CXX],
-                         defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+                 [m4_define([AC_PROG_CXX],
+                            m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
                  [_AM_DEPENDENCIES([OBJC])],
-                 [define([AC_PROG_OBJC],
-                         defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+                 [m4_define([AC_PROG_OBJC],
+                            m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+                 [_AM_DEPENDENCIES([OBJCXX])],
+                 [m4_define([AC_PROG_OBJCXX],
+                            m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
 ])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
 AC_CONFIG_COMMANDS_PRE(dnl
 [m4_provide_if([_AM_COMPILER_EXEEXT],
   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
-])
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes.  So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+  cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present.  This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message.  This
+can help us improve future automake versions.
+
+END
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+    echo 'Configuration will proceed anyway, since you have set the' >&2
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+    echo >&2
+  else
+    cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+  fi
+fi])
 
 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
@@ -690,7 +796,6 @@ dnl mangled by Autoconf and run in a shell conditional statement.
 m4_define([_AC_COMPILER_EXEEXT],
 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
 
-
 # When config.status generates a header, we must update the stamp-h file.
 # This file resides in the same directory as the config header
 # that is generated.  The stamp files are numbered to have different names.
@@ -712,14 +817,12 @@ for _am_header in $config_headers :; do
 done
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 8
-
 # AM_PROG_INSTALL_SH
 # ------------------
 # Define $install_sh.
@@ -735,14 +838,12 @@ if test x"${install_sh}" != xset; then
 fi
 AC_SUBST([install_sh])])
 
-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # Check whether the underlying file-system supports filenames
 # with a leading dot.  For instance MS-DOS doesn't.
 AC_DEFUN([AM_SET_LEADING_DOT],
@@ -758,14 +859,12 @@ AC_SUBST([am__leading_dot])])
 
 # Check to see how 'make' treats includes.                 -*- Autoconf -*-
 
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 5
-
 # AM_MAKE_INCLUDE()
 # -----------------
 # Check to see how make treats includes.
@@ -808,50 +907,14 @@ AC_MSG_RESULT([$_am_result])
 rm -f confinc confmf
 ])
 
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 6
-
-# AM_PROG_CC_C_O
-# --------------
-# Like AC_PROG_CC_C_O, but changed for automake.
-AC_DEFUN([AM_PROG_CC_C_O],
-[AC_REQUIRE([AC_PROG_CC_C_O])dnl
-AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-AC_REQUIRE_AUX_FILE([compile])dnl
-# FIXME: we rely on the cache variable name because
-# there is no other way.
-set dummy $CC
-am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
-eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
-if test "$am_t" != yes; then
-   # Losing compiler, so override with the script.
-   # FIXME: It is wrong to rewrite CC.
-   # But if we don't then we get into trouble of one sort or another.
-   # A longer-term fix would be to have automake use am__CC in this case,
-   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
-   CC="$am_aux_dir/compile $CC"
-fi
-dnl Make sure AC_PROG_CC is never called again, or it will override our
-dnl setting of CC.
-m4_define([AC_PROG_CC],
-          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
-])
-
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 7
-
 # AM_MISSING_PROG(NAME, PROGRAM)
 # ------------------------------
 AC_DEFUN([AM_MISSING_PROG],
@@ -859,11 +922,10 @@ AC_DEFUN([AM_MISSING_PROG],
 $1=${$1-"${am_missing_run}$2"}
 AC_SUBST($1)])
 
-
 # AM_MISSING_HAS_RUN
 # ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
 AC_DEFUN([AM_MISSING_HAS_RUN],
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 AC_REQUIRE_AUX_FILE([missing])dnl
@@ -876,28 +938,32 @@ if test x"${MISSING+set}" != xset; then
   esac
 fi
 # Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
-  am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+  am_missing_run="$MISSING "
 else
   am_missing_run=
   AC_MSG_WARN(['missing' script is too old or missing])
 fi
 ])
 
-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # AM_PROG_MKDIR_P
 # ---------------
 # Check for 'mkdir -p'.
 AC_DEFUN([AM_PROG_MKDIR_P],
 [AC_PREREQ([2.60])dnl
 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+dnl FIXME we are no longer going to remove this! adjust warning
+dnl FIXME message accordingly.
+AC_DIAGNOSE([obsolete],
+[$0: this macro is deprecated, and will soon be removed.
+You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead,
+and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.])
 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 dnl while keeping a definition of mkdir_p for backward compatibility.
 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
@@ -914,14 +980,12 @@ esac
 
 # Helper functions for option handling.                     -*- Autoconf -*-
 
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
-
 # _AM_MANGLE_OPTION(NAME)
 # -----------------------
 AC_DEFUN([_AM_MANGLE_OPTION],
@@ -945,15 +1009,77 @@ AC_DEFUN([_AM_SET_OPTIONS],
 AC_DEFUN([_AM_IF_OPTION],
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
-# Check to make sure that the build environment is sane.    -*- Autoconf -*-
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_CC_C_O
+# ---------------
+# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
+# to automatically call this.
+AC_DEFUN([_AM_PROG_CC_C_O],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+AC_LANG_PUSH([C])dnl
+AC_CACHE_CHECK(
+  [whether $CC understands -c and -o together],
+  [am_cv_prog_cc_c_o],
+  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
+  # Make sure it works both with $CC and with simple cc.
+  # Following AC_PROG_CC_C_O, we do the test twice because some
+  # compilers refuse to overwrite an existing .o file with -o,
+  # though they will create one.
+  am_cv_prog_cc_c_o=yes
+  for am_i in 1 2; do
+    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
+         && test -f conftest2.$ac_objext; then
+      : OK
+    else
+      am_cv_prog_cc_c_o=no
+      break
+    fi
+  done
+  rm -f core conftest*
+  unset am_i])
+if test "$am_cv_prog_cc_c_o" != yes; then
+   # Losing compiler, so override with the script.
+   # FIXME: It is wrong to rewrite CC.
+   # But if we don't then we get into trouble of one sort or another.
+   # A longer-term fix would be to have automake use am__CC in this case,
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+   CC="$am_aux_dir/compile $CC"
+fi
+AC_LANG_POP([C])])
+
+# For backward compatibility.
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
 
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 9
+# AM_RUN_LOG(COMMAND)
+# -------------------
+# Run COMMAND, save the exit status in ac_status, and log it.
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
+AC_DEFUN([AM_RUN_LOG],
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+   (exit $ac_status); }])
+
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 # AM_SANITY_CHECK
 # ---------------
@@ -1030,14 +1156,12 @@ AC_CONFIG_COMMANDS_PRE(
 rm -f conftest.file
 ])
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
-
 # AM_SILENT_RULES([DEFAULT])
 # --------------------------
 # Enable less verbose build rules; with the default set to DEFAULT
@@ -1092,14 +1216,12 @@ AC_SUBST([AM_BACKSLASH])dnl
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 ])
 
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # AM_PROG_INSTALL_STRIP
 # ---------------------
 # One issue with vendor 'install' (even GNU) is that you can't
@@ -1122,14 +1244,12 @@ fi
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
-# Copyright (C) 2006-2012 Free Software Foundation, Inc.
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
-
 # _AM_SUBST_NOTMAKE(VARIABLE)
 # ---------------------------
 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
@@ -1143,14 +1263,12 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
 # Check how to create a tarball.                            -*- Autoconf -*-
 
-# Copyright (C) 2004-2012 Free Software Foundation, Inc.
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
-
 # _AM_PROG_TAR(FORMAT)
 # --------------------
 # Check how to create a tarball in format FORMAT.
@@ -1164,81 +1282,120 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 # Substitute a variable $(am__untar) that extract such
 # a tarball read from stdin.
 #     $(am__untar) < result.tar
+#
 AC_DEFUN([_AM_PROG_TAR],
 [# Always define AMTAR for backward compatibility.  Yes, it's still used
 # in the wild :-(  We should find a proper way to deprecate it ...
 AC_SUBST([AMTAR], ['$${TAR-tar}'])
-m4_if([$1], [v7],
-     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
-     [m4_case([$1], [ustar],, [pax],,
-              [m4_fatal([Unknown tar format])])
-AC_MSG_CHECKING([how to create a $1 tar archive])
-# Loop over all known methods to create a tar archive until one works.
+
+# We'll loop over all known methods to create a tar archive until one works.
 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of '-'.
-for _am_tool in $_am_tools
-do
-  case $_am_tool in
-  gnutar)
-    for _am_tar in tar gnutar gtar;
-    do
-      AM_RUN_LOG([$_am_tar --version]) && break
-    done
-    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
-    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
-    am__untar="$_am_tar -xf -"
-    ;;
-  plaintar)
-    # Must skip GNU tar: if it does not support --format= it doesn't create
-    # ustar tarball either.
-    (tar --version) >/dev/null 2>&1 && continue
-    am__tar='tar chf - "$$tardir"'
-    am__tar_='tar chf - "$tardir"'
-    am__untar='tar xf -'
-    ;;
-  pax)
-    am__tar='pax -L -x $1 -w "$$tardir"'
-    am__tar_='pax -L -x $1 -w "$tardir"'
-    am__untar='pax -r'
-    ;;
-  cpio)
-    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
-    am__untar='cpio -i -H $1 -d'
-    ;;
-  none)
-    am__tar=false
-    am__tar_=false
-    am__untar=false
-    ;;
-  esac
 
-  # If the value was cached, stop now.  We just wanted to have am__tar
-  # and am__untar set.
-  test -n "${am_cv_prog_tar_$1}" && break
+m4_if([$1], [v7],
+  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+  [m4_case([$1],
+    [ustar],
+     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+      # and bug#13588).
+      am_max_uid=2097151 # 2^21 - 1
+      am_max_gid=$am_max_uid
+      # The $UID and $GID variables are not portable, so we need to resort
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
+      # below are definitely unexpected, so allow the users to see them
+      # (that is, avoid stderr redirection).
+      am_uid=`id -u || echo unknown`
+      am_gid=`id -g || echo unknown`
+      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+      if test $am_uid -le $am_max_uid; then
+         AC_MSG_RESULT([yes])
+      else
+         AC_MSG_RESULT([no])
+         _am_tools=none
+      fi
+      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+      if test $am_gid -le $am_max_gid; then
+         AC_MSG_RESULT([yes])
+      else
+        AC_MSG_RESULT([no])
+        _am_tools=none
+      fi],
+
+  [pax],
+    [],
+
+  [m4_fatal([Unknown tar format])])
+
+  AC_MSG_CHECKING([how to create a $1 tar archive])
+
+  # Go ahead even if we have the value already cached.  We do so because we
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
+  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+  for _am_tool in $_am_tools; do
+    case $_am_tool in
+    gnutar)
+      for _am_tar in tar gnutar gtar; do
+        AM_RUN_LOG([$_am_tar --version]) && break
+      done
+      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+      am__untar="$_am_tar -xf -"
+      ;;
+    plaintar)
+      # Must skip GNU tar: if it does not support --format= it doesn't create
+      # ustar tarball either.
+      (tar --version) >/dev/null 2>&1 && continue
+      am__tar='tar chf - "$$tardir"'
+      am__tar_='tar chf - "$tardir"'
+      am__untar='tar xf -'
+      ;;
+    pax)
+      am__tar='pax -L -x $1 -w "$$tardir"'
+      am__tar_='pax -L -x $1 -w "$tardir"'
+      am__untar='pax -r'
+      ;;
+    cpio)
+      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+      am__untar='cpio -i -H $1 -d'
+      ;;
+    none)
+      am__tar=false
+      am__tar_=false
+      am__untar=false
+      ;;
+    esac
 
-  # tar/untar a dummy directory, and stop if the command works
-  rm -rf conftest.dir
-  mkdir conftest.dir
-  echo GrepMe > conftest.dir/file
-  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+    # If the value was cached, stop now.  We just wanted to have am__tar
+    # and am__untar set.
+    test -n "${am_cv_prog_tar_$1}" && break
+
+    # tar/untar a dummy directory, and stop if the command works.
+    rm -rf conftest.dir
+    mkdir conftest.dir
+    echo GrepMe > conftest.dir/file
+    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+    rm -rf conftest.dir
+    if test -s conftest.tar; then
+      AM_RUN_LOG([$am__untar <conftest.tar])
+      AM_RUN_LOG([cat conftest.dir/file])
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+    fi
+  done
   rm -rf conftest.dir
-  if test -s conftest.tar; then
-    AM_RUN_LOG([$am__untar <conftest.tar])
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
-  fi
-done
-rm -rf conftest.dir
 
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
 AC_SUBST([am__tar])
 AC_SUBST([am__untar])
 ]) # _AM_PROG_TAR
 
 m4_include([m4/00gnulib.m4])
+m4_include([m4/absolute-header.m4])
 m4_include([m4/alloca.m4])
 m4_include([m4/assert.m4])
 m4_include([m4/btowc.m4])
@@ -1258,7 +1415,7 @@ m4_include([m4/environ.m4])
 m4_include([m4/errno_h.m4])
 m4_include([m4/error.m4])
 m4_include([m4/extensions.m4])
-m4_include([m4/fchdir.m4])
+m4_include([m4/extern-inline.m4])
 m4_include([m4/fcntl-o.m4])
 m4_include([m4/fcntl_h.m4])
 m4_include([m4/fdopen.m4])
@@ -1266,6 +1423,7 @@ m4_include([m4/fpending.m4])
 m4_include([m4/fstat.m4])
 m4_include([m4/fsync.m4])
 m4_include([m4/getcwd.m4])
+m4_include([m4/getdtablesize.m4])
 m4_include([m4/getopt.m4])
 m4_include([m4/getpagesize.m4])
 m4_include([m4/gettext.m4])
@@ -1275,7 +1433,6 @@ m4_include([m4/gnulib-common.m4])
 m4_include([m4/gnulib-comp.m4])
 m4_include([m4/iconv.m4])
 m4_include([m4/include_next.m4])
-m4_include([m4/inline.m4])
 m4_include([m4/intlmacosx.m4])
 m4_include([m4/inttypes-pri.m4])
 m4_include([m4/inttypes.m4])
@@ -1293,6 +1450,7 @@ m4_include([m4/locale-ja.m4])
 m4_include([m4/locale-tr.m4])
 m4_include([m4/locale-zh.m4])
 m4_include([m4/locale_h.m4])
+m4_include([m4/localeconv.m4])
 m4_include([m4/localename.m4])
 m4_include([m4/lock.m4])
 m4_include([m4/longlong.m4])
@@ -1319,6 +1477,7 @@ m4_include([m4/nl_langinfo.m4])
 m4_include([m4/nls.m4])
 m4_include([m4/nocrash.m4])
 m4_include([m4/o-direct.m4])
+m4_include([m4/off_t.m4])
 m4_include([m4/open.m4])
 m4_include([m4/pathmax.m4])
 m4_include([m4/po.m4])
@@ -1333,6 +1492,7 @@ m4_include([m4/realloc.m4])
 m4_include([m4/regex.m4])
 m4_include([m4/rpmatch.m4])
 m4_include([m4/safe-read.m4])
+m4_include([m4/secure_getenv.m4])
 m4_include([m4/setenv.m4])
 m4_include([m4/setlocale.m4])
 m4_include([m4/sleep.m4])
@@ -1344,12 +1504,9 @@ m4_include([m4/stddef_h.m4])
 m4_include([m4/stdint.m4])
 m4_include([m4/stdio_h.m4])
 m4_include([m4/stdlib_h.m4])
-m4_include([m4/strcase.m4])
 m4_include([m4/strdup.m4])
 m4_include([m4/strerror.m4])
-m4_include([m4/strerror_r.m4])
 m4_include([m4/string_h.m4])
-m4_include([m4/strings_h.m4])
 m4_include([m4/strndup.m4])
 m4_include([m4/strnlen.m4])
 m4_include([m4/strtoll.m4])
index 3ca90a9a08ceac967145c835b55d94f97db4d23c..db9ed50a78f5e990ed3052a034be98d30ac9f460 100755 (executable)
@@ -3,13 +3,13 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
     if 0;
 # Generate a release announcement message.
 
-my $VERSION = '2012-01-06 07:46'; # UTC
+my $VERSION = '2012-06-08 06:53'; # UTC
 # The definition above must lie within the first 8 lines in order
 # for the Emacs time-stamp write hook (at end) to update it.
 # If you change this file with Emacs, please let the write hook
 # do its job.  Otherwise, update this string manually.
 
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -30,13 +30,15 @@ use strict;
 
 use Getopt::Long;
 use Digest::MD5;
-use Digest::SHA1;
+eval { require Digest::SHA; }
+  or eval 'use Digest::SHA1';
 use POSIX qw(strftime);
 
 (my $ME = $0) =~ s|.*/||;
 
 my %valid_release_types = map {$_ => 1} qw (alpha beta stable);
 my @archive_suffixes = ('tar.gz', 'tar.bz2', 'tar.lzma', 'tar.xz');
+my $srcdir = '.';
 
 sub usage ($)
 {
@@ -51,7 +53,7 @@ sub usage ($)
       my @types = sort keys %valid_release_types;
       print $STREAM <<EOF;
 Usage: $ME [OPTIONS]
-Generate an announcement message.
+Generate an announcement message.  Run this from builddir.
 
 OPTIONS:
 
@@ -66,7 +68,9 @@ These options must be specified:
 
 The following are optional:
 
-   --news=NEWS_FILE
+   --news=NEWS_FILE             include the NEWS section about this release
+                                from this NEWS_FILE; accumulates.
+   --srcdir=DIR                 where to find the NEWS_FILEs (default: $srcdir)
    --bootstrap-tools=TOOL_LIST  a comma-separated list of tools, e.g.,
                                 autoconf,automake,bison,gnulib
    --gnulib-version=VERSION     report VERSION as the gnulib version, where
@@ -102,13 +106,13 @@ sub sizes (@)
   my %res;
   foreach my $f (@file)
     {
-      my $cmd = "du --human $f";
+      my $cmd = "du -h $f";
       my $t = `$cmd`;
       # FIXME-someday: give a better diagnostic, a la $PROCESS_STATUS
       $@
-        and (warn "$ME: command failed: '$cmd'\n"), $fail = 1;
+        and (warn "command failed: '$cmd'\n"), $fail = 1;
       chomp $t;
-      $t =~ s/^([\d.]+[MkK]).*/${1}B/;
+      $t =~ s/^\s*([\d.]+[MkK]).*/${1}B/;
       $res{$f} = $t;
     }
   return $fail ? undef : %res;
@@ -181,7 +185,7 @@ sub print_news_deltas ($$$)
   my ($news_file, $prev_version, $curr_version) = @_;
 
   my $news_name = $news_file;
-  $news_name =~ s|^\./||;
+  $news_name =~ s|^\Q$srcdir\E/||;
 
   print "\n$news_name\n\n";
 
@@ -310,7 +314,7 @@ sub print_changelog_deltas ($$)
   # The exit code should be 1.
   # Allow in case there are no modified ChangeLog entries.
   $? == 256 || $? == 128
-    or warn "$ME: warning: '$cmd' had unexpected exit code or signal ($?)\n";
+    or warn "warning: '$cmd' had unexpected exit code or signal ($?)\n";
 }
 
 sub get_tool_versions ($$)
@@ -340,7 +344,7 @@ sub get_tool_versions ($$)
         {
           defined $first_line
             and $first_line = '';
-          warn "$ME: $t: unexpected --version output\n:$first_line";
+          warn "$t: unexpected --version output\n:$first_line";
           $fail = 1;
         }
     }
@@ -368,6 +372,15 @@ sub get_tool_versions ($$)
   my $gnulib_version;
   my $print_checksums_p = 1;
 
+  # Reformat the warnings before displaying them.
+  local $SIG{__WARN__} = sub
+    {
+      my ($msg) = @_;
+      # Warnings from GetOptions.
+      $msg =~ s/Option (\w)/option --$1/;
+      warn "$ME: $msg";
+    };
+
   GetOptions
     (
      'mail-headers=s'     => \$mail_headers,
@@ -378,6 +391,7 @@ sub get_tool_versions ($$)
      'gpg-key-id=s'       => \$gpg_key_id,
      'url-directory=s'    => \@url_dir_list,
      'news=s'             => \@news_file,
+     'srcdir=s'           => \$srcdir,
      'bootstrap-tools=s'  => \$bootstrap_tools,
      'gnulib-version=s'   => \$gnulib_version,
      'print-checksums!'   => \$print_checksums_p,
@@ -388,32 +402,32 @@ sub get_tool_versions ($$)
     ) or usage 1;
 
   my $fail = 0;
-  # Ensure that sure each required option is specified.
+  # Ensure that each required option is specified.
   $release_type
-    or (warn "$ME: release type not specified\n"), $fail = 1;
+    or (warn "release type not specified\n"), $fail = 1;
   $package_name
-    or (warn "$ME: package name not specified\n"), $fail = 1;
+    or (warn "package name not specified\n"), $fail = 1;
   $prev_version
-    or (warn "$ME: previous version string not specified\n"), $fail = 1;
+    or (warn "previous version string not specified\n"), $fail = 1;
   $curr_version
-    or (warn "$ME: current version string not specified\n"), $fail = 1;
+    or (warn "current version string not specified\n"), $fail = 1;
   $gpg_key_id
-    or (warn "$ME: GnuPG key ID not specified\n"), $fail = 1;
+    or (warn "GnuPG key ID not specified\n"), $fail = 1;
   @url_dir_list
-    or (warn "$ME: URL directory name(s) not specified\n"), $fail = 1;
+    or (warn "URL directory name(s) not specified\n"), $fail = 1;
 
   my @tool_list = split ',', $bootstrap_tools;
 
   grep (/^gnulib$/, @tool_list) ^ defined $gnulib_version
-    and (warn "$ME: when specifying gnulib as a tool, you must also specify\n"
+    and (warn "when specifying gnulib as a tool, you must also specify\n"
         . "--gnulib-version=V, where V is the result of running git describe\n"
         . "in the gnulib source directory.\n"), $fail = 1;
 
   exists $valid_release_types{$release_type}
-    or (warn "$ME: '$release_type': invalid release type\n"), $fail = 1;
+    or (warn "'$release_type': invalid release type\n"), $fail = 1;
 
   @ARGV
-    and (warn "$ME: too many arguments:\n", join ("\n", @ARGV), "\n"),
+    and (warn "too many arguments:\n", join ("\n", @ARGV), "\n"),
       $fail = 1;
   $fail
     and usage 1;
index bac481cdc7d1b9846caffc71230b8f4ae728a89f..531136b068ef00e23d38429e6ee9a57d581a0870 100755 (executable)
@@ -1,10 +1,9 @@
 #! /bin/sh
-# Wrapper for compilers which do not understand `-c -o'.
+# Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2010-11-15.09; # UTC
+scriptversion=2012-10-14.11; # UTC
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
 # Written by Tom Tromey <tromey@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -40,7 +39,7 @@ file_conv=
 
 # func_file_conv build_file lazy
 # Convert a $build file to $host form and store it in $file
-# Currently only supports Win32 hosts. If the determined conversion
+# Currently only supports Windows hosts. If the determined conversion
 # type is listed in (the comma separated) LAZY, no conversion will
 # take place.
 func_file_conv ()
@@ -79,6 +78,53 @@ func_file_conv ()
   esac
 }
 
+# func_cl_dashL linkdir
+# Make cl look for libraries in LINKDIR
+func_cl_dashL ()
+{
+  func_file_conv "$1"
+  if test -z "$lib_path"; then
+    lib_path=$file
+  else
+    lib_path="$lib_path;$file"
+  fi
+  linker_opts="$linker_opts -LIBPATH:$file"
+}
+
+# func_cl_dashl library
+# Do a library search-path lookup for cl
+func_cl_dashl ()
+{
+  lib=$1
+  found=no
+  save_IFS=$IFS
+  IFS=';'
+  for dir in $lib_path $LIB
+  do
+    IFS=$save_IFS
+    if $shared && test -f "$dir/$lib.dll.lib"; then
+      found=yes
+      lib=$dir/$lib.dll.lib
+      break
+    fi
+    if test -f "$dir/$lib.lib"; then
+      found=yes
+      lib=$dir/$lib.lib
+      break
+    fi
+    if test -f "$dir/lib$lib.a"; then
+      found=yes
+      lib=$dir/lib$lib.a
+      break
+    fi
+  done
+  IFS=$save_IFS
+
+  if test "$found" != yes; then
+    lib=$lib.lib
+  fi
+}
+
 # func_cl_wrapper cl arg...
 # Adjust compile command to suit cl
 func_cl_wrapper ()
@@ -94,7 +140,7 @@ func_cl_wrapper ()
     else
       case $1 in
        -o)
-         # configure might choose to run compile as `compile cc -o foo foo.c'.
+         # configure might choose to run compile as 'compile cc -o foo foo.c'.
          eat=1
          case $2 in
            *.o | *.[oO][bB][jJ])
@@ -109,43 +155,34 @@ func_cl_wrapper ()
              ;;
          esac
          ;;
+       -I)
+         eat=1
+         func_file_conv "$2" mingw
+         set x "$@" -I"$file"
+         shift
+         ;;
        -I*)
          func_file_conv "${1#-I}" mingw
          set x "$@" -I"$file"
          shift
          ;;
+       -l)
+         eat=1
+         func_cl_dashl "$2"
+         set x "$@" "$lib"
+         shift
+         ;;
        -l*)
-         lib=${1#-l}
-         found=no
-         save_IFS=$IFS
-         IFS=';'
-         for dir in $lib_path $LIB
-         do
-           IFS=$save_IFS
-           if $shared && test -f "$dir/$lib.dll.lib"; then
-             found=yes
-             set x "$@" "$dir/$lib.dll.lib"
-             break
-           fi
-           if test -f "$dir/$lib.lib"; then
-             found=yes
-             set x "$@" "$dir/$lib.lib"
-             break
-           fi
-         done
-         IFS=$save_IFS
-
-         test "$found" != yes && set x "$@" "$lib.lib"
+         func_cl_dashl "${1#-l}"
+         set x "$@" "$lib"
          shift
          ;;
+       -L)
+         eat=1
+         func_cl_dashL "$2"
+         ;;
        -L*)
-         func_file_conv "${1#-L}"
-         if test -z "$lib_path"; then
-           lib_path=$file
-         else
-           lib_path="$lib_path;$file"
-         fi
-         linker_opts="$linker_opts -LIBPATH:$file"
+         func_cl_dashL "${1#-L}"
          ;;
        -static)
          shared=false
@@ -196,19 +233,19 @@ eat=
 
 case $1 in
   '')
-     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
      exit 1;
      ;;
   -h | --h*)
     cat <<\EOF
 Usage: compile [--help] [--version] PROGRAM [ARGS]
 
-Wrapper for compilers which do not understand `-c -o'.
-Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
 arguments, and rename the output as expected.
 
 If you are trying to build a whole package this is not the
-right script to run: please start by reading the file `INSTALL'.
+right script to run: please start by reading the file 'INSTALL'.
 
 Report bugs to <bug-automake@gnu.org>.
 EOF
@@ -233,8 +270,8 @@ do
   else
     case $1 in
       -o)
-       # configure might choose to run compile as `compile cc -o foo foo.c'.
-       # So we strip `-o arg' only if arg is an object.
+       # configure might choose to run compile as 'compile cc -o foo foo.c'.
+       # So we strip '-o arg' only if arg is an object.
        eat=1
        case $2 in
          *.o | *.obj)
@@ -261,10 +298,10 @@ do
 done
 
 if test -z "$ofile" || test -z "$cfile"; then
-  # If no `-o' option was seen then we might have been invoked from a
+  # If no '-o' option was seen then we might have been invoked from a
   # pattern rule where we don't need one.  That is ok -- this is a
   # normal compilation that the losing compiler can handle.  If no
-  # `.c' file was seen then we are probably linking.  That is also
+  # '.c' file was seen then we are probably linking.  That is also
   # ok.
   exec "$@"
 fi
@@ -273,7 +310,7 @@ fi
 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
 
 # Create the lock directory.
-# Note: use `[/\\:.-]' here to ensure that we don't use the same name
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
 # that we are using for the .o file.  Also, base the name on the expected
 # object file name, since that is what matters with a parallel build.
 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
index d622a44e551f209d5e8c5462b3fe53a162f7b330..1f5c50c0d1529d50b94dc3533ca72a47f0fa5849 100755 (executable)
@@ -1,14 +1,12 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-#   2011, 2012 Free Software Foundation, Inc.
+#   Copyright 1992-2014 Free Software Foundation, Inc.
 
-timestamp='2012-02-10'
+timestamp='2014-03-23'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
@@ -22,19 +20,17 @@ timestamp='2012-02-10'
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
 # configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-
-# Originally written by Per Bothner.  Please send patches (context
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
-# entry.
+# the same distribution terms that you use for the rest of that
+# program.  This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
 #
-# This script attempts to guess a canonical system name similar to
-# config.sub.  If it succeeds, it prints the system name on stdout, and
-# exits with 0.  Otherwise, it exits with 1.
+# Originally written by Per Bothner.
 #
 # You can get the latest version of this script from:
 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+#
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
+
 
 me=`echo "$0" | sed -e 's,.*/,,'`
 
@@ -54,9 +50,7 @@ version="\
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
-Free Software Foundation, Inc.
+Copyright 1992-2014 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -138,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
 UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
 
+case "${UNAME_SYSTEM}" in
+Linux|GNU|GNU/*)
+       # If the system lacks a compiler, then just pick glibc.
+       # We could probably try harder.
+       LIBC=gnu
+
+       eval $set_cc_for_build
+       cat <<-EOF > $dummy.c
+       #include <features.h>
+       #if defined(__UCLIBC__)
+       LIBC=uclibc
+       #elif defined(__dietlibc__)
+       LIBC=dietlibc
+       #else
+       LIBC=gnu
+       #endif
+       EOF
+       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
+       ;;
+esac
+
 # Note: order is significant - the case branches are not exclusive.
 
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
@@ -200,6 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
        echo "${machine}-${os}${release}"
        exit ;;
+    *:Bitrig:*:*)
+       UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+       echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
+       exit ;;
     *:OpenBSD:*:*)
        UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
        echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
@@ -302,7 +321,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
        echo arm-acorn-riscix${UNAME_RELEASE}
        exit ;;
-    arm:riscos:*:*|arm:RISCOS:*:*)
+    arm*:riscos:*:*|arm*:RISCOS:*:*)
        echo arm-unknown-riscos
        exit ;;
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
@@ -801,10 +820,13 @@ EOF
     i*:CYGWIN*:*)
        echo ${UNAME_MACHINE}-pc-cygwin
        exit ;;
+    *:MINGW64*:*)
+       echo ${UNAME_MACHINE}-pc-mingw64
+       exit ;;
     *:MINGW*:*)
        echo ${UNAME_MACHINE}-pc-mingw32
        exit ;;
-    i*:MSYS*:*)
+    *:MSYS*:*)
        echo ${UNAME_MACHINE}-pc-msys
        exit ;;
     i*:windows32*:*)
@@ -852,21 +874,21 @@ EOF
        exit ;;
     *:GNU:*:*)
        # the GNU system
-       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
        exit ;;
     *:GNU/*:*:*)
        # other systems with GNU libc and userland
-       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
        exit ;;
     i*86:Minix:*:*)
        echo ${UNAME_MACHINE}-pc-minix
        exit ;;
     aarch64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     aarch64_be:Linux:*:*)
        UNAME_MACHINE=aarch64_be
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     alpha:Linux:*:*)
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -879,59 +901,54 @@ EOF
          EV68*) UNAME_MACHINE=alphaev68 ;;
        esac
        objdump --private-headers /bin/sh | grep -q ld.so.1
-       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
-       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+       if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       exit ;;
+    arc:Linux:*:* | arceb:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     arm*:Linux:*:*)
        eval $set_cc_for_build
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
            | grep -q __ARM_EABI__
        then
-           echo ${UNAME_MACHINE}-unknown-linux-gnu
+           echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        else
            if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
                | grep -q __ARM_PCS_VFP
            then
-               echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+               echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
            else
-               echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
+               echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
            fi
        fi
        exit ;;
     avr32*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     cris:Linux:*:*)
-       echo ${UNAME_MACHINE}-axis-linux-gnu
+       echo ${UNAME_MACHINE}-axis-linux-${LIBC}
        exit ;;
     crisv32:Linux:*:*)
-       echo ${UNAME_MACHINE}-axis-linux-gnu
+       echo ${UNAME_MACHINE}-axis-linux-${LIBC}
        exit ;;
     frv:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     hexagon:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     i*86:Linux:*:*)
-       LIBC=gnu
-       eval $set_cc_for_build
-       sed 's/^        //' << EOF >$dummy.c
-       #ifdef __dietlibc__
-       LIBC=dietlibc
-       #endif
-EOF
-       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
-       echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+       echo ${UNAME_MACHINE}-pc-linux-${LIBC}
        exit ;;
     ia64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     m32r*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     m68*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     mips:Linux:*:* | mips64:Linux:*:*)
        eval $set_cc_for_build
@@ -950,54 +967,63 @@ EOF
        #endif
 EOF
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
-       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
        ;;
-    or32:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+    openrisc*:Linux:*:*)
+       echo or1k-unknown-linux-${LIBC}
+       exit ;;
+    or32:Linux:*:* | or1k*:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     padre:Linux:*:*)
-       echo sparc-unknown-linux-gnu
+       echo sparc-unknown-linux-${LIBC}
        exit ;;
     parisc64:Linux:*:* | hppa64:Linux:*:*)
-       echo hppa64-unknown-linux-gnu
+       echo hppa64-unknown-linux-${LIBC}
        exit ;;
     parisc:Linux:*:* | hppa:Linux:*:*)
        # Look for CPU level
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
-         PA7*) echo hppa1.1-unknown-linux-gnu ;;
-         PA8*) echo hppa2.0-unknown-linux-gnu ;;
-         *)    echo hppa-unknown-linux-gnu ;;
+         PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
+         PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
+         *)    echo hppa-unknown-linux-${LIBC} ;;
        esac
        exit ;;
     ppc64:Linux:*:*)
-       echo powerpc64-unknown-linux-gnu
+       echo powerpc64-unknown-linux-${LIBC}
        exit ;;
     ppc:Linux:*:*)
-       echo powerpc-unknown-linux-gnu
+       echo powerpc-unknown-linux-${LIBC}
+       exit ;;
+    ppc64le:Linux:*:*)
+       echo powerpc64le-unknown-linux-${LIBC}
+       exit ;;
+    ppcle:Linux:*:*)
+       echo powerpcle-unknown-linux-${LIBC}
        exit ;;
     s390:Linux:*:* | s390x:Linux:*:*)
-       echo ${UNAME_MACHINE}-ibm-linux
+       echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
        exit ;;
     sh64*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     sh*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     sparc:Linux:*:* | sparc64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     tile*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     vax:Linux:*:*)
-       echo ${UNAME_MACHINE}-dec-linux-gnu
+       echo ${UNAME_MACHINE}-dec-linux-${LIBC}
        exit ;;
     x86_64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     xtensa*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
     i*86:DYNIX/ptx:4*:*)
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -1201,6 +1227,9 @@ EOF
     BePC:Haiku:*:*)    # Haiku running on Intel PC compatible.
        echo i586-pc-haiku
        exit ;;
+    x86_64:Haiku:*:*)
+       echo x86_64-unknown-haiku
+       exit ;;
     SX-4:SUPER-UX:*:*)
        echo sx4-nec-superux${UNAME_RELEASE}
        exit ;;
@@ -1227,19 +1256,31 @@ EOF
        exit ;;
     *:Darwin:*:*)
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
-       case $UNAME_PROCESSOR in
-           i386)
-               eval $set_cc_for_build
-               if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
-                 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
-                     (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
-                     grep IS_64BIT_ARCH >/dev/null
-                 then
-                     UNAME_PROCESSOR="x86_64"
-                 fi
-               fi ;;
-           unknown) UNAME_PROCESSOR=powerpc ;;
-       esac
+       eval $set_cc_for_build
+       if test "$UNAME_PROCESSOR" = unknown ; then
+           UNAME_PROCESSOR=powerpc
+       fi
+       if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
+           if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+               if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+                   (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+                   grep IS_64BIT_ARCH >/dev/null
+               then
+                   case $UNAME_PROCESSOR in
+                       i386) UNAME_PROCESSOR=x86_64 ;;
+                       powerpc) UNAME_PROCESSOR=powerpc64 ;;
+                   esac
+               fi
+           fi
+       elif test "$UNAME_PROCESSOR" = i386 ; then
+           # Avoid executing cc on OS X 10.9, as it ships with a stub
+           # that puts up a graphical alert prompting to install
+           # developer tools.  Any system running Mac OS X 10.7 or
+           # later (Darwin 11 and later) is required to have a 64-bit
+           # processor. This is not true of the ARM version of Darwin
+           # that Apple uses in portable devices.
+           UNAME_PROCESSOR=x86_64
+       fi
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
        exit ;;
     *:procnto*:*:* | *:QNX:[0123456789]*:*)
@@ -1256,7 +1297,7 @@ EOF
     NEO-?:NONSTOP_KERNEL:*:*)
        echo neo-tandem-nsk${UNAME_RELEASE}
        exit ;;
-    NSE-?:NONSTOP_KERNEL:*:*)
+    NSE-*:NONSTOP_KERNEL:*:*)
        echo nse-tandem-nsk${UNAME_RELEASE}
        exit ;;
     NSR-?:NONSTOP_KERNEL:*:*)
@@ -1330,157 +1371,6 @@ EOF
        exit ;;
 esac
 
-#echo '(No uname command or uname output not recognized.)' 1>&2
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
-
-eval $set_cc_for_build
-cat >$dummy.c <<EOF
-#ifdef _SEQUENT_
-# include <sys/types.h>
-# include <sys/utsname.h>
-#endif
-main ()
-{
-#if defined (sony)
-#if defined (MIPSEB)
-  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
-     I don't know....  */
-  printf ("mips-sony-bsd\n"); exit (0);
-#else
-#include <sys/param.h>
-  printf ("m68k-sony-newsos%s\n",
-#ifdef NEWSOS4
-       "4"
-#else
-       ""
-#endif
-       ); exit (0);
-#endif
-#endif
-
-#if defined (__arm) && defined (__acorn) && defined (__unix)
-  printf ("arm-acorn-riscix\n"); exit (0);
-#endif
-
-#if defined (hp300) && !defined (hpux)
-  printf ("m68k-hp-bsd\n"); exit (0);
-#endif
-
-#if defined (NeXT)
-#if !defined (__ARCHITECTURE__)
-#define __ARCHITECTURE__ "m68k"
-#endif
-  int version;
-  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
-  if (version < 4)
-    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
-  else
-    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
-  exit (0);
-#endif
-
-#if defined (MULTIMAX) || defined (n16)
-#if defined (UMAXV)
-  printf ("ns32k-encore-sysv\n"); exit (0);
-#else
-#if defined (CMU)
-  printf ("ns32k-encore-mach\n"); exit (0);
-#else
-  printf ("ns32k-encore-bsd\n"); exit (0);
-#endif
-#endif
-#endif
-
-#if defined (__386BSD__)
-  printf ("i386-pc-bsd\n"); exit (0);
-#endif
-
-#if defined (sequent)
-#if defined (i386)
-  printf ("i386-sequent-dynix\n"); exit (0);
-#endif
-#if defined (ns32000)
-  printf ("ns32k-sequent-dynix\n"); exit (0);
-#endif
-#endif
-
-#if defined (_SEQUENT_)
-    struct utsname un;
-
-    uname(&un);
-
-    if (strncmp(un.version, "V2", 2) == 0) {
-       printf ("i386-sequent-ptx2\n"); exit (0);
-    }
-    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
-       printf ("i386-sequent-ptx1\n"); exit (0);
-    }
-    printf ("i386-sequent-ptx\n"); exit (0);
-
-#endif
-
-#if defined (vax)
-# if !defined (ultrix)
-#  include <sys/param.h>
-#  if defined (BSD)
-#   if BSD == 43
-      printf ("vax-dec-bsd4.3\n"); exit (0);
-#   else
-#    if BSD == 199006
-      printf ("vax-dec-bsd4.3reno\n"); exit (0);
-#    else
-      printf ("vax-dec-bsd\n"); exit (0);
-#    endif
-#   endif
-#  else
-    printf ("vax-dec-bsd\n"); exit (0);
-#  endif
-# else
-    printf ("vax-dec-ultrix\n"); exit (0);
-# endif
-#endif
-
-#if defined (alliant) && defined (i860)
-  printf ("i860-alliant-bsd\n"); exit (0);
-#endif
-
-  exit (1);
-}
-EOF
-
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
-       { echo "$SYSTEM_NAME"; exit; }
-
-# Apollos put the system type in the environment.
-
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
-
-# Convex versions that predate uname can use getsysinfo(1)
-
-if [ -x /usr/convex/getsysinfo ]
-then
-    case `getsysinfo -f cpu_type` in
-    c1*)
-       echo c1-convex-bsd
-       exit ;;
-    c2*)
-       if getsysinfo -f scalar_acc
-       then echo c32-convex-bsd
-       else echo c2-convex-bsd
-       fi
-       exit ;;
-    c34*)
-       echo c34-convex-bsd
-       exit ;;
-    c38*)
-       echo c38-convex-bsd
-       exit ;;
-    c4*)
-       echo c4-convex-bsd
-       exit ;;
-    esac
-fi
-
 cat >&2 <<EOF
 $0: unable to guess system type
 
index 1a0701828172aad0b521ad96735149fdd0bf1875..ab6fd995f3893ac91baf30e3b0ca7eb78237573e 100755 (executable)
@@ -2,7 +2,7 @@
 # Output a system dependent set of variables, describing how to set the
 # run time search path of shared libraries in an executable.
 #
-#   Copyright 1996-2012 Free Software Foundation, Inc.
+#   Copyright 1996-2014 Free Software Foundation, Inc.
 #   Taken from GNU libtool, 2001
 #   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 #
index c894da45500c4af1bf5688e713a8895622d18182..d654d03cdcd2226a5d7584890717e674a8122f4f 100755 (executable)
@@ -1,24 +1,18 @@
 #! /bin/sh
 # Configuration validation subroutine script.
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-#   2011, 2012 Free Software Foundation, Inc.
+#   Copyright 1992-2014 Free Software Foundation, Inc.
 
-timestamp='2012-02-10'
+timestamp='2014-05-01'
 
-# This file is (in principle) common to ALL GNU software.
-# The presence of a machine in this file suggests that SOME GNU software
-# can handle that machine.  It does not imply ALL GNU software can.
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, see <http://www.gnu.org/licenses/>.
@@ -26,11 +20,12 @@ timestamp='2012-02-10'
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
 # configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
+# the same distribution terms that you use for the rest of that
+# program.  This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
 
 
-# Please send patches to <config-patches@gnu.org>.  Submit a context
-# diff and a properly formatted GNU ChangeLog entry.
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
 #
 # Configuration subroutine to validate and canonicalize a configuration type.
 # Supply the specified configuration type as an argument.
@@ -73,9 +68,7 @@ Report bugs and patches to <config-patches@gnu.org>."
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
-Free Software Foundation, Inc.
+Copyright 1992-2014 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -123,7 +116,7 @@ esac
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
   nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
-  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
   knetbsd*-gnu* | netbsd*-gnu* | \
   kopensolaris*-gnu* | \
   storm-chaos* | os2-emx* | rtmk-nova*)
@@ -156,7 +149,7 @@ case $os in
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-       -apple | -axis | -knuth | -cray | -microblaze)
+       -apple | -axis | -knuth | -cray | -microblaze*)
                os=
                basic_machine=$1
                ;;
@@ -225,6 +218,12 @@ case $os in
        -isc*)
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
                ;;
+       -lynx*178)
+               os=-lynxos178
+               ;;
+       -lynx*5)
+               os=-lynxos5
+               ;;
        -lynx*)
                os=-lynxos
                ;;
@@ -253,10 +252,12 @@ case $basic_machine in
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
        | am33_2.0 \
-       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
-        | be32 | be64 \
+       | arc | arceb \
+       | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
+       | avr | avr32 \
+       | be32 | be64 \
        | bfin \
-       | c4x | clipper \
+       | c4x | c8051 | clipper \
        | d10v | d30v | dlx | dsp16xx \
        | epiphany \
        | fido | fr30 | frv \
@@ -264,10 +265,11 @@ case $basic_machine in
        | hexagon \
        | i370 | i860 | i960 | ia64 \
        | ip2k | iq2000 \
+       | k1om \
        | le32 | le64 \
        | lm32 \
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
-       | maxq | mb | microblaze | mcore | mep | metag \
+       | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
        | mips | mipsbe | mipseb | mipsel | mipsle \
        | mips16 \
        | mips64 | mips64el \
@@ -281,20 +283,22 @@ case $basic_machine in
        | mips64vr5900 | mips64vr5900el \
        | mipsisa32 | mipsisa32el \
        | mipsisa32r2 | mipsisa32r2el \
+       | mipsisa32r6 | mipsisa32r6el \
        | mipsisa64 | mipsisa64el \
        | mipsisa64r2 | mipsisa64r2el \
+       | mipsisa64r6 | mipsisa64r6el \
        | mipsisa64sb1 | mipsisa64sb1el \
        | mipsisa64sr71k | mipsisa64sr71kel \
+       | mipsr5900 | mipsr5900el \
        | mipstx39 | mipstx39el \
        | mn10200 | mn10300 \
        | moxie \
        | mt \
        | msp430 \
        | nds32 | nds32le | nds32be \
-       | nios | nios2 \
+       | nios | nios2 | nios2eb | nios2el \
        | ns16k | ns32k \
-       | open8 \
-       | or32 \
+       | open8 | or1k | or1knd | or32 \
        | pdp10 | pdp11 | pj | pjl \
        | powerpc | powerpc64 | powerpc64le | powerpcle \
        | pyramid \
@@ -322,7 +326,7 @@ case $basic_machine in
        c6x)
                basic_machine=tic6x-unknown
                ;;
-       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
+       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
                basic_machine=$basic_machine-unknown
                os=-none
                ;;
@@ -364,13 +368,13 @@ case $basic_machine in
        | aarch64-* | aarch64_be-* \
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
-       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
        | avr-* | avr32-* \
        | be32-* | be64-* \
        | bfin-* | bs2000-* \
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
-       | clipper-* | craynv-* | cydra-* \
+       | c8051-* | clipper-* | craynv-* | cydra-* \
        | d10v-* | d30v-* | dlx-* \
        | elxsi-* \
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
@@ -379,11 +383,13 @@ case $basic_machine in
        | hexagon-* \
        | i*86-* | i860-* | i960-* | ia64-* \
        | ip2k-* | iq2000-* \
+       | k1om-* \
        | le32-* | le64-* \
        | lm32-* \
        | m32c-* | m32r-* | m32rle-* \
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
+       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+       | microblaze-* | microblazeel-* \
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
        | mips16-* \
        | mips64-* | mips64el-* \
@@ -397,18 +403,22 @@ case $basic_machine in
        | mips64vr5900-* | mips64vr5900el-* \
        | mipsisa32-* | mipsisa32el-* \
        | mipsisa32r2-* | mipsisa32r2el-* \
+       | mipsisa32r6-* | mipsisa32r6el-* \
        | mipsisa64-* | mipsisa64el-* \
        | mipsisa64r2-* | mipsisa64r2el-* \
+       | mipsisa64r6-* | mipsisa64r6el-* \
        | mipsisa64sb1-* | mipsisa64sb1el-* \
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
+       | mipsr5900-* | mipsr5900el-* \
        | mipstx39-* | mipstx39el-* \
        | mmix-* \
        | mt-* \
        | msp430-* \
        | nds32-* | nds32le-* | nds32be-* \
-       | nios-* | nios2-* \
+       | nios-* | nios2-* | nios2eb-* | nios2el-* \
        | none-* | np1-* | ns16k-* | ns32k-* \
        | open8-* \
+       | or1k*-* \
        | orion-* \
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
@@ -782,11 +792,15 @@ case $basic_machine in
                basic_machine=ns32k-utek
                os=-sysv
                ;;
-       microblaze)
+       microblaze*)
                basic_machine=microblaze-xilinx
                ;;
+       mingw64)
+               basic_machine=x86_64-pc
+               os=-mingw64
+               ;;
        mingw32)
-               basic_machine=i386-pc
+               basic_machine=i686-pc
                os=-mingw32
                ;;
        mingw32ce)
@@ -822,7 +836,7 @@ case $basic_machine in
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
                ;;
        msys)
-               basic_machine=i386-pc
+               basic_machine=i686-pc
                os=-msys
                ;;
        mvs)
@@ -1013,7 +1027,11 @@ case $basic_machine in
                basic_machine=i586-unknown
                os=-pw32
                ;;
-       rdos)
+       rdos | rdos64)
+               basic_machine=x86_64-pc
+               os=-rdos
+               ;;
+       rdos32)
                basic_machine=i386-pc
                os=-rdos
                ;;
@@ -1340,21 +1358,21 @@ case $os in
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
-             | -sym* | -kopensolaris* \
+             | -sym* | -kopensolaris* | -plan9* \
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
              | -aos* | -aros* \
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
-             | -openbsd* | -solidbsd* \
+             | -bitrig* | -openbsd* | -solidbsd* \
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -chorusos* | -chorusrdb* | -cegcc* \
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-             | -mingw32* | -linux-gnu* | -linux-android* \
-             | -linux-newlib* | -linux-uclibc* \
+             | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+             | -linux-newlib* | -linux-musl* | -linux-uclibc* \
              | -uxpv* | -beos* | -mpeix* | -udk* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1362,7 +1380,7 @@ case $os in
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-             | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
+             | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
        # Remember, each alternative MUST END IN *, to match a version number.
                ;;
        -qnx*)
@@ -1486,9 +1504,6 @@ case $os in
        -aros*)
                os=-aros
                ;;
-       -kaos*)
-               os=-kaos
-               ;;
        -zvmoe)
                os=-zvmoe
                ;;
@@ -1537,6 +1552,12 @@ case $basic_machine in
        c4x-* | tic4x-*)
                os=-coff
                ;;
+       c8051-*)
+               os=-elf
+               ;;
+       hexagon-*)
+               os=-elf
+               ;;
        tic54x-*)
                os=-coff
                ;;
index 2c30282498f59797a673594146715a9a99f6565c..31788017b8f041f1d63dfb80ace66a4aa6b1c1d6 100755 (executable)
@@ -1,10 +1,9 @@
 #! /bin/sh
 # depcomp - compile a program generating dependencies as side-effects
 
-scriptversion=2012-02-03.15; # UTC
+scriptversion=2013-05-30.07; # UTC
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
-# 2011, 2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -28,9 +27,9 @@ scriptversion=2012-02-03.15; # UTC
 
 case $1 in
   '')
-     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
-     exit 1;
-     ;;
+    echo "$0: No command.  Try '$0 --help' for more information." 1>&2
+    exit 1;
+    ;;
   -h | --h*)
     cat <<\EOF
 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
@@ -57,11 +56,65 @@ EOF
     ;;
 esac
 
+# Get the directory component of the given path, and save it in the
+# global variables '$dir'.  Note that this directory component will
+# be either empty or ending with a '/' character.  This is deliberate.
+set_dir_from ()
+{
+  case $1 in
+    */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
+      *) dir=;;
+  esac
+}
+
+# Get the suffix-stripped basename of the given path, and save it the
+# global variable '$base'.
+set_base_from ()
+{
+  base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
+}
+
+# If no dependency file was actually created by the compiler invocation,
+# we still have to create a dummy depfile, to avoid errors with the
+# Makefile "include basename.Plo" scheme.
+make_dummy_depfile ()
+{
+  echo "#dummy" > "$depfile"
+}
+
+# Factor out some common post-processing of the generated depfile.
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
+aix_post_process_depfile ()
+{
+  # If the compiler actually managed to produce a dependency file,
+  # post-process it.
+  if test -f "$tmpdepfile"; then
+    # Each line is of the form 'foo.o: dependency.h'.
+    # Do two passes, one to just change these to
+    #   $object: dependency.h
+    # and one to simply output
+    #   dependency.h:
+    # which is needed to avoid the deleted-header problem.
+    { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
+      sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
+    } > "$depfile"
+    rm -f "$tmpdepfile"
+  else
+    make_dummy_depfile
+  fi
+}
+
 # A tabulation character.
 tab='  '
 # A newline character.
 nl='
 '
+# Character ranges might be problematic outside the C locale.
+# These definitions help.
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+lower=abcdefghijklmnopqrstuvwxyz
+digits=0123456789
+alpha=${upper}${lower}
 
 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
   echo "depcomp: Variables source, object and depmode must be set" 1>&2
@@ -75,6 +128,9 @@ tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
 
 rm -f "$tmpdepfile"
 
+# Avoid interferences from the environment.
+gccflag= dashmflag=
+
 # Some modes work just like other modes, but use different flags.  We
 # parameterize here, but still list the modes in the big case below,
 # to make depend.m4 easier to write.  Note that we *cannot* use a case
@@ -86,26 +142,32 @@ if test "$depmode" = hp; then
 fi
 
 if test "$depmode" = dashXmstdout; then
-   # This is just like dashmstdout with a different argument.
-   dashmflag=-xM
-   depmode=dashmstdout
+  # This is just like dashmstdout with a different argument.
+  dashmflag=-xM
+  depmode=dashmstdout
 fi
 
 cygpath_u="cygpath -u -f -"
 if test "$depmode" = msvcmsys; then
-   # This is just like msvisualcpp but w/o cygpath translation.
-   # Just convert the backslash-escaped backslashes to single forward
-   # slashes to satisfy depend.m4
-   cygpath_u='sed s,\\\\,/,g'
-   depmode=msvisualcpp
+  # This is just like msvisualcpp but w/o cygpath translation.
+  # Just convert the backslash-escaped backslashes to single forward
+  # slashes to satisfy depend.m4
+  cygpath_u='sed s,\\\\,/,g'
+  depmode=msvisualcpp
 fi
 
 if test "$depmode" = msvc7msys; then
-   # This is just like msvc7 but w/o cygpath translation.
-   # Just convert the backslash-escaped backslashes to single forward
-   # slashes to satisfy depend.m4
-   cygpath_u='sed s,\\\\,/,g'
-   depmode=msvc7
+  # This is just like msvc7 but w/o cygpath translation.
+  # Just convert the backslash-escaped backslashes to single forward
+  # slashes to satisfy depend.m4
+  cygpath_u='sed s,\\\\,/,g'
+  depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+  # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
+  gccflag=-qmakedep=gcc,-MF
+  depmode=gcc
 fi
 
 case "$depmode" in
@@ -128,8 +190,7 @@ gcc3)
   done
   "$@"
   stat=$?
-  if test $stat -eq 0; then :
-  else
+  if test $stat -ne 0; then
     rm -f "$tmpdepfile"
     exit $stat
   fi
@@ -137,13 +198,17 @@ gcc3)
   ;;
 
 gcc)
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
+## (see the conditional assignment to $gccflag above).
 ## There are various ways to get dependency output from gcc.  Here's
 ## why we pick this rather obscure method:
 ## - Don't want to use -MD because we'd like the dependencies to end
 ##   up in a subdir.  Having to rename by hand is ugly.
 ##   (We might end up doing this anyway to support other compilers.)
 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
-##   -MM, not -M (despite what the docs say).
+##   -MM, not -M (despite what the docs say).  Also, it might not be
+##   supported by the other compilers which use the 'gcc' depmode.
 ## - Using -M directly means running the compiler twice (even worse
 ##   than renaming).
   if test -z "$gccflag"; then
@@ -151,15 +216,14 @@ gcc)
   fi
   "$@" -Wp,"$gccflag$tmpdepfile"
   stat=$?
-  if test $stat -eq 0; then :
-  else
+  if test $stat -ne 0; then
     rm -f "$tmpdepfile"
     exit $stat
   fi
   rm -f "$depfile"
   echo "$object : \\" > "$depfile"
-  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
-## The second -e expression handles DOS-style file names with drive letters.
+  # The second -e expression handles DOS-style file names with drive
+  # letters.
   sed -e 's/^[^:]*: / /' \
       -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
 ## This next piece of magic avoids the "deleted header file" problem.
@@ -168,15 +232,15 @@ gcc)
 ## typically no way to rebuild the header).  We avoid this by adding
 ## dummy dependencies for each header file.  Too bad gcc doesn't do
 ## this for us directly.
-  tr ' ' "$nl" < "$tmpdepfile" |
 ## Some versions of gcc put a space before the ':'.  On the theory
 ## that the space means something, we add a space to the output as
 ## well.  hp depmode also adds that space, but also prefixes the VPATH
 ## to the object.  Take care to not repeat it in the output.
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
-      | sed -e 's/$/ :/' >> "$depfile"
+  tr ' ' "$nl" < "$tmpdepfile" \
+    | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+    | sed -e 's/$/ :/' >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
 
@@ -187,45 +251,11 @@ hp)
   exit 1
   ;;
 
-sgi)
-  if test "$libtool" = yes; then
-    "$@" "-Wp,-MDupdate,$tmpdepfile"
-  else
-    "$@" -MDupdate "$tmpdepfile"
-  fi
-  stat=$?
-  if test $stat -eq 0; then :
-  else
-    rm -f "$tmpdepfile"
-    exit $stat
-  fi
-  rm -f "$depfile"
-
-  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
-    echo "$object : \\" > "$depfile"
-
-    # Clip off the initial element (the dependent).  Don't try to be
-    # clever and replace this with sed code, as IRIX sed won't handle
-    # lines with more than a fixed number of characters (4096 in
-    # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
-    # the IRIX cc adds comments like '#:fec' to the end of the
-    # dependency line.
-    tr ' ' "$nl" < "$tmpdepfile" \
-    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
-    tr "$nl" ' ' >> "$depfile"
-    echo >> "$depfile"
-
-    # The second pass generates a dummy entry for each header file.
-    tr ' ' "$nl" < "$tmpdepfile" \
-   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
-   >> "$depfile"
-  else
-    # The sourcefile does not contain any dependencies, so just
-    # store a dummy comment line, to avoid errors with the Makefile
-    # "include basename.Plo" scheme.
-    echo "#dummy" > "$depfile"
-  fi
-  rm -f "$tmpdepfile"
+xlc)
+  # This case exists only to let depend.m4 do its work.  It works by
+  # looking at the text of this script.  This case will never be run,
+  # since it is checked for above.
+  exit 1
   ;;
 
 aix)
@@ -234,9 +264,8 @@ aix)
   # current directory.  Also, the AIX compiler puts '$object:' at the
   # start of each line; $object doesn't have directory information.
   # Version 6 uses the directory in both cases.
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
-  test "x$dir" = "x$object" && dir=
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+  set_dir_from "$object"
+  set_base_from "$object"
   if test "$libtool" = yes; then
     tmpdepfile1=$dir$base.u
     tmpdepfile2=$base.u
@@ -249,9 +278,7 @@ aix)
     "$@" -M
   fi
   stat=$?
-
-  if test $stat -eq 0; then :
-  else
+  if test $stat -ne 0; then
     rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
     exit $stat
   fi
@@ -260,56 +287,113 @@ aix)
   do
     test -f "$tmpdepfile" && break
   done
-  if test -f "$tmpdepfile"; then
-    # Each line is of the form 'foo.o: dependent.h'.
-    # Do two passes, one to just change these to
-    # '$object: dependent.h' and one to simply 'dependent.h:'.
-    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
-    sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
-  else
-    # The sourcefile does not contain any dependencies, so just
-    # store a dummy comment line, to avoid errors with the Makefile
-    # "include basename.Plo" scheme.
-    echo "#dummy" > "$depfile"
+  aix_post_process_depfile
+  ;;
+
+tcc)
+  # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
+  # FIXME: That version still under development at the moment of writing.
+  #        Make that this statement remains true also for stable, released
+  #        versions.
+  # It will wrap lines (doesn't matter whether long or short) with a
+  # trailing '\', as in:
+  #
+  #   foo.o : \
+  #    foo.c \
+  #    foo.h \
+  #
+  # It will put a trailing '\' even on the last line, and will use leading
+  # spaces rather than leading tabs (at least since its commit 0394caf7
+  # "Emit spaces for -MD").
+  "$@" -MD -MF "$tmpdepfile"
+  stat=$?
+  if test $stat -ne 0; then
+    rm -f "$tmpdepfile"
+    exit $stat
   fi
+  rm -f "$depfile"
+  # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
+  # We have to change lines of the first kind to '$object: \'.
+  sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
+  # And for each line of the second kind, we have to emit a 'dep.h:'
+  # dummy dependency, to avoid the deleted-header problem.
+  sed -n -e 's|^  *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
 
-icc)
-  # Intel's C compiler understands '-MD -MF file'.  However on
-  #    icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
-  # ICC 7.0 will fill foo.d with something like
-  #    foo.o: sub/foo.c
-  #    foo.o: sub/foo.h
-  # which is wrong.  We want:
-  #    sub/foo.o: sub/foo.c
-  #    sub/foo.o: sub/foo.h
-  #    sub/foo.c:
-  #    sub/foo.h:
-  # ICC 7.1 will output
+## The order of this option in the case statement is important, since the
+## shell code in configure will try each of these formats in the order
+## listed in this file.  A plain '-MD' option would be understood by many
+## compilers, so we must ensure this comes after the gcc and icc options.
+pgcc)
+  # Portland's C compiler understands '-MD'.
+  # Will always output deps to 'file.d' where file is the root name of the
+  # source file under compilation, even if file resides in a subdirectory.
+  # The object file name does not affect the name of the '.d' file.
+  # pgcc 10.2 will output
   #    foo.o: sub/foo.c sub/foo.h
-  # and will wrap long lines using \ :
+  # and will wrap long lines using '\' :
   #    foo.o: sub/foo.c ... \
   #     sub/foo.h ... \
   #     ...
+  set_dir_from "$object"
+  # Use the source, not the object, to determine the base name, since
+  # that's sadly what pgcc will do too.
+  set_base_from "$source"
+  tmpdepfile=$base.d
+
+  # For projects that build the same source file twice into different object
+  # files, the pgcc approach of using the *source* file root name can cause
+  # problems in parallel builds.  Use a locking strategy to avoid stomping on
+  # the same $tmpdepfile.
+  lockdir=$base.d-lock
+  trap "
+    echo '$0: caught signal, cleaning up...' >&2
+    rmdir '$lockdir'
+    exit 1
+  " 1 2 13 15
+  numtries=100
+  i=$numtries
+  while test $i -gt 0; do
+    # mkdir is a portable test-and-set.
+    if mkdir "$lockdir" 2>/dev/null; then
+      # This process acquired the lock.
+      "$@" -MD
+      stat=$?
+      # Release the lock.
+      rmdir "$lockdir"
+      break
+    else
+      # If the lock is being held by a different process, wait
+      # until the winning process is done or we timeout.
+      while test -d "$lockdir" && test $i -gt 0; do
+        sleep 1
+        i=`expr $i - 1`
+      done
+    fi
+    i=`expr $i - 1`
+  done
+  trap - 1 2 13 15
+  if test $i -le 0; then
+    echo "$0: failed to acquire lock after $numtries attempts" >&2
+    echo "$0: check lockdir '$lockdir'" >&2
+    exit 1
+  fi
 
-  "$@" -MD -MF "$tmpdepfile"
-  stat=$?
-  if test $stat -eq 0; then :
-  else
+  if test $stat -ne 0; then
     rm -f "$tmpdepfile"
     exit $stat
   fi
   rm -f "$depfile"
-  # Each line is of the form 'foo.o: dependent.h',
-  # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
+  # Each line is of the form `foo.o: dependent.h',
+  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
   # Do two passes, one to just change these to
-  # '$object: dependent.h' and one to simply 'dependent.h:'.
+  # `$object: dependent.h' and one to simply `dependent.h:'.
   sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
   # Some versions of the HPUX 10.20 sed can't process this invocation
   # correctly.  Breaking it into two sed invocations is a workaround.
-  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
-    sed -e 's/$/ :/' >> "$depfile"
+  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
+    sed -e 's/$/ :/' >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
 
@@ -320,9 +404,8 @@ hp2)
   # 'foo.d', which lands next to the object file, wherever that
   # happens to be.
   # Much of this is similar to the tru64 case; see comments there.
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
-  test "x$dir" = "x$object" && dir=
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+  set_dir_from  "$object"
+  set_base_from "$object"
   if test "$libtool" = yes; then
     tmpdepfile1=$dir$base.d
     tmpdepfile2=$dir.libs/$base.d
@@ -333,8 +416,7 @@ hp2)
     "$@" +Maked
   fi
   stat=$?
-  if test $stat -eq 0; then :
-  else
+  if test $stat -ne 0; then
      rm -f "$tmpdepfile1" "$tmpdepfile2"
      exit $stat
   fi
@@ -344,76 +426,61 @@ hp2)
     test -f "$tmpdepfile" && break
   done
   if test -f "$tmpdepfile"; then
-    sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
+    sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
     # Add 'dependent.h:' lines.
     sed -ne '2,${
-              s/^ *//
-              s/ \\*$//
-              s/$/:/
-              p
-            }' "$tmpdepfile" >> "$depfile"
+               s/^ *//
+               s/ \\*$//
+               s/$/:/
+               p
+             }' "$tmpdepfile" >> "$depfile"
   else
-    echo "#dummy" > "$depfile"
+    make_dummy_depfile
   fi
   rm -f "$tmpdepfile" "$tmpdepfile2"
   ;;
 
 tru64)
-   # The Tru64 compiler uses -MD to generate dependencies as a side
-   # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
-   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
-   # dependencies in 'foo.d' instead, so we check for that too.
-   # Subdirectories are respected.
-   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
-   test "x$dir" = "x$object" && dir=
-   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
-
-   if test "$libtool" = yes; then
-      # With Tru64 cc, shared objects can also be used to make a
-      # static library.  This mechanism is used in libtool 1.4 series to
-      # handle both shared and static libraries in a single compilation.
-      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
-      #
-      # With libtool 1.5 this exception was removed, and libtool now
-      # generates 2 separate objects for the 2 libraries.  These two
-      # compilations output dependencies in $dir.libs/$base.o.d and
-      # in $dir$base.o.d.  We have to check for both files, because
-      # one of the two compilations can be disabled.  We should prefer
-      # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
-      # automatically cleaned when .libs/ is deleted, while ignoring
-      # the former would cause a distcleancheck panic.
-      tmpdepfile1=$dir.libs/$base.lo.d   # libtool 1.4
-      tmpdepfile2=$dir$base.o.d          # libtool 1.5
-      tmpdepfile3=$dir.libs/$base.o.d    # libtool 1.5
-      tmpdepfile4=$dir.libs/$base.d      # Compaq CCC V6.2-504
-      "$@" -Wc,-MD
-   else
-      tmpdepfile1=$dir$base.o.d
-      tmpdepfile2=$dir$base.d
-      tmpdepfile3=$dir$base.d
-      tmpdepfile4=$dir$base.d
-      "$@" -MD
-   fi
-
-   stat=$?
-   if test $stat -eq 0; then :
-   else
-      rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
-      exit $stat
-   fi
-
-   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
-   do
-     test -f "$tmpdepfile" && break
-   done
-   if test -f "$tmpdepfile"; then
-      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
-      sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
-   else
-      echo "#dummy" > "$depfile"
-   fi
-   rm -f "$tmpdepfile"
-   ;;
+  # The Tru64 compiler uses -MD to generate dependencies as a side
+  # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
+  # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+  # dependencies in 'foo.d' instead, so we check for that too.
+  # Subdirectories are respected.
+  set_dir_from  "$object"
+  set_base_from "$object"
+
+  if test "$libtool" = yes; then
+    # Libtool generates 2 separate objects for the 2 libraries.  These
+    # two compilations output dependencies in $dir.libs/$base.o.d and
+    # in $dir$base.o.d.  We have to check for both files, because
+    # one of the two compilations can be disabled.  We should prefer
+    # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+    # automatically cleaned when .libs/ is deleted, while ignoring
+    # the former would cause a distcleancheck panic.
+    tmpdepfile1=$dir$base.o.d          # libtool 1.5
+    tmpdepfile2=$dir.libs/$base.o.d    # Likewise.
+    tmpdepfile3=$dir.libs/$base.d      # Compaq CCC V6.2-504
+    "$@" -Wc,-MD
+  else
+    tmpdepfile1=$dir$base.d
+    tmpdepfile2=$dir$base.d
+    tmpdepfile3=$dir$base.d
+    "$@" -MD
+  fi
+
+  stat=$?
+  if test $stat -ne 0; then
+    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+    exit $stat
+  fi
+
+  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+  do
+    test -f "$tmpdepfile" && break
+  done
+  # Same post-processing that is required for AIX mode.
+  aix_post_process_depfile
+  ;;
 
 msvc7)
   if test "$libtool" = yes; then
@@ -424,8 +491,7 @@ msvc7)
   "$@" $showIncludes > "$tmpdepfile"
   stat=$?
   grep -v '^Note: including file: ' "$tmpdepfile"
-  if test "$stat" = 0; then :
-  else
+  if test $stat -ne 0; then
     rm -f "$tmpdepfile"
     exit $stat
   fi
@@ -451,6 +517,7 @@ $ {
   G
   p
 }' >> "$depfile"
+  echo >> "$depfile" # make sure the fragment doesn't end with a backslash
   rm -f "$tmpdepfile"
   ;;
 
@@ -502,13 +569,14 @@ dashmstdout)
   # in the target name.  This is to cope with DOS-style filenames:
   # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
   "$@" $dashmflag |
-    sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
+    sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
   rm -f "$depfile"
   cat < "$tmpdepfile" > "$depfile"
-  tr ' ' "$nl" < "$tmpdepfile" | \
-## Some versions of the HPUX 10.20 sed can't process this invocation
-## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+  # Some versions of the HPUX 10.20 sed can't process this sed invocation
+  # correctly.  Breaking it into two sed invocations is a workaround.
+  tr ' ' "$nl" < "$tmpdepfile" \
+    | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+    | sed -e 's/$/ :/' >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
 
@@ -561,10 +629,12 @@ makedepend)
   # makedepend may prepend the VPATH from the source file name to the object.
   # No need to regex-escape $object, excess matching of '.' is harmless.
   sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
-  sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
-## Some versions of the HPUX 10.20 sed can't process this invocation
-## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+  # Some versions of the HPUX 10.20 sed can't process the last invocation
+  # correctly.  Breaking it into two sed invocations is a workaround.
+  sed '1,2d' "$tmpdepfile" \
+    | tr ' ' "$nl" \
+    | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+    | sed -e 's/$/ :/' >> "$depfile"
   rm -f "$tmpdepfile" "$tmpdepfile".bak
   ;;
 
@@ -600,10 +670,10 @@ cpp)
     esac
   done
 
-  "$@" -E |
-    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
-       -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
-    sed '$ s: \\$::' > "$tmpdepfile"
+  "$@" -E \
+    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+             -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+    sed '$ s: \\$::' > "$tmpdepfile"
   rm -f "$depfile"
   echo "$object : \\" > "$depfile"
   cat < "$tmpdepfile" >> "$depfile"
@@ -635,15 +705,15 @@ msvisualcpp)
       shift
       ;;
     "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
-       set fnord "$@"
-       shift
-       shift
-       ;;
+        set fnord "$@"
+        shift
+        shift
+        ;;
     *)
-       set fnord "$@" "$arg"
-       shift
-       shift
-       ;;
+        set fnord "$@" "$arg"
+        shift
+        shift
+        ;;
     esac
   done
   "$@" -E 2>/dev/null |
index e786e9820d4bc6a89dba28649c24fd117c24540a..5719d0e4de56602ead37cef87f91e8b2bc56ccfb 100755 (executable)
@@ -3,11 +3,11 @@
 # controlled .prev-version file, automate the procedure by which we record
 # the date, release-type and version string in the NEWS file.  That commit
 # will serve to identify the release, so apply a signed tag to it as well.
-VERSION=2011-05-04.11 # UTC
+VERSION=2012-08-01.09 # UTC
 
 # Note: this is a bash script (could be zsh or dash)
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -24,31 +24,32 @@ VERSION=2011-05-04.11 # UTC
 
 # Written by Jim Meyering
 
-ME=`basename "$0"`
+ME=$(basename "$0")
 warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
 die() { warn "$*"; exit 1; }
 
-help_version()
+help()
 {
-  case $1 in
-    --help) cat <<EOF
+  cat <<EOF
 Usage: $ME [OPTION...] VERSION RELEASE_TYPE
 
-Run this script to perform the final pre-release NEWS update
-in which the date, release-type and version string are recorded.
-Commit that result with a log entry marking the release, and apply
-a signed tag.  Run it from your project's top-level directory.
+Run this script from top_srcdir to perform the final pre-release NEWS
+update in which the date, release-type and version string are
+recorded.  Commit that result with a log entry marking the release,
+and apply a signed tag.  Run it from your project's top-level
+directory.
 
 Requirements:
 - you use git for version-control
-- a NEWS file, with line 3 identical to this:
-* Noteworthy changes in release ?.? (????-??-??) [?]
 - a version-controlled .prev-version file
+- a NEWS file, with line 3 identical to this:
+$noteworthy_stub
 
 Options:
-  --branch BRANCH            set release branch (default: master)
-  --help                     print this help, then exit
-  --version                  print version number, then exit
+  --branch=BRANCH     set release branch (default: $branch)
+  -C, --builddir=DIR  location of (configured) Makefile (default: $builddir)
+  --help              print this help, then exit
+  --version           print version number, then exit
 
 EXAMPLE:
 To update NEWS and tag the beta 8.1 release of coreutils, I would run this:
@@ -57,37 +58,66 @@ To update NEWS and tag the beta 8.1 release of coreutils, I would run this:
 
 Report bugs and patches to <bug-gnulib@gnu.org>.
 EOF
-      exit ;;
+  exit
+}
 
-    --version)
-      year=`echo "$VERSION" | sed 's/[^0-9].*//'`
-      cat <<EOF
+version()
+{
+  year=$(echo "$VERSION" | sed 's/[^0-9].*//')
+  cat <<EOF
 $ME $VERSION
 Copyright (C) $year Free Software Foundation, Inc,
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 EOF
-      exit ;;
+  exit
+}
+
+## ------ ##
+## Main.  ##
+## ------ ##
+
+# Constants.
+noteworthy='* Noteworthy changes in release'
+noteworthy_stub="$noteworthy ?.? (????-??-??) [?]"
 
-  *) die "unrecognized option: $1";;
+# Variables.
+branch=$(git branch | sed -ne '/^\* /{s///;p;q;}')
+builddir=.
+
+while test $# != 0
+do
+  # Handle --option=value by splitting apart and putting back on argv.
+  case $1 in
+    --*=*)
+      opt=$(echo "$1" | sed -e 's/=.*//')
+      val=$(echo "$1" | sed -e 's/[^=]*=//')
+      shift
+      set dummy "$opt" "$val" ${1+"$@"}; shift
+      ;;
   esac
-}
 
-branch=master
-case $1 in
-  --branch) shift; branch=$1; shift ;;
-esac
+  case $1 in
+    --help|--version) ${1#--};;
+    --branch) shift; branch=$1; shift ;;
+    -C|--builddir) shift; builddir=$1; shift ;;
+    --*) die "unrecognized option: $1";;
+    *) break;;
+  esac
+done
 
-case $# in
-  1) help_version $1; exit 0;;
-  2) ;;
-  *) warn "Usage: $ME [OPTION...] VERSION TYPE"; exit 1;;
-esac
+test $# = 2 \
+  || die "Usage: $ME [OPTION...] VERSION TYPE"
 
 ver=$1
 type=$2
 
+
+## ---------------------- ##
+## First, sanity checks.  ##
+## ---------------------- ##
+
 # Verify that $ver looks like a version number, and...
 echo "$ver"|grep -E '^[0-9][0-9.]*[0-9]$' > /dev/null \
   || die "invalid version: $ver"
@@ -97,7 +127,7 @@ prev_ver=$(cat .prev-version) \
 # Verify that $ver is sensible (> .prev-version).
 case $(printf "$prev_ver\n$ver\n"|sort -V -u|tr '\n' ':') in
   "$prev_ver:$ver:") ;;
-  *) die "invalid version: $ver";;
+  *) die "invalid version: $ver (<= $prev_ver)";;
 esac
 
 case $type in
@@ -105,32 +135,36 @@ case $type in
   *) die "invalid release type: $type";;
 esac
 
-# Extract package name from Makefile.
-pkg=$(sed -n 's/^PACKAGE = \(.*\)/\1/p' Makefile) \
-  || die 'failed to determine package name from Makefile'
-
-# simple check: no question marks on line 3 of NEWS
-noteworthy='* Noteworthy changes in release'
-test "$(sed -n 3p NEWS)" = "$noteworthy ?.? (????-??-??) [?]" \
-  || die 'line 3 of NEWS looks fishy!'
-
-# No dirt allowed.
+# No local modifications allowed.
 case $(git diff-index --name-only HEAD) in
   '') ;;
   *) die 'this tree is dirty; commit your changes first';;
 esac
 
-# update NEWS to have today's date, plus desired version number and $type
+# Ensure the current branch name is correct:
+curr_br=$(git rev-parse --symbolic-full-name HEAD)
+test "$curr_br" = refs/heads/$branch || die not on branch $branch
+
+# Extract package name from Makefile.
+Makefile=$builddir/Makefile
+pkg=$(sed -n 's/^PACKAGE = \(.*\)/\1/p' "$Makefile") \
+  || die "failed to determine package name from $Makefile"
+
+# Check that line 3 of NEWS is the stub line about to be replaced.
+test "$(sed -n 3p NEWS)" = "$noteworthy_stub" \
+  || die "line 3 of NEWS must be exactly '$noteworthy_stub'"
+
+## --------------- ##
+## Then, changes.  ##
+## --------------- ##
+
+# Update NEWS to have today's date, plus desired version number and $type.
 perl -MPOSIX -ni -e 'my $today = strftime "%F", localtime time;' \
  -e 'my ($type, $ver) = qw('"$type $ver"');' \
  -e 'my $pfx = "'"$noteworthy"'";' \
  -e 'print $.==3 ? "$pfx $ver ($today) [$type]\n" : $_' \
      NEWS || die 'failed to update NEWS'
 
-# Ensure the current branch name is correct:
-curr_br=$(git rev-parse --symbolic-full-name HEAD)
-test "$curr_br" = refs/heads/$branch || die not on branch $branch
-
 printf "version $ver\n\n* NEWS: Record release date.\n" \
     | git commit -F -  -a || die 'git commit failed'
 git tag -s -m "$pkg $ver" v$ver HEAD || die 'git tag failed'
index c8abd55fb387f553b07e439fd4a7a17ec7704279..b2e7b09730409ef187d141bb7a872bb708485b13 100755 (executable)
@@ -2,10 +2,10 @@
 # gendocs.sh -- generate a GNU manual in many formats.  This script is
 #   mentioned in maintain.texi.  See the help message below for usage details.
 
-scriptversion=2011-04-08.14
+scriptversion=2014-05-01.10
 
-# Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
+# Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
+# Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -30,6 +30,12 @@ scriptversion=2011-04-08.14
 #
 # An up-to-date copy is also maintained in Gnulib (gnu.org/software/gnulib).
 
+# TODO:
+# - image importation was only implemented for HTML generated by
+#   makeinfo.  But it should be simple enough to adjust.
+# - images are not imported in the source tarball.  All the needed
+#   formats (PDF, PNG, etc.) should be included.
+
 prog=`basename "$0"`
 srcdir=`pwd`
 
@@ -39,38 +45,50 @@ templateurl="http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/texinfo/texinfo/
 : ${SETLANG="env LANG= LC_MESSAGES= LC_ALL= LANGUAGE="}
 : ${MAKEINFO="makeinfo"}
 : ${TEXI2DVI="texi2dvi -t @finalout"}
-: ${DVIPS="dvips"}
 : ${DOCBOOK2HTML="docbook2html"}
 : ${DOCBOOK2PDF="docbook2pdf"}
-: ${DOCBOOK2PS="docbook2ps"}
 : ${DOCBOOK2TXT="docbook2txt"}
 : ${GENDOCS_TEMPLATE_DIR="."}
+: ${PERL='perl'}
 : ${TEXI2HTML="texi2html"}
 unset CDPATH
 unset use_texi2html
 
 version="gendocs.sh $scriptversion
 
-Copyright 2010 Free Software Foundation, Inc.
+Copyright 2013 Free Software Foundation, Inc.
 There is NO warranty.  You may redistribute this software
 under the terms of the GNU General Public License.
 For more information about these matters, see the files named COPYING."
 
 usage="Usage: $prog [OPTION]... PACKAGE MANUAL-TITLE
 
-Generate various output formats from PACKAGE.texinfo (or .texi or .txi) source.
-See the GNU Maintainers document for a more extensive discussion:
+Generate output in various formats from PACKAGE.texinfo (or .texi or
+.txi) source.  See the GNU Maintainers document for a more extensive
+discussion:
   http://www.gnu.org/prep/maintain_toc.html
 
 Options:
-  -s SRCFILE  read Texinfo from SRCFILE, instead of PACKAGE.{texinfo|texi|txi}
-  -o OUTDIR   write files into OUTDIR, instead of manual/.
-  --email ADR use ADR as contact in generated web pages.
-  --docbook   convert to DocBook too (xml, txt, html, pdf and ps).
-  --html ARG  pass indicated ARG to makeinfo or texi2html for HTML targets.
-  --texi2html use texi2html to generate HTML targets.
-  --help      display this help and exit successfully.
-  --version   display version information and exit successfully.
+  --email ADR use ADR as contact in generated web pages; always give this.
+
+  -s SRCFILE   read Texinfo from SRCFILE, instead of PACKAGE.{texinfo|texi|txi}
+  -o OUTDIR    write files into OUTDIR, instead of manual/.
+  -I DIR       append DIR to the Texinfo search path.
+  --common ARG pass ARG in all invocations.
+  --html ARG   pass ARG to makeinfo or texi2html for HTML targets.
+  --info ARG   pass ARG to makeinfo for Info, instead of --no-split.
+  --no-ascii   skip generating the plain text output.
+  --no-html    skip generating the html output.
+  --no-info    skip generating the info output.
+  --no-tex     skip generating the dvi and pdf output.
+  --source ARG include ARG in tar archive of sources.
+  --split HOW  make split HTML by node, section, chapter; default node.
+
+  --texi2html  use texi2html to make HTML target, with all split versions.
+  --docbook    convert through DocBook too (xml, txt, html, pdf).
+
+  --help       display this help and exit successfully.
+  --version    display version information and exit successfully.
 
 Simple example: $prog --email bug-gnu-emacs@gnu.org emacs \"GNU Emacs Manual\"
 
@@ -80,12 +98,12 @@ Typical sequence:
   wget \"$templateurl\"
   $prog --email BUGLIST MANUAL \"GNU MANUAL - One-line description\"
 
-Output will be in a new subdirectory \"manual\" (by default, use -o OUTDIR
-to override).  Move all the new files into your web CVS tree, as
-explained in the Web Pages node of maintain.texi.
+Output will be in a new subdirectory \"manual\" (by default;
+use -o OUTDIR to override).  Move all the new files into your web CVS
+tree, as explained in the Web Pages node of maintain.texi.
 
-Please use the --email ADDRESS option to specify your bug-reporting
-address in the generated HTML pages.
+Please use the --email ADDRESS option so your own bug-reporting
+address will be used in the generated HTML pages.
 
 MANUAL-TITLE is included as part of the HTML <title> of the overall
 manual/index.html file.  It should include the name of the package being
@@ -102,11 +120,14 @@ If a manual's Texinfo sources are spread across several directories,
 first copy or symlink all Texinfo sources into a single directory.
 (Part of the script's work is to make a tar.gz of the sources.)
 
-You can set the environment variables MAKEINFO, TEXI2DVI, TEXI2HTML, and
-DVIPS to control the programs that get executed, and
+As implied above, by default monolithic Info files are generated.
+If you want split Info, or other Info options, use --info to override.
+
+You can set the environment variables MAKEINFO, TEXI2DVI, TEXI2HTML,
+and PERL to control the programs that get executed, and
 GENDOCS_TEMPLATE_DIR to control where the gendocs_template file is
 looked for.  With --docbook, the environment variables DOCBOOK2HTML,
-DOCBOOK2PDF, DOCBOOK2PS, and DOCBOOK2TXT are also respected.
+DOCBOOK2PDF, and DOCBOOK2TXT are also consulted.
 
 By default, makeinfo and texi2dvi are run in the default (English)
 locale, since that's the language of most Texinfo manuals.  If you
@@ -116,29 +137,43 @@ SETLANG setting in the source.
 Email bug reports or enhancement requests to bug-texinfo@gnu.org.
 "
 
-calcsize()
-{
-  size=`ls -ksl $1 | awk '{print $1}'`
-  echo $size
-}
-
 MANUAL_TITLE=
 PACKAGE=
 EMAIL=webmasters@gnu.org  # please override with --email
+commonarg= # passed to all makeinfo/texi2html invcations.
+dirargs=   # passed to all tools (-I dir).
+dirs=      # -I directories.
 htmlarg=
+infoarg=--no-split
+generate_ascii=true
+generate_html=true
+generate_info=true
+generate_tex=true
 outdir=manual
+source_extra=
+split=node
 srcfile=
 
 while test $# -gt 0; do
   case $1 in
-    --email) shift; EMAIL=$1;;
-    --help) echo "$usage"; exit 0;;
-    --version) echo "$version"; exit 0;;
-    -s) shift; srcfile=$1;;
-    -o) shift; outdir=$1;;
-    --docbook) docbook=yes;;
-    --html) shift; htmlarg=$1;;
+    -s)          shift; srcfile=$1;;
+    -o)          shift; outdir=$1;;
+    -I)          shift; dirargs="$dirargs -I '$1'"; dirs="$dirs $1";;
+    --common)    shift; commonarg=$1;;
+    --docbook)   docbook=yes;;
+    --email)     shift; EMAIL=$1;;
+    --html)      shift; htmlarg=$1;;
+    --info)      shift; infoarg=$1;;
+    --no-ascii)  generate_ascii=false;;
+    --no-html)   generate_ascii=false;;
+    --no-info)   generate_info=false;;
+    --no-tex)    generate_tex=false;;
+    --source)    shift; source_extra=$1;;
+    --split)     shift; split=$1;;
     --texi2html) use_texi2html=1;;
+
+    --help)      echo "$usage"; exit 0;;
+    --version)   echo "$version"; exit 0;;
     -*)
       echo "$0: Unknown option \`$1'." >&2
       echo "$0: Try \`--help' for more information." >&2
@@ -156,6 +191,9 @@ while test $# -gt 0; do
   shift
 done
 
+# makeinfo uses the dirargs, but texi2dvi doesn't.
+commonarg=" $dirargs $commonarg"
+
 # For most of the following, the base name is just $PACKAGE
 base=$PACKAGE
 
@@ -183,57 +221,119 @@ if test ! -r $GENDOCS_TEMPLATE_DIR/gendocs_template; then
   exit 1
 fi
 
+# Function to return size of $1 in something resembling kilobytes.
+calcsize()
+{
+  size=`ls -ksl $1 | awk '{print $1}'`
+  echo $size
+}
+
+# copy_images OUTDIR HTML-FILE...
+# -------------------------------
+# Copy all the images needed by the HTML-FILEs into OUTDIR.
+# Look for them in . and the -I directories; this is simpler than what
+# makeinfo supports with -I, but hopefully it will suffice.
+copy_images()
+{
+  local odir
+  odir=$1
+  shift
+  $PERL -n -e "
+BEGIN {
+  \$me = '$prog';
+  \$odir = '$odir';
+  @dirs = qw(. $dirs);
+}
+" -e '
+/<img src="(.*?)"/g && ++$need{$1};
+
+END {
+  #print "$me: @{[keys %need]}\n";  # for debugging, show images found.
+  FILE: for my $f (keys %need) {
+    for my $d (@dirs) {
+      if (-f "$d/$f") {
+        use File::Basename;
+        my $dest = dirname ("$odir/$f");
+        #
+        use File::Path;
+        -d $dest || mkpath ($dest)
+          || die "$me: cannot mkdir $dest: $!\n";
+        #
+        use File::Copy;
+        copy ("$d/$f", $dest)
+          || die "$me: cannot copy $d/$f to $dest: $!\n";
+        next FILE;
+      }
+    }
+    die "$me: $ARGV: cannot find image $f\n";
+  }
+}
+' -- "$@" || exit 1
+}
+
 case $outdir in
   /*) abs_outdir=$outdir;;
   *)  abs_outdir=$srcdir/$outdir;;
 esac
 
-echo Generating output formats for $srcfile
-
-cmd="$SETLANG $MAKEINFO -o $PACKAGE.info \"$srcfile\""
-echo "Generating info files... ($cmd)"
-eval "$cmd"
+echo "Making output for $srcfile"
+echo " in `pwd`"
 mkdir -p "$outdir/"
-tar czf "$outdir/$PACKAGE.info.tar.gz" $PACKAGE.info*
-info_tgz_size=`calcsize "$outdir/$PACKAGE.info.tar.gz"`
-# do not mv the info files, there's no point in having them available
-# separately on the web.
-
-cmd="$SETLANG ${TEXI2DVI} \"$srcfile\""
-echo "Generating dvi ... ($cmd)"
-eval "$cmd"
-
-# now, before we compress dvi:
-echo Generating postscript...
-${DVIPS} $PACKAGE -o
-gzip -f -9 $PACKAGE.ps
-ps_gz_size=`calcsize $PACKAGE.ps.gz`
-mv $PACKAGE.ps.gz "$outdir/"
-
-# compress/finish dvi:
-gzip -f -9 $PACKAGE.dvi
-dvi_gz_size=`calcsize $PACKAGE.dvi.gz`
-mv $PACKAGE.dvi.gz "$outdir/"
-
-cmd="$SETLANG ${TEXI2DVI} --pdf \"$srcfile\""
-echo "Generating pdf ... ($cmd)"
-eval "$cmd"
-pdf_size=`calcsize $PACKAGE.pdf`
-mv $PACKAGE.pdf "$outdir/"
-
-cmd="$SETLANG $MAKEINFO -o $PACKAGE.txt --no-split --no-headers \"$srcfile\""
-echo "Generating ASCII... ($cmd)"
-eval "$cmd"
-ascii_size=`calcsize $PACKAGE.txt`
-gzip -f -9 -c $PACKAGE.txt >"$outdir/$PACKAGE.txt.gz"
-ascii_gz_size=`calcsize "$outdir/$PACKAGE.txt.gz"`
-mv $PACKAGE.txt "$outdir/"
 
+# \f
+if $generate_info; then
+  cmd="$SETLANG $MAKEINFO -o $PACKAGE.info $commonarg $infoarg \"$srcfile\""
+  echo "Generating info... ($cmd)"
+  rm -f $PACKAGE.info* # get rid of any strays
+  eval "$cmd"
+  tar czf "$outdir/$PACKAGE.info.tar.gz" $PACKAGE.info*
+  ls -l "$outdir/$PACKAGE.info.tar.gz"
+  info_tgz_size=`calcsize "$outdir/$PACKAGE.info.tar.gz"`
+  # do not mv the info files, there's no point in having them available
+  # separately on the web.
+fi  # end info
+
+# \f
+if $generate_tex; then
+  cmd="$SETLANG $TEXI2DVI $dirargs \"$srcfile\""
+  printf "\nGenerating dvi... ($cmd)\n"
+  eval "$cmd"
+  # compress/finish dvi:
+  gzip -f -9 $PACKAGE.dvi
+  dvi_gz_size=`calcsize $PACKAGE.dvi.gz`
+  mv $PACKAGE.dvi.gz "$outdir/"
+  ls -l "$outdir/$PACKAGE.dvi.gz"
+
+  cmd="$SETLANG $TEXI2DVI --pdf $dirargs \"$srcfile\""
+  printf "\nGenerating pdf... ($cmd)\n"
+  eval "$cmd"
+  pdf_size=`calcsize $PACKAGE.pdf`
+  mv $PACKAGE.pdf "$outdir/"
+  ls -l "$outdir/$PACKAGE.pdf"
+fi # end tex (dvi + pdf)
+
+# \f
+if $generate_ascii; then
+  opt="-o $PACKAGE.txt --no-split --no-headers $commonarg"
+  cmd="$SETLANG $MAKEINFO $opt \"$srcfile\""
+  printf "\nGenerating ascii... ($cmd)\n"
+  eval "$cmd"
+  ascii_size=`calcsize $PACKAGE.txt`
+  gzip -f -9 -c $PACKAGE.txt >"$outdir/$PACKAGE.txt.gz"
+  ascii_gz_size=`calcsize "$outdir/$PACKAGE.txt.gz"`
+  mv $PACKAGE.txt "$outdir/"
+  ls -l "$outdir/$PACKAGE.txt" "$outdir/$PACKAGE.txt.gz"
+fi
+
+# \f
+
+if $generate_html; then
+# Split HTML at level $1.  Used for texi2html.
 html_split()
 {
-  opt="--split=$1 $htmlarg --node-files"
+  opt="--split=$1 --node-files $commonarg $htmlarg"
   cmd="$SETLANG $TEXI2HTML --output $PACKAGE.html $opt \"$srcfile\""
-  echo "Generating html by $1... ($cmd)"
+  printf "\nGenerating html by $1... ($cmd)\n"
   eval "$cmd"
   split_html_dir=$PACKAGE.html
   (
@@ -249,32 +349,48 @@ html_split()
 }
 
 if test -z "$use_texi2html"; then
-  opt="--no-split --html -o $PACKAGE.html $htmlarg"
+  opt="--no-split --html -o $PACKAGE.html $commonarg $htmlarg"
   cmd="$SETLANG $MAKEINFO $opt \"$srcfile\""
-  echo "Generating monolithic html... ($cmd)"
+  printf "\nGenerating monolithic html... ($cmd)\n"
   rm -rf $PACKAGE.html  # in case a directory is left over
   eval "$cmd"
   html_mono_size=`calcsize $PACKAGE.html`
   gzip -f -9 -c $PACKAGE.html >"$outdir/$PACKAGE.html.gz"
   html_mono_gz_size=`calcsize "$outdir/$PACKAGE.html.gz"`
+  copy_images "$outdir/" $PACKAGE.html
   mv $PACKAGE.html "$outdir/"
-
-  cmd="$SETLANG $MAKEINFO --html -o $PACKAGE.html $htmlarg \"$srcfile\""
-  echo "Generating html by node... ($cmd)"
+  ls -l "$outdir/$PACKAGE.html" "$outdir/$PACKAGE.html.gz"
+
+  # Before Texinfo 5.0, makeinfo did not accept a --split=HOW option,
+  # it just always split by node.  So if we're splitting by node anyway,
+  # leave it out.
+  if test "x$split" = xnode; then
+    split_arg=
+  else
+    split_arg=--split=$split
+  fi
+  #
+  opt="--html -o $PACKAGE.html $split_arg $commonarg $htmlarg"
+  cmd="$SETLANG $MAKEINFO $opt \"$srcfile\""
+  printf "\nGenerating html by $split... ($cmd)\n"
   eval "$cmd"
   split_html_dir=$PACKAGE.html
+  copy_images $split_html_dir/ $split_html_dir/*.html
   (
-   cd ${split_html_dir} || exit 1
-   tar -czf "$abs_outdir/${PACKAGE}.html_node.tar.gz" -- *.html
+    cd $split_html_dir || exit 1
+    tar -czf "$abs_outdir/$PACKAGE.html_$split.tar.gz" -- *
   )
-  html_node_tgz_size=`calcsize "$outdir/${PACKAGE}.html_node.tar.gz"`
-  rm -f "$outdir"/html_node/*.html
-  mkdir -p "$outdir/html_node/"
-  mv ${split_html_dir}/*.html "$outdir/html_node/"
-  rmdir ${split_html_dir}
-else
-  cmd="$SETLANG $TEXI2HTML --output $PACKAGE.html $htmlarg \"$srcfile\""
-  echo "Generating monolithic html... ($cmd)"
+  eval \
+    html_${split}_tgz_size=`calcsize "$outdir/$PACKAGE.html_$split.tar.gz"`
+  rm -rf "$outdir/html_$split/"
+  mv $split_html_dir "$outdir/html_$split/"
+  du -s "$outdir/html_$split/"
+  ls -l "$outdir/$PACKAGE.html_$split.tar.gz"
+
+else # use texi2html:
+  opt="--output $PACKAGE.html $commonarg $htmlarg"
+  cmd="$SETLANG $TEXI2HTML $opt \"$srcfile\""
+  printf "\nGenerating monolithic html with texi2html... ($cmd)\n"
   rm -rf $PACKAGE.html  # in case a directory is left over
   eval "$cmd"
   html_mono_size=`calcsize $PACKAGE.html`
@@ -286,19 +402,25 @@ else
   html_split chapter
   html_split section
 fi
+fi # end html
 
-echo Making .tar.gz for sources...
+# \f
+printf "\nMaking .tar.gz for sources...\n"
 d=`dirname $srcfile`
 (
   cd "$d"
-  srcfiles=`ls *.texinfo *.texi *.txi *.eps 2>/dev/null` || true
-  tar cvzfh "$abs_outdir/$PACKAGE.texi.tar.gz" $srcfiles
+  srcfiles=`ls -d *.texinfo *.texi *.txi *.eps $source_extra 2>/dev/null` || true
+  tar czfh "$abs_outdir/$PACKAGE.texi.tar.gz" $srcfiles
+  ls -l "$abs_outdir/$PACKAGE.texi.tar.gz"
 )
 texi_tgz_size=`calcsize "$outdir/$PACKAGE.texi.tar.gz"`
 
+# \f
+# Do everything again through docbook.
 if test -n "$docbook"; then
-  cmd="$SETLANG $MAKEINFO -o - --docbook \"$srcfile\" > ${srcdir}/$PACKAGE-db.xml"
-  echo "Generating docbook XML... ($cmd)"
+  opt="-o - --docbook $commonarg"
+  cmd="$SETLANG $MAKEINFO $opt \"$srcfile\" >${srcdir}/$PACKAGE-db.xml"
+  printf "\nGenerating docbook XML... ($cmd)\n"
   eval "$cmd"
   docbook_xml_size=`calcsize $PACKAGE-db.xml`
   gzip -f -9 -c $PACKAGE-db.xml >"$outdir/$PACKAGE-db.xml.gz"
@@ -306,8 +428,9 @@ if test -n "$docbook"; then
   mv $PACKAGE-db.xml "$outdir/"
 
   split_html_db_dir=html_node_db
-  cmd="${DOCBOOK2HTML} -o $split_html_db_dir \"${outdir}/$PACKAGE-db.xml\""
-  echo "Generating docbook HTML... ($cmd)"
+  opt="$commonarg -o $split_html_db_dir"
+  cmd="$DOCBOOK2HTML $opt \"${outdir}/$PACKAGE-db.xml\""
+  printf "\nGenerating docbook HTML... ($cmd)\n"
   eval "$cmd"
   (
     cd ${split_html_db_dir} || exit 1
@@ -319,33 +442,29 @@ if test -n "$docbook"; then
   mv ${split_html_db_dir}/*.html "$outdir/html_node_db/"
   rmdir ${split_html_db_dir}
 
-  cmd="${DOCBOOK2TXT} \"${outdir}/$PACKAGE-db.xml\""
-  echo "Generating docbook ASCII... ($cmd)"
+  cmd="$DOCBOOK2TXT \"${outdir}/$PACKAGE-db.xml\""
+  printf "\nGenerating docbook ASCII... ($cmd)\n"
   eval "$cmd"
   docbook_ascii_size=`calcsize $PACKAGE-db.txt`
   mv $PACKAGE-db.txt "$outdir/"
 
-  cmd="${DOCBOOK2PS} \"${outdir}/$PACKAGE-db.xml\""
-  echo "Generating docbook PS... ($cmd)"
-  eval "$cmd"
-  gzip -f -9 -c $PACKAGE-db.ps >"$outdir/$PACKAGE-db.ps.gz"
-  docbook_ps_gz_size=`calcsize "$outdir/$PACKAGE-db.ps.gz"`
-  mv $PACKAGE-db.ps "$outdir/"
-
-  cmd="${DOCBOOK2PDF} \"${outdir}/$PACKAGE-db.xml\""
-  echo "Generating docbook PDF... ($cmd)"
+  cmd="$DOCBOOK2PDF \"${outdir}/$PACKAGE-db.xml\""
+  printf "\nGenerating docbook PDF... ($cmd)\n"
   eval "$cmd"
   docbook_pdf_size=`calcsize $PACKAGE-db.pdf`
   mv $PACKAGE-db.pdf "$outdir/"
 fi
 
-echo "Writing index file..."
+# \f
+printf "\nMaking index.html for $PACKAGE...\n"
 if test -z "$use_texi2html"; then
-   CONDS="/%%IF  *HTML_SECTION%%/,/%%ENDIF  *HTML_SECTION%%/d;\
-          /%%IF  *HTML_CHAPTER%%/,/%%ENDIF  *HTML_CHAPTER%%/d"
+  CONDS="/%%IF  *HTML_SECTION%%/,/%%ENDIF  *HTML_SECTION%%/d;\
+         /%%IF  *HTML_CHAPTER%%/,/%%ENDIF  *HTML_CHAPTER%%/d"
 else
-   CONDS="/%%ENDIF.*%%/d;/%%IF  *HTML_SECTION%%/d;/%%IF  *HTML_CHAPTER%%/d"
+  # should take account of --split here.
+  CONDS="/%%ENDIF.*%%/d;/%%IF  *HTML_SECTION%%/d;/%%IF  *HTML_CHAPTER%%/d"
 fi
+
 curdate=`$SETLANG date '+%B %d, %Y'`
 sed \
    -e "s!%%TITLE%%!$MANUAL_TITLE!g" \
@@ -360,13 +479,11 @@ sed \
    -e "s!%%INFO_TGZ_SIZE%%!$info_tgz_size!g" \
    -e "s!%%DVI_GZ_SIZE%%!$dvi_gz_size!g" \
    -e "s!%%PDF_SIZE%%!$pdf_size!g" \
-   -e "s!%%PS_GZ_SIZE%%!$ps_gz_size!g" \
    -e "s!%%ASCII_SIZE%%!$ascii_size!g" \
    -e "s!%%ASCII_GZ_SIZE%%!$ascii_gz_size!g" \
    -e "s!%%TEXI_TGZ_SIZE%%!$texi_tgz_size!g" \
    -e "s!%%DOCBOOK_HTML_NODE_TGZ_SIZE%%!$html_node_db_tgz_size!g" \
    -e "s!%%DOCBOOK_ASCII_SIZE%%!$docbook_ascii_size!g" \
-   -e "s!%%DOCBOOK_PS_GZ_SIZE%%!$docbook_ps_gz_size!g" \
    -e "s!%%DOCBOOK_PDF_SIZE%%!$docbook_pdf_size!g" \
    -e "s!%%DOCBOOK_XML_SIZE%%!$docbook_xml_size!g" \
    -e "s!%%DOCBOOK_XML_GZ_SIZE%%!$docbook_xml_gz_size!g" \
index d5542a22a16ea2ef8a73e77a9a54c0d624f279e8..0278a9c48935d5329a5e57cecd5c309b5d34a8ed 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 # Print a version string.
-scriptversion=2012-01-06.07; # UTC
+scriptversion=2012-12-31.23; # UTC
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -86,25 +86,30 @@ Print a version string.
 Options:
 
    --prefix           prefix of git tags (default 'v')
+   --fallback         fallback version to use if \"git --version\" fails
 
    --help             display this help and exit
    --version          output version information and exit
 
 Running without arguments will suffice in most cases."
 
+prefix=v
+fallback=
+
 while test $# -gt 0; do
   case $1 in
     --help) echo "$usage"; exit 0;;
     --version) echo "$version"; exit 0;;
     --prefix) shift; prefix="$1";;
+    --fallback) shift; fallback="$1";;
     -*)
       echo "$0: Unknown option '$1'." >&2
       echo "$0: Try '--help' for more information." >&2
       exit 1;;
     *)
-      if test -z "$tarball_version_file"; then
+      if test "x$tarball_version_file" = x; then
         tarball_version_file="$1"
-      elif test -z "$tag_sed_script"; then
+      elif test "x$tag_sed_script" = x; then
         tag_sed_script="$1"
       else
         echo "$0: extra non-option argument '$1'." >&2
@@ -114,13 +119,12 @@ while test $# -gt 0; do
   shift
 done
 
-if test -z "$tarball_version_file"; then
+if test "x$tarball_version_file" = x; then
     echo "$usage"
     exit 1
 fi
 
 tag_sed_script="${tag_sed_script:-s/x/x/}"
-prefix="${prefix:-v}"
 
 nl='
 '
@@ -139,11 +143,11 @@ then
         [0-9]*) ;;
         *) v= ;;
     esac
-    test -z "$v" \
+    test "x$v" = x \
         && echo "$0: WARNING: $tarball_version_file is missing or damaged" 1>&2
 fi
 
-if test -n "$v"
+if test "x$v" != x
 then
     : # use $v
 # Otherwise, if there is at least one git commit involving the working
@@ -183,8 +187,10 @@ then
     # Remove the "g" in git describe's output string, to save a byte.
     v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1-/'`;
     v_from_git=1
-else
+elif test "x$fallback" = x || git --version >/dev/null 2>&1; then
     v=UNKNOWN
+else
+    v=$fallback
 fi
 
 v=`echo "$v" |sed "s/^$prefix//"`
@@ -192,7 +198,7 @@ v=`echo "$v" |sed "s/^$prefix//"`
 # Test whether to append the "-dirty" suffix only if the version
 # string we're using came from git.  I.e., skip the test if it's "UNKNOWN"
 # or if it came from .tarball-version.
-if test -n "$v_from_git"; then
+if test "x$v_from_git" != x; then
   # Don't declare a version "dirty" merely because a time stamp has changed.
   git update-index --refresh > /dev/null 2>&1
 
index 38c6f3aaae5adb18eb3739d957c87673fa171e42..78afff4e8e0bb6f88022973c028b45a1ba72d691 100755 (executable)
@@ -3,13 +3,13 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
     if 0;
 # Convert git log output to ChangeLog format.
 
-my $VERSION = '2012-01-18 07:50'; # UTC
+my $VERSION = '2012-07-29 06:11'; # UTC
 # The definition above must lie within the first 8 lines in order
 # for the Emacs time-stamp write hook (at end) to update it.
 # If you change this file with Emacs, please let the write hook
 # do its job.  Otherwise, update this string manually.
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -68,12 +68,17 @@ OPTIONS:
                   header; the default is to cluster adjacent commit messages
                   if their headers are the same and neither commit message
                   contains multiple paragraphs.
+   --srcdir=DIR the root of the source tree, from which the .git/
+                  directory can be derived.
    --since=DATE convert only the logs since DATE;
                   the default is to convert all log entries.
    --format=FMT set format string for commit subject and body;
                   see 'man git-log' for the list of format metacharacters;
                   the default is '%s%n%b%n'
-
+   --strip-tab  remove one additional leading TAB from commit message lines.
+   --strip-cherry-pick  remove data inserted by "git cherry-pick";
+                  this includes the "cherry picked from commit ..." line,
+                  and the possible final "Conflicts:" paragraph.
    --help       display this help and exit
    --version    output version information and exit
 
@@ -189,12 +194,39 @@ sub parse_amend_file($)
   return $h;
 }
 
+# git_dir_option $SRCDIR
+#
+# From $SRCDIR, the --git-dir option to pass to git (none if $SRCDIR
+# is undef).  Return as a list (0 or 1 element).
+sub git_dir_option($)
+{
+  my ($srcdir) = @_;
+  my @res = ();
+  if (defined $srcdir)
+    {
+      my $qdir = shell_quote $srcdir;
+      my $cmd = "cd $qdir && git rev-parse --show-toplevel";
+      my $qcmd = shell_quote $cmd;
+      my $git_dir = qx($cmd);
+      defined $git_dir
+        or die "$ME: cannot run $qcmd: $!\n";
+      $? == 0
+        or die "$ME: $qcmd had unexpected exit code or signal ($?)\n";
+      chomp $git_dir;
+      push @res, "--git-dir=$git_dir/.git";
+    }
+  @res;
+}
+
 {
   my $since_date;
   my $format_string = '%s%n%b%n';
   my $amend_file;
   my $append_dot = 0;
   my $cluster = 1;
+  my $strip_tab = 0;
+  my $strip_cherry_pick = 0;
+  my $srcdir;
   GetOptions
     (
      help => sub { usage 0 },
@@ -204,9 +236,11 @@ sub parse_amend_file($)
      'amend=s' => \$amend_file,
      'append-dot' => \$append_dot,
      'cluster!' => \$cluster,
+     'strip-tab' => \$strip_tab,
+     'strip-cherry-pick' => \$strip_cherry_pick,
+     'srcdir=s' => \$srcdir,
     ) or usage 1;
 
-
   defined $since_date
     and unshift @ARGV, "--since=$since_date";
 
@@ -214,7 +248,9 @@ sub parse_amend_file($)
   # that makes a correction in the log or attribution of that commit.
   my $amend_code = defined $amend_file ? parse_amend_file $amend_file : {};
 
-  my @cmd = (qw (git log --log-size),
+  my @cmd = ('git',
+             git_dir_option $srcdir,
+             qw(log --log-size),
              '--pretty=format:%H:%ct  %an  <%ae>%n%n'.$format_string, @ARGV);
   open PIPE, '-|', @cmd
     or die ("$ME: failed to run '". quoted_cmd (@cmd) ."': $!\n"
@@ -263,6 +299,13 @@ sub parse_amend_file($)
           $rest = $_;
         }
 
+      # Remove lines inserted by "git cherry-pick".
+      if ($strip_cherry_pick)
+        {
+          $rest =~ s/^\s*Conflicts:\n.*//sm;
+          $rest =~ s/^\s*\(cherry picked from commit [\da-f]+\)\n//m;
+        }
+
       my @line = split "\n", $rest;
       my $author_line = shift @line;
       defined $author_line
@@ -347,6 +390,10 @@ sub parse_amend_file($)
                 }
             }
 
+          # Remove one additional leading TAB from each line.
+          $strip_tab
+            and map { s/^\t// } @line;
+
           # Prefix each non-empty line with a TAB.
           @line = map { length $_ ? "\t$_" : '' } @line;
 
index 7a4304980e9db8224b3140b967e68c47ad331ef8..7af2f185ffd19f2b9c4ef416a4ab18275fe75292 100755 (executable)
@@ -1,15 +1,10 @@
 #!/bin/sh
 # Run this after each non-alpha release, to update the web documentation at
 # http://www.gnu.org/software/$pkg/manual/
-# This script must be run from the top-level directory,
-# assumes you're using git for revision control,
-# and requires a .prev-version file as well as a Makefile,
-# from which it extracts the version number and package name, respectively.
-# Also, it assumes all documentation is in the doc/ sub-directory.
 
-VERSION=2009-07-21.16; # UTC
+VERSION=2012-12-16.14; # UTC
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -24,63 +19,132 @@ VERSION=2009-07-21.16; # UTC
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Requirements: everything required to bootstrap your package,
-# plus these: git, cvs, cvsu, rsync, mktemp
-
-ME=`basename "$0"`
+ME=$(basename "$0")
 warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
 die() { warn "$*"; exit 1; }
 
-help_version()
+help()
 {
-  case $1 in
-    --help) cat <<EOF
+  cat <<EOF
 Usage: $ME
 
-Run this script (no options or arguments) after each non-alpha release,
-to update the web documentation at http://www.gnu.org/software/\$pkg/manual/
-Run it from your project's the top-level directory.
+Run this script from top_srcdir (no arguments) after each non-alpha
+release, to update the web documentation at
+http://www.gnu.org/software/\$pkg/manual/
+
+This script assumes you're using git for revision control, and
+requires a .prev-version file as well as a Makefile, from which it
+extracts the version number and package name, respectively.  Also, it
+assumes all documentation is in the doc/ sub-directory.
 
 Options:
-  --help     print this help, then exit
-  --version  print version number, then exit
+  -C, --builddir=DIR  location of (configured) Makefile (default: .)
+  -n, --dry-run       don't actually commit anything
+  --help              print this help, then exit
+  --version           print version number, then exit
 
 Report bugs and patches to <bug-gnulib@gnu.org>.
 EOF
-      exit ;;
+  exit
+}
 
-    --version)
-      year=`echo "$VERSION" | sed 's/[^0-9].*//'`
-      cat <<EOF
+version()
+{
+  year=$(echo "$VERSION" | sed 's/[^0-9].*//')
+  cat <<EOF
 $ME $VERSION
 Copyright (C) $year Free Software Foundation, Inc,
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 EOF
-      exit ;;
+  exit
+}
 
-  *) die "unrecognized option: $1";;
-  esac
+# find_tool ENVVAR NAMES...
+# -------------------------
+# Search for a required program.  Use the value of ENVVAR, if set,
+# otherwise find the first of the NAMES that can be run (i.e.,
+# supports --version).  If found, set ENVVAR to the program name,
+# die otherwise.
+#
+# FIXME: code duplication, see also bootstrap.
+find_tool ()
+{
+  find_tool_envvar=$1
+  shift
+  find_tool_names=$@
+  eval "find_tool_res=\$$find_tool_envvar"
+  if test x"$find_tool_res" = x; then
+    for i
+    do
+      if ($i --version </dev/null) >/dev/null 2>&1; then
+       find_tool_res=$i
+       break
+      fi
+    done
+  else
+    find_tool_error_prefix="\$$find_tool_envvar: "
+  fi
+  test x"$find_tool_res" != x \
+    || die "one of these is required: $find_tool_names"
+  ($find_tool_res --version </dev/null) >/dev/null 2>&1 \
+    || die "${find_tool_error_prefix}cannot run $find_tool_res --version"
+  eval "$find_tool_envvar=\$find_tool_res"
+  eval "export $find_tool_envvar"
 }
 
-case $# in
-  0) ;;
-  1) help_version $1 ;;
-  *) die "$ME: too many options" ;;
-esac
+## ------ ##
+## Main.  ##
+## ------ ##
+
+# Requirements: everything required to bootstrap your package, plus
+# these.
+find_tool CVS cvs
+find_tool GIT git
+find_tool RSYNC rsync
+find_tool XARGS gxargs xargs
+
+builddir=.
+dryrun=
+while test $# != 0
+do
+  # Handle --option=value by splitting apart and putting back on argv.
+  case $1 in
+    --*=*)
+      opt=$(echo "$1" | sed -e 's/=.*//')
+      val=$(echo "$1" | sed -e 's/[^=]*=//')
+      shift
+      set dummy "$opt" "$val" ${1+"$@"}; shift
+      ;;
+  esac
+
+  case $1 in
+    --help|--version) ${1#--};;
+    -C|--builddir) shift; builddir=$1; shift ;;
+    -n|--dry-run) dryrun=echo; shift;;
+    --*) die "unrecognized option: $1";;
+    *) break;;
+  esac
+done
+
+test $# = 0 \
+  || die "too many arguments"
 
 prev=.prev-version
-version=$(cat $prev) || die "$ME: no $prev file?"
-pkg=$(sed -n 's/^PACKAGE = \(.*\)/\1/p' Makefile) || die "$ME: no Makefile?"
+version=$(cat $prev) || die "no $prev file?"
+pkg=$(sed -n 's/^PACKAGE = \(.*\)/\1/p' $builddir/Makefile) \
+  || die "no Makefile?"
 tmp_branch=web-doc-$version-$$
+current_branch=$($GIT branch | sed -ne '/^\* /{s///;p;q;}')
 
 cleanup()
 {
-  __st=$?;
-  rm -rf "$tmp"
-  git checkout master
-  git branch -d $tmp_branch
+  __st=$?
+  $dryrun rm -rf "$tmp"
+  $GIT checkout "$current_branch"
+  $GIT submodule update --recursive
+  $GIT branch -d $tmp_branch
   exit $__st
 }
 trap cleanup 0
@@ -89,23 +153,36 @@ trap 'exit $?' 1 2 13 15
 # We must build using sources for which --version reports the
 # just-released version number, not some string like 7.6.18-20761.
 # That version string propagates into all documentation.
-git checkout -b $tmp_branch v$version
-ok=0
-./bootstrap && ./configure && make && make web-manual && ok=1
-test $ok = 1 || exit 1
-
-tmp=$(mktemp -d --tmpdir=. web-doc-update.XXXXXX) || exit 1
+set -e
+$GIT checkout -b $tmp_branch v$version
+$GIT submodule update --recursive
+./bootstrap
+srcdir=$(pwd)
+cd "$builddir"
+  ./config.status --recheck
+  ./config.status
+  make
+  make web-manual
+cd "$srcdir"
+set +e
+
+tmp=$(mktemp -d web-doc-update.XXXXXX) || exit 1
 ( cd $tmp \
-    && cvs -d $USER@cvs.sv.gnu.org:/webcvs/$pkg co $pkg )
-rsync -avP doc/manual/ $tmp/$pkg/manual
+    && $CVS -d $USER@cvs.sv.gnu.org:/webcvs/$pkg co $pkg )
+$RSYNC -avP "$builddir"/doc/manual/ $tmp/$pkg/manual
 
 (
   cd $tmp/$pkg/manual
 
-  # Add any new files:
-  cvsu --types='?'|sed s/..// | xargs --no-run-if-empty -- cvs add -ko
+  # Add all the files.  This is simpler than trying to add only the
+  # new ones because of new directories: it would require iterating on
+  # adding the outer directories, and then their contents.
+  #
+  # find guarantees that we add outer directories first.
+  find . -name CVS -prune -o -print             \
+    | $XARGS --no-run-if-empty -- $dryrun $CVS add -ko
 
-  cvs ci -m $version
+  $dryrun $CVS ci -m $version
 )
 
 # Local variables:
index eb450a0cdd7a82e69991cae1b6a5b3d4850e1d13..2da97d894c8164f69c8f27bebc6a68f211eb8037 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh
 # Sign files and upload them.
 
-scriptversion=2012-01-15.15; # UTC
+scriptversion=2013-03-19.17; # UTC
 
-# Copyright (C) 2004-2010, 2012 Free Software Foundation, Inc.
+# Copyright (C) 2004-2014 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -28,6 +28,7 @@ GPG='gpg --batch --no-tty'
 conffile=.gnuploadrc
 to=
 dry_run=false
+replace=
 symlink_files=
 delete_files=
 delete_symlinks=
@@ -38,9 +39,8 @@ nl='
 
 usage="Usage: $0 [OPTION]... [CMD] FILE... [[CMD] FILE...]
 
-Sign all FILES, and process them at selected destinations according to CMD.
-<http://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html>
-explains further.
+Sign all FILES, and process them at the destinations specified with --to.
+If CMD is not given, it defaults to uploading.  See examples below.
 
 Commands:
   --delete                 delete FILES from destination
@@ -49,17 +49,18 @@ Commands:
   --                       treat the remaining arguments as files to upload
 
 Options:
-  --help                   print this help text and exit
-  --to DEST                specify one destination for FILES
+  --to DEST                specify a destination DEST for FILES
                            (multiple --to options are allowed)
   --user NAME              sign with key NAME
+  --replace                allow replacements of existing files
   --symlink-regex[=EXPR]   use sed script EXPR to compute symbolic link names
   --dry-run                do nothing, show what would have been done
+                           (including the constructed directive file)
   --version                output version information and exit
+  --help                   print this help text and exit
 
 If --symlink-regex is given without EXPR, then the link target name
 is created by replacing the version information with '-latest', e.g.:
-
   foo-1.3.4.tar.gz -> foo-latest.tar.gz
 
 Recognized destinations are:
@@ -77,6 +78,9 @@ in the current working directory, its contents are prepended to the
 actual command line options.  Use this to keep your defaults.  Comments
 (#) and empty lines in $conffile are allowed.
 
+<http://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html>
+gives some further background.
+
 Examples:
 1. Upload foobar-1.0.tar.gz to ftp.gnu.org:
   gnupload --to ftp.gnu.org:foobar foobar-1.0.tar.gz
@@ -101,7 +105,7 @@ Examples:
            --delete oopsbar-0.9.91.tar.gz \\
            -- foobar-0.9.91.tar.gz
 
-gnupload uses the ncftpput program to do the transfers; if you don't
+gnupload executes a program ncftpput to do the transfers; if you don't
 happen to have an ncftp package installed, the ncftpput-ftp script in
 the build-aux/ directory of the gnulib package
 (http://savannah.gnu.org/projects/gnulib) may serve as a replacement.
@@ -129,6 +133,12 @@ while test -n "$1"; do
       if test -z "$2"; then
         echo "$0: Missing argument for --to" 1>&2
         exit 1
+      elif echo "$2" | grep 'ftp-upload\.gnu\.org' >/dev/null; then
+        echo "$0: Use ftp.gnu.org:PKGNAME or alpha.gnu.org:PKGNAME" >&2
+        echo "$0: for the destination, not ftp-upload.gnu.org (which" >&2
+        echo "$0:  is used for direct ftp uploads, not with gnupload)." >&2
+        echo "$0: See --help and its examples if need be." >&2
+        exit 1
       else
         to="$to $2"
         shift
@@ -146,6 +156,9 @@ while test -n "$1"; do
     --delete)
       collect_var=delete_files
       ;;
+    --replace)
+      replace="replace: true"
+      ;;
     --rmsymlink)
       collect_var=delete_symlinks
       ;;
@@ -236,6 +249,8 @@ fi
 
 # Make sure passphrase is not exported in the environment.
 unset passphrase
+unset passphrase_fd_0
+GNUPGHOME=${GNUPGHOME:-$HOME/.gnupg}
 
 # Reset PATH to be sure that echo is a built-in.  We will later use
 # 'echo $passphrase' to output the passphrase, so it is important that
@@ -243,18 +258,21 @@ unset passphrase
 # listings with their arguments...).
 # Remember this script runs with 'set -e', so if echo is not built-in
 # it will exit now.
-PATH=/empty echo -n "Enter GPG passphrase: "
-stty -echo
-read -r passphrase
-stty echo
-echo
+if $dry_run || grep -q "^use-agent" $GNUPGHOME/gpg.conf; then :; else
+  PATH=/empty echo -n "Enter GPG passphrase: "
+  stty -echo
+  read -r passphrase
+  stty echo
+  echo
+  passphrase_fd_0="--passphrase-fd 0"
+fi
 
 if test $# -ne 0; then
   for file
   do
     echo "Signing $file ..."
     rm -f $file.sig
-    echo "$passphrase" | $dbg $GPG --passphrase-fd 0 -ba -o $file.sig $file
+    echo "$passphrase" | $dbg $GPG $passphrase_fd_0 -ba -o $file.sig $file
   done
 fi
 
@@ -270,7 +288,7 @@ filename: $3$stmt"
   fi
 
   cat >${2}.directive<<EOF
-version: 1.1
+version: 1.2
 directory: $1
 comment: gnupload v. $scriptversion$stmt
 EOF
@@ -312,12 +330,12 @@ upload ()
   case $dest in
     alpha.gnu.org:*)
       mkdirective "$destdir" "$base" "$file" "$stmt"
-      echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
+      echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive
       $dbg ncftpput ftp-upload.gnu.org /incoming/alpha $files $base.directive.asc
       ;;
     ftp.gnu.org:*)
       mkdirective "$destdir" "$base" "$file" "$stmt"
-      echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
+      echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive
       $dbg ncftpput ftp-upload.gnu.org /incoming/ftp $files $base.directive.asc
       ;;
     savannah.gnu.org:*)
@@ -336,7 +354,7 @@ upload ()
       destdir_p1=`echo "$destdir" | sed 's,^[^/]*/,,'`
       destdir_topdir=`echo "$destdir" | sed 's,/.*,,'`
       mkdirective "$destdir_p1" "$base" "$file" "$stmt"
-      echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
+      echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive
       for f in $files $base.directive.asc
       do
         echo put $f
@@ -345,7 +363,7 @@ upload ()
     /*)
       dest_host=`echo "$dest" | sed 's,:.*,,'`
       mkdirective "$destdir" "$base" "$file" "$stmt"
-      echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
+      echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive
       $dbg cp $files $base.directive.asc $dest_host
       ;;
     *)
@@ -393,6 +411,12 @@ do
   do
     echo "Uploading $file to $dest ..."
     stmt=
+    #
+    # allowing file replacement is all or nothing.
+    if test -n "$replace"; then stmt="$stmt
+$replace"
+    fi
+    #
     files="$file $file.sig"
     destdir=`echo $dest | sed 's/[^:]*://'`
     if test -n "$symlink_expr"; then
index 377bb8687ffe16bfc79ea25c8667cabf72aaf2c2..0b0fdcbba69ab6dd05ca162a5328828d46ab1d54 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2011-11-20.07; # UTC
+scriptversion=2013-12-25.23; # UTC
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -41,19 +41,15 @@ scriptversion=2011-11-20.07; # UTC
 # This script is compatible with the BSD install script, but was written
 # from scratch.
 
+tab='  '
 nl='
 '
-IFS=" ""       $nl"
+IFS=" $tab$nl"
 
-# set DOITPROG to echo to test this script
+# Set DOITPROG to "echo" to test this script.
 
-# Don't use :- since 4.3BSD and earlier shells don't like it.
 doit=${DOITPROG-}
-if test -z "$doit"; then
-  doit_exec=exec
-else
-  doit_exec=$doit
-fi
+doit_exec=${doit:-exec}
 
 # Put in absolute file names if you don't have them in your path;
 # or use environment vars.
@@ -68,17 +64,6 @@ mvprog=${MVPROG-mv}
 rmprog=${RMPROG-rm}
 stripprog=${STRIPPROG-strip}
 
-posix_glob='?'
-initialize_posix_glob='
-  test "$posix_glob" != "?" || {
-    if (set -f) 2>/dev/null; then
-      posix_glob=
-    else
-      posix_glob=:
-    fi
-  }
-'
-
 posix_mkdir=
 
 # Desired mode of installed file.
@@ -97,7 +82,7 @@ dir_arg=
 dst_arg=
 
 copy_on_change=false
-no_target_directory=
+is_target_a_directory=possibly
 
 usage="\
 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
@@ -137,46 +122,57 @@ while test $# -ne 0; do
     -d) dir_arg=true;;
 
     -g) chgrpcmd="$chgrpprog $2"
-       shift;;
+        shift;;
 
     --help) echo "$usage"; exit $?;;
 
     -m) mode=$2
-       case $mode in
-         *' '* | *'    '* | *'
-'*       | *'*'* | *'?'* | *'['*)
-           echo "$0: invalid mode: $mode" >&2
-           exit 1;;
-       esac
-       shift;;
+        case $mode in
+          *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
+            echo "$0: invalid mode: $mode" >&2
+            exit 1;;
+        esac
+        shift;;
 
     -o) chowncmd="$chownprog $2"
-       shift;;
+        shift;;
 
     -s) stripcmd=$stripprog;;
 
-    -t) dst_arg=$2
-       # Protect names problematic for 'test' and other utilities.
-       case $dst_arg in
-         -* | [=\(\)!]) dst_arg=./$dst_arg;;
-       esac
-       shift;;
+    -t)
+        is_target_a_directory=always
+        dst_arg=$2
+        # Protect names problematic for 'test' and other utilities.
+        case $dst_arg in
+          -* | [=\(\)!]) dst_arg=./$dst_arg;;
+        esac
+        shift;;
 
-    -T) no_target_directory=true;;
+    -T) is_target_a_directory=never;;
 
     --version) echo "$0 $scriptversion"; exit $?;;
 
-    --)        shift
-       break;;
+    --) shift
+        break;;
 
-    -*)        echo "$0: invalid option: $1" >&2
-       exit 1;;
+    -*) echo "$0: invalid option: $1" >&2
+        exit 1;;
 
     *)  break;;
   esac
   shift
 done
 
+# We allow the use of options -d and -T together, by making -d
+# take the precedence; this is for compatibility with GNU install.
+
+if test -n "$dir_arg"; then
+  if test -n "$dst_arg"; then
+    echo "$0: target directory not allowed when installing a directory." >&2
+    exit 1
+  fi
+fi
+
 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
   # When -d is used, all remaining arguments are directories to create.
   # When -t is used, the destination is already specified.
@@ -207,6 +203,15 @@ if test $# -eq 0; then
   exit 0
 fi
 
+if test -z "$dir_arg"; then
+  if test $# -gt 1 || test "$is_target_a_directory" = always; then
+    if test ! -d "$dst_arg"; then
+      echo "$0: $dst_arg: Is not a directory." >&2
+      exit 1
+    fi
+  fi
+fi
+
 if test -z "$dir_arg"; then
   do_exit='(exit $ret); exit $ret'
   trap "ret=129; $do_exit" 1
@@ -223,16 +228,16 @@ if test -z "$dir_arg"; then
 
     *[0-7])
       if test -z "$stripcmd"; then
-       u_plus_rw=
+        u_plus_rw=
       else
-       u_plus_rw='% 200'
+        u_plus_rw='% 200'
       fi
       cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
     *)
       if test -z "$stripcmd"; then
-       u_plus_rw=
+        u_plus_rw=
       else
-       u_plus_rw=,u+rw
+        u_plus_rw=,u+rw
       fi
       cp_umask=$mode$u_plus_rw;;
   esac
@@ -269,41 +274,15 @@ do
     # If destination is a directory, append the input filename; won't work
     # if double slashes aren't ignored.
     if test -d "$dst"; then
-      if test -n "$no_target_directory"; then
-       echo "$0: $dst_arg: Is a directory" >&2
-       exit 1
+      if test "$is_target_a_directory" = never; then
+        echo "$0: $dst_arg: Is a directory" >&2
+        exit 1
       fi
       dstdir=$dst
       dst=$dstdir/`basename "$src"`
       dstdir_status=0
     else
-      # Prefer dirname, but fall back on a substitute if dirname fails.
-      dstdir=`
-       (dirname "$dst") 2>/dev/null ||
-       expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-            X"$dst" : 'X\(//\)[^/]' \| \
-            X"$dst" : 'X\(//\)$' \| \
-            X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
-       echo X"$dst" |
-           sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-                  s//\1/
-                  q
-                }
-                /^X\(\/\/\)[^/].*/{
-                  s//\1/
-                  q
-                }
-                /^X\(\/\/\)$/{
-                  s//\1/
-                  q
-                }
-                /^X\(\/\).*/{
-                  s//\1/
-                  q
-                }
-                s/.*/./; q'
-      `
-
+      dstdir=`dirname "$dst"`
       test -d "$dstdir"
       dstdir_status=$?
     fi
@@ -314,74 +293,74 @@ do
   if test $dstdir_status != 0; then
     case $posix_mkdir in
       '')
-       # Create intermediate dirs using mode 755 as modified by the umask.
-       # This is like FreeBSD 'install' as of 1997-10-28.
-       umask=`umask`
-       case $stripcmd.$umask in
-         # Optimize common cases.
-         *[2367][2367]) mkdir_umask=$umask;;
-         .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
-
-         *[0-7])
-           mkdir_umask=`expr $umask + 22 \
-             - $umask % 100 % 40 + $umask % 20 \
-             - $umask % 10 % 4 + $umask % 2
-           `;;
-         *) mkdir_umask=$umask,go-w;;
-       esac
-
-       # With -d, create the new directory with the user-specified mode.
-       # Otherwise, rely on $mkdir_umask.
-       if test -n "$dir_arg"; then
-         mkdir_mode=-m$mode
-       else
-         mkdir_mode=
-       fi
-
-       posix_mkdir=false
-       case $umask in
-         *[123567][0-7][0-7])
-           # POSIX mkdir -p sets u+wx bits regardless of umask, which
-           # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
-           ;;
-         *)
-           tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
-           trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
-
-           if (umask $mkdir_umask &&
-               exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
-           then
-             if test -z "$dir_arg" || {
-                  # Check for POSIX incompatibilities with -m.
-                  # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
-                  # other-writable bit of parent directory when it shouldn't.
-                  # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
-                  ls_ld_tmpdir=`ls -ld "$tmpdir"`
-                  case $ls_ld_tmpdir in
-                    d????-?r-*) different_mode=700;;
-                    d????-?--*) different_mode=755;;
-                    *) false;;
-                  esac &&
-                  $mkdirprog -m$different_mode -p -- "$tmpdir" && {
-                    ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
-                    test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
-                  }
-                }
-             then posix_mkdir=:
-             fi
-             rmdir "$tmpdir/d" "$tmpdir"
-           else
-             # Remove any dirs left behind by ancient mkdir implementations.
-             rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
-           fi
-           trap '' 0;;
-       esac;;
+        # Create intermediate dirs using mode 755 as modified by the umask.
+        # This is like FreeBSD 'install' as of 1997-10-28.
+        umask=`umask`
+        case $stripcmd.$umask in
+          # Optimize common cases.
+          *[2367][2367]) mkdir_umask=$umask;;
+          .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+          *[0-7])
+            mkdir_umask=`expr $umask + 22 \
+              - $umask % 100 % 40 + $umask % 20 \
+              - $umask % 10 % 4 + $umask % 2
+            `;;
+          *) mkdir_umask=$umask,go-w;;
+        esac
+
+        # With -d, create the new directory with the user-specified mode.
+        # Otherwise, rely on $mkdir_umask.
+        if test -n "$dir_arg"; then
+          mkdir_mode=-m$mode
+        else
+          mkdir_mode=
+        fi
+
+        posix_mkdir=false
+        case $umask in
+          *[123567][0-7][0-7])
+            # POSIX mkdir -p sets u+wx bits regardless of umask, which
+            # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+            ;;
+          *)
+            tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+            trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+            if (umask $mkdir_umask &&
+                exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+            then
+              if test -z "$dir_arg" || {
+                   # Check for POSIX incompatibilities with -m.
+                   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+                   # other-writable bit of parent directory when it shouldn't.
+                   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+                   ls_ld_tmpdir=`ls -ld "$tmpdir"`
+                   case $ls_ld_tmpdir in
+                     d????-?r-*) different_mode=700;;
+                     d????-?--*) different_mode=755;;
+                     *) false;;
+                   esac &&
+                   $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+                     ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+                     test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+                   }
+                 }
+              then posix_mkdir=:
+              fi
+              rmdir "$tmpdir/d" "$tmpdir"
+            else
+              # Remove any dirs left behind by ancient mkdir implementations.
+              rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+            fi
+            trap '' 0;;
+        esac;;
     esac
 
     if
       $posix_mkdir && (
-       umask $mkdir_umask &&
-       $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+        umask $mkdir_umask &&
+        $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
       )
     then :
     else
@@ -391,53 +370,51 @@ do
       # directory the slow way, step by step, checking for races as we go.
 
       case $dstdir in
-       /*) prefix='/';;
-       [-=\(\)!]*) prefix='./';;
-       *)  prefix='';;
+        /*) prefix='/';;
+        [-=\(\)!]*) prefix='./';;
+        *)  prefix='';;
       esac
 
-      eval "$initialize_posix_glob"
-
       oIFS=$IFS
       IFS=/
-      $posix_glob set -f
+      set -f
       set fnord $dstdir
       shift
-      $posix_glob set +f
+      set +f
       IFS=$oIFS
 
       prefixes=
 
       for d
       do
-       test X"$d" = X && continue
-
-       prefix=$prefix$d
-       if test -d "$prefix"; then
-         prefixes=
-       else
-         if $posix_mkdir; then
-           (umask=$mkdir_umask &&
-            $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
-           # Don't fail if two instances are running concurrently.
-           test -d "$prefix" || exit 1
-         else
-           case $prefix in
-             *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
-             *) qprefix=$prefix;;
-           esac
-           prefixes="$prefixes '$qprefix'"
-         fi
-       fi
-       prefix=$prefix/
+        test X"$d" = X && continue
+
+        prefix=$prefix$d
+        if test -d "$prefix"; then
+          prefixes=
+        else
+          if $posix_mkdir; then
+            (umask=$mkdir_umask &&
+             $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+            # Don't fail if two instances are running concurrently.
+            test -d "$prefix" || exit 1
+          else
+            case $prefix in
+              *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+              *) qprefix=$prefix;;
+            esac
+            prefixes="$prefixes '$qprefix'"
+          fi
+        fi
+        prefix=$prefix/
       done
 
       if test -n "$prefixes"; then
-       # Don't fail if two instances are running concurrently.
-       (umask $mkdir_umask &&
-        eval "\$doit_exec \$mkdirprog $prefixes") ||
-         test -d "$dstdir" || exit 1
-       obsolete_mkdir_used=true
+        # Don't fail if two instances are running concurrently.
+        (umask $mkdir_umask &&
+         eval "\$doit_exec \$mkdirprog $prefixes") ||
+          test -d "$dstdir" || exit 1
+        obsolete_mkdir_used=true
       fi
     fi
   fi
@@ -472,15 +449,12 @@ do
 
     # If -C, don't bother to copy if it wouldn't change the file.
     if $copy_on_change &&
-       old=`LC_ALL=C ls -dlL "$dst"    2>/dev/null` &&
-       new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
-
-       eval "$initialize_posix_glob" &&
-       $posix_glob set -f &&
+       old=`LC_ALL=C ls -dlL "$dst"     2>/dev/null` &&
+       new=`LC_ALL=C ls -dlL "$dsttmp"  2>/dev/null` &&
+       set -f &&
        set X $old && old=:$2:$4:$5:$6 &&
        set X $new && new=:$2:$4:$5:$6 &&
-       $posix_glob set +f &&
-
+       set +f &&
        test "$old" = "$new" &&
        $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
     then
@@ -493,24 +467,24 @@ do
       # to itself, or perhaps because mv is so ancient that it does not
       # support -f.
       {
-       # Now remove or move aside any old file at destination location.
-       # We try this two ways since rm can't unlink itself on some
-       # systems and the destination file might be busy for other
-       # reasons.  In this case, the final cleanup might fail but the new
-       # file should still install successfully.
-       {
-         test ! -f "$dst" ||
-         $doit $rmcmd -f "$dst" 2>/dev/null ||
-         { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
-           { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
-         } ||
-         { echo "$0: cannot unlink or rename $dst" >&2
-           (exit 1); exit 1
-         }
-       } &&
-
-       # Now rename the file to the real destination.
-       $doit $mvcmd "$dsttmp" "$dst"
+        # Now remove or move aside any old file at destination location.
+        # We try this two ways since rm can't unlink itself on some
+        # systems and the destination file might be busy for other
+        # reasons.  In this case, the final cleanup might fail but the new
+        # file should still install successfully.
+        {
+          test ! -f "$dst" ||
+          $doit $rmcmd -f "$dst" 2>/dev/null ||
+          { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+            { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+          } ||
+          { echo "$0: cannot unlink or rename $dst" >&2
+            (exit 1); exit 1
+          }
+        } &&
+
+        # Now rename the file to the real destination.
+        $doit $mvcmd "$dsttmp" "$dst"
       }
     fi || exit 1
 
index 63ae69dc6fecaf83c52fba2ad334f4b1369fb1cd..a356acafa4548959e97355d1e8044b7201661754 100644 (file)
@@ -70,7 +70,7 @@
 #         compiler:            $LTCC
 #         compiler flags:              $LTCFLAGS
 #         linker:              $LD (gnu? $with_gnu_ld)
-#         $progname:   (GNU libtool) 2.4.2
+#         $progname:   (GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
 #         automake:    $automake_version
 #         autoconf:    $autoconf_version
 #
@@ -80,7 +80,7 @@
 
 PROGRAM=libtool
 PACKAGE=libtool
-VERSION=2.4.2
+VERSION="2.4.2 Debian-2.4.2-1.7ubuntu1"
 TIMESTAMP=""
 package_revision=1.3337
 
@@ -6124,7 +6124,10 @@ func_mode_link ()
        case $pass in
        dlopen) libs="$dlfiles" ;;
        dlpreopen) libs="$dlprefiles" ;;
-       link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+       link)
+         libs="$deplibs %DEPLIBS%"
+         test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
+         ;;
        esac
       fi
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
@@ -6444,19 +6447,19 @@ func_mode_link ()
            # It is a libtool convenience library, so add in its objects.
            func_append convenience " $ladir/$objdir/$old_library"
            func_append old_convenience " $ladir/$objdir/$old_library"
+           tmp_libs=
+           for deplib in $dependency_libs; do
+             deplibs="$deplib $deplibs"
+             if $opt_preserve_dup_deps ; then
+               case "$tmp_libs " in
+               *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+               esac
+             fi
+             func_append tmp_libs " $deplib"
+           done
          elif test "$linkmode" != prog && test "$linkmode" != lib; then
            func_fatal_error "\`$lib' is not a convenience library"
          fi
-         tmp_libs=
-         for deplib in $dependency_libs; do
-           deplibs="$deplib $deplibs"
-           if $opt_preserve_dup_deps ; then
-             case "$tmp_libs " in
-             *" $deplib "*) func_append specialdeplibs " $deplib" ;;
-             esac
-           fi
-           func_append tmp_libs " $deplib"
-         done
          continue
        fi # $pass = conv
 
@@ -7349,6 +7352,9 @@ func_mode_link ()
            revision="$number_minor"
            lt_irix_increment=no
            ;;
+         *)
+           func_fatal_configuration "$modename: unknown library version type \`$version_type'"
+           ;;
          esac
          ;;
        no)
index 3e0858e9b85c159d02bbc1edf38f40f7a2850c48..b3719cf76191aefd6a48f36c27b8275e268677d0 100755 (executable)
@@ -3,8 +3,7 @@
 
 scriptversion=2010-08-21.06; # UTC
 
-# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007, 2009, 2010
-# Free Software Foundation, Inc.
+# Copyright (C) 1995-2013 Free Software Foundation, Inc.
 # written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
 #
 # This program is free software; you can redistribute it and/or modify
index 3f2dfc15fc8fe5d5e1fb28602bf918263c16533e..db98974ff5d59295d7e0edfec2eb2069dc78ef1a 100755 (executable)
@@ -1,11 +1,10 @@
 #! /bin/sh
-# Common stub for a few missing GNU programs while installing.
+# Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2012-01-06.18; # UTC
+scriptversion=2013-10-28.13; # UTC
 
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
-# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -30,61 +29,33 @@ if test $# -eq 0; then
   exit 1
 fi
 
-run=:
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
-
-# In the cases where this matters, 'missing' is being run in the
-# srcdir already.
-if test -f configure.ac; then
-  configure_ac=configure.ac
-else
-  configure_ac=configure.in
-fi
+case $1 in
 
-msg="missing on your system"
+  --is-lightweight)
+    # Used by our autoconf macros to check whether the available missing
+    # script is modern enough.
+    exit 0
+    ;;
 
-case $1 in
---run)
-  # Try to run requested program, and just exit if it succeeds.
-  run=
-  shift
-  "$@" && exit 0
-  # Exit code 63 means version mismatch.  This often happens
-  # when the user try to use an ancient version of a tool on
-  # a file that requires a minimum version.  In this case we
-  # we should proceed has if the program had been absent, or
-  # if --run hadn't been passed.
-  if test $? = 63; then
-    run=:
-    msg="probably too old"
-  fi
-  ;;
+  --run)
+    # Back-compat with the calling convention used by older automake.
+    shift
+    ;;
 
   -h|--h|--he|--hel|--help)
     echo "\
 $0 [OPTION]... PROGRAM [ARGUMENT]...
 
-Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
-error status if there is no known handling for PROGRAM.
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
 
 Options:
   -h, --help      display this help and exit
   -v, --version   output version information and exit
-  --run           try to run the given command, and emulate it if it fails
 
 Supported PROGRAM values:
-  aclocal      touch file 'aclocal.m4'
-  autoconf     touch file 'configure'
-  autoheader   touch file 'config.h.in'
-  autom4te     touch the output file, or create a stub one
-  automake     touch all 'Makefile.in' files
-  bison        create 'y.tab.[ch]', if possible, from existing .[ch]
-  flex         create 'lex.yy.c', if possible, from existing .c
-  help2man     touch the output file
-  lex          create 'lex.yy.c', if possible, from existing .c
-  makeinfo     touch the output file
-  yacc         create 'y.tab.[ch]', if possible, from existing .[ch]
+  aclocal   autoconf  autoheader   autom4te  automake  makeinfo
+  bison     yacc      flex         lex       help2man
 
 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
 'g' are ignored when checking the name.
@@ -99,228 +70,141 @@ Send bug reports to <bug-automake@gnu.org>."
     ;;
 
   -*)
-    echo 1>&2 "$0: Unknown '$1' option"
+    echo 1>&2 "$0: unknown '$1' option"
     echo 1>&2 "Try '$0 --help' for more information"
     exit 1
     ;;
 
 esac
 
-# normalize program name to check for.
-program=`echo "$1" | sed '
-  s/^gnu-//; t
-  s/^gnu//; t
-  s/^g//; t'`
-
-# Now exit if we have it, but it failed.  Also exit now if we
-# don't have it and --version was passed (most likely to detect
-# the program).  This is about non-GNU programs, so use $1 not
-# $program.
-case $1 in
-  lex*|yacc*)
-    # Not GNU programs, they don't have --version.
-    ;;
-
-  *)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       # Could not run --version or --help.  This is probably someone
-       # running '$TOOL --version' or '$TOOL --help' to check whether
-       # $TOOL exists and not knowing $TOOL uses missing.
-       exit 1
-    fi
-    ;;
-esac
-
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case $program in
-  aclocal*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified 'acinclude.m4' or '${configure_ac}'.  You might want
-         to install the Automake and Perl packages.  Grab them from
-         any GNU archive site."
-    touch aclocal.m4
-    ;;
-
-  autoconf*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified '${configure_ac}'.  You might want to install the
-         Autoconf and GNU m4 packages.  Grab them from any GNU
-         archive site."
-    touch configure
-    ;;
-
-  autoheader*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified 'acconfig.h' or '${configure_ac}'.  You might want
-         to install the Autoconf and GNU m4 packages.  Grab them
-         from any GNU archive site."
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
-    test -z "$files" && files="config.h"
-    touch_files=
-    for f in $files; do
-      case $f in
-      *:*) touch_files="$touch_files "`echo "$f" |
-                                      sed -e 's/^[^:]*://' -e 's/:.*//'`;;
-      *) touch_files="$touch_files $f.in";;
-      esac
-    done
-    touch $touch_files
-    ;;
-
-  automake*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'.
-         You might want to install the Automake and Perl packages.
-         Grab them from any GNU archive site."
-    find . -type f -name Makefile.am -print |
-          sed 's/\.am$/.in/' |
-          while read f; do touch "$f"; done
-    ;;
-
-  autom4te*)
-    echo 1>&2 "\
-WARNING: '$1' is needed, but is $msg.
-         You might have modified some files without having the
-         proper tools for further handling them.
-         You can get '$1' as part of Autoconf from any GNU
-         archive site."
-
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -f "$file"; then
-       touch $file
-    else
-       test -z "$file" || exec >$file
-       echo "#! /bin/sh"
-       echo "# Created by GNU Automake missing as a replacement of"
-       echo "#  $ $@"
-       echo "exit 0"
-       chmod +x $file
-       exit 1
-    fi
-    ;;
-
-  bison*|yacc*)
-    echo 1>&2 "\
-WARNING: '$1' $msg.  You should only need it if
-         you modified a '.y' file.  You may need the Bison package
-         in order for those modifications to take effect.  You can get
-         Bison from any GNU archive site."
-    rm -f y.tab.c y.tab.h
-    if test $# -ne 1; then
-        eval LASTARG=\${$#}
-       case $LASTARG in
-       *.y)
-           SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" y.tab.c
-           fi
-           SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" y.tab.h
-           fi
-         ;;
-       esac
-    fi
-    if test ! -f y.tab.h; then
-       echo >y.tab.h
-    fi
-    if test ! -f y.tab.c; then
-       echo 'main() { return 0; }' >y.tab.c
-    fi
-    ;;
-
-  lex*|flex*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified a '.l' file.  You may need the Flex package
-         in order for those modifications to take effect.  You can get
-         Flex from any GNU archive site."
-    rm -f lex.yy.c
-    if test $# -ne 1; then
-        eval LASTARG=\${$#}
-       case $LASTARG in
-       *.l)
-           SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" lex.yy.c
-           fi
-         ;;
-       esac
-    fi
-    if test ! -f lex.yy.c; then
-       echo 'main() { return 0; }' >lex.yy.c
-    fi
-    ;;
-
-  help2man*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-        you modified a dependency of a manual page.  You may need the
-        Help2man package in order for those modifications to take
-        effect.  You can get Help2man from any GNU archive site."
-
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -f "$file"; then
-       touch $file
-    else
-       test -z "$file" || exec >$file
-       echo ".ab help2man is required to generate this page"
-       exit $?
-    fi
-    ;;
-
-  makeinfo*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified a '.texi' or '.texinfo' file, or any other file
-         indirectly affecting the aspect of the manual.  The spurious
-         call might also be the consequence of using a buggy 'make' (AIX,
-         DU, IRIX).  You might want to install the Texinfo package or
-         the GNU make package.  Grab either from any GNU archive site."
-    # The file to touch is that specified with -o ...
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -z "$file"; then
-      # ... or it is the one specified with @setfilename ...
-      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
-      file=`sed -n '
-       /^@setfilename/{
-         s/.* \([^ ]*\) *$/\1/
-         p
-         q
-       }' $infile`
-      # ... or it is derived from the source name (dir/f.texi becomes f.info)
-      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
-    fi
-    # If the file does not exist, the user really needs makeinfo;
-    # let's fail without touching anything.
-    test -f $file || exit 1
-    touch $file
-    ;;
+# Run the given program, remember its exit status.
+"$@"; st=$?
+
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
+
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch.  This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+  msg="probably too old"
+elif test $st -eq 127; then
+  # Program was missing.
+  msg="missing on your system"
+else
+  # Program was found and executed, but failed.  Give up.
+  exit $st
+fi
 
-  *)
-    echo 1>&2 "\
-WARNING: '$1' is needed, and is $msg.
-         You might have modified some files without having the
-         proper tools for further handling them.  Check the 'README' file,
-         it often tells you about the needed prerequisites for installing
-         this package.  You may also peek at any GNU archive site, in case
-         some other package would contain this missing '$1' program."
-    exit 1
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
+
+program_details ()
+{
+  case $1 in
+    aclocal|automake)
+      echo "The '$1' program is part of the GNU Automake package:"
+      echo "<$gnu_software_URL/automake>"
+      echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+      echo "<$gnu_software_URL/autoconf>"
+      echo "<$gnu_software_URL/m4/>"
+      echo "<$perl_URL>"
+      ;;
+    autoconf|autom4te|autoheader)
+      echo "The '$1' program is part of the GNU Autoconf package:"
+      echo "<$gnu_software_URL/autoconf/>"
+      echo "It also requires GNU m4 and Perl in order to run:"
+      echo "<$gnu_software_URL/m4/>"
+      echo "<$perl_URL>"
+      ;;
+  esac
+}
+
+give_advice ()
+{
+  # Normalize program name to check for.
+  normalized_program=`echo "$1" | sed '
+    s/^gnu-//; t
+    s/^gnu//; t
+    s/^g//; t'`
+
+  printf '%s\n' "'$1' is $msg."
+
+  configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+  case $normalized_program in
+    autoconf*)
+      echo "You should only need it if you modified 'configure.ac',"
+      echo "or m4 files included by it."
+      program_details 'autoconf'
+      ;;
+    autoheader*)
+      echo "You should only need it if you modified 'acconfig.h' or"
+      echo "$configure_deps."
+      program_details 'autoheader'
+      ;;
+    automake*)
+      echo "You should only need it if you modified 'Makefile.am' or"
+      echo "$configure_deps."
+      program_details 'automake'
+      ;;
+    aclocal*)
+      echo "You should only need it if you modified 'acinclude.m4' or"
+      echo "$configure_deps."
+      program_details 'aclocal'
+      ;;
+   autom4te*)
+      echo "You might have modified some maintainer files that require"
+      echo "the 'autom4te' program to be rebuilt."
+      program_details 'autom4te'
+      ;;
+    bison*|yacc*)
+      echo "You should only need it if you modified a '.y' file."
+      echo "You may want to install the GNU Bison package:"
+      echo "<$gnu_software_URL/bison/>"
+      ;;
+    lex*|flex*)
+      echo "You should only need it if you modified a '.l' file."
+      echo "You may want to install the Fast Lexical Analyzer package:"
+      echo "<$flex_URL>"
+      ;;
+    help2man*)
+      echo "You should only need it if you modified a dependency" \
+           "of a man page."
+      echo "You may want to install the GNU Help2man package:"
+      echo "<$gnu_software_URL/help2man/>"
     ;;
-esac
-
-exit 0
+    makeinfo*)
+      echo "You should only need it if you modified a '.texi' file, or"
+      echo "any other file indirectly affecting the aspect of the manual."
+      echo "You might want to install the Texinfo package:"
+      echo "<$gnu_software_URL/texinfo/>"
+      echo "The spurious makeinfo call might also be the consequence of"
+      echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+      echo "want to install GNU make:"
+      echo "<$gnu_software_URL/make/>"
+      ;;
+    *)
+      echo "You might have modified some files without having the proper"
+      echo "tools for further handling them.  Check the 'README' file, it"
+      echo "often tells you about the needed prerequisites for installing"
+      echo "this package.  You may also peek at any GNU archive site, in"
+      echo "case some other package contains this missing '$1' program."
+      ;;
+  esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+                       -e '2,$s/^/         /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
 
 # Local variables:
 # eval: (add-hook 'write-file-hooks 'time-stamp)
index ab3cf14ef467e91d5b6f515f2bd80d86b67b81fa..863a346b81a4df2638d4e73c61a7f049ea6affa1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Create a temporary directory, much like mktemp -d does.
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 1a7b4daed0a18e3939896b4953ef37243ad0e237..c44ad89b7c09315601bfb48467992f9fff797093 100644 (file)
@@ -1,4 +1,4 @@
-#ifndef _Noreturn
+#if !defined _Noreturn && __STDC_VERSION__ < 201112
 # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
       || 0x5110 <= __SUNPRO_C)
 #  define _Noreturn __attribute__ ((__noreturn__))
index 3a9dd2664eab4cda92fda7d2cc148350f85cc443..9ee8b155508af4c174c84ef7a9fdf3e8f33085ab 100644 (file)
@@ -1,5 +1,5 @@
 /* A C macro for declaring that specific arguments must not be NULL.
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
index 96da94b97b69693221c33607419d5f05db409baa..67b12335d0fc25f9b52273a5e3b436d160480ccd 100644 (file)
@@ -1,5 +1,5 @@
 /* C++ compatible function declaration macros.
-   Copyright (C) 2010-2012 Free Software Foundation, Inc.
+   Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
index d4cb94f35256e487e3327d25143c995e9c38aec2..1c4d7bd4ed55870134343748561a83fa36297824 100644 (file)
@@ -1,5 +1,5 @@
 /* A C macro for emitting warnings if a function is used.
-   Copyright (C) 2010-2012 Free Software Foundation, Inc.
+   Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
@@ -55,7 +55,7 @@
    rather than issue the nice warning, but the end result of informing
    the developer about their portability problem is still achieved):
    #if HAVE_RAW_DECL_ENVIRON
-   static inline char ***rpl_environ (void) { return &environ; }
+   static char ***rpl_environ (void) { return &environ; }
    _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared");
    # undef environ
    # define environ (*rpl_environ ())
index b89107c053cb10d4117db096337cd77d559616c9..d30605660a0612aa12702dd7e0d0a3c86e7f7dad 100755 (executable)
@@ -1,9 +1,9 @@
 #! /bin/sh
-# test-driver - basic driver script for the `parallel-tests' mode.
+# test-driver - basic testsuite driver script.
 
-scriptversion=2011-08-17.14; # UTC
+scriptversion=2013-07-13.22; # UTC
 
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011-2013 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -44,13 +44,12 @@ print_usage ()
 Usage:
   test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
               [--expect-failure={yes|no}] [--color-tests={yes|no}]
-              [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
-The \`--test-name', \`--log-file' and \`--trs-file' options are mandatory.
+              [--enable-hard-errors={yes|no}] [--]
+              TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
+The '--test-name', '--log-file' and '--trs-file' options are mandatory.
 END
 }
 
-# TODO: better error handling in option parsing (in particular, ensure
-# TODO: $log_file, $trs_file and $test_name are defined).
 test_name= # Used for reporting.
 log_file=  # Where to save the output of the test script.
 trs_file=  # Where to save the metadata of the test run.
@@ -69,12 +68,25 @@ while test $# -gt 0; do
   --enable-hard-errors) enable_hard_errors=$2; shift;;
   --) shift; break;;
   -*) usage_error "invalid option: '$1'";;
+   *) break;;
   esac
   shift
 done
 
+missing_opts=
+test x"$test_name" = x && missing_opts="$missing_opts --test-name"
+test x"$log_file"  = x && missing_opts="$missing_opts --log-file"
+test x"$trs_file"  = x && missing_opts="$missing_opts --trs-file"
+if test x"$missing_opts" != x; then
+  usage_error "the following mandatory options are missing:$missing_opts"
+fi
+
+if test $# -eq 0; then
+  usage_error "missing argument"
+fi
+
 if test $color_tests = yes; then
-  # Keep this in sync with `lib/am/check.am:$(am__tty_colors)'.
+  # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
   red='\e[0;31m' # Red.
   grn='\e[0;32m' # Green.
   lgn='\e[1;32m' # Light green.
index dcdeb9b4ffa6f8601bee7f92bf8984f59a2eb4ae..6312dadbce044dda55f728598b21705a1007ca3c 100644 (file)
@@ -3,11 +3,11 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2012-01-19.16}
+\def\texinfoversion{2014-05-20.16}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-% 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+% 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
 %
 % This texinfo.tex file is free software: you can redistribute it and/or
 % modify it under the terms of the GNU General Public License as
 %
 % As a special exception, when this file is read by TeX when processing
 % a Texinfo source document, you may use the result without
-% restriction.  (This has been our intent since Texinfo was invented.)
+% restriction. This Exception is an additional permission under section 7
+% of the GNU General Public License, version 3 ("GPLv3").
 %
 % Please try the latest version of texinfo.tex before submitting bug
 % reports; you can get the latest version from:
-%   http://www.gnu.org/software/texinfo/ (the Texinfo home page), or
-%   ftp://tug.org/tex/texinfo.tex
-%     (and all CTAN mirrors, see http://www.ctan.org).
+%   http://ftp.gnu.org/gnu/texinfo/ (the Texinfo release area), or
+%   http://ftpmirror.gnu.org/texinfo/ (same, via a mirror), or
+%   http://www.gnu.org/software/texinfo/ (the Texinfo home page)
 % The texinfo.tex in any given distribution could well be out
 % of date, so if that's what you're using, please check.
 %
   \toks6=\expandafter{\prevsectiondefs}%
   \toks8=\expandafter{\lastcolordefs}%
   \mark{%
-                   \the\toks0 \the\toks2
-      \noexpand\or \the\toks4 \the\toks6
-    \noexpand\else \the\toks8
+                   \the\toks0 \the\toks2  % 0: top marks (\last...)
+      \noexpand\or \the\toks4 \the\toks6  % 1: bottom marks (default, \prev...)
+    \noexpand\else \the\toks8             % 2: color marks
   }%
 }
 % \topmark doesn't work for the very first chapter (after the title
   %
   % Do this outside of the \shipout so @code etc. will be expanded in
   % the headline as they should be, not taken literally (outputting ''code).
+  \def\commmonheadfootline{\let\hsize=\pagewidth \texinfochars}
+  %
   \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
-  \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
+  \global\setbox\headlinebox = \vbox{\commmonheadfootline \makeheadline}%
+  %
   \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi
-  \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
+  \global\setbox\footlinebox = \vbox{\commmonheadfootline \makefootline}%
   %
   {%
     % Have to do this stuff outside the \shipout because we want it to
 \def\:{\spacefactor=1000 }
 
 % @* forces a line break.
-\def\*{\hfil\break\hbox{}\ignorespaces}
+\def\*{\unskip\hfil\break\hbox{}\ignorespaces}
 
 % @/ allows a line break.
 \let\/=\allowbreak
@@ -887,7 +891,7 @@ where each line of input produces a line of output.}
 \def\popthisfilestack{\errthisfilestackempty}
 \def\errthisfilestackempty{\errmessage{Internal error:
   the stack of filenames is empty.}}
-
+%
 \def\thisfile{}
 
 % @center line
@@ -895,36 +899,46 @@ where each line of input produces a line of output.}
 %
 \parseargdef\center{%
   \ifhmode
-    \let\next\centerH
+    \let\centersub\centerH
   \else
-    \let\next\centerV
+    \let\centersub\centerV
   \fi
-  \next{\hfil \ignorespaces#1\unskip \hfil}%
+  \centersub{\hfil \ignorespaces#1\unskip \hfil}%
+  \let\centersub\relax % don't let the definition persist, just in case
 }
-\def\centerH#1{%
-  {%
-    \hfil\break
-    \advance\hsize by -\leftskip
-    \advance\hsize by -\rightskip
-    \line{#1}%
-    \break
-  }%
+\def\centerH#1{{%
+  \hfil\break
+  \advance\hsize by -\leftskip
+  \advance\hsize by -\rightskip
+  \line{#1}%
+  \break
+}}
+%
+\newcount\centerpenalty
+\def\centerV#1{%
+  % The idea here is the same as in \startdefun, \cartouche, etc.: if
+  % @center is the first thing after a section heading, we need to wipe
+  % out the negative parskip inserted by \sectionheading, but still
+  % prevent a page break here.
+  \centerpenalty = \lastpenalty
+  \ifnum\centerpenalty>10000 \vskip\parskip \fi
+  \ifnum\centerpenalty>9999 \penalty\centerpenalty \fi
+  \line{\kern\leftskip #1\kern\rightskip}%
 }
-\def\centerV#1{\line{\kern\leftskip #1\kern\rightskip}}
 
 % @sp n   outputs n lines of vertical space
-
+%
 \parseargdef\sp{\vskip #1\baselineskip}
 
 % @comment ...line which is ignored...
 % @c is the same as @comment
 % @ignore ... @end ignore  is another way to write a comment
-
+%
 \def\comment{\begingroup \catcode`\^^M=\other%
 \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other%
 \commentxxx}
 {\catcode`\^^M=\other \gdef\commentxxx#1^^M{\endgroup}}
-
+%
 \let\c=\comment
 
 % @paragraphindent NCHARS
@@ -1107,7 +1121,7 @@ where each line of input produces a line of output.}
 % #1 is a control sequence in which to do the replacements,
 % which we \xdef.
 \def\txiescapepdf#1{%
-  \ifx\pdfescapestring\relax
+  \ifx\pdfescapestring\thisisundefined
     % No primitive available; should we give a warning or log?
     % Many times it won't matter.
   \else
@@ -1124,10 +1138,12 @@ output) for that.)}
 
 \ifpdf
   %
-  % Color manipulation macros based on pdfcolor.tex,
+  % Color manipulation macros using ideas from pdfcolor.tex,
   % except using rgb instead of cmyk; the latter is said to render as a
   % very dark gray on-screen and a very dark halftone in print, instead
-  % of actual black.
+  % of actual black. The dark red here is dark enough to print on paper as
+  % nearly black, but still distinguishable for online viewing.  We use
+  % black by default, though.
   \def\rgbDarkRed{0.50 0.09 0.12}
   \def\rgbBlack{0 0 0}
   %
@@ -1173,8 +1189,8 @@ output) for that.)}
   %
   % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto).
   \def\dopdfimage#1#2#3{%
-    \def\imagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
-    \def\imageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
+    \def\pdfimagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
+    \def\pdfimageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
     %
     % pdftex (and the PDF format) support .pdf, .png, .jpg (among
     % others).  Let's try in that order, PDF first since if
@@ -1212,8 +1228,8 @@ output) for that.)}
     \else
       \immediate\pdfximage
     \fi
-      \ifdim \wd0 >0pt width \imagewidth \fi
-      \ifdim \wd2 >0pt height \imageheight \fi
+      \ifdim \wd0 >0pt width \pdfimagewidth \fi
+      \ifdim \wd2 >0pt height \pdfimageheight \fi
       \ifnum\pdftexversion<13
          #1.\pdfimgext
        \else
@@ -1237,10 +1253,9 @@ output) for that.)}
   % used to mark target names; must be expandable.
   \def\pdfmkpgn#1{#1}
   %
-  % by default, use a color that is dark enough to print on paper as
-  % nearly black, but still distinguishable for online viewing.
-  \def\urlcolor{\rgbDarkRed}
-  \def\linkcolor{\rgbDarkRed}
+  % by default, use black for everything.
+  \def\urlcolor{\rgbBlack}
+  \def\linkcolor{\rgbBlack}
   \def\endlink{\setcolor{\maincolor}\pdfendlink}
   %
   % Adding outlines to PDF; macros for calculating structure of outlines
@@ -1357,12 +1372,17 @@ output) for that.)}
   \def\skipspaces#1{\def\PP{#1}\def\D{|}%
     \ifx\PP\D\let\nextsp\relax
     \else\let\nextsp\skipspaces
-      \ifx\p\space\else\addtokens{\filename}{\PP}%
-        \advance\filenamelength by 1
-      \fi
+      \addtokens{\filename}{\PP}%
+      \advance\filenamelength by 1
     \fi
     \nextsp}
-  \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax}
+  \def\getfilename#1{%
+    \filenamelength=0
+    % If we don't expand the argument now, \skipspaces will get
+    % snagged on things like "@value{foo}".
+    \edef\temp{#1}%
+    \expandafter\skipspaces\temp|\relax
+  }
   \ifnum\pdftexversion < 14
     \let \startlink \pdfannotlink
   \else
@@ -1459,9 +1479,6 @@ output) for that.)}
 \def\ttsl{\setfontstyle{ttsl}}
 
 
-% Default leading.
-\newdimen\textleading  \textleading = 13.2pt
-
 % Set the baselineskip to #1, and the lineskip and strut size
 % correspondingly.  There is no deep meaning behind these magic numbers
 % used as factors; they just match (closely enough) what Knuth defined.
@@ -1473,6 +1490,7 @@ output) for that.)}
 % can get a sort of poor man's double spacing by redefining this.
 \def\baselinefactor{1}
 %
+\newdimen\textleading
 \def\setleading#1{%
   \dimen0 = #1\relax
   \normalbaselineskip = \baselinefactor\dimen0
@@ -1745,18 +1763,24 @@ end
 \fi\fi
 
 
-% Set the font macro #1 to the font named #2, adding on the
-% specified font prefix (normally `cm').
+% Set the font macro #1 to the font named \fontprefix#2.
 % #3 is the font's design size, #4 is a scale factor, #5 is the CMap
-% encoding (currently only OT1, OT1IT and OT1TT are allowed, pass
-% empty to omit).
+% encoding (only OT1, OT1IT and OT1TT are allowed, or empty to omit).
+% Example:
+% #1 = \textrm
+% #2 = \rmshape
+% #3 = 10
+% #4 = \mainmagstep
+% #5 = OT1
+%
 \def\setfont#1#2#3#4#5{%
   \font#1=\fontprefix#2#3 scaled #4
   \csname cmap#5\endcsname#1%
 }
 % This is what gets called when #5 of \setfont is empty.
 \let\cmap\gobble
-% emacs-page end of cmaps
+%
+% (end of cmaps)
 
 % Use cm as the default font prefix.
 % To specify the font prefix, you must define \fontprefix
@@ -1766,7 +1790,7 @@ end
 \fi
 % Support font families that don't use the same naming scheme as CM.
 \def\rmshape{r}
-\def\rmbshape{bx}               %where the normal face is bold
+\def\rmbshape{bx}               % where the normal face is bold
 \def\bfshape{b}
 \def\bxshape{bx}
 \def\ttshape{tt}
@@ -1781,8 +1805,7 @@ end
 \def\scshape{csc}
 \def\scbshape{csc}
 
-% Definitions for a main text size of 11pt.  This is the default in
-% Texinfo.
+% Definitions for a main text size of 11pt.  (The default in Texinfo.)
 %
 \def\definetextfontsizexi{%
 % Text fonts (11.2pt, magstep1).
@@ -1907,7 +1930,7 @@ end
 \textleading = 13.2pt % line spacing for 11pt CM
 \textfonts            % reset the current fonts
 \rm
-} % end of 11pt text font size definitions
+} % end of 11pt text font size definitions, \definetextfontsizexi
 
 
 % Definitions to make the main text be 10pt Computer Modern, with
@@ -2039,7 +2062,7 @@ end
 \textleading = 12pt   % line spacing for 10pt CM
 \textfonts            % reset the current fonts
 \rm
-} % end of 10pt text font size definitions
+} % end of 10pt text font size definitions, \definetextfontsizex
 
 
 % We provide the user-level command
@@ -2123,7 +2146,7 @@ end
   \let\tenttsl=\secttsl
   \def\curfontsize{sec}%
   \def\lsize{subsec}\def\lllsize{reduced}%
-  \resetmathfonts \setleading{16pt}}
+  \resetmathfonts \setleading{17pt}}
 \def\subsecfonts{%
   \let\tenrm=\ssecrm \let\tenit=\ssecit \let\tensl=\ssecsl
   \let\tenbf=\ssecbf \let\tentt=\ssectt \let\smallcaps=\ssecsc
@@ -2254,8 +2277,6 @@ end
 
 \gdef\markupsetcodequoteleft{\let`\codequoteleft}
 \gdef\markupsetcodequoteright{\let'\codequoteright}
-
-\gdef\markupsetnoligaturesquoteleft{\let`\noligaturesquoteleft}
 }
 
 \let\markupsetuplqcode \markupsetcodequoteleft
@@ -2264,6 +2285,9 @@ end
 \let\markupsetuplqexample \markupsetcodequoteleft
 \let\markupsetuprqexample \markupsetcodequoteright
 %
+\let\markupsetuplqkbd     \markupsetcodequoteleft
+\let\markupsetuprqkbd     \markupsetcodequoteright
+%
 \let\markupsetuplqsamp \markupsetcodequoteleft
 \let\markupsetuprqsamp \markupsetcodequoteright
 %
@@ -2273,8 +2297,6 @@ end
 \let\markupsetuplqverbatim \markupsetcodequoteleft
 \let\markupsetuprqverbatim \markupsetcodequoteright
 
-\let\markupsetuplqkbd \markupsetnoligaturesquoteleft
-
 % Allow an option to not use regular directed right quote/apostrophe
 % (char 0x27), but instead the undirected quote from cmtt (char 0x0d).
 % The undirected quote is ugly, so don't make it the default, but it
@@ -2359,13 +2381,14 @@ end
   \ifx\next,%
   \else\ifx\next-%
   \else\ifx\next.%
+  \else\ifx\next\.%
+  \else\ifx\next\comma%
   \else\ptexslash
-  \fi\fi\fi
+  \fi\fi\fi\fi\fi
   \aftersmartic
 }
 
-% like \smartslanted except unconditionally uses \ttsl, and no ic.
-% @var is set to this for defun arguments.
+% Unconditional use \ttsl, and no ic.  @var is set to this for defuns.
 \def\ttslanted#1{{\ttsl #1}}
 
 % @cite is like \smartslanted except unconditionally use \sl.  We never want
@@ -2430,34 +2453,12 @@ end
 % @samp.
 \def\samp#1{{\setupmarkupstyle{samp}\lq\tclose{#1}\rq\null}}
 
-% definition of @key that produces a lozenge.  Doesn't adjust to text size.
-%\setfont\keyrm\rmshape{8}{1000}{OT1}
-%\font\keysy=cmsy9
-%\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{%
-%  \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{%
-%    \vbox{\hrule\kern-0.4pt
-%     \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}%
-%    \kern-0.4pt\hrule}%
-%  \kern-.06em\raise0.4pt\hbox{\angleright}}}}
-
-% definition of @key with no lozenge.  If the current font is already
-% monospace, don't change it; that way, we respect @kbdinputstyle.  But
-% if it isn't monospace, then use \tt.
-%
-\def\key#1{{\setupmarkupstyle{key}%
-  \nohyphenation
-  \ifmonospace\else\tt\fi
-  #1}\null}
-
-% ctrl is no longer a Texinfo command.
-\def\ctrl #1{{\tt \rawbackslash \hat}#1}
-
-% @file, @option are the same as @samp.
-\let\file=\samp
-\let\option=\samp
+% @indicateurl is \samp, that is, with quotes.
+\let\indicateurl=\samp
 
-% @code is a modification of @t,
-% which makes spaces the same size as normal in the surrounding text.
+% @code (and similar) prints in typewriter, but with spaces the same
+% size as normal in the surrounding text, without hyphenation, etc.
+% This is a subroutine for that.
 \def\tclose#1{%
   {%
     % Change normal interword space to be same as for the current font.
@@ -2480,14 +2481,14 @@ end
 }
 
 % We *must* turn on hyphenation at `-' and `_' in @code.
+% (But see \codedashfinish below.)
 % Otherwise, it is too hard to avoid overfull hboxes
 % in the Emacs manual, the Library manual, etc.
-
+%
 % Unfortunately, TeX uses one parameter (\hyphenchar) to control
 % both hyphenation at - and hyphenation within words.
 % We must therefore turn them both off (\tclose does that)
-% and arrange explicitly to hyphenate at a dash.
-%  -- rms.
+% and arrange explicitly to hyphenate at a dash. -- rms.
 {
   \catcode`\-=\active \catcode`\_=\active
   \catcode`\'=\active \catcode`\`=\active
@@ -2501,17 +2502,38 @@ end
      \let-\codedash
      \let_\codeunder
     \else
-     \let-\realdash
+     \let-\normaldash
      \let_\realunder
     \fi
+    % Given -foo (with a single dash), we do not want to allow a break
+    % after the hyphen.
+    \global\let\codedashprev=\codedash
+    %
     \codex
   }
+  %
+  \gdef\codedash{\futurelet\next\codedashfinish}
+  \gdef\codedashfinish{%
+    \normaldash % always output the dash character itself.
+    % 
+    % Now, output a discretionary to allow a line break, unless
+    % (a) the next character is a -, or
+    % (b) the preceding character is a -.
+    % E.g., given --posix, we do not want to allow a break after either -.
+    % Given --foo-bar, we do want to allow a break between the - and the b.
+    \ifx\next\codedash \else
+      \ifx\codedashprev\codedash 
+      \else \discretionary{}{}{}\fi
+    \fi
+    % we need the space after the = for the case when \next itself is a
+    % space token; it would get swallowed otherwise.  As in @code{- a}.
+    \global\let\codedashprev= \next
+  }
 }
-
+\def\normaldash{-}
+%
 \def\codex #1{\tclose{#1}\endgroup}
 
-\def\realdash{-}
-\def\codedash{-\discretionary{}{}{}}
 \def\codeunder{%
   % this is all so @math{@code{var_name}+1} can work.  In math mode, _
   % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.)
@@ -2525,9 +2547,9 @@ end
 }
 
 % An additional complication: the above will allow breaks after, e.g.,
-% each of the four underscores in __typeof__.  This is undesirable in
-% some manuals, especially if they don't have long identifiers in
-% general.  @allowcodebreaks provides a way to control this.
+% each of the four underscores in __typeof__.  This is bad.
+% @allowcodebreaks provides a document-level way to turn breaking at -
+% and _ on and off.
 %
 \newif\ifallowcodebreaks  \allowcodebreakstrue
 
@@ -2546,37 +2568,28 @@ end
   \fi\fi
 }
 
-% @uref (abbreviation for `urlref') takes an optional (comma-separated)
-% second argument specifying the text to display and an optional third
-% arg as text to display instead of (rather than in addition to) the url
-% itself.  First (mandatory) arg is the url.
-% (This \urefnobreak definition isn't used now, leaving it for a while
-% for comparison.)
-\def\urefnobreak#1{\dourefnobreak #1,,,\finish}
-\def\dourefnobreak#1,#2,#3,#4\finish{\begingroup
-  \unsepspaces
-  \pdfurl{#1}%
-  \setbox0 = \hbox{\ignorespaces #3}%
-  \ifdim\wd0 > 0pt
-    \unhbox0 % third arg given, show only that
-  \else
-    \setbox0 = \hbox{\ignorespaces #2}%
-    \ifdim\wd0 > 0pt
-      \ifpdf
-        \unhbox0             % PDF: 2nd arg given, show only it
-      \else
-        \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url
-      \fi
-    \else
-      \code{#1}% only url given, so show it
-    \fi
-  \fi
-  \endlink
-\endgroup}
+% For @command, @env, @file, @option quotes seem unnecessary,
+% so use \code rather than \samp.
+\let\command=\code
+\let\env=\code
+\let\file=\code
+\let\option=\code
 
-% This \urefbreak definition is the active one.
+% @uref (abbreviation for `urlref') aka @url takes an optional
+% (comma-separated) second argument specifying the text to display and
+% an optional third arg as text to display instead of (rather than in
+% addition to) the url itself.  First (mandatory) arg is the url.
+
+% TeX-only option to allow changing PDF output to show only the second
+% arg (if given), and not the url (which is then just the link target).
+\newif\ifurefurlonlylink
+
+% The main macro is \urefbreak, which allows breaking at expected
+% places within the url.  (There used to be another version, which
+% didn't support automatic breaking.)
 \def\urefbreak{\begingroup \urefcatcodes \dourefbreak}
 \let\uref=\urefbreak
+%
 \def\dourefbreak#1{\urefbreakfinish #1,,,\finish}
 \def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example
   \unsepspaces
@@ -2585,12 +2598,19 @@ end
   \ifdim\wd0 > 0pt
     \unhbox0 % third arg given, show only that
   \else
-    \setbox0 = \hbox{\ignorespaces #2}%
+    \setbox0 = \hbox{\ignorespaces #2}% look for second arg
     \ifdim\wd0 > 0pt
       \ifpdf
-        \unhbox0             % PDF: 2nd arg given, show only it
+        \ifurefurlonlylink
+          % PDF plus option to not display url, show just arg
+          \unhbox0             
+        \else
+          % PDF, normally display both arg and url for consistency,
+          % visibility, if the pdf is eventually used to print, etc.
+          \unhbox0\ (\urefcode{#1})%
+        \fi
       \else
-        \unhbox0\ (\urefcode{#1})% DVI: 2nd arg given, show both it and url
+        \unhbox0\ (\urefcode{#1})% DVI, always show arg and url
       \fi
     \else
       \urefcode{#1}% only url given, so show it
@@ -2630,8 +2650,10 @@ end
 % we put a little stretch before and after the breakable chars, to help
 % line breaking of long url's.  The unequal skips make look better in
 % cmtt at least, especially for dots.
-\def\urefprestretch{\urefprebreak \hskip0pt plus.13em }
-\def\urefpoststretch{\urefpostbreak \hskip0pt plus.1em }
+\def\urefprestretchamount{.13em}
+\def\urefpoststretchamount{.1em}
+\def\urefprestretch{\urefprebreak \hskip0pt plus\urefprestretchamount\relax}
+\def\urefpoststretch{\urefpostbreak \hskip0pt plus\urefprestretchamount\relax}
 %
 \def\urefcodeamp{\urefprestretch \&\urefpoststretch}
 \def\urefcodedot{\urefprestretch .\urefpoststretch}
@@ -2692,10 +2714,6 @@ end
   \let\email=\uref
 \fi
 
-% @kbd is like @code, except that if the argument is just one @key command,
-% then @kbd has no effect.
-\def\kbd#1{{\setupmarkupstyle{kbd}\def\look{#1}\expandafter\kbdfoo\look??\par}}
-
 % @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always),
 %   `example' (@kbd uses ttsl only inside of @example and friends),
 %   or `code' (@kbd uses normal tty font always).
@@ -2719,16 +2737,36 @@ end
 % Default is `distinct'.
 \kbdinputstyle distinct
 
+% @kbd is like @code, except that if the argument is just one @key command,
+% then @kbd has no effect.
+\def\kbd#1{{\def\look{#1}\expandafter\kbdsub\look??\par}}
+
 \def\xkey{\key}
-\def\kbdfoo#1#2#3\par{\def\one{#1}\def\three{#3}\def\threex{??}%
-\ifx\one\xkey\ifx\threex\three \key{#2}%
-\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi
-\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi}
+\def\kbdsub#1#2#3\par{%
+  \def\one{#1}\def\three{#3}\def\threex{??}%
+  \ifx\one\xkey\ifx\threex\three \key{#2}%
+  \else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi
+  \else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi
+}
 
-% For @indicateurl, @env, @command quotes seem unnecessary, so use \code.
-\let\indicateurl=\code
-\let\env=\code
-\let\command=\code
+% definition of @key that produces a lozenge.  Doesn't adjust to text size.
+%\setfont\keyrm\rmshape{8}{1000}{OT1}
+%\font\keysy=cmsy9
+%\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{%
+%  \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{%
+%    \vbox{\hrule\kern-0.4pt
+%     \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}%
+%    \kern-0.4pt\hrule}%
+%  \kern-.06em\raise0.4pt\hbox{\angleright}}}}
+
+% definition of @key with no lozenge.  If the current font is already
+% monospace, don't change it; that way, we respect @kbdinputstyle.  But
+% if it isn't monospace, then use \tt.
+%
+\def\key#1{{\setupmarkupstyle{key}%
+  \nohyphenation
+  \ifmonospace\else\tt\fi
+  #1}\null}
 
 % @clicksequence{File @click{} Open ...}
 \def\clicksequence#1{\begingroup #1\endgroup}
@@ -2836,6 +2874,9 @@ end
   }
 }
 
+% ctrl is no longer a Texinfo command, but leave this definition for fun.
+\def\ctrl #1{{\tt \rawbackslash \hat}#1}
+
 % @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}.
 % Ignore unless FMTNAME == tex; then it is like @iftex and @tex,
 % except specified as a normal braced arg, so no newlines to worry about.
@@ -2847,6 +2888,15 @@ end
   \def\inlinefmtname{#1}%
   \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi
 }
+% 
+% @inlinefmtifelse{FMTNAME,THEN-TEXT,ELSE-TEXT} expands THEN-TEXT if
+% FMTNAME is tex, else ELSE-TEXT.
+\long\def\inlinefmtifelse#1{\doinlinefmtifelse #1,,,\finish}
+\long\def\doinlinefmtifelse#1,#2,#3,#4,\finish{%
+  \def\inlinefmtname{#1}%
+  \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\else \ignorespaces #3\fi
+}
+%
 % For raw, must switch into @tex before parsing the argument, to avoid
 % setting catcodes prematurely.  Doing it this way means that, for
 % example, @inlineraw{html, foo{bar} gets a parse error instead of being
@@ -2863,6 +2913,23 @@ end
   \endgroup % close group opened by \tex.
 }
 
+% @inlineifset{VAR, TEXT} expands TEXT if VAR is @set.
+%
+\long\def\inlineifset#1{\doinlineifset #1,\finish}
+\long\def\doinlineifset#1,#2,\finish{%
+  \def\inlinevarname{#1}%
+  \expandafter\ifx\csname SET\inlinevarname\endcsname\relax
+  \else\ignorespaces#2\fi
+}
+
+% @inlineifclear{VAR, TEXT} expands TEXT if VAR is not @set.
+%
+\long\def\inlineifclear#1{\doinlineifclear #1,\finish}
+\long\def\doinlineifclear#1,#2,\finish{%
+  \def\inlinevarname{#1}%
+  \expandafter\ifx\csname SET\inlinevarname\endcsname\relax \ignorespaces#2\fi
+}
+
 
 \message{glyphs,}
 % and logos.
@@ -3126,12 +3193,17 @@ end
   % hopefully nobody will notice/care.
   \edef\ecsize{\csname\curfontsize ecsize\endcsname}%
   \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}%
-  \ifx\curfontstyle\bfstylename
-    % bold:
-    \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize
+  \ifmonospace
+    % typewriter:
+    \font\thisecfont = ectt\ecsize \space at \nominalsize
   \else
-    % regular:
-    \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize
+    \ifx\curfontstyle\bfstylename
+      % bold:
+      \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize
+    \else
+      % regular:
+      \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize
+    \fi
   \fi
   \thisecfont
 }
@@ -3244,6 +3316,20 @@ end
   \finishedtitlepagetrue
 }
 
+% Settings used for typesetting titles: no hyphenation, no indentation,
+% don't worry much about spacing, ragged right.  This should be used
+% inside a \vbox, and fonts need to be set appropriately first.  Because
+% it is always used for titles, nothing else, we call \rmisbold.  \par
+% should be specified before the end of the \vbox, since a vbox is a group.
+% 
+\def\raggedtitlesettings{%
+  \rmisbold
+  \hyphenpenalty=10000
+  \parindent=0pt
+  \tolerance=5000
+  \ptexraggedright
+}
+
 % Macros to be used within @titlepage:
 
 \let\subtitlerm=\tenrm
@@ -3251,7 +3337,7 @@ end
 
 \parseargdef\title{%
   \checkenv\titlepage
-  \leftline{\titlefonts\rmisbold #1}
+  \vbox{\titlefonts \raggedtitlesettings #1\par}%
   % print a rule at the page bottom also.
   \finishedtitlepagefalse
   \vskip4pt \hrule height 4pt width \hsize \vskip4pt
@@ -3599,7 +3685,7 @@ end
   \parskip=\smallskipamount
   \ifdim\parskip=0pt \parskip=2pt \fi
   %
-  % Try typesetting the item mark that if the document erroneously says
+  % Try typesetting the item mark so that if the document erroneously says
   % something like @itemize @samp (intending @table), there's an error
   % right away at the @itemize.  It's not the best error message in the
   % world, but it's better than leaving it to the @item.  This means if
@@ -3849,19 +3935,23 @@ end
 }
 
 % multitable-only commands.
-%
-% @headitem starts a heading row, which we typeset in bold.
-% Assignments have to be global since we are inside the implicit group
-% of an alignment entry.  \everycr resets \everytab so we don't have to
+% 
+% @headitem starts a heading row, which we typeset in bold.  Assignments
+% have to be global since we are inside the implicit group of an
+% alignment entry.  \everycr below resets \everytab so we don't have to
 % undo it ourselves.
 \def\headitemfont{\b}% for people to use in the template row; not changeable
 \def\headitem{%
   \checkenv\multitable
   \crcr
+  \gdef\headitemcrhook{\nobreak}% attempt to avoid page break after headings
   \global\everytab={\bf}% can't use \headitemfont since the parsing differs
   \the\everytab % for the first item
 }%
 %
+% default for tables with no headings.
+\let\headitemcrhook=\relax
+%
 % A \tab used to include \hskip1sp.  But then the space in a template
 % line is not enough.  That is bad.  So let's go back to just `&' until
 % we again encounter the problem the 1sp was intended to solve.
@@ -3892,15 +3982,15 @@ end
   %
   \everycr = {%
     \noalign{%
-      \global\everytab={}%
+      \global\everytab={}% Reset from possible headitem.
       \global\colcount=0 % Reset the column counter.
-      % Check for saved footnotes, etc.
+      %
+      % Check for saved footnotes, etc.:
       \checkinserts
-      % Keeps underfull box messages off when table breaks over pages.
-      %\filbreak
-       % Maybe so, but it also creates really weird page breaks when the
-       % table breaks over pages. Wouldn't \vfil be better?  Wait until the
-       % problem manifests itself, so it can be fixed for real --karl.
+      %
+      % Perhaps a \nobreak, then reset:
+      \headitemcrhook
+      \global\let\headitemcrhook=\relax
     }%
   }%
   %
@@ -4139,7 +4229,7 @@ end
 \def\value{\begingroup\makevalueexpandable\valuexxx}
 \def\valuexxx#1{\expandablevalue{#1}\endgroup}
 {
-  \catcode`\- = \active \catcode`\_ = \active
+  \catcode`\-=\active \catcode`\_=\active
   %
   \gdef\makevalueexpandable{%
     \let\value = \expandablevalue
@@ -4148,7 +4238,7 @@ end
     % ..., but we might end up with active ones in the argument if
     % we're called from @code, as @code{@value{foo-bar_}}, though.
     % So \let them to their normal equivalents.
-    \let-\realdash \let_\normalunderscore
+    \let-\normaldash \let_\normalunderscore
   }
 }
 
@@ -4159,7 +4249,12 @@ end
 % variable's value contains other Texinfo commands, it's almost certain
 % it will fail (although perhaps we could fix that with sufficient work
 % to do a one-level expansion on the result, instead of complete).
-%
+% 
+% Unfortunately, this has the consequence that when _ is in the *value*
+% of an @set, it does not print properly in the roman fonts (get the cmr
+% dot accent at position 126 instead).  No fix comes to mind, and it's
+% been this way since 2003 or earlier, so just ignore it.
+% 
 \def\expandablevalue#1{%
   \expandafter\ifx\csname SET#1\endcsname\relax
     {[No value for ``#1'']}%
@@ -4171,8 +4266,9 @@ end
 
 % @ifset VAR ... @end ifset reads the `...' iff VAR has been defined
 % with @set.
-%
-% To get special treatment of `@end ifset,' call \makeond and the redefine.
+% 
+% To get the special treatment we need for `@end ifset,' we call
+% \makecond and then redefine.
 %
 \makecond{ifset}
 \def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}}
@@ -4188,7 +4284,7 @@ end
 }
 \def\ifsetfail{\doignore{ifset}}
 
-% @ifclear VAR ... @end ifclear reads the `...' iff VAR has never been
+% @ifclear VAR ... @end executes the `...' iff VAR has never been
 % defined with @set, or has been undefined with @clear.
 %
 % The `\else' inside the `\doifset' parameter is a trick to reuse the
@@ -4199,6 +4295,35 @@ end
 \def\ifclear{\parsearg{\doifset{\else \let\next=\ifclearfail}}}
 \def\ifclearfail{\doignore{ifclear}}
 
+% @ifcommandisdefined CMD ... @end executes the `...' if CMD (written
+% without the @) is in fact defined.  We can only feasibly check at the
+% TeX level, so something like `mathcode' is going to considered
+% defined even though it is not a Texinfo command.
+% 
+\makecond{ifcommanddefined}
+\def\ifcommanddefined{\parsearg{\doifcmddefined{\let\next=\ifcmddefinedfail}}}
+%
+\def\doifcmddefined#1#2{{%
+    \makevalueexpandable
+    \let\next=\empty
+    \expandafter\ifx\csname #2\endcsname\relax
+      #1% If not defined, \let\next as above.
+    \fi
+    \expandafter
+  }\next
+}
+\def\ifcmddefinedfail{\doignore{ifcommanddefined}}
+
+% @ifcommandnotdefined CMD ... handled similar to @ifclear above.
+\makecond{ifcommandnotdefined}
+\def\ifcommandnotdefined{%
+  \parsearg{\doifcmddefined{\else \let\next=\ifcmdnotdefinedfail}}}
+\def\ifcmdnotdefinedfail{\doignore{ifcommandnotdefined}}
+
+% Set the `txicommandconditionals' variable, so documents have a way to
+% test if the @ifcommand...defined conditionals are available.
+\set txicommandconditionals
+
 % @dircategory CATEGORY  -- specify a category of the dir file
 % which this file should belong to.  Ignore this in TeX.
 \let\dircategory=\comment
@@ -4307,7 +4432,7 @@ end
   % complicated, when \tex is in effect and \{ is a \delimiter again.
   % We can't use \lbracecmd and \rbracecmd because texindex assumes
   % braces and backslashes are used only as delimiters.  Perhaps we
-  % should define @lbrace and @rbrace commands a la @comma.
+  % should use @lbracechar and @rbracechar?
   \def\{{{\tt\char123}}%
   \def\}{{\tt\char125}}%
   %
@@ -4328,8 +4453,7 @@ end
   % @end macro
   % ...
   % @funindex commtest
-  %
-  % The above is not enough to reproduce the bug, but it gives the flavor.
+  % This is not enough to reproduce the bug, but it gives the flavor.
   %
   % Sample whatsit resulting:
   % .@write3{\entry{xyz}{@folio }{@code {xyz@endinput }}}
@@ -4435,6 +4559,7 @@ end
   \definedummyword\guillemetright
   \definedummyword\guilsinglleft
   \definedummyword\guilsinglright
+  \definedummyword\lbracechar
   \definedummyword\leq
   \definedummyword\minus
   \definedummyword\ogonek
@@ -4447,6 +4572,7 @@ end
   \definedummyword\quoteleft
   \definedummyword\quoteright
   \definedummyword\quotesinglbase
+  \definedummyword\rbracechar
   \definedummyword\result
   \definedummyword\textdegree
   %
@@ -4498,6 +4624,7 @@ end
   \definedummyword\t
   %
   % Commands that take arguments.
+  \definedummyword\abbr
   \definedummyword\acronym
   \definedummyword\anchor
   \definedummyword\cite
@@ -4509,7 +4636,9 @@ end
   \definedummyword\emph
   \definedummyword\env
   \definedummyword\file
+  \definedummyword\image
   \definedummyword\indicateurl
+  \definedummyword\inforef
   \definedummyword\kbd
   \definedummyword\key
   \definedummyword\math
@@ -4525,8 +4654,21 @@ end
   \definedummyword\verb
   \definedummyword\w
   \definedummyword\xref
+  %
+  % Consider:
+  %   @macro mkind{arg1,arg2}
+  %   @cindex \arg2\
+  %   @end macro
+  %   @mkind{foo, bar}
+  % The space after the comma will end up in the temporary definition
+  % that we make for arg2 (see \parsemargdef ff.).  We want all this to be
+  % expanded for the sake of the index, so we end up just seeing "bar".
+  \let\xeatspaces = \eatspaces
 }
 
+% For testing: output @{ and @} in index sort strings as \{ and \}.
+\newif\ifusebracesinindexes
+
 % \indexnofonts is used when outputting the strings to sort the index
 % by, and when constructing control sequence names.  It eliminates all
 % control sequences and just writes whatever the best ASCII sort string
@@ -4555,8 +4697,16 @@ end
   % Unfortunately, texindex is not prepared to handle braces in the
   % content at all.  So for index sorting, we map @{ and @} to strings
   % starting with |, since that ASCII character is between ASCII { and }.
-  \def\{{|a}%
-  \def\}{|b}%
+  \ifusebracesinindexes
+    \def\lbracechar{\lbracecmd}%
+    \def\rbracechar{\rbracecmd}%
+  \else
+    \def\lbracechar{|a}%
+    \def\rbracechar{|b}%
+  \fi
+  \let\{=\lbracechar
+  \let\}=\rbracechar
+  %
   %
   % Non-English letters.
   \def\AA{AA}%
@@ -4732,10 +4882,9 @@ end
 %
 % ..., ready, GO:
 %
-\def\safewhatsit#1{%
-\ifhmode
+\def\safewhatsit#1{\ifhmode
   #1%
-\else
+ \else
   % \lastskip and \lastpenalty cannot both be nonzero simultaneously.
   \whatsitskip = \lastskip
   \edef\lastskipmacro{\the\lastskip}%
@@ -4759,7 +4908,6 @@ end
     % to re-insert the same penalty (values >10000 are used for various
     % signals); since we just inserted a non-discardable item, any
     % following glue (such as a \parskip) would be a breakpoint.  For example:
-    %
     %   @deffn deffn-whatever
     %   @vindex index-whatever
     %   Description.
@@ -4772,8 +4920,7 @@ end
     % (the whatsit from the \write), so we must insert a \nobreak.
     \nobreak\vskip\whatsitskip
   \fi
-\fi
-}
+\fi}
 
 % The index entry written in the file actually looks like
 %  \entry {sortstring}{page}{topic}
@@ -5520,14 +5667,6 @@ end
 
 % Define @majorheading, @heading and @subheading
 
-% NOTE on use of \vbox for chapter headings, section headings, and such:
-%       1) We use \vbox rather than the earlier \line to permit
-%          overlong headings to fold.
-%       2) \hyphenpenalty is set to 10000 because hyphenation in a
-%          heading is obnoxious; this forbids it.
-%       3) Likewise, headings look best if no \parindent is used, and
-%          if justification is not attempted.  Hence \raggedright.
-
 \def\majorheading{%
   {\advance\chapheadingskip by 10pt \chapbreak }%
   \parsearg\chapheadingzzz
@@ -5535,10 +5674,8 @@ end
 
 \def\chapheading{\chapbreak \parsearg\chapheadingzzz}
 \def\chapheadingzzz#1{%
-  {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
-                    \parindent=0pt\ptexraggedright
-                    \rmisbold #1\hfill}}%
-  \bigskip \par\penalty 200\relax
+  \vbox{\chapfonts \raggedtitlesettings #1\par}%
+  \nobreak\bigskip \nobreak
   \suppressfirstparagraphindent
 }
 
@@ -5697,8 +5834,7 @@ end
     %
     % Typeset the actual heading.
     \nobreak % Avoid page breaks at the interline glue.
-    \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright
-          \hangindent=\wd0 \centerparametersmaybe
+    \vbox{\raggedtitlesettings \hangindent=\wd0 \centerparametersmaybe
           \unhbox0 #1\par}%
   }%
   \nobreak\bigskip % no page break after a chapter title
@@ -5720,18 +5856,18 @@ end
 \def\setchapterstyle #1 {\csname CHAPF#1\endcsname}
 %
 \def\unnchfopen #1{%
-\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
-                       \parindent=0pt\ptexraggedright
-                       \rmisbold #1\hfill}}\bigskip \par\nobreak
+  \chapoddpage
+  \vbox{\chapfonts \raggedtitlesettings #1\par}%
+  \nobreak\bigskip\nobreak
 }
 \def\chfopen #1#2{\chapoddpage {\chapfonts
 \vbox to 3in{\vfil \hbox to\hsize{\hfil #2} \hbox to\hsize{\hfil #1} \vfil}}%
 \par\penalty 5000 %
 }
 \def\centerchfopen #1{%
-\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
-                       \parindent=0pt
-                       \hfill {\rmisbold #1}\hfill}}\bigskip \par\nobreak
+  \chapoddpage
+  \vbox{\chapfonts \raggedtitlesettings \hfill #1\hfill}%
+  \nobreak\bigskip \nobreak
 }
 \def\CHAPFopen{%
   \global\let\chapmacro=\chfopen
@@ -5822,7 +5958,7 @@ end
     %
     % Now the second mark, after the heading break.  No break points
     % between here and the heading.
-    \let\prevsectiondefs=\lastsectiondefs
+    \global\let\prevsectiondefs=\lastsectiondefs
     \domark
     %
     % Only insert the space after the number if we have a section number.
@@ -5876,14 +6012,15 @@ end
   %
   % We'll almost certainly start a paragraph next, so don't let that
   % glue accumulate.  (Not a breakpoint because it's preceded by a
-  % discardable item.)
+  % discardable item.)  However, when a paragraph is not started next
+  % (\startdefun, \cartouche, \center, etc.), this needs to be wiped out
+  % or the negative glue will cause weirdly wrong output, typically
+  % obscuring the section heading with something else.
   \vskip-\parskip
   %
-  % This is purely so the last item on the list is a known \penalty >
-  % 10000.  This is so \startdefun can avoid allowing breakpoints after
-  % section headings.  Otherwise, it would insert a valid breakpoint between:
-  %   @section sec-whatever
-  %   @deffn def-whatever
+  % This is so the last item on the main vertical list is a known
+  % \penalty > 10000, so \startdefun, etc., can recognize the situation
+  % and do the needful.
   \penalty 10001
 }
 
@@ -6188,8 +6325,8 @@ end
   \catcode `\|=\other
   \catcode `\<=\other
   \catcode `\>=\other
-  \catcode`\`=\other
-  \catcode`\'=\other
+  \catcode `\`=\other
+  \catcode `\'=\other
   \escapechar=`\\
   %
   % ' is active in math mode (mathcode"8000).  So reset it, and all our
@@ -6213,7 +6350,7 @@ end
   \let\/=\ptexslash
   \let\*=\ptexstar
   \let\t=\ptext
-  \expandafter \let\csname top\endcsname=\ptextop  % outer
+  \expandafter \let\csname top\endcsname=\ptextop  % we've made it outer
   \let\frenchspacing=\plainfrenchspacing
   %
   \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}%
@@ -6297,13 +6434,11 @@ end
                                % side, and for 6pt waste from
                                % each corner char, and rule thickness
   \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip
-  % Flag to tell @lisp, etc., not to narrow margin.
-  \let\nonarrowing = t%
   %
   % If this cartouche directly follows a sectioning command, we need the
   % \parskip glue (backspaced over by default) or the cartouche can
   % collide with the section heading.
-  \ifnum\lastpenalty>10000 \vskip\parskip \fi
+  \ifnum\lastpenalty>10000 \vskip\parskip \penalty\lastpenalty \fi
   %
   \vbox\bgroup
       \baselineskip=0pt\parskip=0pt\lineskip=0pt
@@ -6338,7 +6473,7 @@ end
 \newdimen\nonfillparindent
 \def\nonfillstart{%
   \aboveenvbreak
-  \hfuzz = 12pt % Don't be fussy
+  \ifdim\hfuzz < 12pt \hfuzz = 12pt \fi % Don't be fussy
   \sepspaces % Make spaces be word-separators rather than space tokens.
   \let\par = \lisppar % don't ignore blank lines
   \obeylines % each line of input is a line of output
@@ -6465,9 +6600,13 @@ end
 
 
 % @raggedright does more-or-less normal line breaking but no right
-% justification.  From plain.tex.
+% justification.  From plain.tex.  Don't stretch around special
+% characters in urls in this environment, since the stretch at the right
+% should be enough.
 \envdef\raggedright{%
-  \rightskip0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax
+  \rightskip0pt plus2.4em \spaceskip.3333em \xspaceskip.5em\relax
+  \def\urefprestretchamount{0pt}%
+  \def\urefpoststretchamount{0pt}%
 }
 \let\Eraggedright\par
 
@@ -6496,16 +6635,9 @@ end
 \makedispenvdef{quotation}{\quotationstart}
 %
 \def\quotationstart{%
-  {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip
-  \parindent=0pt
-  %
-  % @cartouche defines \nonarrowing to inhibit narrowing at next level down.
+  \indentedblockstart % same as \indentedblock, but increase right margin too.
   \ifx\nonarrowing\relax
-    \advance\leftskip by \lispnarrowing
     \advance\rightskip by \lispnarrowing
-    \exdentamount = \lispnarrowing
-  \else
-    \let\nonarrowing = \relax
   \fi
   \parsearg\quotationlabel
 }
@@ -6531,6 +6663,32 @@ end
   \fi
 }
 
+% @indentedblock is like @quotation, but indents only on the left and
+% has no optional argument.
+% 
+\makedispenvdef{indentedblock}{\indentedblockstart}
+%
+\def\indentedblockstart{%
+  {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip
+  \parindent=0pt
+  %
+  % @cartouche defines \nonarrowing to inhibit narrowing at next level down.
+  \ifx\nonarrowing\relax
+    \advance\leftskip by \lispnarrowing
+    \exdentamount = \lispnarrowing
+  \else
+    \let\nonarrowing = \relax
+  \fi
+}
+
+% Keep a nonzero parskip for the environment, since we're doing normal filling.
+%
+\def\Eindentedblock{%
+  \par
+  {\parskip=0pt \afterenvbreak}%
+}
+\def\Esmallindentedblock{\Eindentedblock}
+
 
 % LaTeX-like @verbatim...@end verbatim and @verb{<char>...<char>}
 % If we want to allow any <char> as delimiter,
@@ -7009,7 +7167,10 @@ end
   \df \sl \hyphenchar\font=0
   %
   % On the other hand, if an argument has two dashes (for instance), we
-  % want a way to get ttsl.  Let's try @var for that.
+  % want a way to get ttsl.  We used to recommend @var for that, so
+  % leave the code in, but it's strange for @var to lead to typewriter.
+  % Nowadays we recommend @code, since the difference between a ttsl hyphen
+  % and a tt hyphen is pretty tiny.  @code also disables ?` !`.
   \def\var##1{{\setupmarkupstyle{var}\ttslanted{##1}}}%
   #1%
   \sl\hyphenchar\font=45
@@ -7338,7 +7499,7 @@ end
 
 % Parse the optional {params} list.  Set up \paramno and \paramlist
 % so \defmacro knows what to do.  Define \macarg.BLAH for each BLAH
-% in the params list to some hook where the argument si to be expanded.  If
+% in the params list to some hook where the argument is to be expanded.  If
 % there are less than 10 arguments that hook is to be replaced by ##N where N
 % is the position in that list, that is to say the macro arguments are to be
 % defined `a la TeX in the macro body.  
@@ -7793,7 +7954,7 @@ end
   \fi\fi
 }
 
-
+% \f
 % @xref, @pxref, and @ref generate cross-references.  For \xrefX, #1 is
 % the node name, #2 the name of the Info cross-reference, #3 the printed
 % node name, #4 the name of the Info file, #5 the name of the printed
@@ -7803,16 +7964,21 @@ end
 \def\xref#1{\putwordSee{} \xrefX[#1,,,,,,,]}
 \def\ref#1{\xrefX[#1,,,,,,,]}
 %
-\newbox\topbox
+\newbox\toprefbox
 \newbox\printedrefnamebox
+\newbox\infofilenamebox
 \newbox\printedmanualbox
 %
 \def\xrefX[#1,#2,#3,#4,#5,#6]{\begingroup
   \unsepspaces
   %
+  % Get args without leading/trailing spaces.
   \def\printedrefname{\ignorespaces #3}%
   \setbox\printedrefnamebox = \hbox{\printedrefname\unskip}%
   %
+  \def\infofilename{\ignorespaces #4}%
+  \setbox\infofilenamebox = \hbox{\infofilename\unskip}%
+  %
   \def\printedmanual{\ignorespaces #5}%
   \setbox\printedmanualbox  = \hbox{\printedmanual\unskip}%
   %
@@ -7845,12 +8011,20 @@ end
   \ifpdf
     {\indexnofonts
      \turnoffactive
+     \makevalueexpandable
      % This expands tokens, so do it after making catcode changes, so _
-     % etc. don't get their TeX definitions.
+     % etc. don't get their TeX definitions.  This ignores all spaces in
+     % #4, including (wrongly) those in the middle of the filename.
      \getfilename{#4}%
      %
+     % This (wrongly) does not take account of leading or trailing
+     % spaces in #1, which should be ignored.
      \edef\pdfxrefdest{#1}%
-     \txiescapepdf\pdfxrefdest
+     \ifx\pdfxrefdest\empty
+       \def\pdfxrefdest{Top}% no empty targets
+     \else
+       \txiescapepdf\pdfxrefdest  % escape PDF special chars
+     \fi
      %
      \leavevmode
      \startlink attr{/Border [0 0 0]}%
@@ -7883,7 +8057,7 @@ end
       \printedrefname
     \fi
     %
-    % if the user also gave the printed manual name (fifth arg), append
+    % If the user also gave the printed manual name (fifth arg), append
     % "in MANUALNAME".
     \ifdim \wd\printedmanualbox > 0pt
       \space \putwordin{} \cite{\printedmanual}%
@@ -7898,32 +8072,20 @@ end
     % this is a loss.  Therefore, we give the text of the node name
     % again, so it is as if TeX is seeing it for the first time.
     % 
-    % Cross-manual reference.  Only include the "Section ``foo'' in" if
-    % the foo is neither missing or Top.  Thus, @xref{,,,foo,The Foo Manual}
-    % outputs simply "see The Foo Manual".
     \ifdim \wd\printedmanualbox > 0pt
-      % What is the 7sp about?  The idea is that we also want to omit
-      % the Section part if we would be printing "Top", since they are
-      % clearly trying to refer to the whole manual.  But, this being
-      % TeX, we can't easily compare strings while ignoring the possible
-      % spaces before and after in the input.  By adding the arbitrary
-      % 7sp, we make it much less likely that a real node name would
-      % happen to have the same width as "Top" (e.g., in a monospaced font).
-      % I hope it will never happen in practice.
+      % Cross-manual reference with a printed manual name.
       % 
-      % For the same basic reason, we retypeset the "Top" at every
-      % reference, since the current font is indeterminate.
+      \crossmanualxref{\cite{\printedmanual\unskip}}%
+    %
+    \else\ifdim \wd\infofilenamebox > 0pt
+      % Cross-manual reference with only an info filename (arg 4), no
+      % printed manual name (arg 5).  This is essentially the same as
+      % the case above; we output the filename, since we have nothing else.
       % 
-      \setbox\topbox = \hbox{Top\kern7sp}%
-      \setbox2 = \hbox{\ignorespaces \printedrefname \unskip \kern7sp}%
-      \ifdim \wd2 > 7sp
-        \ifdim \wd2 = \wd\topbox \else
-          \putwordSection{} ``\printedrefname'' \putwordin{}\space
-        \fi
-      \fi
-      \cite{\printedmanual}%
+      \crossmanualxref{\code{\infofilename\unskip}}%
+    %
     \else
-      % Reference in this manual.
+      % Reference within this manual.
       %
       % _ (for example) has to be the character _ for the purposes of the
       % control sequence corresponding to the node, but it has to expand
@@ -7944,11 +8106,37 @@ end
       %
       % output the `page 3'.
       \turnoffactive \putwordpage\tie\refx{#1-pg}{}%
-    \fi
+    \fi\fi
   \fi
   \endlink
 \endgroup}
 
+% Output a cross-manual xref to #1.  Used just above (twice).
+% 
+% Only include the text "Section ``foo'' in" if the foo is neither
+% missing or Top.  Thus, @xref{,,,foo,The Foo Manual} outputs simply
+% "see The Foo Manual", the idea being to refer to the whole manual.
+% 
+% But, this being TeX, we can't easily compare our node name against the
+% string "Top" while ignoring the possible spaces before and after in
+% the input.  By adding the arbitrary 7sp below, we make it much less
+% likely that a real node name would have the same width as "Top" (e.g.,
+% in a monospaced font).  Hopefully it will never happen in practice.
+% 
+% For the same basic reason, we retypeset the "Top" at every
+% reference, since the current font is indeterminate.
+% 
+\def\crossmanualxref#1{%
+  \setbox\toprefbox = \hbox{Top\kern7sp}%
+  \setbox2 = \hbox{\ignorespaces \printedrefname \unskip \kern7sp}%
+  \ifdim \wd2 > 7sp  % nonempty?
+    \ifdim \wd2 = \wd\toprefbox \else  % same as Top?
+      \putwordSection{} ``\printedrefname'' \putwordin{}\space
+    \fi
+  \fi
+  #1%
+}
+
 % This macro is called from \xrefX for the `[nodename]' part of xref
 % output.  It's a separate macro only so it can be changed more easily,
 % since square brackets don't work well in some documents.  Particularly
@@ -8173,6 +8361,7 @@ end
 \gdef\footnote{%
   \let\indent=\ptexindent
   \let\noindent=\ptexnoindent
+  %
   \global\advance\footnoteno by \@ne
   \edef\thisfootno{$^{\the\footnoteno}$}%
   %
@@ -8196,6 +8385,11 @@ end
 %
 \gdef\dofootnote{%
   \insert\footins\bgroup
+  %
+  % Nested footnotes are not supported in TeX, that would take a lot
+  % more work.  (\startsavinginserts does not suffice.)
+  \let\footnote=\errfootnote
+  %
   % We want to typeset this text as a normal paragraph, even if the
   % footnote reference occurs in (for example) a display environment.
   % So reset some parameters.
@@ -8233,13 +8427,19 @@ end
 }
 }%end \catcode `\@=11
 
+\def\errfootnote{%
+  \errhelp=\EMsimple
+  \errmessage{Nested footnotes not supported in texinfo.tex,
+    even though they work in makeinfo; sorry}
+}
+
 % In case a @footnote appears in a vbox, save the footnote text and create
 % the real \insert just after the vbox finished.  Otherwise, the insertion
 % would be lost.
 % Similarly, if a @footnote appears inside an alignment, save the footnote
 % text to a box and make the \insert when a row of the table is finished.
 % And the same can be done for other insert classes.  --kasal, 16nov03.
-
+%
 % Replace the \insert primitive by a cheating macro.
 % Deeper inside, just make sure that the saved insertions are not spilled
 % out prematurely.
@@ -8316,7 +8516,7 @@ end
   it from ftp://tug.org/tex/epsf.tex.}
 %
 \def\image#1{%
-  \ifx\epsfbox\thisiundefined
+  \ifx\epsfbox\thisisundefined
     \ifwarnednoepsf \else
       \errhelp = \noepsfhelp
       \errmessage{epsf.tex not found, images will be ignored}%
@@ -8340,6 +8540,13 @@ end
   % If the image is by itself, center it.
   \ifvmode
     \imagevmodetrue
+  \else \ifx\centersub\centerV
+    % for @center @image, we need a vbox so we can have our vertical space
+    \imagevmodetrue
+    \vbox\bgroup % vbox has better behavior than vtop herev
+  \fi\fi
+  %
+  \ifimagevmode
     \nobreak\medskip
     % Usually we'll have text after the image which will insert
     % \parskip glue, so insert it here too to equalize the space
@@ -8349,9 +8556,13 @@ end
   \fi
   %
   % Leave vertical mode so that indentation from an enclosing
-  % environment such as @quotation is respected.  On the other hand, if
-  % it's at the top level, we don't want the normal paragraph indentation.
-  \noindent
+  %  environment such as @quotation is respected.
+  % However, if we're at the top level, we don't want the
+  %  normal paragraph indentation.
+  % On the other hand, if we are in the case of @center @image, we don't
+  %  want to start a paragraph, which will create a hsize-width box and
+  %  eradicate the centering.
+  \ifx\centersub\centerV\else \noindent \fi
   %
   % Output the image.
   \ifpdf
@@ -8363,7 +8574,10 @@ end
     \epsfbox{#1.eps}%
   \fi
   %
-  \ifimagevmode \medskip \fi  % space after the standalone image
+  \ifimagevmode
+    \medskip  % space after a standalone image
+  \fi  
+  \ifx\centersub\centerV \egroup \fi
 \endgroup}
 
 
@@ -8642,20 +8856,20 @@ end
 {
   \catcode`\_ = \active
   \globaldefs=1
-\parseargdef\documentlanguage{\begingroup
-  \let_=\normalunderscore  % normal _ character for filenames
+\parseargdef\documentlanguage{%
   \tex % read txi-??.tex file in plain TeX.
     % Read the file by the name they passed if it exists.
+    \let_ = \normalunderscore  % normal _ character for filename test
     \openin 1 txi-#1.tex
     \ifeof 1
-      \documentlanguagetrywithoutunderscore{#1_\finish}%
+      \documentlanguagetrywithoutunderscore #1_\finish
     \else
       \globaldefs = 1  % everything in the txi-LL files needs to persist
       \input txi-#1.tex
     \fi
     \closein 1
   \endgroup % end raw TeX
-\endgroup}
+}
 %
 % If they passed de_DE, and txi-de_DE.tex doesn't exist,
 % try txi-de.tex.
@@ -9793,11 +10007,9 @@ directory should work if nowhere else does.}
 \catcode`\"=\active
 \def\activedoublequote{{\tt\char34}}
 \let"=\activedoublequote
-\catcode`\~=\active
-\def~{{\tt\char126}}
+\catcode`\~=\active \def\activetilde{{\tt\char126}} \let~ = \activetilde
 \chardef\hat=`\^
-\catcode`\^=\active
-\def^{{\tt \hat}}
+\catcode`\^=\active \def\activehat{{\tt \hat}} \let^ = \activehat
 
 \catcode`\_=\active
 \def_{\ifusingtt\normalunderscore\_}
@@ -9807,16 +10019,26 @@ directory should work if nowhere else does.}
 
 \catcode`\|=\active
 \def|{{\tt\char124}}
+
 \chardef \less=`\<
-\catcode`\<=\active
-\def<{{\tt \less}}
+\catcode`\<=\active \def\activeless{{\tt \less}}\let< = \activeless
 \chardef \gtr=`\>
-\catcode`\>=\active
-\def>{{\tt \gtr}}
-\catcode`\+=\active
-\def+{{\tt \char 43}}
-\catcode`\$=\active
-\def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
+\catcode`\>=\active \def\activegtr{{\tt \gtr}}\let> = \activegtr
+\catcode`\+=\active \def+{{\tt \char 43}}
+\catcode`\$=\active \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
+
+% used for headline/footline in the output routine, in case the page
+% breaks in the middle of an @tex block.
+\def\texinfochars{%
+  \let< = \activeless
+  \let> = \activegtr
+  \let~ = \activetilde 
+  \let^ = \activehat
+  \markupsetuplqdefault \markupsetuprqdefault 
+  \let\b = \strong
+  \let\i = \smartitalic
+  % in principle, all other definitions in \tex have to be undone too.
+}
 
 % If a .fmt file is being used, characters that might appear in a file
 % name cannot be active until we have parsed the command line.
@@ -9866,22 +10088,26 @@ directory should work if nowhere else does.}
 @gdef@otherbackslash{@let\=@realbackslash}
 
 % Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of
-% the literal character `\'.
-%
-@def@normalturnoffactive{%
-  @let"=@normaldoublequote
-  @let$=@normaldollar %$ font-lock fix
-  @let+=@normalplus
-  @let<=@normalless
-  @let>=@normalgreater
-  @let\=@normalbackslash
-  @let^=@normalcaret
-  @let_=@normalunderscore
-  @let|=@normalverticalbar
-  @let~=@normaltilde
-  @markupsetuplqdefault
-  @markupsetuprqdefault
-  @unsepspaces
+% the literal character `\'.  Also revert - to its normal character, in
+% case the active - from code has slipped in.
+%
+{@catcode`- = @active
+ @gdef@normalturnoffactive{%
+   @let-=@normaldash
+   @let"=@normaldoublequote
+   @let$=@normaldollar %$ font-lock fix
+   @let+=@normalplus
+   @let<=@normalless
+   @let>=@normalgreater
+   @let\=@normalbackslash
+   @let^=@normalcaret
+   @let_=@normalunderscore
+   @let|=@normalverticalbar
+   @let~=@normaltilde
+   @markupsetuplqdefault
+   @markupsetuprqdefault
+   @unsepspaces
+ }
 }
 
 % Make _ and + \other characters, temporarily.
index 082b749d62314bfbe49165db6bfa662e0944493a..90624e9004cbae54707fd791f85a63880a2c1508 100755 (executable)
@@ -3,9 +3,9 @@ eval '(exit $?0)' && eval 'exec perl -wS -0777 -pi "$0" ${1+"$@"}'
     if 0;
 # Update an FSF copyright year list to include the current year.
 
-my $VERSION = '2012-02-05.21:39'; # UTC
+my $VERSION = '2013-01-03.09:41'; # UTC
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -192,7 +192,7 @@ if (defined $stmt_re)
     if ($final_year != $this_year)
       {
         # Update the year.
-        $stmt =~ s/$final_year_orig/$final_year, $this_year/;
+        $stmt =~ s/\b$final_year_orig\b/$final_year, $this_year/;
       }
     if ($final_year != $this_year || $ENV{'UPDATE_COPYRIGHT_FORCE'})
       {
index 2b646308ec5a778d376f74a54808e395a83a3b22..4c76c75d797718c7a14e8f06e6854294c419342b 100755 (executable)
@@ -10,7 +10,7 @@ my $VERSION = '2012-01-06 07:23'; # UTC
 # If you change this file with Emacs, please let the write hook
 # do its job.  Otherwise, update this string manually.
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index d477da8e9eb7a570feda2b7b07a81f68bdb7dfa5..b2bca54c959d8586f9945edf068c056c3fe84ad7 100755 (executable)
@@ -4,7 +4,7 @@
 # Print a version string.
 scriptversion=2011-05-16.22; # UTC
 
-# Copyright (C) 2006-2012 Free Software Foundation, Inc.
+# Copyright (C) 2006-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/cfg.mk b/cfg.mk
index ba8ba77a213bbe6bd87ba5d4748e17e395f0f5c8..ade72d731e3eb3fddb6c3953032958f421ccb03a 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -1,5 +1,5 @@
 # Customize maint.mk                           -*- makefile -*-
-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
+# Copyright (C) 2003-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -34,6 +34,7 @@ local-checks-to-skip = \
   sc_error_message_period \
   sc_file_system \
   sc_prohibit_strcmp \
+  sc_prohibit_strncpy \
   sc_prohibit_atoi_atof \
   sc_require_test_exit_idiom \
   sc_space_tab \
@@ -42,7 +43,7 @@ local-checks-to-skip = \
 # Now that we have better (check.mk) tests, make this the default.
 export VERBOSE = yes
 
-old_NEWS_hash = 04810d10a532cf2e75d602ddda0d64b1
+old_NEWS_hash = bd453bcf049e292a9677c094d24a29dd
 
 include $(srcdir)/dist-check.mk
 
@@ -69,3 +70,5 @@ exclude_file_name_regexp--sc_prohibit_always-defined_macros = \
 
 exclude_file_name_regexp--sc_prohibit_path_max_allocation = \
   ^libparted/arch/beos\.c$$
+
+exclude_file_name_regexp--sc_unmarked_diagnostics = ^tests/print-max\.c$$
index e2c98e183574f0e35cf79e0c37df1ad44f65010f..9f7ecc8108532dbc2baa3a0af8b7b64d2dd6150b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68b.1-36a2 for GNU parted 3.1.
+# Generated by GNU Autoconf 2.69 for GNU parted 3.2.
 #
 # Report bugs to <bug-parted@gnu.org>.
 #
@@ -496,6 +496,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
   chmod +x "$as_me.lineno" ||
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+  # already done that, so ensure we don't try to do so again and fall
+  # in an infinite loop.  This has already happened in practice.
+  _as_can_reexec=no; export _as_can_reexec
   # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the
   # original and so on.  Autoconf is especially sensitive to this).
@@ -586,8 +590,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='GNU parted'
 PACKAGE_TARNAME='parted'
-PACKAGE_VERSION='3.1'
-PACKAGE_STRING='GNU parted 3.1'
+PACKAGE_VERSION='3.2'
+PACKAGE_STRING='GNU parted 3.2'
 PACKAGE_BUGREPORT='bug-parted@gnu.org'
 PACKAGE_URL='http://www.gnu.org/software/parted/'
 
@@ -692,132 +696,13 @@ ac_ct_DUMPBIN
 DUMPBIN
 LD
 FGREP
-SED
 LIBTOOL
+WARN_CFLAGS
 WERROR_CFLAGS
 LIBTESTS_LIBDEPS
 YIELD_LIB
 abs_aux_dir
-NEXT_AS_FIRST_DIRECTIVE_STDIO_H
-NEXT_STDIO_H
-LTLIBMULTITHREAD
-LIBMULTITHREAD
-LTLIBTHREAD
-LIBTHREAD
-LIBPTH_PREFIX
-LTLIBPTH
-LIBPTH
 INTL_MACOSX_LIBS
-NEXT_AS_FIRST_DIRECTIVE_LOCALE_H
-NEXT_LOCALE_H
-HAVE_XLOCALE_H
-REPLACE_DUPLOCALE
-REPLACE_SETLOCALE
-HAVE_DUPLOCALE
-GNULIB_DUPLOCALE
-GNULIB_SETLOCALE
-REPLACE_VSPRINTF
-REPLACE_VSNPRINTF
-REPLACE_VPRINTF
-REPLACE_VFPRINTF
-REPLACE_VDPRINTF
-REPLACE_VASPRINTF
-REPLACE_TMPFILE
-REPLACE_STDIO_WRITE_FUNCS
-REPLACE_STDIO_READ_FUNCS
-REPLACE_SPRINTF
-REPLACE_SNPRINTF
-REPLACE_RENAMEAT
-REPLACE_RENAME
-REPLACE_REMOVE
-REPLACE_PRINTF
-REPLACE_POPEN
-REPLACE_PERROR
-REPLACE_OBSTACK_PRINTF
-REPLACE_GETLINE
-REPLACE_GETDELIM
-REPLACE_FTELLO
-REPLACE_FTELL
-REPLACE_FSEEKO
-REPLACE_FSEEK
-REPLACE_FREOPEN
-REPLACE_FPURGE
-REPLACE_FPRINTF
-REPLACE_FOPEN
-REPLACE_FFLUSH
-REPLACE_FDOPEN
-REPLACE_FCLOSE
-REPLACE_DPRINTF
-HAVE_VDPRINTF
-HAVE_VASPRINTF
-HAVE_RENAMEAT
-HAVE_POPEN
-HAVE_PCLOSE
-HAVE_FTELLO
-HAVE_FSEEKO
-HAVE_DPRINTF
-HAVE_DECL_VSNPRINTF
-HAVE_DECL_SNPRINTF
-HAVE_DECL_OBSTACK_PRINTF
-HAVE_DECL_GETLINE
-HAVE_DECL_GETDELIM
-HAVE_DECL_FTELLO
-HAVE_DECL_FSEEKO
-HAVE_DECL_FPURGE
-GNULIB_VSPRINTF_POSIX
-GNULIB_VSNPRINTF
-GNULIB_VPRINTF_POSIX
-GNULIB_VPRINTF
-GNULIB_VFPRINTF_POSIX
-GNULIB_VFPRINTF
-GNULIB_VDPRINTF
-GNULIB_VSCANF
-GNULIB_VFSCANF
-GNULIB_VASPRINTF
-GNULIB_TMPFILE
-GNULIB_STDIO_H_SIGPIPE
-GNULIB_STDIO_H_NONBLOCKING
-GNULIB_SPRINTF_POSIX
-GNULIB_SNPRINTF
-GNULIB_SCANF
-GNULIB_RENAMEAT
-GNULIB_RENAME
-GNULIB_REMOVE
-GNULIB_PUTS
-GNULIB_PUTCHAR
-GNULIB_PUTC
-GNULIB_PRINTF_POSIX
-GNULIB_PRINTF
-GNULIB_POPEN
-GNULIB_PERROR
-GNULIB_PCLOSE
-GNULIB_OBSTACK_PRINTF_POSIX
-GNULIB_OBSTACK_PRINTF
-GNULIB_GETS
-GNULIB_GETLINE
-GNULIB_GETDELIM
-GNULIB_GETCHAR
-GNULIB_GETC
-GNULIB_FWRITE
-GNULIB_FTELLO
-GNULIB_FTELL
-GNULIB_FSEEKO
-GNULIB_FSEEK
-GNULIB_FSCANF
-GNULIB_FREOPEN
-GNULIB_FREAD
-GNULIB_FPUTS
-GNULIB_FPUTC
-GNULIB_FPURGE
-GNULIB_FPRINTF_POSIX
-GNULIB_FPRINTF
-GNULIB_FOPEN
-GNULIB_FGETS
-GNULIB_FGETC
-GNULIB_FFLUSH
-GNULIB_FDOPEN
-GNULIB_FCLOSE
-GNULIB_DPRINTF
 LOCALE_TR_UTF8
 gltests_WITNESS
 REPLACE_TOWLOWER
@@ -839,7 +724,6 @@ HAVE_WINT_T
 HAVE_FEATURES_H
 NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
 NEXT_WCHAR_H
-WARN_CFLAGS
 HAVE_UNISTD_H
 NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
 NEXT_UNISTD_H
@@ -848,6 +732,8 @@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
 TIME_H_DEFINES_STRUCT_TIMESPEC
 NEXT_AS_FIRST_DIRECTIVE_TIME_H
 NEXT_TIME_H
+REPLACE_LOCALTIME
+REPLACE_GMTIME
 REPLACE_TIMEGM
 REPLACE_NANOSLEEP
 REPLACE_MKTIME
@@ -861,13 +747,6 @@ GNULIB_TIMEGM
 GNULIB_STRPTIME
 GNULIB_NANOSLEEP
 GNULIB_MKTIME
-NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H
-NEXT_SYS_TYPES_H
-NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
-NEXT_SYS_STAT_H
-HAVE_STRINGS_H
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H
-NEXT_STRINGS_H
 NEXT_AS_FIRST_DIRECTIVE_STRING_H
 NEXT_STRING_H
 UNDEFINE_STRTOK_R
@@ -943,19 +822,111 @@ GNULIB_MEMMEM
 GNULIB_MEMCHR
 GNULIB_FFSLL
 GNULIB_FFSL
-HAVE_DECL_STRNCASECMP
-HAVE_STRCASECMP
-HAVE_FFS
-GNULIB_FFS
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
 NEXT_STDLIB_H
-NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
-NEXT_STDDEF_H
-GL_GENERATE_STDDEF_H_FALSE
-GL_GENERATE_STDDEF_H_TRUE
-STDDEF_H
-HAVE_WCHAR_T
-REPLACE_NULL
+NEXT_AS_FIRST_DIRECTIVE_STDIO_H
+NEXT_STDIO_H
+REPLACE_VSPRINTF
+REPLACE_VSNPRINTF
+REPLACE_VPRINTF
+REPLACE_VFPRINTF
+REPLACE_VDPRINTF
+REPLACE_VASPRINTF
+REPLACE_TMPFILE
+REPLACE_STDIO_WRITE_FUNCS
+REPLACE_STDIO_READ_FUNCS
+REPLACE_SPRINTF
+REPLACE_SNPRINTF
+REPLACE_RENAMEAT
+REPLACE_RENAME
+REPLACE_REMOVE
+REPLACE_PRINTF
+REPLACE_POPEN
+REPLACE_PERROR
+REPLACE_OBSTACK_PRINTF
+REPLACE_GETLINE
+REPLACE_GETDELIM
+REPLACE_FTELLO
+REPLACE_FTELL
+REPLACE_FSEEKO
+REPLACE_FSEEK
+REPLACE_FREOPEN
+REPLACE_FPURGE
+REPLACE_FPRINTF
+REPLACE_FOPEN
+REPLACE_FFLUSH
+REPLACE_FDOPEN
+REPLACE_FCLOSE
+REPLACE_DPRINTF
+HAVE_VDPRINTF
+HAVE_VASPRINTF
+HAVE_RENAMEAT
+HAVE_POPEN
+HAVE_PCLOSE
+HAVE_FTELLO
+HAVE_FSEEKO
+HAVE_DPRINTF
+HAVE_DECL_VSNPRINTF
+HAVE_DECL_SNPRINTF
+HAVE_DECL_OBSTACK_PRINTF
+HAVE_DECL_GETLINE
+HAVE_DECL_GETDELIM
+HAVE_DECL_FTELLO
+HAVE_DECL_FSEEKO
+HAVE_DECL_FPURGE
+GNULIB_VSPRINTF_POSIX
+GNULIB_VSNPRINTF
+GNULIB_VPRINTF_POSIX
+GNULIB_VPRINTF
+GNULIB_VFPRINTF_POSIX
+GNULIB_VFPRINTF
+GNULIB_VDPRINTF
+GNULIB_VSCANF
+GNULIB_VFSCANF
+GNULIB_VASPRINTF
+GNULIB_TMPFILE
+GNULIB_STDIO_H_SIGPIPE
+GNULIB_STDIO_H_NONBLOCKING
+GNULIB_SPRINTF_POSIX
+GNULIB_SNPRINTF
+GNULIB_SCANF
+GNULIB_RENAMEAT
+GNULIB_RENAME
+GNULIB_REMOVE
+GNULIB_PUTS
+GNULIB_PUTCHAR
+GNULIB_PUTC
+GNULIB_PRINTF_POSIX
+GNULIB_PRINTF
+GNULIB_POPEN
+GNULIB_PERROR
+GNULIB_PCLOSE
+GNULIB_OBSTACK_PRINTF_POSIX
+GNULIB_OBSTACK_PRINTF
+GNULIB_GETLINE
+GNULIB_GETDELIM
+GNULIB_GETCHAR
+GNULIB_GETC
+GNULIB_FWRITE
+GNULIB_FTELLO
+GNULIB_FTELL
+GNULIB_FSEEKO
+GNULIB_FSEEK
+GNULIB_FSCANF
+GNULIB_FREOPEN
+GNULIB_FREAD
+GNULIB_FPUTS
+GNULIB_FPUTC
+GNULIB_FPURGE
+GNULIB_FPRINTF_POSIX
+GNULIB_FPRINTF
+GNULIB_FOPEN
+GNULIB_FGETS
+GNULIB_FGETC
+GNULIB_FFLUSH
+GNULIB_FDOPEN
+GNULIB_FCLOSE
+GNULIB_DPRINTF
 HAVE__BOOL
 GL_GENERATE_STDBOOL_H_FALSE
 GL_GENERATE_STDBOOL_H_TRUE
@@ -968,6 +939,35 @@ NEXT_STDARG_H
 LOCALE_FR_UTF8
 LOCALE_ZH_CN
 LOCALE_JA
+SED
+WINDOWS_64_BIT_OFF_T
+NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H
+NEXT_SYS_TYPES_H
+LTLIBMULTITHREAD
+LIBMULTITHREAD
+LTLIBTHREAD
+LIBTHREAD
+LIBPTH_PREFIX
+LTLIBPTH
+LIBPTH
+NEXT_AS_FIRST_DIRECTIVE_LOCALE_H
+NEXT_LOCALE_H
+HAVE_XLOCALE_H
+NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
+NEXT_STDDEF_H
+GL_GENERATE_STDDEF_H_FALSE
+GL_GENERATE_STDDEF_H_TRUE
+STDDEF_H
+HAVE_WCHAR_T
+REPLACE_NULL
+REPLACE_STRUCT_LCONV
+REPLACE_DUPLOCALE
+REPLACE_SETLOCALE
+REPLACE_LOCALECONV
+HAVE_DUPLOCALE
+GNULIB_DUPLOCALE
+GNULIB_SETLOCALE
+GNULIB_LOCALECONV
 LOCALCHARSET_TESTS_ENVIRONMENT
 GLIBC21
 IGNORE_UNUSED_LIBRARIES_CFLAGS
@@ -989,6 +989,7 @@ PRIPTR_PREFIX
 PRI_MACROS_BROKEN
 INT64_MAX_EQ_LONG_MAX
 INT32_MAX_LT_INTMAX_MAX
+REPLACE_STRTOUMAX
 REPLACE_STRTOIMAX
 HAVE_DECL_STRTOUMAX
 HAVE_DECL_STRTOIMAX
@@ -1040,6 +1041,9 @@ GETOPT_H
 HAVE_GETOPT_H
 NEXT_AS_FIRST_DIRECTIVE_GETOPT_H
 NEXT_GETOPT_H
+WINDOWS_64_BIT_ST_SIZE
+NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
+NEXT_SYS_STAT_H
 REPLACE_UTIMENSAT
 REPLACE_STAT
 REPLACE_MKNOD
@@ -1100,6 +1104,7 @@ PRAGMA_SYSTEM_HEADER
 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
 INCLUDE_NEXT
 pkglibexecdir
+runstatedir
 lispdir
 HAVE_WINSOCK2_H
 HAVE_MSVC_INVALID_PARAMETER_HANDLER
@@ -1125,8 +1130,10 @@ REPLACE_ISATTY
 REPLACE_GETPAGESIZE
 REPLACE_GETGROUPS
 REPLACE_GETLOGIN_R
+REPLACE_GETDTABLESIZE
 REPLACE_GETDOMAINNAME
 REPLACE_GETCWD
+REPLACE_FTRUNCATE
 REPLACE_FCHOWNAT
 REPLACE_DUP2
 REPLACE_DUP
@@ -1231,6 +1238,7 @@ REPLACE_REALLOC
 REPLACE_RANDOM_R
 REPLACE_PUTENV
 REPLACE_PTSNAME_R
+REPLACE_PTSNAME
 REPLACE_MKSTEMP
 REPLACE_MBTOWC
 REPLACE_MALLOC
@@ -1245,6 +1253,7 @@ HAVE_STRTOLL
 HAVE_STRTOD
 HAVE_DECL_SETENV
 HAVE_SETENV
+HAVE_SECURE_GETENV
 HAVE_RPMATCH
 HAVE_REALPATH
 HAVE_RANDOM_R
@@ -1272,6 +1281,7 @@ GNULIB_STRTOULL
 GNULIB_STRTOLL
 GNULIB_STRTOD
 GNULIB_SETENV
+GNULIB_SECURE_GETENV
 GNULIB_RPMATCH
 GNULIB_REALPATH
 GNULIB_REALLOC_POSIX
@@ -1516,13 +1526,13 @@ enable_dependency_tracking
 enable_largefile
 enable_threads
 enable_assert
+with_gnu_ld
+enable_rpath
+with_libpth_prefix
 with_included_regex
 with_packager
 with_packager_version
 with_packager_bug_reports
-with_gnu_ld
-enable_rpath
-with_libpth_prefix
 enable_gcc_warnings
 enable_shared
 enable_static
@@ -2003,8 +2013,6 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used" >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -2090,7 +2098,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GNU parted 3.1 to adapt to many kinds of systems.
+\`configure' configures GNU parted 3.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -2160,7 +2168,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GNU parted 3.1:";;
+     short | recursive ) echo "Configuration of GNU parted 3.2:";;
    esac
   cat <<\_ACEOF
 
@@ -2202,6 +2210,9 @@ Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-readline         support fancy command line editing
+  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
+  --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
+  --without-libpth-prefix     don't search for libpth in includedir and libdir
   --without-included-regex
                           don't compile regex; this is the default on systems
                           with recent-enough versions of the GNU C Library
@@ -2210,9 +2221,6 @@ Optional Packages:
   --with-packager-version Packager-specific version information
   --with-packager-bug-reports
                           Packager info for bug reports (URL/e-mail/...)
-  --with-gnu-ld           assume the C compiler uses GNU ld default=no
-  --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
-  --without-libpth-prefix     don't search for libpth in includedir and libdir
   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                           both]
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -2309,8 +2317,8 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-GNU parted configure 3.1
-generated by GNU Autoconf 2.68b.1-36a2
+GNU parted configure 3.2
+generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
@@ -2957,12 +2965,69 @@ $as_echo "$ac_res" >&6; }
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_decl
+
+# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
+# ----------------------------------------------------
+# Tries to find if the field MEMBER exists in type AGGR, after including
+# INCLUDES, setting cache variable VAR accordingly.
+ac_fn_c_check_member ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
+$as_echo_n "checking for $2.$3... " >&6; }
+if eval \${$4+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$5
+int
+main ()
+{
+static $2 ac_aggr;
+if (ac_aggr.$3)
+return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$4=yes"
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$5
+int
+main ()
+{
+static $2 ac_aggr;
+if (sizeof ac_aggr.$3)
+return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$4=yes"
+else
+  eval "$4=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$4
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_member
 cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by GNU parted $as_me 3.1, which was
-generated by GNU Autoconf 2.68b.1-36a2.  Invocation command line was
+It was created by GNU parted $as_me 3.2, which was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
 
@@ -3249,11 +3314,10 @@ as_fn_append ac_func_list " realpath"
 as_fn_append ac_header_list " sys/param.h"
 as_fn_append ac_func_list " _set_invalid_parameter_handler"
 as_fn_append ac_header_list " sys/socket.h"
-as_fn_append ac_func_list " fchdir"
 as_fn_append ac_header_list " unistd.h"
 as_fn_append ac_func_list " symlink"
 as_fn_append ac_header_list " stdio_ext.h"
-as_fn_append ac_func_list " __fpending"
+as_fn_append ac_header_list " sys/stat.h"
 as_fn_append ac_func_list " fsync"
 gl_getopt_required=GNU
 as_fn_append ac_header_list " getopt.h"
@@ -3263,32 +3327,30 @@ as_fn_append ac_header_list " wchar.h"
 as_fn_append ac_header_list " stdint.h"
 as_fn_append ac_header_list " inttypes.h"
 as_fn_append ac_header_list " langinfo.h"
+as_fn_append ac_header_list " xlocale.h"
 as_fn_append ac_func_list " lstat"
 as_fn_append ac_func_list " mbsinit"
 as_fn_append ac_func_list " mbrtowc"
 as_fn_append ac_func_list " mkstemp"
 as_fn_append ac_func_list " nl_langinfo"
+as_fn_append ac_header_list " malloc.h"
 as_fn_append ac_func_list " isblank"
 as_fn_append ac_func_list " iswctype"
-as_fn_append ac_func_list " wcscoll"
+as_fn_append ac_func_list " secure_getenv"
 as_fn_append ac_func_list " sleep"
 as_fn_append ac_func_list " strdup"
-as_fn_append ac_func_list " strerror_r"
-as_fn_append ac_func_list " __xpg_strerror_r"
-as_fn_append ac_header_list " strings.h"
 as_fn_append ac_func_list " strndup"
-as_fn_append ac_header_list " sys/stat.h"
 as_fn_append ac_func_list " usleep"
 as_fn_append ac_header_list " features.h"
 as_fn_append ac_func_list " wcrtomb"
 as_fn_append ac_func_list " iswcntrl"
 as_fn_append ac_header_list " wctype.h"
-as_fn_append ac_header_list " xlocale.h"
+as_fn_append ac_func_list " getdtablesize"
 as_fn_append ac_func_list " newlocale"
 as_fn_append ac_header_list " priv.h"
-as_fn_append ac_func_list " setenv"
 as_fn_append ac_header_list " sys/mman.h"
 as_fn_append ac_func_list " mprotect"
+as_fn_append ac_func_list " setenv"
 as_fn_append ac_func_list " wctob"
 gt_needs="$gt_needs "
 as_fn_append ac_header_list " blkid/blkid.h"
@@ -3425,7 +3487,7 @@ LT_AGE=`expr $PED_BINARY_AGE - $PED_INTERFACE_AGE`
 
 
 
-am__api_version='1.11a'
+am__api_version='1.14'
 
 # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or
@@ -3609,8 +3671,8 @@ if test x"${MISSING+set}" != xset; then
   esac
 fi
 # Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
-  am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+  am_missing_run="$MISSING "
 else
   am_missing_run=
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -3768,13 +3830,6 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 $as_echo "$MKDIR_P" >&6; }
 
-
-mkdir_p="$MKDIR_P"
-case $mkdir_p in
-  [\\/$]* | ?:[\\/]*) ;;
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-
 for ac_prog in gawk mawk nawk awk
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
@@ -3857,6 +3912,45 @@ else
 fi
 rmdir .tst 2>/dev/null
 
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+  enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+  yes) AM_DEFAULT_VERBOSITY=0;;
+   no) AM_DEFAULT_VERBOSITY=1;;
+    *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+       @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+  am_cv_make_support_nested_variables=yes
+else
+  am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+    AM_V='$(V)'
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+  AM_V=$AM_DEFAULT_VERBOSITY
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   # is not polluted with repeated "-I."
@@ -3879,7 +3973,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='parted'
- VERSION='3.1'
+ VERSION='3.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3907,18 +4001,70 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
+# For better backward compatibility.  To be removed once Automake 1.9.x
+# dies out for good.  For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
 # Always define AMTAR for backward compatibility.  Yes, it's still used
 # in the wild :-(  We should find a proper way to deprecate it ...
 AMTAR='$${TAR-tar}'
 
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar  pax cpio none'
+
 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
 
 
 
 
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes.  So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+  cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present.  This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message.  This
+can help us improve future automake versions.
+
+END
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+    echo 'Configuration will proceed anyway, since you have set the' >&2
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+    echo >&2
+  else
+    cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+  fi
+fi
 # Check whether --enable-silent-rules was given.
 if test "${enable_silent_rules+set}" = set; then :
   enableval=$enable_silent_rules;
@@ -5031,6 +5177,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+  # Make sure it works both with $CC and with simple cc.
+  # Following AC_PROG_CC_C_O, we do the test twice because some
+  # compilers refuse to overwrite an existing .o file with -o,
+  # though they will create one.
+  am_cv_prog_cc_c_o=yes
+  for am_i in 1 2; do
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } \
+         && test -f conftest2.$ac_objext; then
+      : OK
+    else
+      am_cv_prog_cc_c_o=no
+      break
+    fi
+  done
+  rm -f core conftest*
+  unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+   # Losing compiler, so override with the script.
+   # FIXME: It is wrong to rewrite CC.
+   # But if we don't then we get into trouble of one sort or another.
+   # A longer-term fix would be to have automake use am__CC in this case,
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+   CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
 depcc="$CC"   am_compiler_list=
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
@@ -5755,6 +5960,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+  # Make sure it works both with $CC and with simple cc.
+  # Following AC_PROG_CC_C_O, we do the test twice because some
+  # compilers refuse to overwrite an existing .o file with -o,
+  # though they will create one.
+  am_cv_prog_cc_c_o=yes
+  for am_i in 1 2; do
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } \
+         && test -f conftest2.$ac_objext; then
+      : OK
+    else
+      am_cv_prog_cc_c_o=no
+      break
+    fi
+  done
+  rm -f core conftest*
+  unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+   # Losing compiler, so override with the script.
+   # FIXME: It is wrong to rewrite CC.
+   # But if we don't then we get into trouble of one sort or another.
+   # A longer-term fix would be to have automake use am__CC in this case,
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+   CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
 depcc="$CC"   am_compiler_list=
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
@@ -6193,131 +6457,6 @@ $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
   fi
 fi
 
-if test "x$CC" != xcc; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
-$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
-$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
-fi
-set dummy $CC; ac_cc=`$as_echo "$2" |
-                     sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
-if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-# Make sure it works both with $CC and with simple cc.
-# We do the test twice because some compilers refuse to overwrite an
-# existing .o file with -o, though they will create one.
-ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
-rm -f conftest2.*
-if { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } &&
-   test -f conftest2.$ac_objext && { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; };
-then
-  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
-  if test "x$CC" != xcc; then
-    # Test first that cc exists at all.
-    if { ac_try='cc -c conftest.$ac_ext >&5'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
-      rm -f conftest2.*
-      if { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } &&
-        test -f conftest2.$ac_objext && { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; };
-      then
-       # cc works too.
-       :
-      else
-       # cc exists but doesn't like -o.
-       eval ac_cv_prog_cc_${ac_cc}_c_o=no
-      fi
-    fi
-  fi
-else
-  eval ac_cv_prog_cc_${ac_cc}_c_o=no
-fi
-rm -f core conftest*
-
-fi
-if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-
-$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
-
-fi
-
-# FIXME: we rely on the cache variable name because
-# there is no other way.
-set dummy $CC
-am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
-eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
-if test "$am_t" != yes; then
-   # Losing compiler, so override with the script.
-   # FIXME: It is wrong to rewrite CC.
-   # But if we don't then we get into trouble of one sort or another.
-   # A longer-term fix would be to have automake use am__CC in this case,
-   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
-   CC="$am_aux_dir/compile $CC"
-fi
-
 
 
 
@@ -6688,8 +6827,6 @@ done
 
 
 
-
-
   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   MINIX=yes
@@ -6708,15 +6845,10 @@ $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
 $as_echo "#define _MINIX 1" >>confdefs.h
 
-  fi
-
-        case "$host_os" in
-    hpux*)
 
-$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
+$as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
 
-      ;;
-  esac
+  fi
 
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
@@ -6759,6 +6891,54 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 
   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
+$as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; }
+if ${ac_cv_should_define__xopen_source+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_cv_should_define__xopen_source=no
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+          #include <wchar.h>
+          mbstate_t x;
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+             #define _XOPEN_SOURCE 500
+             #include <wchar.h>
+             mbstate_t x;
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_should_define__xopen_source=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
+$as_echo "$ac_cv_should_define__xopen_source" >&6; }
+  test $ac_cv_should_define__xopen_source = yes &&
+    $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
+
 
 
 
@@ -6964,6 +7144,8 @@ rm -rf conftest*
   fi
 
 
+$as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h
+
 fi
 
    case $ac_cv_prog_cc_stdc in #(
@@ -7308,6 +7490,8 @@ fi
 
 
 
+
+  # Code from module absolute-header:
   # Code from module alloca:
   # Code from module alloca-opt:
   # Code from module alloca-opt-tests:
@@ -7351,6 +7535,7 @@ fi
   # Code from module exitfail:
   # Code from module extensions:
 
+  # Code from module extern-inline:
   # Code from module fcntl-h:
   # Code from module fcntl-h-tests:
   # Code from module fd-hook:
@@ -7370,6 +7555,8 @@ fi
   # Code from module gendocs:
   # Code from module getcwd-lgpl:
   # Code from module getcwd-lgpl-tests:
+  # Code from module getdtablesize:
+  # Code from module getdtablesize-tests:
   # Code from module getopt-gnu:
   # Code from module getopt-posix:
   # Code from module getopt-posix-tests:
@@ -7386,7 +7573,6 @@ fi
   # Code from module ignore-value:
   # Code from module ignore-value-tests:
   # Code from module include_next:
-  # Code from module inline:
   # Code from module intprops:
   # Code from module intprops-tests:
   # Code from module inttypes:
@@ -7400,6 +7586,8 @@ fi
   # Code from module localcharset:
   # Code from module locale:
   # Code from module locale-tests:
+  # Code from module localeconv:
+  # Code from module localeconv-tests:
   # Code from module localename:
   # Code from module localename-tests:
   # Code from module lock:
@@ -7449,9 +7637,12 @@ fi
   # Code from module realloc-gnu-tests:
   # Code from module realloc-posix:
   # Code from module regex:
+  # Code from module regex-tests:
+  # Code from module root-uid:
   # Code from module rpmatch:
   # Code from module safe-read:
   # Code from module same-inode:
+  # Code from module secure_getenv:
   # Code from module setenv:
   # Code from module setenv-tests:
   # Code from module setlocale:
@@ -7479,7 +7670,6 @@ fi
   # Code from module stdio-tests:
   # Code from module stdlib:
   # Code from module stdlib-tests:
-  # Code from module strcase:
   # Code from module strdup-posix:
   # Code from module streq:
   # Code from module strerror:
@@ -7487,8 +7677,6 @@ fi
   # Code from module strerror-tests:
   # Code from module string:
   # Code from module string-tests:
-  # Code from module strings:
-  # Code from module strings-tests:
   # Code from module strndup:
   # Code from module strnlen:
   # Code from module strnlen-tests:
@@ -8002,6 +8190,8 @@ rm -rf conftest*
   fi
 
 
+$as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h
+
 fi
 
 
@@ -8126,8 +8316,8 @@ ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
 $as_echo "#define C_ALLOCA 1" >>confdefs.h
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'alloca.c' needs Cray hooks" >&5
-$as_echo_n "checking whether 'alloca.c' needs Cray hooks... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
+$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
 if ${ac_cv_os_cray+:} false; then :
   $as_echo_n "(cached) " >&6
 else
@@ -8467,7 +8657,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -8526,7 +8716,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -8591,6 +8781,7 @@ $as_echo "$gt_cv_locale_fr" >&6; }
   GNULIB_REALLOC_POSIX=0;
   GNULIB_REALPATH=0;
   GNULIB_RPMATCH=0;
+  GNULIB_SECURE_GETENV=0;
   GNULIB_SETENV=0;
   GNULIB_STRTOD=0;
   GNULIB_STRTOLL=0;
@@ -8618,6 +8809,7 @@ $as_echo "$gt_cv_locale_fr" >&6; }
   HAVE_RANDOM_R=1;
   HAVE_REALPATH=1;
   HAVE_RPMATCH=1;
+  HAVE_SECURE_GETENV=1;
   HAVE_SETENV=1;
   HAVE_DECL_SETENV=1;
   HAVE_STRTOD=1;
@@ -8632,6 +8824,7 @@ $as_echo "$gt_cv_locale_fr" >&6; }
   REPLACE_MALLOC=0;
   REPLACE_MBTOWC=0;
   REPLACE_MKSTEMP=0;
+  REPLACE_PTSNAME=0;
   REPLACE_PTSNAME_R=0;
   REPLACE_PUTENV=0;
   REPLACE_RANDOM_R=0;
@@ -8723,7 +8916,7 @@ $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
 $as_echo_n "checking whether realpath works... " >&6; }
 if ${gl_cv_func_realpath_works+:} false; then :
   $as_echo_n "(cached) " >&6
@@ -8732,7 +8925,13 @@ else
     touch conftest.a
     mkdir conftest.d
     if test "$cross_compiling" = yes; then :
-  gl_cv_func_realpath_works="guessing no"
+  case "$host_os" in
+                       # Guess yes on glibc systems.
+        *-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;;
+                       # If we don't know, assume the worst.
+        *)             gl_cv_func_realpath_works="guessing no" ;;
+      esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -8741,7 +8940,7 @@ else
 
 #include <stdlib.h>
 #if defined __MACH__ && defined __APPLE__
-/* Avoid a crash on MacOS X.  */
+/* Avoid a crash on Mac OS X.  */
 #include <mach/mach.h>
 #include <mach/mach_error.h>
 #include <mach/thread_status.h>
@@ -8901,11 +9100,13 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
 $as_echo "$gl_cv_func_realpath_works" >&6; }
-  if test "$gl_cv_func_realpath_works" = yes; then
+  case "$gl_cv_func_realpath_works" in
+    *yes)
 
 $as_echo "#define FUNC_REALPATH_WORKS 1" >>confdefs.h
 
-  fi
+      ;;
+  esac
 
 
 
@@ -9029,8 +9230,10 @@ done
   REPLACE_DUP=0;
   REPLACE_DUP2=0;
   REPLACE_FCHOWNAT=0;
+  REPLACE_FTRUNCATE=0;
   REPLACE_GETCWD=0;
   REPLACE_GETDOMAINNAME=0;
+  REPLACE_GETDTABLESIZE=0;
   REPLACE_GETLOGIN_R=0;
   REPLACE_GETGROUPS=0;
   REPLACE_GETPAGESIZE=0;
@@ -9077,8 +9280,6 @@ $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
 
 
 
-
-
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
 if ${gl_cv_have_include_next+:} false; then :
@@ -9203,6 +9404,9 @@ else
 /* end confdefs.h.  */
 
 #include <errno.h>
+#if !defined ETXTBSY
+booboo
+#endif
 #if !defined ENOMSG
 booboo
 #endif
@@ -9242,6 +9446,15 @@ booboo
 #if !defined ECANCELED
 booboo
 #endif
+#if !defined EOWNERDEAD
+booboo
+#endif
+#if !defined ENOTRECOVERABLE
+booboo
+#endif
+#if !defined EILSEQ
+booboo
+#endif
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
@@ -9276,36 +9489,40 @@ if ${gl_cv_next_errno_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <errno.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'errno.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
 
-               gl_header_literal_regex=`echo 'errno.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+        gl_cv_absolute_errno_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_errno_h
+           gl_cv_next_errno_h='"'$gl_header'"'
 
 
 fi
@@ -9643,51 +9860,12 @@ $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
 
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
-$as_echo_n "checking for inline... " >&6; }
-if ${ac_cv_c_inline+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_cv_c_inline=no
-for ac_kw in inline __inline__ __inline; do
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifndef __cplusplus
-typedef int foo_t;
-static $ac_kw foo_t static_foo () {return 0; }
-$ac_kw foo_t foo () {return 0; }
-#endif
 
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_c_inline=$ac_kw
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  test "$ac_cv_c_inline" != no && break
-done
+  XGETTEXT_EXTRA_OPTIONS=
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
-$as_echo "$ac_cv_c_inline" >&6; }
 
-case $ac_cv_c_inline in
-  inline | yes) ;;
-  *)
-    case $ac_cv_c_inline in
-      no) ac_val=;;
-      *) ac_val=$ac_cv_c_inline;;
-    esac
-    cat >>confdefs.h <<_ACEOF
-#ifndef __cplusplus
-#define inline $ac_val
-#endif
-_ACEOF
-    ;;
-esac
 
 
-  XGETTEXT_EXTRA_OPTIONS=
-
 
   GNULIB_FCNTL=0;
   GNULIB_NONBLOCKING=0;
@@ -9748,7 +9926,18 @@ main ()
             #if HAVE_SYMLINK
             {
               static char const sym[] = "conftest.sym";
-              if (symlink (".", sym) != 0)
+              if (symlink ("/dev/null", sym) != 0)
+                result |= 2;
+              else
+                {
+                  int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
+                  if (fd >= 0)
+                    {
+                      close (fd);
+                      result |= 4;
+                    }
+                }
+              if (unlink (sym) != 0 || symlink (".", sym) != 0)
                 result |= 2;
               else
                 {
@@ -9863,8 +10052,6 @@ fi
 
 
 
-
-
      GNULIB_FCHMODAT=0;
   GNULIB_FSTAT=0;
   GNULIB_FSTATAT=0;
   REPLACE_STAT=0;
   REPLACE_UTIMENSAT=0;
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
+$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
+if ${ac_cv_header_stat_broken+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/types.h>
+#include <sys/stat.h>
+
+#if defined S_ISBLK && defined S_IFDIR
+extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
+#endif
+
+#if defined S_ISBLK && defined S_IFCHR
+extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
+#endif
+
+#if defined S_ISLNK && defined S_IFREG
+extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
+#endif
+
+#if defined S_ISSOCK && defined S_IFREG
+extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_header_stat_broken=no
+else
+  ac_cv_header_stat_broken=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
+$as_echo "$ac_cv_header_stat_broken" >&6; }
+if test $ac_cv_header_stat_broken = yes; then
+
+$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
+
+fi
+
+
+
+
+
+  case "$host_os" in
+    mingw*)
+                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5
+$as_echo_n "checking for 64-bit off_t... " >&6; }
+if ${gl_cv_type_off_t_64+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/types.h>
+                int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1];
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_type_off_t_64=yes
+else
+  gl_cv_type_off_t_64=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5
+$as_echo "$gl_cv_type_off_t_64" >&6; }
+      if test $gl_cv_type_off_t_64 = no; then
+        WINDOWS_64_BIT_OFF_T=1
+      else
+        WINDOWS_64_BIT_OFF_T=0
+      fi
+                  WINDOWS_64_BIT_ST_SIZE=1
+      ;;
+    *)
+                                                      WINDOWS_64_BIT_OFF_T=0
+      WINDOWS_64_BIT_ST_SIZE=0
+      ;;
+  esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+     if test $gl_cv_have_include_next = yes; then
+       gl_cv_next_sys_stat_h='<'sys/stat.h'>'
+     else
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
+$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
+if ${gl_cv_next_sys_stat_h+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+             if test $ac_cv_header_sys_stat_h = yes; then
+
+
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/stat.h>
+_ACEOF
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
+
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'sys/stat.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_sys_stat_h
+           gl_cv_next_sys_stat_h='"'$gl_header'"'
+          else
+               gl_cv_next_sys_stat_h='<'sys/stat.h'>'
+             fi
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
+$as_echo "$gl_cv_next_sys_stat_h" >&6; }
+     fi
+     NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
+
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
+       gl_next_as_first_directive='<'sys/stat.h'>'
+     else
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
+       gl_next_as_first_directive=$gl_cv_next_sys_stat_h
+     fi
+     NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
+
+
+
+
+
+
+
+
+
+
+
+  if test $WINDOWS_64_BIT_ST_SIZE = 1; then
+
+$as_echo "#define _GL_WINDOWS_64_BIT_ST_SIZE 1" >>confdefs.h
+
+  fi
+
+      ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
+     #include <sys/stat.h>
+"
+if test "x$ac_cv_type_nlink_t" = xyes; then :
+
+else
+
+$as_echo "#define nlink_t int" >>confdefs.h
+
+fi
+
+
+
+    for gl_func in fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat     mknod mknodat stat utimensat; do
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
+if eval \${$as_gl_Symbol+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/stat.h>
+
+int
+main ()
+{
+#undef $gl_func
+  (void) $gl_func;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$as_gl_Symbol=yes"
+else
+  eval "$as_gl_Symbol=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$as_gl_Symbol
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
+_ACEOF
+
+                     eval ac_cv_have_decl_$gl_func=yes
+fi
+      done
+
+
 
 
 
@@ -9928,36 +10353,40 @@ else
              if test $ac_cv_header_getopt_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <getopt.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'getopt.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'getopt.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_getopt_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_getopt_h
+           gl_cv_next_getopt_h='"'$gl_header'"'
           else
                gl_cv_next_getopt_h='<'getopt.h'>'
              fi
@@ -10023,57 +10452,124 @@ done
 
   fi
 
-                    if test -z "$gl_replace_getopt"; then
+          if test -z "$gl_replace_getopt"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
 $as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
 if ${gl_cv_func_getopt_posix+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-                                                                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+                                                if test $cross_compiling = no; then
+                              if test "$cross_compiling" = yes; then :
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
+
 int
 main ()
 {
-int *p = &optreset; return optreset;
-  ;
+  static char program[] = "program";
+  static char a[] = "-a";
+  static char foo[] = "foo";
+  static char bar[] = "bar";
+  char *argv[] = { program, a, foo, bar, NULL };
+  int c;
+
+  c = getopt (4, argv, "ab");
+  if (!(c == 'a'))
+    return 1;
+  c = getopt (4, argv, "ab");
+  if (!(c == -1))
+    return 2;
+  if (!(optind == 2))
+    return 3;
   return 0;
 }
+
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_optind_min=1
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_func_getopt_posix=maybe
+else
+  gl_cv_func_getopt_posix=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+          if test $gl_cv_func_getopt_posix = maybe; then
+                                    if test "$cross_compiling" = yes; then :
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <getopt.h>
+
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
+
 int
 main ()
 {
-return !getopt_clip;
-  ;
+  static char program[] = "program";
+  static char donald[] = "donald";
+  static char p[] = "-p";
+  static char billy[] = "billy";
+  static char duck[] = "duck";
+  static char a[] = "-a";
+  static char bar[] = "bar";
+  char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
+  int c;
+
+  c = getopt (7, argv, "+abp:q:");
+  if (!(c == -1))
+    return 4;
+  if (!(strcmp (argv[0], "program") == 0))
+    return 5;
+  if (!(strcmp (argv[1], "donald") == 0))
+    return 6;
+  if (!(strcmp (argv[2], "-p") == 0))
+    return 7;
+  if (!(strcmp (argv[3], "billy") == 0))
+    return 8;
+  if (!(strcmp (argv[4], "duck") == 0))
+    return 9;
+  if (!(strcmp (argv[5], "-a") == 0))
+    return 10;
+  if (!(strcmp (argv[6], "bar") == 0))
+    return 11;
+  if (!(optind == 1))
+    return 12;
   return 0;
 }
+
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gl_optind_min=1
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_func_getopt_posix=maybe
 else
-  gl_optind_min=0
+  gl_cv_func_getopt_posix=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-
-                gl_save_CPPFLAGS=$CPPFLAGS
-        CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
-        if test "$cross_compiling" = yes; then :
-  case "$host_os" in
-             mingw*)         gl_cv_func_getopt_posix="guessing no";;
-             darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
-             *)              gl_cv_func_getopt_posix="guessing yes";;
-           esac
 
+          fi
+          if test $gl_cv_func_getopt_posix = maybe; then
+                        if test "$cross_compiling" = yes; then :
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -10085,78 +10581,17 @@ else
 int
 main ()
 {
-  {
-    static char program[] = "program";
-    static char a[] = "-a";
-    static char foo[] = "foo";
-    static char bar[] = "bar";
-    char *argv[] = { program, a, foo, bar, NULL };
-    int c;
-
-    optind = OPTIND_MIN;
-    opterr = 0;
-
-    c = getopt (4, argv, "ab");
-    if (!(c == 'a'))
-      return 1;
-    c = getopt (4, argv, "ab");
-    if (!(c == -1))
-      return 2;
-    if (!(optind == 2))
-      return 3;
-  }
-  /* Some internal state exists at this point.  */
-  {
-    static char program[] = "program";
-    static char donald[] = "donald";
-    static char p[] = "-p";
-    static char billy[] = "billy";
-    static char duck[] = "duck";
-    static char a[] = "-a";
-    static char bar[] = "bar";
-    char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
-    int c;
-
-    optind = OPTIND_MIN;
-    opterr = 0;
-
-    c = getopt (7, argv, "+abp:q:");
-    if (!(c == -1))
-      return 4;
-    if (!(strcmp (argv[0], "program") == 0))
-      return 5;
-    if (!(strcmp (argv[1], "donald") == 0))
-      return 6;
-    if (!(strcmp (argv[2], "-p") == 0))
-      return 7;
-    if (!(strcmp (argv[3], "billy") == 0))
-      return 8;
-    if (!(strcmp (argv[4], "duck") == 0))
-      return 9;
-    if (!(strcmp (argv[5], "-a") == 0))
-      return 10;
-    if (!(strcmp (argv[6], "bar") == 0))
-      return 11;
-    if (!(optind == 1))
-      return 12;
-  }
-  /* Detect MacOS 10.5, AIX 7.1 bug.  */
-  {
-    static char program[] = "program";
-    static char ab[] = "-ab";
-    char *argv[3] = { program, ab, NULL };
-    optind = OPTIND_MIN;
-    opterr = 0;
-    if (getopt (2, argv, "ab:") != 'a')
-      return 13;
-    if (getopt (2, argv, "ab:") != '?')
-      return 14;
-    if (optopt != 'b')
-      return 15;
-    if (optind != 2)
-      return 16;
-  }
-
+  static char program[] = "program";
+  static char ab[] = "-ab";
+  char *argv[3] = { program, ab, NULL };
+  if (getopt (2, argv, "ab:") != 'a')
+    return 13;
+  if (getopt (2, argv, "ab:") != '?')
+    return 14;
+  if (optopt != 'b')
+    return 15;
+  if (optind != 2)
+    return 16;
   return 0;
 }
 
@@ -10170,7 +10605,13 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
 
-        CPPFLAGS=$gl_save_CPPFLAGS
+          fi
+        else
+          case "$host_os" in
+            darwin* | aix* | mingw*) gl_cv_func_getopt_posix="guessing no";;
+            *)                       gl_cv_func_getopt_posix="guessing yes";;
+          esac
+        fi
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5
@@ -10201,11 +10642,7 @@ else
        POSIXLY_CORRECT=1
        export POSIXLY_CORRECT
        if test "$cross_compiling" = yes; then :
-           case $host_os:$ac_cv_have_decl_optreset in
-           *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;;
-           *:yes)               gl_cv_func_getopt_gnu=no;;
-           *)                   gl_cv_func_getopt_gnu=yes;;
-         esac
+           gl_cv_func_getopt_gnu="guessing no"
 
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10216,7 +10653,7 @@ else
 
 #include <stdlib.h>
 #if defined __MACH__ && defined __APPLE__
-/* Avoid a crash on MacOS X.  */
+/* Avoid a crash on Mac OS X.  */
 #include <mach/mach.h>
 #include <mach/mach_error.h>
 #include <mach/thread_status.h>
@@ -10336,7 +10773,7 @@ main ()
              nocrash_init();
 
              /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
-                and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
+                and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
                 OSF/1 5.1, Solaris 10.  */
              {
                static char conftest[] = "conftest";
@@ -10347,7 +10784,7 @@ main ()
                  result |= 1;
              }
              /* This code succeeds on glibc 2.8, mingw,
-                and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+                and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
                 IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x.  */
              {
                static char program[] = "program";
@@ -10376,7 +10813,7 @@ main ()
                if (getopt (3, argv, "-p") != 1)
                  result |= 16;
                else if (getopt (3, argv, "-p") != 'p')
-                 result |= 32;
+                 result |= 16;
              }
              /* This code fails on glibc 2.11.  */
              {
@@ -10386,9 +10823,9 @@ main ()
                char *argv[] = { program, b, a, NULL };
                optind = opterr = 0;
                if (getopt (3, argv, "+:a:b") != 'b')
-                 result |= 64;
+                 result |= 32;
                else if (getopt (3, argv, "+:a:b") != ':')
-                 result |= 64;
+                 result |= 32;
              }
              /* This code dumps core on glibc 2.14.  */
              {
@@ -10398,7 +10835,7 @@ main ()
                char *argv[] = { program, w, dummy, NULL };
                optind = opterr = 1;
                if (getopt (3, argv, "W;") != 'W')
-                 result |= 128;
+                 result |= 64;
              }
              return result;
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5
 $as_echo "$gl_cv_func_getopt_gnu" >&6; }
-    if test "$gl_cv_func_getopt_gnu" = "no"; then
+    if test "$gl_cv_func_getopt_gnu" != yes; then
       gl_replace_getopt=yes
-    fi
-  fi
+    else
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5
+$as_echo_n "checking for working GNU getopt_long function... " >&6; }
+if ${gl_cv_func_getopt_long_gnu+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test "$cross_compiling" = yes; then :
+              case "$host_os" in
+              openbsd*) gl_cv_func_getopt_long_gnu="guessing no";;
+              *)        gl_cv_func_getopt_long_gnu="guessing yes";;
+            esac
+
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <getopt.h>
+                #include <stddef.h>
+                #include <string.h>
 
+int
+main ()
+{
+static const struct option long_options[] =
+                  {
+                    { "xtremely-",no_argument,       NULL, 1003 },
+                    { "xtra",     no_argument,       NULL, 1001 },
+                    { "xtreme",   no_argument,       NULL, 1002 },
+                    { "xtremely", no_argument,       NULL, 1003 },
+                    { NULL,       0,                 NULL, 0 }
+                  };
+                /* This code fails on OpenBSD 5.0.  */
+                {
+                  static char program[] = "program";
+                  static char xtremel[] = "--xtremel";
+                  char *argv[] = { program, xtremel, NULL };
+                  int option_index;
+                  optind = 1; opterr = 0;
+                  if (getopt_long (2, argv, "", long_options, &option_index) != 1003)
+                    return 1;
+                }
+                return 0;
 
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_func_getopt_long_gnu=yes
+else
+  gl_cv_func_getopt_long_gnu=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
 
 
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5
+$as_echo "$gl_cv_func_getopt_long_gnu" >&6; }
+      case "$gl_cv_func_getopt_long_gnu" in
+        *yes) ;;
+        *) gl_replace_getopt=yes ;;
+      esac
+    fi
+  fi
 
-    REPLACE_GETOPT=0
 
 
-  if test -n "$gl_replace_getopt"; then :
 
-      REPLACE_GETOPT=1
 
-fi
 
+    REPLACE_GETOPT=0
+    if test -n "$gl_replace_getopt"; then
+      REPLACE_GETOPT=1
+    fi
 
   if test $REPLACE_GETOPT = 1; then
 
@@ -10545,36 +11041,40 @@ else
              if test $ac_cv_header_sys_time_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/time.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'sys/time.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'sys/time.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_sys_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_sys_time_h
+           gl_cv_next_sys_time_h='"'$gl_header'"'
           else
                gl_cv_next_sys_time_h='<'sys/time.h'>'
              fi
@@ -10666,8 +11166,8 @@ $as_echo "$gl_cv_sys_struct_timeval" >&6; }
   if test $gl_cv_sys_struct_timeval != yes; then
     HAVE_STRUCT_TIMEVAL=0
   else
-                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct struct timeval.tv_sec member" >&5
-$as_echo_n "checking for correct struct timeval.tv_sec member... " >&6; }
+                            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wide-enough struct timeval.tv_sec member" >&5
+$as_echo_n "checking for wide-enough struct timeval.tv_sec member... " >&6; }
 if ${gl_cv_sys_struct_timeval_tv_sec+:} false; then :
   $as_echo_n "(cached) " >&6
 else
@@ -10685,7 +11185,9 @@ int
 main ()
 {
 static struct timeval x;
-              typedef int verify_tv_sec_type[sizeof (x.tv_sec) == sizeof (time_t) ? 1 : -1];
+              typedef int verify_tv_sec_type[
+                sizeof (time_t) <= sizeof x.tv_sec ? 1 : -1
+              ];
 
   ;
   return 0;
@@ -10979,36 +11481,40 @@ else
              if test $ac_cv_header_stdint_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdint.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'stdint.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'stdint.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_stdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_stdint_h
+           gl_cv_next_stdint_h='"'$gl_header'"'
           else
                gl_cv_next_stdint_h='<'stdint.h'>'
              fi
@@ -11656,6 +12162,7 @@ fi
   HAVE_DECL_STRTOIMAX=1;
   HAVE_DECL_STRTOUMAX=1;
   REPLACE_STRTOIMAX=0;
+  REPLACE_STRTOUMAX=0;
   INT32_MAX_LT_INTMAX_MAX=1;
   INT64_MAX_EQ_LONG_MAX='defined _LP64';
   PRI_MACROS_BROKEN=0;
@@ -11689,36 +12196,40 @@ else
              if test $ac_cv_header_inttypes_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <inttypes.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'inttypes.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_inttypes_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'inttypes.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_inttypes_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_inttypes_h
+           gl_cv_next_inttypes_h='"'$gl_header'"'
           else
                gl_cv_next_inttypes_h='<'inttypes.h'>'
              fi
@@ -11901,1485 +12412,1651 @@ $as_echo "$ac_cv_gnu_library_2_1" >&6; }
 
 
 
+  GNULIB_LOCALECONV=0;
+  GNULIB_SETLOCALE=0;
+  GNULIB_DUPLOCALE=0;
+    HAVE_DUPLOCALE=1;
+  REPLACE_LOCALECONV=0;
+  REPLACE_SETLOCALE=0;
+  REPLACE_DUPLOCALE=0;
+  REPLACE_STRUCT_LCONV=0;
+
+
+    REPLACE_NULL=0;
+  HAVE_WCHAR_T=1;
 
 
-      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
-$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
-if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
+$as_echo_n "checking for wchar_t... " >&6; }
+if ${gt_cv_c_wchar_t+:} false; then :
   $as_echo_n "(cached) " >&6
-else
-  rm -f conftest.sym conftest.file
-     echo >conftest.file
-     if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
-       if test "$cross_compiling" = yes; then :
-  # When cross-compiling, be pessimistic so we will end up using the
-          # replacement version of lstat that checks for trailing slashes and
-          # calls lstat a second time when necessary.
-          gl_cv_func_lstat_dereferences_slashed_symlink=no
-
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-$ac_includes_default
+#include <stddef.h>
+            wchar_t foo = (wchar_t)'\0';
 int
 main ()
 {
-struct stat sbuf;
-              /* Linux will dereference the symlink and fail, as required by
-                 POSIX.  That is better in the sense that it means we will not
-                 have to compile and use the lstat wrapper.  */
-              return lstat ("conftest.sym/", &sbuf) == 0;
 
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gl_cv_func_lstat_dereferences_slashed_symlink=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  gt_cv_c_wchar_t=yes
 else
-  gl_cv_func_lstat_dereferences_slashed_symlink=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
+  gt_cv_c_wchar_t=no
 fi
-
-     else
-       # If the 'ln -s' command failed, then we probably don't even
-       # have an lstat function.
-       gl_cv_func_lstat_dereferences_slashed_symlink=no
-     fi
-     rm -f conftest.sym conftest.file
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
-$as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
-  test $gl_cv_func_lstat_dereferences_slashed_symlink = yes &&
-
-cat >>confdefs.h <<_ACEOF
-#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
-_ACEOF
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
+$as_echo "$gt_cv_c_wchar_t" >&6; }
+  if test $gt_cv_c_wchar_t = yes; then
 
+$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
 
+  fi
 
-  for ac_header in stdlib.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdlib_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_STDLIB_H 1
-_ACEOF
 
-fi
 
-done
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
-$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
-if ${ac_cv_func_malloc_0_nonnull+:} false; then :
+  STDDEF_H=
+  if test $gt_cv_c_wchar_t = no; then
+    HAVE_WCHAR_T=0
+    STDDEF_H=stddef.h
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
+$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
+if ${gl_cv_decl_null_works+:} false; then :
   $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_malloc_0_nonnull=no
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include <stdlib.h>
-#else
-char *malloc ();
-#endif
+#include <stddef.h>
+      int test[2 * (sizeof NULL == sizeof (void *)) -1];
 
 int
 main ()
 {
-return ! malloc (0);
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_malloc_0_nonnull=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_decl_null_works=yes
 else
-  ac_cv_func_malloc_0_nonnull=no
+  gl_cv_decl_null_works=no
 fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
+$as_echo "$gl_cv_decl_null_works" >&6; }
+  if test $gl_cv_decl_null_works = no; then
+    REPLACE_NULL=1
+    STDDEF_H=stddef.h
+  fi
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
-$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
-if test $ac_cv_func_malloc_0_nonnull = yes; then :
-  gl_cv_func_malloc_0_nonnull=1
+   if test -n "$STDDEF_H"; then
+  GL_GENERATE_STDDEF_H_TRUE=
+  GL_GENERATE_STDDEF_H_FALSE='#'
 else
-  gl_cv_func_malloc_0_nonnull=0
+  GL_GENERATE_STDDEF_H_TRUE='#'
+  GL_GENERATE_STDDEF_H_FALSE=
 fi
 
+  if test -n "$STDDEF_H"; then
 
-cat >>confdefs.h <<_ACEOF
-#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
-_ACEOF
 
 
 
 
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
-$as_echo_n "checking for mbstate_t... " >&6; }
-if ${ac_cv_type_mbstate_t+:} false; then :
+
+
+
+     if test $gl_cv_have_include_next = yes; then
+       gl_cv_next_stddef_h='<'stddef.h'>'
+     else
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
+$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
+if ${gl_cv_next_stddef_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
+
+
+
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-$ac_includes_default
-/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
-   <wchar.h>.
-   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
-   included before <wchar.h>.  */
 #include <stddef.h>
-#include <stdio.h>
-#include <time.h>
-#include <wchar.h>
-int
-main ()
-{
-mbstate_t x; return sizeof x;
-  ;
-  return 0;
-}
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_type_mbstate_t=yes
-else
-  ac_cv_type_mbstate_t=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
-$as_echo "$ac_cv_type_mbstate_t" >&6; }
-   if test $ac_cv_type_mbstate_t = yes; then
-
-$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
-
-   else
-
-$as_echo "#define mbstate_t int" >>confdefs.h
-
-   fi
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'stddef.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
 
+        gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
 
+           gl_header=$gl_cv_absolute_stddef_h
+           gl_cv_next_stddef_h='"'$gl_header'"'
 
 
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
+$as_echo "$gl_cv_next_stddef_h" >&6; }
+     fi
+     NEXT_STDDEF_H=$gl_cv_next_stddef_h
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
+       gl_next_as_first_directive='<'stddef.h'>'
+     else
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
+       gl_next_as_first_directive=$gl_cv_next_stddef_h
+     fi
+     NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
-$as_echo_n "checking for a traditional japanese locale... " >&6; }
-if ${gt_cv_locale_ja+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-#include <locale.h>
-#include <time.h>
-#if HAVE_LANGINFO_CODESET
-# include <langinfo.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
-struct tm t;
-char buf[16];
-int main ()
-{
-  const char *p;
-  /* Check whether the given locale name is recognized by the system.  */
-#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
-  /* On native Windows, setlocale(category, "") looks at the system settings,
-     not at the environment variables.  Also, when an encoding suffix such
-     as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
-     category of the locale to "C".  */
-  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
-      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
-    return 1;
-#else
-  if (setlocale (LC_ALL, "") == NULL) return 1;
-#endif
-  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
-     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
-     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
-     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
-     some unit tests fail.
-     On MirBSD 10, when an unsupported locale is specified, setlocale()
-     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
-#if HAVE_LANGINFO_CODESET
-  {
-    const char *cs = nl_langinfo (CODESET);
-    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
-        || strcmp (cs, "UTF-8") == 0)
-      return 1;
-  }
-#endif
-#ifdef __CYGWIN__
-  /* On Cygwin, avoid locale names without encoding suffix, because the
-     locale_charset() function relies on the encoding suffix.  Note that
-     LC_ALL is set on the command line.  */
-  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
-#endif
-  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
-     on Cygwin 1.5.x.  */
-  if (MB_CUR_MAX == 1)
-    return 1;
-  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
-     This excludes the UTF-8 encoding (except on MirBSD).  */
-  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
-  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
-  for (p = buf; *p != '\0'; p++)
-    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
-      return 1;
-  return 0;
-}
+  fi
 
-_ACEOF
-    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-  (eval $ac_link) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && test -s conftest$ac_exeext; then
-      case "$host_os" in
-        # Handle native Windows specially, because there setlocale() interprets
-        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
-        # "fr" or "fra" as "French" or "French_France.1252",
-        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
-        # "ja" as "Japanese" or "Japanese_Japan.932",
-        # and similar.
-        mingw*)
-          # Note that on native Windows, the Japanese locale is
-          # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
-          # cannot use it here.
-          gt_cv_locale_ja=none
-          ;;
-        *)
-          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
-          # configure script would override the LC_ALL setting. Likewise for
-          # LC_CTYPE, which is also set at the beginning of the configure script.
-          # Test for the AIX locale name.
-          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-            gt_cv_locale_ja=ja_JP
-          else
-            # Test for the locale name with explicit encoding suffix.
-            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-              gt_cv_locale_ja=ja_JP.EUC-JP
-            else
-              # Test for the HP-UX, OSF/1, NetBSD locale name.
-              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-                gt_cv_locale_ja=ja_JP.eucJP
-              else
-                # Test for the IRIX, FreeBSD locale name.
-                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-                  gt_cv_locale_ja=ja_JP.EUC
-                else
-                  # Test for the Solaris 7 locale name.
-                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-                    gt_cv_locale_ja=ja
-                  else
-                    # Special test for NetBSD 1.6.
-                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
-                      gt_cv_locale_ja=ja_JP.eucJP
-                    else
-                      # None found.
-                      gt_cv_locale_ja=none
-                    fi
-                  fi
-                fi
-              fi
-            fi
-          fi
-          ;;
-      esac
-    fi
-    rm -fr conftest*
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
-$as_echo "$gt_cv_locale_ja" >&6; }
-  LOCALE_JA=$gt_cv_locale_ja
 
 
+      if test "X$prefix" = "XNONE"; then
+    acl_final_prefix="$ac_default_prefix"
+  else
+    acl_final_prefix="$prefix"
+  fi
+  if test "X$exec_prefix" = "XNONE"; then
+    acl_final_exec_prefix='${prefix}'
+  else
+    acl_final_exec_prefix="$exec_prefix"
+  fi
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
+  prefix="$acl_save_prefix"
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
-$as_echo_n "checking for a transitional chinese locale... " >&6; }
-if ${gt_cv_locale_zh_CN+:} false; then :
-  $as_echo_n "(cached) " >&6
+# Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 else
+  with_gnu_ld=no
+fi
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+# Prepare PATH_SEPARATOR.
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
+  # so we have to set that as well for the test.
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+           || PATH_SEPARATOR=';'
+       }
+fi
 
-#include <locale.h>
-#include <stdlib.h>
-#include <time.h>
-#if HAVE_LANGINFO_CODESET
-# include <langinfo.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
-struct tm t;
-char buf[16];
-int main ()
-{
-  const char *p;
-  /* Check whether the given locale name is recognized by the system.  */
-#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
-  /* On native Windows, setlocale(category, "") looks at the system settings,
-     not at the environment variables.  Also, when an encoding suffix such
-     as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
-     category of the locale to "C".  */
-  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
-      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
-    return 1;
-#else
-  if (setlocale (LC_ALL, "") == NULL) return 1;
-#endif
-  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
-     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
-     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
-     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
-     some unit tests fail.
-     On MirBSD 10, when an unsupported locale is specified, setlocale()
-     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
-#if HAVE_LANGINFO_CODESET
-  {
-    const char *cs = nl_langinfo (CODESET);
-    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
-        || strcmp (cs, "UTF-8") == 0)
-      return 1;
-  }
-#endif
-#ifdef __CYGWIN__
-  /* On Cygwin, avoid locale names without encoding suffix, because the
-     locale_charset() function relies on the encoding suffix.  Note that
-     LC_ALL is set on the command line.  */
-  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
-#endif
-  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
-     This excludes the UTF-8 encoding (except on MirBSD).  */
-  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
-  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
-  for (p = buf; *p != '\0'; p++)
-    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
-      return 1;
-  /* Check whether a typical GB18030 multibyte sequence is recognized as a
-     single wide character.  This excludes the GB2312 and GBK encodings.  */
-  if (mblen ("\203\062\332\066", 5) != 4)
-    return 1;
-  return 0;
-}
-
-_ACEOF
-    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-  (eval $ac_link) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && test -s conftest$ac_exeext; then
-      case "$host_os" in
-        # Handle native Windows specially, because there setlocale() interprets
-        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
-        # "fr" or "fra" as "French" or "French_France.1252",
-        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
-        # "ja" as "Japanese" or "Japanese_Japan.932",
-        # and similar.
-        mingw*)
-          # Test for the hypothetical native Windows locale name.
-          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-            gt_cv_locale_zh_CN=Chinese_China.54936
-          else
-            # None found.
-            gt_cv_locale_zh_CN=none
-          fi
-          ;;
-        solaris2.8)
-          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
-          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
-          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
-          gt_cv_locale_zh_CN=none
-          ;;
-        *)
-          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
-          # configure script would override the LC_ALL setting. Likewise for
-          # LC_CTYPE, which is also set at the beginning of the configure script.
-          # Test for the locale name without encoding suffix.
-          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-            gt_cv_locale_zh_CN=zh_CN
-          else
-            # Test for the locale name with explicit encoding suffix.
-            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-              gt_cv_locale_zh_CN=zh_CN.GB18030
-            else
-              # None found.
-              gt_cv_locale_zh_CN=none
-            fi
-          fi
-          ;;
+ac_prog=ld
+if test "$GCC" = yes; then
+  # Check if gcc -print-prog-name=ld gives a path.
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+  case $host in
+  *-*-mingw*)
+    # gcc leaves a trailing carriage return which upsets mingw
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+  *)
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+  esac
+  case $ac_prog in
+    # Accept absolute paths.
+    [\\/]* | ?:[\\/]*)
+      re_direlt='/[^/][^/]*/\.\./'
+      # Canonicalize the pathname of ld
+      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
+      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
+        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+      done
+      test -z "$LD" && LD="$ac_prog"
+      ;;
+  "")
+    # If it fails, then pretend we aren't using GCC.
+    ac_prog=ld
+    ;;
+  *)
+    # If it is relative, then search for the first ld in PATH.
+    with_gnu_ld=unknown
+    ;;
+  esac
+elif test "$with_gnu_ld" = yes; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${acl_cv_path_LD+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -z "$LD"; then
+  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+  for ac_dir in $PATH; do
+    IFS="$acl_save_ifs"
+    test -z "$ac_dir" && ac_dir=.
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+      acl_cv_path_LD="$ac_dir/$ac_prog"
+      # Check to see if the program is GNU ld.  I'd rather use --version,
+      # but apparently some variants of GNU ld only accept -v.
+      # Break only if it was the GNU/non-GNU ld that we prefer.
+      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
+      *GNU* | *'with BFD'*)
+        test "$with_gnu_ld" != no && break
+        ;;
+      *)
+        test "$with_gnu_ld" != yes && break
+        ;;
       esac
-    else
-      # If there was a link error, due to mblen(), the system is so old that
-      # it certainly doesn't have a chinese locale.
-      gt_cv_locale_zh_CN=none
     fi
-    rm -fr conftest*
+  done
+  IFS="$acl_save_ifs"
+else
+  acl_cv_path_LD="$LD" # Let the user override the test with a path.
+fi
+fi
 
+LD="$acl_cv_path_LD"
+if test -n "$LD"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
-$as_echo "$gt_cv_locale_zh_CN" >&6; }
-  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${acl_cv_prog_gnu_ld+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+  acl_cv_prog_gnu_ld=yes
+  ;;
+*)
+  acl_cv_prog_gnu_ld=no
+  ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
+$as_echo "$acl_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$acl_cv_prog_gnu_ld
 
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
-$as_echo_n "checking for a french Unicode locale... " >&6; }
-if ${gt_cv_locale_fr_utf8+:} false; then :
+                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
+$as_echo_n "checking for shared library run path origin... " >&6; }
+if ${acl_cv_rpath+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-#include <locale.h>
-#include <time.h>
-#if HAVE_LANGINFO_CODESET
-# include <langinfo.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
-struct tm t;
-char buf[16];
-int main () {
-  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
-     imitates locale dependent behaviour by looking at the environment
-     variables, and all locales use the UTF-8 encoding.  */
-#if !(defined __BEOS__ || defined __HAIKU__)
-  /* Check whether the given locale name is recognized by the system.  */
-# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
-  /* On native Windows, setlocale(category, "") looks at the system settings,
-     not at the environment variables.  Also, when an encoding suffix such
-     as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
-     category of the locale to "C".  */
-  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
-      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
-    return 1;
-# else
-  if (setlocale (LC_ALL, "") == NULL) return 1;
-# endif
-  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
-     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
-     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
-     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
-     some unit tests fail.  */
-# if HAVE_LANGINFO_CODESET
-  {
-    const char *cs = nl_langinfo (CODESET);
-    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
-      return 1;
-  }
-# endif
-# ifdef __CYGWIN__
-  /* On Cygwin, avoid locale names without encoding suffix, because the
-     locale_charset() function relies on the encoding suffix.  Note that
-     LC_ALL is set on the command line.  */
-  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
-# endif
-  /* Check whether in the abbreviation of the second month, the second
-     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
-     two bytes long, with UTF-8 encoding.  */
-  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
-  if (strftime (buf, sizeof (buf), "%b", &t) < 4
-      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
-    return 1;
-#endif
-#if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
-  /* Check whether the decimal separator is a comma.
-     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
-     are nl_langinfo(RADIXCHAR) are both ".".  */
-  if (localeconv () ->decimal_point[0] != ',') return 1;
-#endif
-  return 0;
-}
-
-_ACEOF
-    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-  (eval $ac_link) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && test -s conftest$ac_exeext; then
-      case "$host_os" in
-        # Handle native Windows specially, because there setlocale() interprets
-        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
-        # "fr" or "fra" as "French" or "French_France.1252",
-        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
-        # "ja" as "Japanese" or "Japanese_Japan.932",
-        # and similar.
-        mingw*)
-          # Test for the hypothetical native Windows locale name.
-          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-            gt_cv_locale_fr_utf8=French_France.65001
-          else
-            # None found.
-            gt_cv_locale_fr_utf8=none
-          fi
-          ;;
-        *)
-          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
-          # configure script would override the LC_ALL setting. Likewise for
-          # LC_CTYPE, which is also set at the beginning of the configure script.
-          # Test for the usual locale name.
-          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-            gt_cv_locale_fr_utf8=fr_FR
-          else
-            # Test for the locale name with explicit encoding suffix.
-            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-              gt_cv_locale_fr_utf8=fr_FR.UTF-8
-            else
-              # Test for the Solaris 7 locale name.
-              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
-                gt_cv_locale_fr_utf8=fr.UTF-8
-              else
-                # None found.
-                gt_cv_locale_fr_utf8=none
-              fi
-            fi
-          fi
-          ;;
-      esac
-    fi
-    rm -fr conftest*
+    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
+    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
+    . ./conftest.sh
+    rm -f ./conftest.sh
+    acl_cv_rpath=done
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
-$as_echo "$gt_cv_locale_fr_utf8" >&6; }
-  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
-
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
+$as_echo "$acl_cv_rpath" >&6; }
+  wl="$acl_cv_wl"
+  acl_libext="$acl_cv_libext"
+  acl_shlibext="$acl_cv_shlibext"
+  acl_libname_spec="$acl_cv_libname_spec"
+  acl_library_names_spec="$acl_cv_library_names_spec"
+  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
+  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
+  acl_hardcode_direct="$acl_cv_hardcode_direct"
+  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
+    # Check whether --enable-rpath was given.
+if test "${enable_rpath+set}" = set; then :
+  enableval=$enable_rpath; :
+else
+  enable_rpath=yes
+fi
 
 
 
 
+  acl_libdirstem=lib
+  acl_libdirstem2=
+  case "$host_os" in
+    solaris*)
+                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
+$as_echo_n "checking for 64-bit host... " >&6; }
+if ${gl_cv_solaris_64bit+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
+#ifdef _LP64
+sixtyfour bits
+#endif
 
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
+  gl_cv_solaris_64bit=yes
+else
+  gl_cv_solaris_64bit=no
+fi
+rm -f conftest*
 
 
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
+$as_echo "$gl_cv_solaris_64bit" >&6; }
+      if test $gl_cv_solaris_64bit = yes; then
+        acl_libdirstem=lib/64
+        case "$host_cpu" in
+          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
+          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
+        esac
+      fi
+      ;;
+    *)
+      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
+      if test -n "$searchpath"; then
+        acl_save_IFS="${IFS=   }"; IFS=":"
+        for searchdir in $searchpath; do
+          if test -d "$searchdir"; then
+            case "$searchdir" in
+              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
+              */../ | */.. )
+                # Better ignore directories of this form. They are misleading.
+                ;;
+              *) searchdir=`cd "$searchdir" && pwd`
+                 case "$searchdir" in
+                   */lib64 ) acl_libdirstem=lib64 ;;
+                 esac ;;
+            esac
+          fi
+        done
+        IFS="$acl_save_IFS"
+      fi
+      ;;
+  esac
+  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
-$as_echo_n "checking for ssize_t... " >&6; }
-if ${gt_cv_ssize_t+:} false; then :
+  gl_threads_api=none
+  LIBTHREAD=
+  LTLIBTHREAD=
+  LIBMULTITHREAD=
+  LTLIBMULTITHREAD=
+  if test "$gl_use_threads" != no; then
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
+$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
+if ${gl_cv_have_weak+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  gl_cv_have_weak=no
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <sys/types.h>
+extern void xyzzy ();
+#pragma weak xyzzy
 int
 main ()
 {
-int x = sizeof (ssize_t *) + sizeof (ssize_t);
-            return !x;
+xyzzy();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gt_cv_ssize_t=yes
-else
-  gt_cv_ssize_t=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_have_weak=maybe
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
-$as_echo "$gt_cv_ssize_t" >&6; }
-  if test $gt_cv_ssize_t = no; then
-
-$as_echo "#define ssize_t int" >>confdefs.h
-
-  fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+       if test $gl_cv_have_weak = maybe; then
+                           if test "$cross_compiling" = yes; then :
+                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifdef __ELF__
+               Extensible Linking Format
+               #endif
 
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
+  gl_cv_have_weak="guessing yes"
+else
+  gl_cv_have_weak="guessing no"
+fi
+rm -f conftest*
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
-$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
-if ${ac_cv_header_stdbool_h+:} false; then :
-  $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-             #include <stdbool.h>
-             #ifndef bool
-              "error: bool is not defined"
-             #endif
-             #ifndef false
-              "error: false is not defined"
-             #endif
-             #if false
-              "error: false is not 0"
-             #endif
-             #ifndef true
-              "error: true is not defined"
-             #endif
-             #if true != 1
-              "error: true is not 1"
-             #endif
-             #ifndef __bool_true_false_are_defined
-              "error: __bool_true_false_are_defined is not defined"
-             #endif
-
-             struct s { _Bool s: 1; _Bool t; } s;
-
-             char a[true == 1 ? 1 : -1];
-             char b[false == 0 ? 1 : -1];
-             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
-             char d[(bool) 0.5 == true ? 1 : -1];
-             /* See body of main program for 'e'.  */
-             char f[(_Bool) 0.0 == false ? 1 : -1];
-             char g[true];
-             char h[sizeof (_Bool)];
-             char i[sizeof s.t];
-             enum { j = false, k = true, l = false * true, m = true * 256 };
-             /* The following fails for
-                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
-             _Bool n[m];
-             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
-             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
-             /* Catch a bug in an HP-UX C compiler.  See
-                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
-                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
-              */
-             _Bool q = true;
-             _Bool *pq = &q;
-
-int
-main ()
+#include <stdio.h>
+#pragma weak fputs
+int main ()
 {
-
-             bool e = &s;
-             *pq |= q;
-             *pq |= ! q;
-             /* Refer to every declared value, to avoid compiler optimizations.  */
-             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
-                     + !m + !n + !o + !p + !q + !pq);
-
-  ;
-  return 0;
+  return (fputs == NULL);
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stdbool_h=yes
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_have_weak=yes
 else
-  ac_cv_header_stdbool_h=no
+  gl_cv_have_weak=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
-$as_echo "$ac_cv_header_stdbool_h" >&6; }
-   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
-if test "x$ac_cv_type__Bool" = xyes; then :
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE__BOOL 1
-_ACEOF
 
+       fi
 
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
+$as_echo "$gl_cv_have_weak" >&6; }
+    if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
+      # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
+      # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
+      ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
+if test "x$ac_cv_header_pthread_h" = xyes; then :
+  gl_have_pthread_h=yes
+else
+  gl_have_pthread_h=no
 fi
 
 
-
-    REPLACE_NULL=0;
-  HAVE_WCHAR_T=1;
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
-$as_echo_n "checking for wchar_t... " >&6; }
-if ${gt_cv_c_wchar_t+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      if test "$gl_have_pthread_h" = yes; then
+        # Other possible tests:
+        #   -lpthreads (FSU threads, PCthreads)
+        #   -lgthreads
+        gl_have_pthread=
+        # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
+        # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
+        # the second one only in libpthread, and lock.c needs it.
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stddef.h>
-            wchar_t foo = (wchar_t)'\0';
+#include <pthread.h>
 int
 main ()
 {
-
+pthread_mutex_lock((pthread_mutex_t*)0);
+               pthread_mutexattr_init((pthread_mutexattr_t*)0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gt_cv_c_wchar_t=yes
-else
-  gt_cv_c_wchar_t=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
-$as_echo "$gt_cv_c_wchar_t" >&6; }
-  if test $gt_cv_c_wchar_t = yes; then
-
-$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
-
-  fi
-
-
-  GNULIB_FFS=0;
-    HAVE_FFS=1;
-  HAVE_STRCASECMP=1;
-  HAVE_DECL_STRNCASECMP=1;
-
-
-  GNULIB_FFSL=0;
-  GNULIB_FFSLL=0;
-  GNULIB_MEMCHR=0;
-  GNULIB_MEMMEM=0;
-  GNULIB_MEMPCPY=0;
-  GNULIB_MEMRCHR=0;
-  GNULIB_RAWMEMCHR=0;
-  GNULIB_STPCPY=0;
-  GNULIB_STPNCPY=0;
-  GNULIB_STRCHRNUL=0;
-  GNULIB_STRDUP=0;
-  GNULIB_STRNCAT=0;
-  GNULIB_STRNDUP=0;
-  GNULIB_STRNLEN=0;
-  GNULIB_STRPBRK=0;
-  GNULIB_STRSEP=0;
-  GNULIB_STRSTR=0;
-  GNULIB_STRCASESTR=0;
-  GNULIB_STRTOK_R=0;
-  GNULIB_MBSLEN=0;
-  GNULIB_MBSNLEN=0;
-  GNULIB_MBSCHR=0;
-  GNULIB_MBSRCHR=0;
-  GNULIB_MBSSTR=0;
-  GNULIB_MBSCASECMP=0;
-  GNULIB_MBSNCASECMP=0;
-  GNULIB_MBSPCASECMP=0;
-  GNULIB_MBSCASESTR=0;
-  GNULIB_MBSCSPN=0;
-  GNULIB_MBSPBRK=0;
-  GNULIB_MBSSPN=0;
-  GNULIB_MBSSEP=0;
-  GNULIB_MBSTOK_R=0;
-  GNULIB_STRERROR=0;
-  GNULIB_STRERROR_R=0;
-  GNULIB_STRSIGNAL=0;
-  GNULIB_STRVERSCMP=0;
-  HAVE_MBSLEN=0;
-    HAVE_FFSL=1;
-  HAVE_FFSLL=1;
-  HAVE_MEMCHR=1;
-  HAVE_DECL_MEMMEM=1;
-  HAVE_MEMPCPY=1;
-  HAVE_DECL_MEMRCHR=1;
-  HAVE_RAWMEMCHR=1;
-  HAVE_STPCPY=1;
-  HAVE_STPNCPY=1;
-  HAVE_STRCHRNUL=1;
-  HAVE_DECL_STRDUP=1;
-  HAVE_DECL_STRNDUP=1;
-  HAVE_DECL_STRNLEN=1;
-  HAVE_STRPBRK=1;
-  HAVE_STRSEP=1;
-  HAVE_STRCASESTR=1;
-  HAVE_DECL_STRTOK_R=1;
-  HAVE_DECL_STRERROR_R=1;
-  HAVE_DECL_STRSIGNAL=1;
-  HAVE_STRVERSCMP=1;
-  REPLACE_MEMCHR=0;
-  REPLACE_MEMMEM=0;
-  REPLACE_STPNCPY=0;
-  REPLACE_STRDUP=0;
-  REPLACE_STRSTR=0;
-  REPLACE_STRCASESTR=0;
-  REPLACE_STRCHRNUL=0;
-  REPLACE_STRERROR=0;
-  REPLACE_STRERROR_R=0;
-  REPLACE_STRNCAT=0;
-  REPLACE_STRNDUP=0;
-  REPLACE_STRNLEN=0;
-  REPLACE_STRSIGNAL=0;
-  REPLACE_STRTOK_R=0;
-  UNDEFINE_STRTOK_R=0;
-
-
-
-ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default"
-if test "x$ac_cv_have_decl_strdup" = xyes; then :
-  ac_have_decl=1
-else
-  ac_have_decl=0
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_have_pthread=yes
 fi
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_STRDUP $ac_have_decl
-_ACEOF
-
-
-  REPLACE_STRERROR_0=0
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
-$as_echo_n "checking whether strerror(0) succeeds... " >&6; }
-if ${gl_cv_func_strerror_0_works+:} false; then :
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+        # Test for libpthread by looking for pthread_kill. (Not pthread_self,
+        # since it is defined as a macro on OSF/1.)
+        if test -n "$gl_have_pthread"; then
+          # The program links fine without libpthread. But it may actually
+          # need to link with libpthread in order to create multiple threads.
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
+$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
+if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test "$cross_compiling" = yes; then :
-         gl_cv_func_strerror_0_works="guessing no"
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpthread  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <string.h>
-           #include <errno.h>
 
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_kill ();
 int
 main ()
 {
-int result = 0;
-           char *str;
-           errno = 0;
-           str = strerror (0);
-           if (!*str) result |= 1;
-           if (errno) result |= 2;
-           if (strstr (str, "nknown") || strstr (str, "ndefined"))
-             result |= 4;
-           return result;
+return pthread_kill ();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gl_cv_func_strerror_0_works=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_pthread_pthread_kill=yes
 else
-  gl_cv_func_strerror_0_works=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
+  ac_cv_lib_pthread_pthread_kill=no
 fi
-
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5
-$as_echo "$gl_cv_func_strerror_0_works" >&6; }
-  if test "$gl_cv_func_strerror_0_works" != yes; then
-    REPLACE_STRERROR_0=1
-
-$as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h
-
-  fi
-
-
-
-
-
-
-
-
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
+$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
+if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
+  LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
+             # On Solaris and HP-UX, most pthread functions exist also in libc.
+             # Therefore pthread_in_use() needs to actually try to create a
+             # thread: pthread_create from libc will fail, whereas
+             # pthread_create will actually create a thread.
+             case "$host_os" in
+               solaris* | hpux*)
 
-  if test $ac_cv_func_strerror_r = yes; then
-    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
-                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror_r with POSIX signature" >&5
-$as_echo_n "checking for strerror_r with POSIX signature... " >&6; }
-if ${gl_cv_func_strerror_r_posix_signature+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <string.h>
-                int strerror_r (int, char *, size_t);
+$as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
 
-int
-main ()
-{
+             esac
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_func_strerror_r_posix_signature=yes
-else
-  gl_cv_func_strerror_r_posix_signature=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_posix_signature" >&5
-$as_echo "$gl_cv_func_strerror_r_posix_signature" >&6; }
-      if test $gl_cv_func_strerror_r_posix_signature = yes; then
-                                                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r works" >&5
-$as_echo_n "checking whether strerror_r works... " >&6; }
-if ${gl_cv_func_strerror_r_works+:} false; then :
+        else
+          # Some library is needed. Try libpthread and libc_r.
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
+$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
+if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test "$cross_compiling" = yes; then :
-
-              case "$host_os" in
-                       # Guess no on AIX.
-                aix*)  gl_cv_func_strerror_r_works="guessing no";;
-                       # Guess no on HP-UX.
-                hpux*) gl_cv_func_strerror_r_works="guessing no";;
-                       # Guess no on BSD variants.
-                *bsd*)  gl_cv_func_strerror_r_works="guessing no";;
-                       # Guess yes otherwise.
-                *)     gl_cv_func_strerror_r_works="guessing yes";;
-              esac
-
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpthread  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <errno.h>
-                  #include <string.h>
 
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_kill ();
 int
 main ()
 {
-int result = 0;
-                  char buf[79];
-                  if (strerror_r (EACCES, buf, 0) < 0)
-                    result |= 1;
-                  errno = 0;
-                  if (strerror_r (EACCES, buf, sizeof buf) != 0)
-                    result |= 2;
-                  strcpy (buf, "Unknown");
-                  if (strerror_r (0, buf, sizeof buf) != 0)
-                    result |= 4;
-                  if (errno)
-                    result |= 8;
-                  if (strstr (buf, "nknown") || strstr (buf, "ndefined"))
-                    result |= 0x10;
-                  errno = 0;
-                  *buf = 0;
-                  if (strerror_r (-3, buf, sizeof buf) < 0)
-                    result |= 0x20;
-                  if (errno)
-                    result |= 0x40;
-                  if (!*buf)
-                    result |= 0x80;
-                  return result;
-
+return pthread_kill ();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gl_cv_func_strerror_r_works=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_pthread_pthread_kill=yes
 else
-  gl_cv_func_strerror_r_works=no
+  ac_cv_lib_pthread_pthread_kill=no
 fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
+$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
+if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
+  gl_have_pthread=yes
+             LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
+             LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_works" >&5
-$as_echo "$gl_cv_func_strerror_r_works" >&6; }
-      else
 
-                        if test $ac_cv_func___xpg_strerror_r = yes; then
-          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __xpg_strerror_r works" >&5
-$as_echo_n "checking whether __xpg_strerror_r works... " >&6; }
-if ${gl_cv_func_strerror_r_works+:} false; then :
+          if test -z "$gl_have_pthread"; then
+            # For FreeBSD 4.
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
+$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
+if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test "$cross_compiling" = yes; then :
-                                  gl_cv_func_strerror_r_works="guessing no"
-
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lc_r  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <errno.h>
-                    #include <string.h>
-                    extern
-                    #ifdef __cplusplus
-                    "C"
-                    #endif
-                    int __xpg_strerror_r(int, char *, size_t);
 
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_kill ();
 int
 main ()
 {
-int result = 0;
-                    char buf[256] = "^";
-                    char copy[256];
-                    char *str = strerror (-1);
-                    strcpy (copy, str);
-                    if (__xpg_strerror_r (-2, buf, 1) == 0)
-                      result |= 1;
-                    if (*buf)
-                      result |= 2;
-                    __xpg_strerror_r (-2, buf, 256);
-                    if (strcmp (str, copy))
-                      result |= 4;
-                    return result;
-
+return pthread_kill ();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gl_cv_func_strerror_r_works=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_c_r_pthread_kill=yes
 else
-  gl_cv_func_strerror_r_works=no
+  ac_cv_lib_c_r_pthread_kill=no
 fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
+$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
+if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
+  gl_have_pthread=yes
+               LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
+               LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_works" >&5
-$as_echo "$gl_cv_func_strerror_r_works" >&6; }
-        fi
-      fi
-    fi
-  fi
-
-
-
-
-
-
-
-
 
+          fi
+        fi
+        if test -n "$gl_have_pthread"; then
+          gl_threads_api=posix
 
+$as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
 
+          if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
+            if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
 
-     if test $gl_cv_have_include_next = yes; then
-       gl_cv_next_string_h='<'string.h'>'
-     else
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
-$as_echo_n "checking absolute name of <string.h>... " >&6; }
-if ${gl_cv_next_string_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+              LIBTHREAD=
+              LTLIBTHREAD=
+            fi
+          fi
+        fi
+      fi
+    fi
+    if test -z "$gl_have_pthread"; then
+      if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
+        gl_have_solaristhread=
+        gl_save_LIBS="$LIBS"
+        LIBS="$LIBS -lthread"
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <string.h>
-
-_ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
-
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'string.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
-$as_echo "$gl_cv_next_string_h" >&6; }
-     fi
-     NEXT_STRING_H=$gl_cv_next_string_h
-
-     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
-       gl_next_as_first_directive='<'string.h'>'
-     else
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
-       gl_next_as_first_directive=$gl_cv_next_string_h
-     fi
-     NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
-
-
 
-
-
-
-    for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul      strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r      strerror_r strsignal strverscmp; do
-    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
-$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
-if eval \${$as_gl_Symbol+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <string.h>
+#include <thread.h>
+#include <synch.h>
 
 int
 main ()
 {
-#undef $gl_func
-  (void) $gl_func;
+thr_self();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$as_gl_Symbol=yes"
-else
-  eval "$as_gl_Symbol=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$as_gl_Symbol
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
-_ACEOF
-
-                     eval ac_cv_have_decl_$gl_func=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_have_solaristhread=yes
 fi
-      done
-
-
-
-
-
-
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+        LIBS="$gl_save_LIBS"
+        if test -n "$gl_have_solaristhread"; then
+          gl_threads_api=solaris
+          LIBTHREAD=-lthread
+          LTLIBTHREAD=-lthread
+          LIBMULTITHREAD="$LIBTHREAD"
+          LTLIBMULTITHREAD="$LTLIBTHREAD"
 
+$as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
 
+          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
 
+$as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
 
+            LIBTHREAD=
+            LTLIBTHREAD=
+          fi
+        fi
+      fi
+    fi
+    if test "$gl_use_threads" = pth; then
+      gl_save_CPPFLAGS="$CPPFLAGS"
 
 
 
 
 
-     if test $gl_cv_have_include_next = yes; then
-       gl_cv_next_strings_h='<'strings.h'>'
-     else
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <strings.h>" >&5
-$as_echo_n "checking absolute name of <strings.h>... " >&6; }
-if ${gl_cv_next_strings_h+:} false; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
+$as_echo_n "checking how to link with libpth... " >&6; }
+if ${ac_cv_libpth_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-             if test $ac_cv_header_strings_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <strings.h>
 
-_ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'strings.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_strings_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
-          else
-               gl_cv_next_strings_h='<'strings.h'>'
-             fi
 
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5
-$as_echo "$gl_cv_next_strings_h" >&6; }
-     fi
-     NEXT_STRINGS_H=$gl_cv_next_strings_h
 
-     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
-       gl_next_as_first_directive='<'strings.h'>'
-     else
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
-       gl_next_as_first_directive=$gl_cv_next_strings_h
-     fi
-     NEXT_AS_FIRST_DIRECTIVE_STRINGS_H=$gl_next_as_first_directive
+    use_additional=yes
 
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
 
+    eval additional_includedir=\"$includedir\"
+    eval additional_libdir=\"$libdir\"
 
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
 
-  if test $ac_cv_header_strings_h = yes; then
-    HAVE_STRINGS_H=1
-  else
-    HAVE_STRINGS_H=0
-  fi
 
+# Check whether --with-libpth-prefix was given.
+if test "${with_libpth_prefix+set}" = set; then :
+  withval=$with_libpth_prefix;
+    if test "X$withval" = "Xno"; then
+      use_additional=no
+    else
+      if test "X$withval" = "X"; then
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+
+          eval additional_includedir=\"$includedir\"
+          eval additional_libdir=\"$libdir\"
+
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+      else
+        additional_includedir="$withval/include"
+        additional_libdir="$withval/$acl_libdirstem"
+        if test "$acl_libdirstem2" != "$acl_libdirstem" \
+           && ! test -d "$withval/$acl_libdirstem"; then
+          additional_libdir="$withval/$acl_libdirstem2"
+        fi
+      fi
+    fi
+
+fi
+
+      LIBPTH=
+  LTLIBPTH=
+  INCPTH=
+  LIBPTH_PREFIX=
+      HAVE_LIBPTH=
+  rpathdirs=
+  ltrpathdirs=
+  names_already_handled=
+  names_next_round='pth '
+  while test -n "$names_next_round"; do
+    names_this_round="$names_next_round"
+    names_next_round=
+    for name in $names_this_round; do
+      already_handled=
+      for n in $names_already_handled; do
+        if test "$n" = "$name"; then
+          already_handled=yes
+          break
+        fi
+      done
+      if test -z "$already_handled"; then
+        names_already_handled="$names_already_handled $name"
+                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
+        eval value=\"\$HAVE_LIB$uppername\"
+        if test -n "$value"; then
+          if test "$value" = yes; then
+            eval value=\"\$LIB$uppername\"
+            test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
+            eval value=\"\$LTLIB$uppername\"
+            test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
+          else
+                                    :
+          fi
+        else
+                              found_dir=
+          found_la=
+          found_so=
+          found_a=
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
+          if test -n "$acl_shlibext"; then
+            shrext=".$acl_shlibext"             # typically: shrext=.so
+          else
+            shrext=
+          fi
+          if test $use_additional = yes; then
+            dir="$additional_libdir"
+                                    if test -n "$acl_shlibext"; then
+              if test -f "$dir/$libname$shrext"; then
+                found_dir="$dir"
+                found_so="$dir/$libname$shrext"
+              else
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
+                  ver=`(cd "$dir" && \
+                        for f in "$libname$shrext".*; do echo "$f"; done \
+                        | sed -e "s,^$libname$shrext\\\\.,," \
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
+                        | sed 1q ) 2>/dev/null`
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
+                    found_dir="$dir"
+                    found_so="$dir/$libname$shrext.$ver"
+                  fi
+                else
+                  eval library_names=\"$acl_library_names_spec\"
+                  for f in $library_names; do
+                    if test -f "$dir/$f"; then
+                      found_dir="$dir"
+                      found_so="$dir/$f"
+                      break
+                    fi
+                  done
+                fi
+              fi
+            fi
+                        if test "X$found_dir" = "X"; then
+              if test -f "$dir/$libname.$acl_libext"; then
+                found_dir="$dir"
+                found_a="$dir/$libname.$acl_libext"
+              fi
+            fi
+            if test "X$found_dir" != "X"; then
+              if test -f "$dir/$libname.la"; then
+                found_la="$dir/$libname.la"
+              fi
+            fi
+          fi
+          if test "X$found_dir" = "X"; then
+            for x in $LDFLAGS $LTLIBPTH; do
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+              case "$x" in
+                -L*)
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
+                                    if test -n "$acl_shlibext"; then
+                    if test -f "$dir/$libname$shrext"; then
+                      found_dir="$dir"
+                      found_so="$dir/$libname$shrext"
+                    else
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
+                        ver=`(cd "$dir" && \
+                              for f in "$libname$shrext".*; do echo "$f"; done \
+                              | sed -e "s,^$libname$shrext\\\\.,," \
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
+                              | sed 1q ) 2>/dev/null`
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
+                          found_dir="$dir"
+                          found_so="$dir/$libname$shrext.$ver"
+                        fi
+                      else
+                        eval library_names=\"$acl_library_names_spec\"
+                        for f in $library_names; do
+                          if test -f "$dir/$f"; then
+                            found_dir="$dir"
+                            found_so="$dir/$f"
+                            break
+                          fi
+                        done
+                      fi
+                    fi
+                  fi
+                                    if test "X$found_dir" = "X"; then
+                    if test -f "$dir/$libname.$acl_libext"; then
+                      found_dir="$dir"
+                      found_a="$dir/$libname.$acl_libext"
+                    fi
+                  fi
+                  if test "X$found_dir" != "X"; then
+                    if test -f "$dir/$libname.la"; then
+                      found_la="$dir/$libname.la"
+                    fi
+                  fi
+                  ;;
+              esac
+              if test "X$found_dir" != "X"; then
+                break
+              fi
+            done
+          fi
+          if test "X$found_dir" != "X"; then
+                        LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
+            if test "X$found_so" != "X"; then
+                                                        if test "$enable_rpath" = no \
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
+                                LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
+              else
+                                                                                haveit=
+                for x in $ltrpathdirs; do
+                  if test "X$x" = "X$found_dir"; then
+                    haveit=yes
+                    break
+                  fi
+                done
+                if test -z "$haveit"; then
+                  ltrpathdirs="$ltrpathdirs $found_dir"
+                fi
+                                if test "$acl_hardcode_direct" = yes; then
+                                                      LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
+                else
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
+                                                            LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
+                                                            haveit=
+                    for x in $rpathdirs; do
+                      if test "X$x" = "X$found_dir"; then
+                        haveit=yes
+                        break
+                      fi
+                    done
+                    if test -z "$haveit"; then
+                      rpathdirs="$rpathdirs $found_dir"
+                    fi
+                  else
+                                                                                haveit=
+                    for x in $LDFLAGS $LIBPTH; do
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+                      if test "X$x" = "X-L$found_dir"; then
+                        haveit=yes
+                        break
+                      fi
+                    done
+                    if test -z "$haveit"; then
+                      LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
+                    fi
+                    if test "$acl_hardcode_minus_L" != no; then
+                                                                                        LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
+                    else
+                                                                                                                                                                                LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
+                    fi
+                  fi
+                fi
+              fi
+            else
+              if test "X$found_a" != "X"; then
+                                LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
+              else
+                                                LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
+              fi
+            fi
+                        additional_includedir=
+            case "$found_dir" in
+              */$acl_libdirstem | */$acl_libdirstem/)
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
+                if test "$name" = 'pth'; then
+                  LIBPTH_PREFIX="$basedir"
+                fi
+                additional_includedir="$basedir/include"
+                ;;
+              */$acl_libdirstem2 | */$acl_libdirstem2/)
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
+                if test "$name" = 'pth'; then
+                  LIBPTH_PREFIX="$basedir"
+                fi
+                additional_includedir="$basedir/include"
+                ;;
+            esac
+            if test "X$additional_includedir" != "X"; then
+                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
+                haveit=
+                if test "X$additional_includedir" = "X/usr/local/include"; then
+                  if test -n "$GCC"; then
+                    case $host_os in
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+                    esac
+                  fi
+                fi
+                if test -z "$haveit"; then
+                  for x in $CPPFLAGS $INCPTH; do
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+                    if test "X$x" = "X-I$additional_includedir"; then
+                      haveit=yes
+                      break
+                    fi
+                  done
+                  if test -z "$haveit"; then
+                    if test -d "$additional_includedir"; then
+                                            INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
+                    fi
+                  fi
+                fi
+              fi
+            fi
+                        if test -n "$found_la"; then
+                                                        save_libdir="$libdir"
+              case "$found_la" in
+                */* | *\\*) . "$found_la" ;;
+                *) . "./$found_la" ;;
+              esac
+              libdir="$save_libdir"
+                            for dep in $dependency_libs; do
+                case "$dep" in
+                  -L*)
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
+                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
+                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
+                      haveit=
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
+                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
+                        if test -n "$GCC"; then
+                          case $host_os in
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+                          esac
+                        fi
+                      fi
+                      if test -z "$haveit"; then
+                        haveit=
+                        for x in $LDFLAGS $LIBPTH; do
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+                          if test "X$x" = "X-L$additional_libdir"; then
+                            haveit=yes
+                            break
+                          fi
+                        done
+                        if test -z "$haveit"; then
+                          if test -d "$additional_libdir"; then
+                                                        LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
+                          fi
+                        fi
+                        haveit=
+                        for x in $LDFLAGS $LTLIBPTH; do
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+                          if test "X$x" = "X-L$additional_libdir"; then
+                            haveit=yes
+                            break
+                          fi
+                        done
+                        if test -z "$haveit"; then
+                          if test -d "$additional_libdir"; then
+                                                        LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
+                          fi
+                        fi
+                      fi
+                    fi
+                    ;;
+                  -R*)
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
+                    if test "$enable_rpath" != no; then
+                                                                  haveit=
+                      for x in $rpathdirs; do
+                        if test "X$x" = "X$dir"; then
+                          haveit=yes
+                          break
+                        fi
+                      done
+                      if test -z "$haveit"; then
+                        rpathdirs="$rpathdirs $dir"
+                      fi
+                                                                  haveit=
+                      for x in $ltrpathdirs; do
+                        if test "X$x" = "X$dir"; then
+                          haveit=yes
+                          break
+                        fi
+                      done
+                      if test -z "$haveit"; then
+                        ltrpathdirs="$ltrpathdirs $dir"
+                      fi
+                    fi
+                    ;;
+                  -l*)
+                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
+                    ;;
+                  *.la)
+                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
+                    ;;
+                  *)
+                                        LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
+                    LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
+                    ;;
+                esac
+              done
+            fi
+          else
+                                                            LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
+            LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
+          fi
+        fi
+      fi
+    done
+  done
+  if test "X$rpathdirs" != "X"; then
+    if test -n "$acl_hardcode_libdir_separator"; then
+                        alldirs=
+      for found_dir in $rpathdirs; do
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
+      done
+            acl_save_libdir="$libdir"
+      libdir="$alldirs"
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
+      libdir="$acl_save_libdir"
+      LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
+    else
+            for found_dir in $rpathdirs; do
+        acl_save_libdir="$libdir"
+        libdir="$found_dir"
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
+        libdir="$acl_save_libdir"
+        LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
+      done
+    fi
+  fi
+  if test "X$ltrpathdirs" != "X"; then
+            for found_dir in $ltrpathdirs; do
+      LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
+    done
+  fi
 
 
-    for gl_func in ffs strcasecmp strncasecmp; do
-    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
-$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
-if eval \${$as_gl_Symbol+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-    /* Minix 3.1.8 has a bug: <sys/types.h> must be included before
-       <strings.h>.  */
-    #include <sys/types.h>
-    #include <strings.h>
 
+
+
+    ac_cv_libpth_libs="$LIBPTH"
+    ac_cv_libpth_ltlibs="$LTLIBPTH"
+    ac_cv_libpth_cppflags="$INCPTH"
+    ac_cv_libpth_prefix="$LIBPTH_PREFIX"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
+$as_echo "$ac_cv_libpth_libs" >&6; }
+  LIBPTH="$ac_cv_libpth_libs"
+  LTLIBPTH="$ac_cv_libpth_ltlibs"
+  INCPTH="$ac_cv_libpth_cppflags"
+  LIBPTH_PREFIX="$ac_cv_libpth_prefix"
+
+  for element in $INCPTH; do
+    haveit=
+    for x in $CPPFLAGS; do
+
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+      if test "X$x" = "X$element"; then
+        haveit=yes
+        break
+      fi
+    done
+    if test -z "$haveit"; then
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
+    fi
+  done
+
+
+
+
+      HAVE_LIBPTH=yes
+
+
+
+      gl_have_pth=
+      gl_save_LIBS="$LIBS"
+      LIBS="$LIBS $LIBPTH"
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pth.h>
 int
 main ()
 {
-#undef $gl_func
-  (void) $gl_func;
+pth_self();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$as_gl_Symbol=yes"
-else
-  eval "$as_gl_Symbol=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_have_pth=yes
 fi
-eval ac_res=\$$as_gl_Symbol
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
-_ACEOF
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+      LIBS="$gl_save_LIBS"
+      if test -n "$gl_have_pth"; then
+        gl_threads_api=pth
+        LIBTHREAD="$LIBPTH"
+        LTLIBTHREAD="$LTLIBPTH"
+        LIBMULTITHREAD="$LIBTHREAD"
+        LTLIBMULTITHREAD="$LTLIBTHREAD"
 
-                     eval ac_cv_have_decl_$gl_func=yes
-fi
-      done
+$as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
 
+        if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
+          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
 
-ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
-if test "x$ac_cv_have_decl_strndup" = xyes; then :
-  ac_have_decl=1
-else
-  ac_have_decl=0
-fi
+$as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
 
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_STRNDUP $ac_have_decl
-_ACEOF
+            LIBTHREAD=
+            LTLIBTHREAD=
+          fi
+        fi
+      else
+        CPPFLAGS="$gl_save_CPPFLAGS"
+      fi
+    fi
+    if test -z "$gl_have_pthread"; then
+      case "$gl_use_threads" in
+        yes | windows | win32) # The 'win32' is for backward compatibility.
+          if { case "$host_os" in
+                 mingw*) true;;
+                 *) false;;
+               esac
+             }; then
+            gl_threads_api=windows
 
+$as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h
 
+          fi
+          ;;
+      esac
+    fi
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
+$as_echo_n "checking for multithread API to use... " >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
+$as_echo "$gl_threads_api" >&6; }
 
-ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
-if test "x$ac_cv_have_decl_strnlen" = xyes; then :
-  ac_have_decl=1
-else
-  ac_have_decl=0
-fi
 
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_STRNLEN $ac_have_decl
-_ACEOF
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
-$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
-if ${ac_cv_header_stat_broken+:} false; then :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+     if test $gl_cv_have_include_next = yes; then
+       gl_cv_next_sys_types_h='<'sys/types.h'>'
+     else
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
+$as_echo_n "checking absolute name of <sys/types.h>... " >&6; }
+if ${gl_cv_next_sys_types_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
+
+
+
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/types.h>
-#include <sys/stat.h>
+_ACEOF
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-#if defined S_ISBLK && defined S_IFDIR
-extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
-#endif
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'sys/types.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
 
-#if defined S_ISBLK && defined S_IFCHR
-extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
-#endif
+        gl_cv_absolute_sys_types_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
 
-#if defined S_ISLNK && defined S_IFREG
-extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
-#endif
+           gl_header=$gl_cv_absolute_sys_types_h
+           gl_cv_next_sys_types_h='"'$gl_header'"'
 
-#if defined S_ISSOCK && defined S_IFREG
-extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
-#endif
 
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stat_broken=no
-else
-  ac_cv_header_stat_broken=yes
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
-$as_echo "$ac_cv_header_stat_broken" >&6; }
-if test $ac_cv_header_stat_broken = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
+$as_echo "$gl_cv_next_sys_types_h" >&6; }
+     fi
+     NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
 
-$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
+       gl_next_as_first_directive='<'sys/types.h'>'
+     else
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
+       gl_next_as_first_directive=$gl_cv_next_sys_types_h
+     fi
+     NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive
 
-fi
 
 
 
 
 
 
-  GNULIB_MKTIME=0;
-  GNULIB_NANOSLEEP=0;
-  GNULIB_STRPTIME=0;
-  GNULIB_TIMEGM=0;
-  GNULIB_TIME_R=0;
-    HAVE_DECL_LOCALTIME_R=1;
-  HAVE_NANOSLEEP=1;
-  HAVE_STRPTIME=1;
-  HAVE_TIMEGM=1;
-        REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;
-  REPLACE_MKTIME=GNULIB_PORTCHECK;
-  REPLACE_NANOSLEEP=GNULIB_PORTCHECK;
-  REPLACE_TIMEGM=GNULIB_PORTCHECK;
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
-$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
-if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
+
+
+
+
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
+if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
   $as_echo_n "(cached) " >&6
+else
+  rm -f conftest.sym conftest.file
+     echo >conftest.file
+     if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
+       if test "$cross_compiling" = yes; then :
+  case "$host_os" in
+                    # Guess yes on glibc systems.
+            *-gnu*) gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
+                    # If we don't know, assume the worst.
+            *)      gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
+          esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <time.h>
-
+$ac_includes_default
 int
 main ()
 {
-static struct timespec x; x.tv_sec = x.tv_nsec;
+struct stat sbuf;
+              /* Linux will dereference the symlink and fail, as required by
+                 POSIX.  That is better in the sense that it means we will not
+                 have to compile and use the lstat wrapper.  */
+              return lstat ("conftest.sym/", &sbuf) == 0;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_sys_struct_timespec_in_time_h=yes
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_func_lstat_dereferences_slashed_symlink=yes
 else
-  gl_cv_sys_struct_timespec_in_time_h=no
+  gl_cv_func_lstat_dereferences_slashed_symlink=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
-$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
 
-  TIME_H_DEFINES_STRUCT_TIMESPEC=0
-  SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
-  PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
-  if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
-    TIME_H_DEFINES_STRUCT_TIMESPEC=1
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
-$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
-if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
+     else
+       # If the 'ln -s' command failed, then we probably don't even
+       # have an lstat function.
+       gl_cv_func_lstat_dereferences_slashed_symlink="guessing no"
+     fi
+     rm -f conftest.sym conftest.file
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
+$as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
+  case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
+    *yes)
+
+cat >>confdefs.h <<_ACEOF
+#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
+_ACEOF
+
+      ;;
+  esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+     for ac_i in 1 2 3 4 5 6 7; do
+       ac_script="$ac_script$as_nl$ac_script"
+     done
+     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+     { ac_script=; unset ac_script;}
+     if test -z "$SED"; then
+  ac_path_SED_found=false
+  # Loop through the user's path and test for each of PROGNAME-LIST
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_prog in sed gsed; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
+      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+      as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+  # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+  ac_count=0
+  $as_echo_n 0123456789 >"conftest.in"
+  while :
+  do
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
+    mv "conftest.tmp" "conftest.in"
+    cp "conftest.in" "conftest.nl"
+    $as_echo '' >> "conftest.nl"
+    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
+    if test $ac_count -gt ${ac_path_SED_max-0}; then
+      # Best one so far, save it but keep looking for a better one
+      ac_cv_path_SED="$ac_path_SED"
+      ac_path_SED_max=$ac_count
+    fi
+    # 10*(2^10) chars as input seems more than enough
+    test $ac_count -gt 10 && break
+  done
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+      $ac_path_SED_found && break 3
+    done
+  done
+  done
+IFS=$as_save_IFS
+  if test -z "$ac_cv_path_SED"; then
+    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+  fi
+else
+  ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+  rm -f conftest.sed
+
+
+
+      for ac_header in stdlib.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
   $as_echo_n "(cached) " >&6
+else
+  if test "$cross_compiling" = yes; then :
+  case "$host_os" in
+          # Guess yes on platforms where we know the result.
+          *-gnu* | freebsd* | netbsd* | openbsd* \
+          | hpux* | solaris* | cygwin* | mingw*)
+            ac_cv_func_malloc_0_nonnull=yes ;;
+          # If we don't know, assume the worst.
+          *) ac_cv_func_malloc_0_nonnull=no ;;
+        esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <sys/time.h>
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+            # include <stdlib.h>
+            #else
+            char *malloc ();
+            #endif
 
 int
 main ()
 {
-static struct timespec x; x.tv_sec = x.tv_nsec;
+return ! malloc (0);
   ;
   return 0;
 }
+
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_sys_struct_timespec_in_sys_time_h=yes
+if ac_fn_c_try_run "$LINENO"; then :
+  ac_cv_func_malloc_0_nonnull=yes
 else
-  gl_cv_sys_struct_timespec_in_sys_time_h=no
+  ac_cv_func_malloc_0_nonnull=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
-$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
-    if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
-      SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
-    else
-      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
-$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
-if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
+  if test $ac_cv_func_malloc_0_nonnull = yes; then :
+  gl_cv_func_malloc_0_nonnull=1
+else
+  gl_cv_func_malloc_0_nonnull=0
+fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
+_ACEOF
+
+
+
+
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
+$as_echo_n "checking for mbstate_t... " >&6; }
+if ${ac_cv_type_mbstate_t+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <pthread.h>
-
+$ac_includes_default
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
+   <wchar.h>.
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
+   included before <wchar.h>.  */
+#include <stddef.h>
+#include <stdio.h>
+#include <time.h>
+#include <wchar.h>
 int
 main ()
 {
-static struct timespec x; x.tv_sec = x.tv_nsec;
+mbstate_t x; return sizeof x;
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_sys_struct_timespec_in_pthread_h=yes
+  ac_cv_type_mbstate_t=yes
 else
-  gl_cv_sys_struct_timespec_in_pthread_h=no
+  ac_cv_type_mbstate_t=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
-$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
-      if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
-        PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
-      fi
-    fi
-  fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
+$as_echo "$ac_cv_type_mbstate_t" >&6; }
+   if test $ac_cv_type_mbstate_t = yes; then
 
+$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
 
+   else
 
+$as_echo "#define mbstate_t int" >>confdefs.h
 
+   fi
 
 
 
@@ -13388,191 +14065,589 @@ $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
 
 
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
+if ${gt_cv_locale_ja+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
+#include <locale.h>
+#include <time.h>
+#if HAVE_LANGINFO_CODESET
+# include <langinfo.h>
+#endif
+#include <stdlib.h>
+#include <string.h>
+struct tm t;
+char buf[16];
+int main ()
+{
+  const char *p;
+  /* Check whether the given locale name is recognized by the system.  */
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
+  /* On native Windows, setlocale(category, "") looks at the system settings,
+     not at the environment variables.  Also, when an encoding suffix such
+     as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
+     category of the locale to "C".  */
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
+    return 1;
+#else
+  if (setlocale (LC_ALL, "") == NULL) return 1;
+#endif
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
+     some unit tests fail.
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
+#if HAVE_LANGINFO_CODESET
+  {
+    const char *cs = nl_langinfo (CODESET);
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
+        || strcmp (cs, "UTF-8") == 0)
+      return 1;
+  }
+#endif
+#ifdef __CYGWIN__
+  /* On Cygwin, avoid locale names without encoding suffix, because the
+     locale_charset() function relies on the encoding suffix.  Note that
+     LC_ALL is set on the command line.  */
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
+#endif
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
+     on Cygwin 1.5.x.  */
+  if (MB_CUR_MAX == 1)
+    return 1;
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
+     This excludes the UTF-8 encoding (except on MirBSD).  */
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
+  for (p = buf; *p != '\0'; p++)
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
+      return 1;
+  return 0;
+}
 
-     if test $gl_cv_have_include_next = yes; then
-       gl_cv_next_time_h='<'time.h'>'
-     else
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
-$as_echo_n "checking absolute name of <time.h>... " >&6; }
-if ${gl_cv_next_time_h+:} false; then :
+_ACEOF
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
+      case "$host_os" in
+        # Handle native Windows specially, because there setlocale() interprets
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
+        # "fr" or "fra" as "French" or "French_France.1252",
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
+        # "ja" as "Japanese" or "Japanese_Japan.932",
+        # and similar.
+        mingw*)
+          # Note that on native Windows, the Japanese locale is
+          # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
+          # cannot use it here.
+          gt_cv_locale_ja=none
+          ;;
+        *)
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
+          # configure script would override the LC_ALL setting. Likewise for
+          # LC_CTYPE, which is also set at the beginning of the configure script.
+          # Test for the AIX locale name.
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+            gt_cv_locale_ja=ja_JP
+          else
+            # Test for the locale name with explicit encoding suffix.
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+              gt_cv_locale_ja=ja_JP.EUC-JP
+            else
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+                gt_cv_locale_ja=ja_JP.eucJP
+              else
+                # Test for the IRIX, FreeBSD locale name.
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+                  gt_cv_locale_ja=ja_JP.EUC
+                else
+                  # Test for the Solaris 7 locale name.
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+                    gt_cv_locale_ja=ja
+                  else
+                    # Special test for NetBSD 1.6.
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
+                      gt_cv_locale_ja=ja_JP.eucJP
+                    else
+                      # None found.
+                      gt_cv_locale_ja=none
+                    fi
+                  fi
+                fi
+              fi
+            fi
+          fi
+          ;;
+      esac
+    fi
+    rm -fr conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
+$as_echo "$gt_cv_locale_ja" >&6; }
+  LOCALE_JA=$gt_cv_locale_ja
+
+
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
+if ${gt_cv_locale_zh_CN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
+#include <locale.h>
+#include <stdlib.h>
 #include <time.h>
+#if HAVE_LANGINFO_CODESET
+# include <langinfo.h>
+#endif
+#include <stdlib.h>
+#include <string.h>
+struct tm t;
+char buf[16];
+int main ()
+{
+  const char *p;
+  /* Check whether the given locale name is recognized by the system.  */
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
+  /* On native Windows, setlocale(category, "") looks at the system settings,
+     not at the environment variables.  Also, when an encoding suffix such
+     as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
+     category of the locale to "C".  */
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
+    return 1;
+#else
+  if (setlocale (LC_ALL, "") == NULL) return 1;
+#endif
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
+     some unit tests fail.
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
+#if HAVE_LANGINFO_CODESET
+  {
+    const char *cs = nl_langinfo (CODESET);
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
+        || strcmp (cs, "UTF-8") == 0)
+      return 1;
+  }
+#endif
+#ifdef __CYGWIN__
+  /* On Cygwin, avoid locale names without encoding suffix, because the
+     locale_charset() function relies on the encoding suffix.  Note that
+     LC_ALL is set on the command line.  */
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
+#endif
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
+     This excludes the UTF-8 encoding (except on MirBSD).  */
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
+  for (p = buf; *p != '\0'; p++)
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
+      return 1;
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
+  if (mblen ("\203\062\332\066", 5) != 4)
+    return 1;
+  return 0;
+}
 
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
-
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
+      case "$host_os" in
+        # Handle native Windows specially, because there setlocale() interprets
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
+        # "fr" or "fra" as "French" or "French_France.1252",
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
+        # "ja" as "Japanese" or "Japanese_Japan.932",
+        # and similar.
+        mingw*)
+          # Test for the hypothetical native Windows locale name.
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+            gt_cv_locale_zh_CN=Chinese_China.54936
+          else
+            # None found.
+            gt_cv_locale_zh_CN=none
+          fi
+          ;;
+        solaris2.8)
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
+          gt_cv_locale_zh_CN=none
+          ;;
+        *)
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
+          # configure script would override the LC_ALL setting. Likewise for
+          # LC_CTYPE, which is also set at the beginning of the configure script.
+          # Test for the locale name without encoding suffix.
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+            gt_cv_locale_zh_CN=zh_CN
+          else
+            # Test for the locale name with explicit encoding suffix.
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+              gt_cv_locale_zh_CN=zh_CN.GB18030
+            else
+              # None found.
+              gt_cv_locale_zh_CN=none
+            fi
+          fi
+          ;;
+      esac
+    else
+      # If there was a link error, due to mblen(), the system is so old that
+      # it certainly doesn't have a chinese locale.
+      gt_cv_locale_zh_CN=none
+    fi
+    rm -fr conftest*
 
-               gl_header_literal_regex=`echo 'time.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
 
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
-$as_echo "$gl_cv_next_time_h" >&6; }
-     fi
-     NEXT_TIME_H=$gl_cv_next_time_h
 
-     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
-       gl_next_as_first_directive='<'time.h'>'
-     else
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
-       gl_next_as_first_directive=$gl_cv_next_time_h
-     fi
-     NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
+$as_echo_n "checking for a french Unicode locale... " >&6; }
+if ${gt_cv_locale_fr_utf8+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
+#include <locale.h>
+#include <time.h>
+#if HAVE_LANGINFO_CODESET
+# include <langinfo.h>
+#endif
+#include <stdlib.h>
+#include <string.h>
+struct tm t;
+char buf[16];
+int main () {
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
+     imitates locale dependent behaviour by looking at the environment
+     variables, and all locales use the UTF-8 encoding.  */
+#if !(defined __BEOS__ || defined __HAIKU__)
+  /* Check whether the given locale name is recognized by the system.  */
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
+  /* On native Windows, setlocale(category, "") looks at the system settings,
+     not at the environment variables.  Also, when an encoding suffix such
+     as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
+     category of the locale to "C".  */
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
+    return 1;
+# else
+  if (setlocale (LC_ALL, "") == NULL) return 1;
+# endif
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
+     some unit tests fail.  */
+# if HAVE_LANGINFO_CODESET
+  {
+    const char *cs = nl_langinfo (CODESET);
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
+      return 1;
+  }
+# endif
+# ifdef __CYGWIN__
+  /* On Cygwin, avoid locale names without encoding suffix, because the
+     locale_charset() function relies on the encoding suffix.  Note that
+     LC_ALL is set on the command line.  */
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
+# endif
+  /* Check whether in the abbreviation of the second month, the second
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
+     two bytes long, with UTF-8 encoding.  */
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
+    return 1;
+#endif
+#if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
+  /* Check whether the decimal separator is a comma.
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
+     are nl_langinfo(RADIXCHAR) are both ".".  */
+  if (localeconv () ->decimal_point[0] != ',') return 1;
+#endif
+  return 0;
+}
 
+_ACEOF
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
+      case "$host_os" in
+        # Handle native Windows specially, because there setlocale() interprets
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
+        # "fr" or "fra" as "French" or "French_France.1252",
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
+        # "ja" as "Japanese" or "Japanese_Japan.932",
+        # and similar.
+        mingw*)
+          # Test for the hypothetical native Windows locale name.
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+            gt_cv_locale_fr_utf8=French_France.65001
+          else
+            # None found.
+            gt_cv_locale_fr_utf8=none
+          fi
+          ;;
+        *)
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
+          # configure script would override the LC_ALL setting. Likewise for
+          # LC_CTYPE, which is also set at the beginning of the configure script.
+          # Test for the usual locale name.
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+            gt_cv_locale_fr_utf8=fr_FR
+          else
+            # Test for the locale name with explicit encoding suffix.
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
+            else
+              # Test for the Solaris 7 locale name.
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
+                gt_cv_locale_fr_utf8=fr.UTF-8
+              else
+                # None found.
+                gt_cv_locale_fr_utf8=none
+              fi
+            fi
+          fi
+          ;;
+      esac
+    fi
+    rm -fr conftest*
 
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
 
 
 
 
 
 
+ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
+if test "x$ac_cv_have_decl_alarm" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
-  if test $ac_cv_header_features_h = yes; then
-    HAVE_FEATURES_H=1
-  else
-    HAVE_FEATURES_H=0
-  fi
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_ALARM $ac_have_decl
+_ACEOF
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
-$as_echo_n "checking for wint_t... " >&6; }
-if ${gt_cv_c_wint_t+:} false; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
+$as_echo_n "checking for inline... " >&6; }
+if ${ac_cv_c_inline+:} false; then :
   $as_echo_n "(cached) " >&6
 else
+  ac_cv_c_inline=no
+for ac_kw in inline __inline__ __inline; do
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#ifndef __cplusplus
+typedef int foo_t;
+static $ac_kw foo_t static_foo () {return 0; }
+$ac_kw foo_t foo () {return 0; }
+#endif
 
-/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
-   <wchar.h>.
-   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
-   before <wchar.h>.  */
-#include <stddef.h>
-#include <stdio.h>
-#include <time.h>
-#include <wchar.h>
-            wint_t foo = (wchar_t)'\0';
-int
-main ()
-{
-
-  ;
-  return 0;
-}
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
-  gt_cv_c_wint_t=yes
-else
-  gt_cv_c_wint_t=no
+  ac_cv_c_inline=$ac_kw
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
-$as_echo "$gt_cv_c_wint_t" >&6; }
-  if test $gt_cv_c_wint_t = yes; then
-
-$as_echo "#define HAVE_WINT_T 1" >>confdefs.h
-
-  fi
-
+  test "$ac_cv_c_inline" != no && break
+done
 
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
+$as_echo "$ac_cv_c_inline" >&6; }
 
+case $ac_cv_c_inline in
+  inline | yes) ;;
+  *)
+    case $ac_cv_c_inline in
+      no) ac_val=;;
+      *) ac_val=$ac_cv_c_inline;;
+    esac
+    cat >>confdefs.h <<_ACEOF
+#ifndef __cplusplus
+#define inline $ac_val
+#endif
+_ACEOF
+    ;;
+esac
 
-  GNULIB_ISWBLANK=0;
-  GNULIB_WCTYPE=0;
-  GNULIB_ISWCTYPE=0;
-  GNULIB_WCTRANS=0;
-  GNULIB_TOWCTRANS=0;
-    HAVE_ISWBLANK=1;
-  HAVE_WCTYPE_T=1;
-  HAVE_WCTRANS_T=1;
-  REPLACE_ISWBLANK=0;
 
 
 
 
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
+$as_echo_n "checking for ssize_t... " >&6; }
+if ${gt_cv_ssize_t+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/types.h>
+int
+main ()
+{
+int x = sizeof (ssize_t *) + sizeof (ssize_t);
+            return !x;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gt_cv_ssize_t=yes
+else
+  gt_cv_ssize_t=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
+$as_echo "$gt_cv_ssize_t" >&6; }
+  if test $gt_cv_ssize_t = no; then
 
+$as_echo "#define ssize_t int" >>confdefs.h
 
+  fi
 
 
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
-$as_echo_n "checking if environ is properly declared... " >&6; }
-  if ${gt_cv_var_environ_declaration+:} false; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
+$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
+if ${ac_cv_header_stdbool_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#if HAVE_UNISTD_H
-     #include <unistd.h>
-     #endif
-     /* mingw, BeOS, Haiku declare environ in <stdlib.h>, not in <unistd.h>.  */
-     #include <stdlib.h>
 
-           extern struct { int foo; } environ;
+             #include <stdbool.h>
+             #ifndef bool
+              "error: bool is not defined"
+             #endif
+             #ifndef false
+              "error: false is not defined"
+             #endif
+             #if false
+              "error: false is not 0"
+             #endif
+             #ifndef true
+              "error: true is not defined"
+             #endif
+             #if true != 1
+              "error: true is not 1"
+             #endif
+             #ifndef __bool_true_false_are_defined
+              "error: __bool_true_false_are_defined is not defined"
+             #endif
+
+             struct s { _Bool s: 1; _Bool t; } s;
+
+             char a[true == 1 ? 1 : -1];
+             char b[false == 0 ? 1 : -1];
+             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
+             char d[(bool) 0.5 == true ? 1 : -1];
+             /* See body of main program for 'e'.  */
+             char f[(_Bool) 0.0 == false ? 1 : -1];
+             char g[true];
+             char h[sizeof (_Bool)];
+             char i[sizeof s.t];
+             enum { j = false, k = true, l = false * true, m = true * 256 };
+             /* The following fails for
+                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
+             _Bool n[m];
+             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
+             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
+             /* Catch a bug in an HP-UX C compiler.  See
+                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
+                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
+              */
+             _Bool q = true;
+             _Bool *pq = &q;
+
 int
 main ()
 {
-environ.foo = 1;
+
+             bool e = &s;
+             *pq |= q;
+             *pq |= ! q;
+             /* Refer to every declared value, to avoid compiler optimizations.  */
+             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
+                     + !m + !n + !o + !p + !q + !pq);
+
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
-  gt_cv_var_environ_declaration=no
+  ac_cv_header_stdbool_h=yes
 else
-  gt_cv_var_environ_declaration=yes
+  ac_cv_header_stdbool_h=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
+$as_echo "$ac_cv_header_stdbool_h" >&6; }
+   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
+if test "x$ac_cv_type__Bool" = xyes; then :
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
-$as_echo "$gt_cv_var_environ_declaration" >&6; }
-  if test $gt_cv_var_environ_declaration = yes; then
-
-$as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE__BOOL 1
+_ACEOF
 
-  fi
 
+fi
 
-  if test $gt_cv_var_environ_declaration != yes; then
-    HAVE_DECL_ENVIRON=0
-  fi
 
 
   GNULIB_DPRINTF=0;
@@ -13599,7 +14674,6 @@ $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
   GNULIB_GETCHAR=0;
   GNULIB_GETDELIM=0;
   GNULIB_GETLINE=0;
-  GNULIB_GETS=0;
   GNULIB_OBSTACK_PRINTF=0;
   GNULIB_OBSTACK_PRINTF_POSIX=0;
   GNULIB_PCLOSE=0;
@@ -13679,783 +14753,412 @@ $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
   REPLACE_VSPRINTF=0;
 
 
+  GNULIB_FFSL=0;
+  GNULIB_FFSLL=0;
+  GNULIB_MEMCHR=0;
+  GNULIB_MEMMEM=0;
+  GNULIB_MEMPCPY=0;
+  GNULIB_MEMRCHR=0;
+  GNULIB_RAWMEMCHR=0;
+  GNULIB_STPCPY=0;
+  GNULIB_STPNCPY=0;
+  GNULIB_STRCHRNUL=0;
+  GNULIB_STRDUP=0;
+  GNULIB_STRNCAT=0;
+  GNULIB_STRNDUP=0;
+  GNULIB_STRNLEN=0;
+  GNULIB_STRPBRK=0;
+  GNULIB_STRSEP=0;
+  GNULIB_STRSTR=0;
+  GNULIB_STRCASESTR=0;
+  GNULIB_STRTOK_R=0;
+  GNULIB_MBSLEN=0;
+  GNULIB_MBSNLEN=0;
+  GNULIB_MBSCHR=0;
+  GNULIB_MBSRCHR=0;
+  GNULIB_MBSSTR=0;
+  GNULIB_MBSCASECMP=0;
+  GNULIB_MBSNCASECMP=0;
+  GNULIB_MBSPCASECMP=0;
+  GNULIB_MBSCASESTR=0;
+  GNULIB_MBSCSPN=0;
+  GNULIB_MBSPBRK=0;
+  GNULIB_MBSSPN=0;
+  GNULIB_MBSSEP=0;
+  GNULIB_MBSTOK_R=0;
+  GNULIB_STRERROR=0;
+  GNULIB_STRERROR_R=0;
+  GNULIB_STRSIGNAL=0;
+  GNULIB_STRVERSCMP=0;
+  HAVE_MBSLEN=0;
+    HAVE_FFSL=1;
+  HAVE_FFSLL=1;
+  HAVE_MEMCHR=1;
+  HAVE_DECL_MEMMEM=1;
+  HAVE_MEMPCPY=1;
+  HAVE_DECL_MEMRCHR=1;
+  HAVE_RAWMEMCHR=1;
+  HAVE_STPCPY=1;
+  HAVE_STPNCPY=1;
+  HAVE_STRCHRNUL=1;
+  HAVE_DECL_STRDUP=1;
+  HAVE_DECL_STRNDUP=1;
+  HAVE_DECL_STRNLEN=1;
+  HAVE_STRPBRK=1;
+  HAVE_STRSEP=1;
+  HAVE_STRCASESTR=1;
+  HAVE_DECL_STRTOK_R=1;
+  HAVE_DECL_STRERROR_R=1;
+  HAVE_DECL_STRSIGNAL=1;
+  HAVE_STRVERSCMP=1;
+  REPLACE_MEMCHR=0;
+  REPLACE_MEMMEM=0;
+  REPLACE_STPNCPY=0;
+  REPLACE_STRDUP=0;
+  REPLACE_STRSTR=0;
+  REPLACE_STRCASESTR=0;
+  REPLACE_STRCHRNUL=0;
+  REPLACE_STRERROR=0;
+  REPLACE_STRERROR_R=0;
+  REPLACE_STRNCAT=0;
+  REPLACE_STRNDUP=0;
+  REPLACE_STRNLEN=0;
+  REPLACE_STRSIGNAL=0;
+  REPLACE_STRTOK_R=0;
+  UNDEFINE_STRTOK_R=0;
 
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5
-$as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; }
-if ${gl_cv_func_getcwd_null+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-
-       case "$host_os" in
-                               # Guess yes on glibc systems.
-         *-gnu*)               gl_cv_func_getcwd_null="guessing yes";;
-                               # Guess yes on Cygwin.
-         cygwin*)              gl_cv_func_getcwd_null="guessing yes";;
-                               # If we don't know, assume the worst.
-         *)                    gl_cv_func_getcwd_null="guessing no";;
-       esac
-
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-#        if HAVE_UNISTD_H
-#         include <unistd.h>
-#        else /* on Windows with MSVC */
-#         include <direct.h>
-#        endif
-#        ifndef getcwd
-         char *getcwd ();
-#        endif
-
-int
-main ()
-{
-
-#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* mingw cwd does not start with '/', but getcwd does allocate.
-   However, mingw fails to honor non-zero size.  */
-#else
-           if (chdir ("/") != 0)
-             return 1;
-           else
-             {
-               char *f = getcwd (NULL, 0);
-               if (! f)
-                 return 2;
-               if (f[0] != '/')
-                 return 3;
-               if (f[1] != '\0')
-                 return 4;
-               return 0;
-             }
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gl_cv_func_getcwd_null=yes
-else
-  gl_cv_func_getcwd_null=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_null" >&5
-$as_echo "$gl_cv_func_getcwd_null" >&6; }
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5
-$as_echo_n "checking for getcwd with POSIX signature... " >&6; }
-if ${gl_cv_func_getcwd_posix_signature+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <unistd.h>
-int
-main ()
-{
-extern
-           #ifdef __cplusplus
-           "C"
-           #endif
-           char *getcwd (char *, size_t);
-
-  ;
-  return 0;
-}
-
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_func_getcwd_posix_signature=yes
-else
-  gl_cv_func_getcwd_posix_signature=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5
-$as_echo "$gl_cv_func_getcwd_posix_signature" >&6; }
-
-
-  GNULIB_SETLOCALE=0;
-  GNULIB_DUPLOCALE=0;
-    HAVE_DUPLOCALE=1;
-  REPLACE_SETLOCALE=0;
-  REPLACE_DUPLOCALE=0;
-
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
-$as_echo_n "checking for LC_MESSAGES... " >&6; }
-if ${gt_cv_val_LC_MESSAGES+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <locale.h>
-int
-main ()
-{
-return LC_MESSAGES
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gt_cv_val_LC_MESSAGES=yes
-else
-  gt_cv_val_LC_MESSAGES=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
-$as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
-  if test $gt_cv_val_LC_MESSAGES = yes; then
-
-$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
-
-  fi
-
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
-$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
-if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  gt_save_LIBS="$LIBS"
-     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
-     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <CoreFoundation/CFPreferences.h>
-int
-main ()
-{
-CFPreferencesCopyAppValue(NULL, NULL)
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gt_cv_func_CFPreferencesCopyAppValue=yes
-else
-  gt_cv_func_CFPreferencesCopyAppValue=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-     LIBS="$gt_save_LIBS"
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
-$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
-  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
-
-$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
-
-  fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
-$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
-if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  gt_save_LIBS="$LIBS"
-     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
-     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <CoreFoundation/CFLocale.h>
-int
-main ()
-{
-CFLocaleCopyCurrent();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gt_cv_func_CFLocaleCopyCurrent=yes
-else
-  gt_cv_func_CFLocaleCopyCurrent=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-     LIBS="$gt_save_LIBS"
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
-$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
-  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
-
-$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
-
-  fi
-  INTL_MACOSX_LIBS=
-  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
-    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
-  fi
-
-
-
-      if test "X$prefix" = "XNONE"; then
-    acl_final_prefix="$ac_default_prefix"
-  else
-    acl_final_prefix="$prefix"
-  fi
-  if test "X$exec_prefix" = "XNONE"; then
-    acl_final_exec_prefix='${prefix}'
-  else
-    acl_final_exec_prefix="$exec_prefix"
-  fi
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
-  prefix="$acl_save_prefix"
-
-
-# Check whether --with-gnu-ld was given.
-if test "${with_gnu_ld+set}" = set; then :
-  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
-else
-  with_gnu_ld=no
-fi
-
-# Prepare PATH_SEPARATOR.
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
-  # contains only /bin. Note that ksh looks also at the FPATH variable,
-  # so we have to set that as well for the test.
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
-    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
-           || PATH_SEPARATOR=';'
-       }
-fi
-ac_prog=ld
-if test "$GCC" = yes; then
-  # Check if gcc -print-prog-name=ld gives a path.
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
-$as_echo_n "checking for ld used by GCC... " >&6; }
-  case $host in
-  *-*-mingw*)
-    # gcc leaves a trailing carriage return which upsets mingw
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
-  *)
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
-  esac
-  case $ac_prog in
-    # Accept absolute paths.
-    [\\/]* | [A-Za-z]:[\\/]*)
-      re_direlt='/[^/][^/]*/\.\./'
-      # Canonicalize the path of ld
-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
-        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
-      done
-      test -z "$LD" && LD="$ac_prog"
-      ;;
-  "")
-    # If it fails, then pretend we aren't using GCC.
-    ac_prog=ld
-    ;;
-  *)
-    # If it is relative, then search for the first ld in PATH.
-    with_gnu_ld=unknown
-    ;;
-  esac
-elif test "$with_gnu_ld" = yes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
-$as_echo_n "checking for GNU ld... " >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
-$as_echo_n "checking for non-GNU ld... " >&6; }
-fi
-if ${acl_cv_path_LD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$LD"; then
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
-  for ac_dir in $PATH; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
-      acl_cv_path_LD="$ac_dir/$ac_prog"
-      # Check to see if the program is GNU ld.  I'd rather use --version,
-      # but apparently some GNU ld's only accept -v.
-      # Break only if it was the GNU/non-GNU ld that we prefer.
-      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
-      *GNU* | *'with BFD'*)
-        test "$with_gnu_ld" != no && break ;;
-      *)
-        test "$with_gnu_ld" != yes && break ;;
-      esac
-    fi
-  done
-  IFS="$ac_save_ifs"
-else
-  acl_cv_path_LD="$LD" # Let the user override the test with a path.
-fi
-fi
-
-LD="$acl_cv_path_LD"
-if test -n "$LD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
-$as_echo "$LD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
-$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if ${acl_cv_prog_gnu_ld+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
-case `$LD -v 2>&1 </dev/null` in
-*GNU* | *'with BFD'*)
-  acl_cv_prog_gnu_ld=yes ;;
-*)
-  acl_cv_prog_gnu_ld=no ;;
-esac
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
-$as_echo "$acl_cv_prog_gnu_ld" >&6; }
-with_gnu_ld=$acl_cv_prog_gnu_ld
-
-
-
-
-                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
-$as_echo_n "checking for shared library run path origin... " >&6; }
-if ${acl_cv_rpath+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
-    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
-    . ./conftest.sh
-    rm -f ./conftest.sh
-    acl_cv_rpath=done
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
-$as_echo "$acl_cv_rpath" >&6; }
-  wl="$acl_cv_wl"
-  acl_libext="$acl_cv_libext"
-  acl_shlibext="$acl_cv_shlibext"
-  acl_libname_spec="$acl_cv_libname_spec"
-  acl_library_names_spec="$acl_cv_library_names_spec"
-  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
-  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
-  acl_hardcode_direct="$acl_cv_hardcode_direct"
-  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
-    # Check whether --enable-rpath was given.
-if test "${enable_rpath+set}" = set; then :
-  enableval=$enable_rpath; :
+ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default"
+if test "x$ac_cv_have_decl_strdup" = xyes; then :
+  ac_have_decl=1
 else
-  enable_rpath=yes
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRDUP $ac_have_decl
+_ACEOF
 
 
-
-  acl_libdirstem=lib
-  acl_libdirstem2=
-  case "$host_os" in
-    solaris*)
-                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
-$as_echo_n "checking for 64-bit host... " >&6; }
-if ${gl_cv_solaris_64bit+:} false; then :
+     REPLACE_STRERROR_0=0
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
+$as_echo_n "checking whether strerror(0) succeeds... " >&6; }
+if ${gl_cv_func_strerror_0_works+:} false; then :
   $as_echo_n "(cached) " >&6
+else
+  if test "$cross_compiling" = yes; then :
+  case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_strerror_0_works="guessing no" ;;
+       esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <string.h>
+           #include <errno.h>
 
-#ifdef _LP64
-sixtyfour bits
-#endif
-
+int
+main ()
+{
+int result = 0;
+           char *str;
+           errno = 0;
+           str = strerror (0);
+           if (!*str) result |= 1;
+           if (errno) result |= 2;
+           if (strstr (str, "nknown") || strstr (str, "ndefined"))
+             result |= 4;
+           return result;
+  ;
+  return 0;
+}
 _ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
-  gl_cv_solaris_64bit=yes
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_func_strerror_0_works=yes
 else
-  gl_cv_solaris_64bit=no
+  gl_cv_func_strerror_0_works=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-rm -f conftest*
 
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
-$as_echo "$gl_cv_solaris_64bit" >&6; }
-      if test $gl_cv_solaris_64bit = yes; then
-        acl_libdirstem=lib/64
-        case "$host_cpu" in
-          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
-          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
-        esac
-      fi
-      ;;
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5
+$as_echo "$gl_cv_func_strerror_0_works" >&6; }
+  case "$gl_cv_func_strerror_0_works" in
+    *yes) ;;
     *)
-      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
-      if test -n "$searchpath"; then
-        acl_save_IFS="${IFS=   }"; IFS=":"
-        for searchdir in $searchpath; do
-          if test -d "$searchdir"; then
-            case "$searchdir" in
-              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
-              */../ | */.. )
-                # Better ignore directories of this form. They are misleading.
-                ;;
-              *) searchdir=`cd "$searchdir" && pwd`
-                 case "$searchdir" in
-                   */lib64 ) acl_libdirstem=lib64 ;;
-                 esac ;;
-            esac
-          fi
-        done
-        IFS="$acl_save_IFS"
-      fi
+      REPLACE_STRERROR_0=1
+
+$as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h
+
       ;;
   esac
-  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
 
 
 
-  gl_threads_api=none
-  LIBTHREAD=
-  LTLIBTHREAD=
-  LIBMULTITHREAD=
-  LTLIBMULTITHREAD=
-  if test "$gl_use_threads" != no; then
-        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
-$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
-if ${gl_cv_have_weak+:} false; then :
+
+
+
+
+
+
+
+
+
+     if test $gl_cv_have_include_next = yes; then
+       gl_cv_next_string_h='<'string.h'>'
+     else
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
+$as_echo_n "checking absolute name of <string.h>... " >&6; }
+if ${gl_cv_next_string_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  gl_cv_have_weak=no
-              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-extern void xyzzy ();
-#pragma weak xyzzy
-int
-main ()
-{
-xyzzy();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_have_weak=maybe
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-       if test $gl_cv_have_weak = maybe; then
-                           if test "$cross_compiling" = yes; then :
-                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __ELF__
-               Extensible Linking Format
-               #endif
 
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
-  gl_cv_have_weak="guessing yes"
-else
-  gl_cv_have_weak="guessing no"
-fi
-rm -f conftest*
 
 
-else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-
-#include <stdio.h>
-#pragma weak fputs
-int main ()
-{
-  return (fputs == NULL);
-}
+#include <string.h>
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gl_cv_have_weak=yes
-else
-  gl_cv_have_weak=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-       fi
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'string.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
-$as_echo "$gl_cv_have_weak" >&6; }
-    if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
-      # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
-      # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
-      ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
-if test "x$ac_cv_header_pthread_h" = xyes; then :
-  gl_have_pthread_h=yes
-else
-  gl_have_pthread_h=no
-fi
+        gl_cv_absolute_string_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_string_h
+           gl_cv_next_string_h='"'$gl_header'"'
 
 
-      if test "$gl_have_pthread_h" = yes; then
-        # Other possible tests:
-        #   -lpthreads (FSU threads, PCthreads)
-        #   -lgthreads
-        gl_have_pthread=
-        # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
-        # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
-        # the second one only in libpthread, and lock.c needs it.
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <pthread.h>
-int
-main ()
-{
-pthread_mutex_lock((pthread_mutex_t*)0);
-               pthread_mutexattr_init((pthread_mutexattr_t*)0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_have_pthread=yes
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-        # Test for libpthread by looking for pthread_kill. (Not pthread_self,
-        # since it is defined as a macro on OSF/1.)
-        if test -n "$gl_have_pthread"; then
-          # The program links fine without libpthread. But it may actually
-          # need to link with libpthread in order to create multiple threads.
-          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
-$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
-if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
+$as_echo "$gl_cv_next_string_h" >&6; }
+     fi
+     NEXT_STRING_H=$gl_cv_next_string_h
+
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
+       gl_next_as_first_directive='<'string.h'>'
+     else
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
+       gl_next_as_first_directive=$gl_cv_next_string_h
+     fi
+     NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
+
+
+
+
+
+
+    for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul      strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r      strerror_r strsignal strverscmp; do
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
+if eval \${$as_gl_Symbol+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <string.h>
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char pthread_kill ();
 int
 main ()
 {
-return pthread_kill ();
+#undef $gl_func
+  (void) $gl_func;
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_pthread_pthread_kill=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$as_gl_Symbol=yes"
 else
-  ac_cv_lib_pthread_pthread_kill=no
+  eval "$as_gl_Symbol=no"
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
-$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
-if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
-  LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
-             # On Solaris and HP-UX, most pthread functions exist also in libc.
-             # Therefore pthread_in_use() needs to actually try to create a
-             # thread: pthread_create from libc will fail, whereas
-             # pthread_create will actually create a thread.
-             case "$host_os" in
-               solaris* | hpux*)
+eval ac_res=\$$as_gl_Symbol
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
+_ACEOF
 
-$as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
+                     eval ac_cv_have_decl_$gl_func=yes
+fi
+      done
 
-             esac
 
+ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
+if test "x$ac_cv_have_decl_strndup" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-        else
-          # Some library is needed. Try libpthread and libc_r.
-          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
-$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
-if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRNDUP $ac_have_decl
+_ACEOF
+
+
+
+ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
+if test "x$ac_cv_have_decl_strnlen" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRNLEN $ac_have_decl
+_ACEOF
+
+
+  GNULIB_MKTIME=0;
+  GNULIB_NANOSLEEP=0;
+  GNULIB_STRPTIME=0;
+  GNULIB_TIMEGM=0;
+  GNULIB_TIME_R=0;
+    HAVE_DECL_LOCALTIME_R=1;
+  HAVE_NANOSLEEP=1;
+  HAVE_STRPTIME=1;
+  HAVE_TIMEGM=1;
+        REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;
+  REPLACE_MKTIME=GNULIB_PORTCHECK;
+  REPLACE_NANOSLEEP=GNULIB_PORTCHECK;
+  REPLACE_TIMEGM=GNULIB_PORTCHECK;
+
+      : ${GNULIB_GETTIMEOFDAY=0};
+        REPLACE_GMTIME=0;
+  REPLACE_LOCALTIME=0;
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
+$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
+if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <time.h>
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char pthread_kill ();
 int
 main ()
 {
-return pthread_kill ();
+static struct timespec x; x.tv_sec = x.tv_nsec;
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_pthread_pthread_kill=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_sys_struct_timespec_in_time_h=yes
 else
-  ac_cv_lib_pthread_pthread_kill=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+  gl_cv_sys_struct_timespec_in_time_h=no
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
-$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
-if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
-  gl_have_pthread=yes
-             LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
-             LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
+$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
 
-          if test -z "$gl_have_pthread"; then
-            # For FreeBSD 4.
-            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
-$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
-if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
+  TIME_H_DEFINES_STRUCT_TIMESPEC=0
+  SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
+  PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
+  if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
+    TIME_H_DEFINES_STRUCT_TIMESPEC=1
+  else
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
+$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
+if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lc_r  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <sys/time.h>
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char pthread_kill ();
 int
 main ()
 {
-return pthread_kill ();
+static struct timespec x; x.tv_sec = x.tv_nsec;
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_c_r_pthread_kill=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_sys_struct_timespec_in_sys_time_h=yes
 else
-  ac_cv_lib_c_r_pthread_kill=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+  gl_cv_sys_struct_timespec_in_sys_time_h=no
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
-$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
-if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
-  gl_have_pthread=yes
-               LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
-               LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-
-          fi
-        fi
-        if test -n "$gl_have_pthread"; then
-          gl_threads_api=posix
-
-$as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
-
-          if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
-            if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
-
-$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
-
-              LIBTHREAD=
-              LTLIBTHREAD=
-            fi
-          fi
-        fi
-      fi
-    fi
-    if test -z "$gl_have_pthread"; then
-      if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
-        gl_have_solaristhread=
-        gl_save_LIBS="$LIBS"
-        LIBS="$LIBS -lthread"
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
+$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
+    if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
+      SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
+    else
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
+$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
+if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <pthread.h>
 
-#include <thread.h>
-#include <synch.h>
-
-int
-main ()
-{
-thr_self();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_have_solaristhread=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-        LIBS="$gl_save_LIBS"
-        if test -n "$gl_have_solaristhread"; then
-          gl_threads_api=solaris
-          LIBTHREAD=-lthread
-          LTLIBTHREAD=-lthread
-          LIBMULTITHREAD="$LIBTHREAD"
-          LTLIBMULTITHREAD="$LTLIBTHREAD"
-
-$as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
-
-          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
-
-$as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
-
-            LIBTHREAD=
-            LTLIBTHREAD=
-          fi
-        fi
+int
+main ()
+{
+static struct timespec x; x.tv_sec = x.tv_nsec;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_sys_struct_timespec_in_pthread_h=yes
+else
+  gl_cv_sys_struct_timespec_in_pthread_h=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
+$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
+      if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
+        PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
       fi
     fi
-    if test "$gl_use_threads" = pth; then
-      gl_save_CPPFLAGS="$CPPFLAGS"
+  fi
 
 
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
-$as_echo_n "checking how to link with libpth... " >&6; }
-if ${ac_cv_libpth_libs+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
 
 
 
 
 
-    use_additional=yes
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
 
-    eval additional_includedir=\"$includedir\"
-    eval additional_libdir=\"$libdir\"
+     if test $gl_cv_have_include_next = yes; then
+       gl_cv_next_time_h='<'time.h'>'
+     else
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
+$as_echo_n "checking absolute name of <time.h>... " >&6; }
+if ${gl_cv_next_time_h+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
 
 
-# Check whether --with-libpth-prefix was given.
-if test "${with_libpth_prefix+set}" = set; then :
-  withval=$with_libpth_prefix;
-    if test "X$withval" = "Xno"; then
-      use_additional=no
-    else
-      if test "X$withval" = "X"; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <time.h>
+_ACEOF
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'time.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
 
-          eval additional_includedir=\"$includedir\"
-          eval additional_libdir=\"$libdir\"
+        gl_cv_absolute_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
 
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
+           gl_header=$gl_cv_absolute_time_h
+           gl_cv_next_time_h='"'$gl_header'"'
 
-      else
-        additional_includedir="$withval/include"
-        additional_libdir="$withval/$acl_libdirstem"
-        if test "$acl_libdirstem2" != "$acl_libdirstem" \
-           && ! test -d "$withval/$acl_libdirstem"; then
-          additional_libdir="$withval/$acl_libdirstem2"
-        fi
-      fi
-    fi
 
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
+$as_echo "$gl_cv_next_time_h" >&6; }
+     fi
+     NEXT_TIME_H=$gl_cv_next_time_h
 
-      LIBPTH=
-  LTLIBPTH=
-  INCPTH=
-  LIBPTH_PREFIX=
-      HAVE_LIBPTH=
-  rpathdirs=
-  ltrpathdirs=
-  names_already_handled=
-  names_next_round='pth '
-  while test -n "$names_next_round"; do
-    names_this_round="$names_next_round"
-    names_next_round=
-    for name in $names_this_round; do
-      already_handled=
-      for n in $names_already_handled; do
-        if test "$n" = "$name"; then
-          already_handled=yes
-          break
-        fi
-      done
-      if test -z "$already_handled"; then
-        names_already_handled="$names_already_handled $name"
-                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
-        eval value=\"\$HAVE_LIB$uppername\"
-        if test -n "$value"; then
-          if test "$value" = yes; then
-            eval value=\"\$LIB$uppername\"
-            test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
-            eval value=\"\$LTLIB$uppername\"
-            test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
-          else
-                                    :
-          fi
-        else
-                              found_dir=
-          found_la=
-          found_so=
-          found_a=
-          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
-          if test -n "$acl_shlibext"; then
-            shrext=".$acl_shlibext"             # typically: shrext=.so
-          else
-            shrext=
-          fi
-          if test $use_additional = yes; then
-            dir="$additional_libdir"
-                                    if test -n "$acl_shlibext"; then
-              if test -f "$dir/$libname$shrext"; then
-                found_dir="$dir"
-                found_so="$dir/$libname$shrext"
-              else
-                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
-                  ver=`(cd "$dir" && \
-                        for f in "$libname$shrext".*; do echo "$f"; done \
-                        | sed -e "s,^$libname$shrext\\\\.,," \
-                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
-                        | sed 1q ) 2>/dev/null`
-                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
-                    found_dir="$dir"
-                    found_so="$dir/$libname$shrext.$ver"
-                  fi
-                else
-                  eval library_names=\"$acl_library_names_spec\"
-                  for f in $library_names; do
-                    if test -f "$dir/$f"; then
-                      found_dir="$dir"
-                      found_so="$dir/$f"
-                      break
-                    fi
-                  done
-                fi
-              fi
-            fi
-                        if test "X$found_dir" = "X"; then
-              if test -f "$dir/$libname.$acl_libext"; then
-                found_dir="$dir"
-                found_a="$dir/$libname.$acl_libext"
-              fi
-            fi
-            if test "X$found_dir" != "X"; then
-              if test -f "$dir/$libname.la"; then
-                found_la="$dir/$libname.la"
-              fi
-            fi
-          fi
-          if test "X$found_dir" = "X"; then
-            for x in $LDFLAGS $LTLIBPTH; do
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
+       gl_next_as_first_directive='<'time.h'>'
+     else
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
+       gl_next_as_first_directive=$gl_cv_next_time_h
+     fi
+     NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
-  eval x=\"$x\"
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
 
-              case "$x" in
-                -L*)
-                  dir=`echo "X$x" | sed -e 's/^X-L//'`
-                                    if test -n "$acl_shlibext"; then
-                    if test -f "$dir/$libname$shrext"; then
-                      found_dir="$dir"
-                      found_so="$dir/$libname$shrext"
-                    else
-                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
-                        ver=`(cd "$dir" && \
-                              for f in "$libname$shrext".*; do echo "$f"; done \
-                              | sed -e "s,^$libname$shrext\\\\.,," \
-                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
-                              | sed 1q ) 2>/dev/null`
-                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
-                          found_dir="$dir"
-                          found_so="$dir/$libname$shrext.$ver"
-                        fi
-                      else
-                        eval library_names=\"$acl_library_names_spec\"
-                        for f in $library_names; do
-                          if test -f "$dir/$f"; then
-                            found_dir="$dir"
-                            found_so="$dir/$f"
-                            break
-                          fi
-                        done
-                      fi
-                    fi
-                  fi
-                                    if test "X$found_dir" = "X"; then
-                    if test -f "$dir/$libname.$acl_libext"; then
-                      found_dir="$dir"
-                      found_a="$dir/$libname.$acl_libext"
-                    fi
-                  fi
-                  if test "X$found_dir" != "X"; then
-                    if test -f "$dir/$libname.la"; then
-                      found_la="$dir/$libname.la"
-                    fi
-                  fi
-                  ;;
-              esac
-              if test "X$found_dir" != "X"; then
-                break
-              fi
-            done
-          fi
-          if test "X$found_dir" != "X"; then
-                        LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
-            if test "X$found_so" != "X"; then
-                                                        if test "$enable_rpath" = no \
-                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
-                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
-                                LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
-              else
-                                                                                haveit=
-                for x in $ltrpathdirs; do
-                  if test "X$x" = "X$found_dir"; then
-                    haveit=yes
-                    break
-                  fi
-                done
-                if test -z "$haveit"; then
-                  ltrpathdirs="$ltrpathdirs $found_dir"
-                fi
-                                if test "$acl_hardcode_direct" = yes; then
-                                                      LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
-                else
-                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
-                                                            LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
-                                                            haveit=
-                    for x in $rpathdirs; do
-                      if test "X$x" = "X$found_dir"; then
-                        haveit=yes
-                        break
-                      fi
-                    done
-                    if test -z "$haveit"; then
-                      rpathdirs="$rpathdirs $found_dir"
-                    fi
-                  else
-                                                                                haveit=
-                    for x in $LDFLAGS $LIBPTH; do
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
-  eval x=\"$x\"
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
 
-                      if test "X$x" = "X-L$found_dir"; then
-                        haveit=yes
-                        break
-                      fi
-                    done
-                    if test -z "$haveit"; then
-                      LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
-                    fi
-                    if test "$acl_hardcode_minus_L" != no; then
-                                                                                        LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
-                    else
-                                                                                                                                                                                LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
-                    fi
-                  fi
-                fi
-              fi
-            else
-              if test "X$found_a" != "X"; then
-                                LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
-              else
-                                                LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
-              fi
-            fi
-                        additional_includedir=
-            case "$found_dir" in
-              */$acl_libdirstem | */$acl_libdirstem/)
-                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
-                if test "$name" = 'pth'; then
-                  LIBPTH_PREFIX="$basedir"
-                fi
-                additional_includedir="$basedir/include"
-                ;;
-              */$acl_libdirstem2 | */$acl_libdirstem2/)
-                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
-                if test "$name" = 'pth'; then
-                  LIBPTH_PREFIX="$basedir"
-                fi
-                additional_includedir="$basedir/include"
-                ;;
-            esac
-            if test "X$additional_includedir" != "X"; then
-                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
-                haveit=
-                if test "X$additional_includedir" = "X/usr/local/include"; then
-                  if test -n "$GCC"; then
-                    case $host_os in
-                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
-                    esac
-                  fi
-                fi
-                if test -z "$haveit"; then
-                  for x in $CPPFLAGS $INCPTH; do
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
-  eval x=\"$x\"
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
 
-                    if test "X$x" = "X-I$additional_includedir"; then
-                      haveit=yes
-                      break
-                    fi
-                  done
-                  if test -z "$haveit"; then
-                    if test -d "$additional_includedir"; then
-                                            INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
-                    fi
-                  fi
-                fi
-              fi
-            fi
-                        if test -n "$found_la"; then
-                                                        save_libdir="$libdir"
-              case "$found_la" in
-                */* | *\\*) . "$found_la" ;;
-                *) . "./$found_la" ;;
-              esac
-              libdir="$save_libdir"
-                            for dep in $dependency_libs; do
-                case "$dep" in
-                  -L*)
-                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
-                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
-                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
-                      haveit=
-                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
-                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
-                        if test -n "$GCC"; then
-                          case $host_os in
-                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
-                          esac
-                        fi
-                      fi
-                      if test -z "$haveit"; then
-                        haveit=
-                        for x in $LDFLAGS $LIBPTH; do
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
-  eval x=\"$x\"
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
 
-                          if test "X$x" = "X-L$additional_libdir"; then
-                            haveit=yes
-                            break
-                          fi
-                        done
-                        if test -z "$haveit"; then
-                          if test -d "$additional_libdir"; then
-                                                        LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
-                          fi
-                        fi
-                        haveit=
-                        for x in $LDFLAGS $LTLIBPTH; do
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
-  eval x=\"$x\"
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
 
-                          if test "X$x" = "X-L$additional_libdir"; then
-                            haveit=yes
-                            break
-                          fi
-                        done
-                        if test -z "$haveit"; then
-                          if test -d "$additional_libdir"; then
-                                                        LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
-                          fi
-                        fi
-                      fi
-                    fi
-                    ;;
-                  -R*)
-                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
-                    if test "$enable_rpath" != no; then
-                                                                  haveit=
-                      for x in $rpathdirs; do
-                        if test "X$x" = "X$dir"; then
-                          haveit=yes
-                          break
-                        fi
-                      done
-                      if test -z "$haveit"; then
-                        rpathdirs="$rpathdirs $dir"
-                      fi
-                                                                  haveit=
-                      for x in $ltrpathdirs; do
-                        if test "X$x" = "X$dir"; then
-                          haveit=yes
-                          break
-                        fi
-                      done
-                      if test -z "$haveit"; then
-                        ltrpathdirs="$ltrpathdirs $dir"
-                      fi
-                    fi
-                    ;;
-                  -l*)
-                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
-                    ;;
-                  *.la)
-                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
-                    ;;
-                  *)
-                                        LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
-                    LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
-                    ;;
-                esac
-              done
-            fi
-          else
-                                                            LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
-            LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
-          fi
-        fi
-      fi
-    done
-  done
-  if test "X$rpathdirs" != "X"; then
-    if test -n "$acl_hardcode_libdir_separator"; then
-                        alldirs=
-      for found_dir in $rpathdirs; do
-        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
-      done
-            acl_save_libdir="$libdir"
-      libdir="$alldirs"
-      eval flag=\"$acl_hardcode_libdir_flag_spec\"
-      libdir="$acl_save_libdir"
-      LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
-    else
-            for found_dir in $rpathdirs; do
-        acl_save_libdir="$libdir"
-        libdir="$found_dir"
-        eval flag=\"$acl_hardcode_libdir_flag_spec\"
-        libdir="$acl_save_libdir"
-        LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
-      done
-    fi
+
+
+  if test $ac_cv_header_features_h = yes; then
+    HAVE_FEATURES_H=1
+  else
+    HAVE_FEATURES_H=0
   fi
-  if test "X$ltrpathdirs" != "X"; then
-            for found_dir in $ltrpathdirs; do
-      LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
-    done
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
+$as_echo_n "checking for wint_t... " >&6; }
+if ${gt_cv_c_wint_t+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
+   <wchar.h>.
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
+   before <wchar.h>.  */
+#include <stddef.h>
+#include <stdio.h>
+#include <time.h>
+#include <wchar.h>
+            wint_t foo = (wchar_t)'\0';
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gt_cv_c_wint_t=yes
+else
+  gt_cv_c_wint_t=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
+$as_echo "$gt_cv_c_wint_t" >&6; }
+  if test $gt_cv_c_wint_t = yes; then
+
+$as_echo "#define HAVE_WINT_T 1" >>confdefs.h
+
   fi
 
 
 
 
+  GNULIB_ISWBLANK=0;
+  GNULIB_WCTYPE=0;
+  GNULIB_ISWCTYPE=0;
+  GNULIB_WCTRANS=0;
+  GNULIB_TOWCTRANS=0;
+    HAVE_ISWBLANK=1;
+  HAVE_WCTYPE_T=1;
+  HAVE_WCTRANS_T=1;
+  REPLACE_ISWBLANK=0;
+
+
 
 
-    ac_cv_libpth_libs="$LIBPTH"
-    ac_cv_libpth_ltlibs="$LTLIBPTH"
-    ac_cv_libpth_cppflags="$INCPTH"
-    ac_cv_libpth_prefix="$LIBPTH_PREFIX"
 
+
+
+
+
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
+$as_echo_n "checking if environ is properly declared... " >&6; }
+  if ${gt_cv_var_environ_declaration+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#if HAVE_UNISTD_H
+     #include <unistd.h>
+     #endif
+     /* mingw, BeOS, Haiku declare environ in <stdlib.h>, not in <unistd.h>.  */
+     #include <stdlib.h>
+
+           extern struct { int foo; } environ;
+int
+main ()
+{
+environ.foo = 1;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gt_cv_var_environ_declaration=no
+else
+  gt_cv_var_environ_declaration=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
-$as_echo "$ac_cv_libpth_libs" >&6; }
-  LIBPTH="$ac_cv_libpth_libs"
-  LTLIBPTH="$ac_cv_libpth_ltlibs"
-  INCPTH="$ac_cv_libpth_cppflags"
-  LIBPTH_PREFIX="$ac_cv_libpth_prefix"
 
-  for element in $INCPTH; do
-    haveit=
-    for x in $CPPFLAGS; do
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
+$as_echo "$gt_cv_var_environ_declaration" >&6; }
+  if test $gt_cv_var_environ_declaration = yes; then
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
-  eval x=\"$x\"
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
+$as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
 
-      if test "X$x" = "X$element"; then
-        haveit=yes
-        break
-      fi
-    done
-    if test -z "$haveit"; then
-      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
-    fi
-  done
+  fi
 
 
+  if test $gt_cv_var_environ_declaration != yes; then
+    HAVE_DECL_ENVIRON=0
+  fi
+
 
 
-      HAVE_LIBPTH=yes
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5
+$as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; }
+if ${gl_cv_func_getcwd_null+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test "$cross_compiling" = yes; then :
+  case "$host_os" in
+                     # Guess yes on glibc systems.
+            *-gnu*)  gl_cv_func_getcwd_null="guessing yes";;
+                     # Guess yes on Cygwin.
+            cygwin*) gl_cv_func_getcwd_null="guessing yes";;
+                     # If we don't know, assume the worst.
+            *)       gl_cv_func_getcwd_null="guessing no";;
+          esac
 
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
+#        if HAVE_UNISTD_H
+#         include <unistd.h>
+#        else /* on Windows with MSVC */
+#         include <direct.h>
+#        endif
+#        ifndef getcwd
+         char *getcwd ();
+#        endif
 
-      gl_have_pth=
-      gl_save_LIBS="$LIBS"
-      LIBS="$LIBS $LIBPTH"
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+int
+main ()
+{
+
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+/* mingw cwd does not start with '/', but getcwd does allocate.
+   However, mingw fails to honor non-zero size.  */
+#else
+           if (chdir ("/") != 0)
+             return 1;
+           else
+             {
+               char *f = getcwd (NULL, 0);
+               if (! f)
+                 return 2;
+               if (f[0] != '/')
+                 return 3;
+               if (f[1] != '\0')
+                 return 4;
+               return 0;
+             }
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_func_getcwd_null=yes
+else
+  gl_cv_func_getcwd_null=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_null" >&5
+$as_echo "$gl_cv_func_getcwd_null" >&6; }
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5
+$as_echo_n "checking for getcwd with POSIX signature... " >&6; }
+if ${gl_cv_func_getcwd_posix_signature+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <pth.h>
+#include <unistd.h>
 int
 main ()
 {
-pth_self();
+extern
+           #ifdef __cplusplus
+           "C"
+           #endif
+           char *getcwd (char *, size_t);
+
   ;
   return 0;
 }
+
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_have_pth=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_func_getcwd_posix_signature=yes
+else
+  gl_cv_func_getcwd_posix_signature=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-      LIBS="$gl_save_LIBS"
-      if test -n "$gl_have_pth"; then
-        gl_threads_api=pth
-        LIBTHREAD="$LIBPTH"
-        LTLIBTHREAD="$LTLIBPTH"
-        LIBMULTITHREAD="$LIBTHREAD"
-        LTLIBMULTITHREAD="$LTLIBTHREAD"
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-$as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5
+$as_echo "$gl_cv_func_getcwd_posix_signature" >&6; }
 
-        if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
-          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
 
-$as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
 
-            LIBTHREAD=
-            LTLIBTHREAD=
-          fi
-        fi
-      else
-        CPPFLAGS="$gl_save_CPPFLAGS"
-      fi
-    fi
-    if test -z "$gl_have_pthread"; then
-      case "$gl_use_threads" in
-        yes | windows | win32) # The 'win32' is for backward compatibility.
-          if { case "$host_os" in
-                 mingw*) true;;
-                 *) false;;
-               esac
-             }; then
-            gl_threads_api=windows
 
-$as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h
 
-          fi
-          ;;
-      esac
-    fi
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
-$as_echo_n "checking for multithread API to use... " >&6; }
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
-$as_echo "$gl_threads_api" >&6; }
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
+$as_echo_n "checking for LC_MESSAGES... " >&6; }
+if ${gt_cv_val_LC_MESSAGES+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <locale.h>
+int
+main ()
+{
+return LC_MESSAGES
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gt_cv_val_LC_MESSAGES=yes
+else
+  gt_cv_val_LC_MESSAGES=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
+$as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
+  if test $gt_cv_val_LC_MESSAGES = yes; then
+
+$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
+
+  fi
 
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
+$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
+if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  gt_save_LIBS="$LIBS"
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <CoreFoundation/CFPreferences.h>
+int
+main ()
+{
+CFPreferencesCopyAppValue(NULL, NULL)
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gt_cv_func_CFPreferencesCopyAppValue=yes
+else
+  gt_cv_func_CFPreferencesCopyAppValue=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+     LIBS="$gt_save_LIBS"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
+$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
+$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
+  fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
+$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
+if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  gt_save_LIBS="$LIBS"
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <CoreFoundation/CFLocale.h>
+int
+main ()
+{
+CFLocaleCopyCurrent();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gt_cv_func_CFLocaleCopyCurrent=yes
+else
+  gt_cv_func_CFLocaleCopyCurrent=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+     LIBS="$gt_save_LIBS"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
+$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
+  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
+$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
+  fi
+  INTL_MACOSX_LIBS=
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
+    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
+  fi
 
 
 
@@ -15069,6 +15609,10 @@ _ACEOF
 
 
 
+
+
+
+
 ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
 if test "x$ac_cv_have_decl_setenv" = xyes; then :
   ac_have_decl=1
@@ -15118,21 +15662,6 @@ done
 
 
 
-ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
-if test "x$ac_cv_have_decl_alarm" = xyes; then :
-  ac_have_decl=1
-else
-  ac_have_decl=0
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_ALARM $ac_have_decl
-_ACEOF
-
-
-
-
-
 ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default"
 if test "x$ac_cv_have_decl_unsetenv" = xyes; then :
   ac_have_decl=1
@@ -15371,7 +15900,7 @@ $as_echo "$gl_cv_func_btowc_eof" >&6; }
     esac
   fi
 
-if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
+  if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
 
 
 
@@ -15385,7 +15914,7 @@ if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -15404,13 +15933,19 @@ $as_echo "#define GNULIB_TEST_BTOWC 1" >>confdefs.h
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible calloc" >&5
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible calloc" >&5
 $as_echo_n "checking for GNU libc compatible calloc... " >&6; }
 if ${ac_cv_func_calloc_0_nonnull+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  ac_cv_func_calloc_0_nonnull=no
+  case "$host_os" in
+                  # Guess yes on glibc systems.
+          *-gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;;
+                  # If we don't know, assume the worst.
+          *)      ac_cv_func_calloc_0_nonnull="guessing no" ;;
+        esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_calloc_0_nonnull" >&5
 $as_echo "$ac_cv_func_calloc_0_nonnull" >&6; }
-  if test $ac_cv_func_calloc_0_nonnull = yes; then :
+  case "$ac_cv_func_calloc_0_nonnull" in
+    *yes)
 
 $as_echo "#define HAVE_CALLOC_GNU 1" >>confdefs.h
 
-else
-  $as_echo "#define HAVE_CALLOC_GNU 0" >>confdefs.h
+      ;;
+    *)
+      $as_echo "#define HAVE_CALLOC_GNU 0" >>confdefs.h
 
      REPLACE_CALLOC=1
 
-fi
+      ;;
+  esac
 
 
-if test $REPLACE_CALLOC = 1; then
+  if test $REPLACE_CALLOC = 1; then
 
 
 
@@ -15464,7 +16002,7 @@ if test $REPLACE_CALLOC = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext"
 
-fi
+  fi
 
 
 cat >>confdefs.h <<_ACEOF
@@ -15483,7 +16021,7 @@ $as_echo "#define HAVE_CALLOC_POSIX 1" >>confdefs.h
     REPLACE_CALLOC=1
   fi
 
-if test $REPLACE_CALLOC = 1; then
+  if test $REPLACE_CALLOC = 1; then
 
 
 
@@ -15494,7 +16032,7 @@ if test $REPLACE_CALLOC = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -15517,15 +16055,24 @@ $as_echo "#define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h
     HAVE_CANONICALIZE_FILE_NAME=0
     if test $ac_cv_func_realpath = no; then
       HAVE_REALPATH=0
-    elif test "$gl_cv_func_realpath_works" != yes; then
-      REPLACE_REALPATH=1
+    else
+      case "$gl_cv_func_realpath_works" in
+       *yes) ;;
+       *)    REPLACE_REALPATH=1 ;;
+      esac
     fi
-  elif test "$gl_cv_func_realpath_works" != yes; then
-    REPLACE_CANONICALIZE_FILE_NAME=1
-    REPLACE_REALPATH=1
+  else
+    case "$gl_cv_func_realpath_works" in
+      *yes)
+        ;;
+      *)
+        REPLACE_CANONICALIZE_FILE_NAME=1
+        REPLACE_REALPATH=1
+        ;;
+    esac
   fi
 
-if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
+  if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
 
 
 
@@ -15536,7 +16083,7 @@ if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME
 
   gl_LIBOBJS="$gl_LIBOBJS canonicalize-lgpl.$ac_objext"
 
-fi
+  fi
 
 
 cat >>confdefs.h <<_ACEOF
@@ -15613,21 +16160,8 @@ done
     fi
 
 
-    if test $REPLACE_CLOSE = 0; then
-
-
-
-  if test $ac_cv_func_fchdir = no; then
-    HAVE_FCHDIR=0
-  fi
-
-      if test $HAVE_FCHDIR = 0; then
-        REPLACE_CLOSE=1
-      fi
-    fi
-
 
-if test $REPLACE_CLOSE = 1; then
+  if test $REPLACE_CLOSE = 1; then
 
 
 
@@ -15638,7 +16172,7 @@ if test $REPLACE_CLOSE = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -15700,6 +16234,10 @@ _ACEOF
   if test "x$localedir" = x; then
     localedir='${datarootdir}/locale'
 
+  fi
+    if test "x$runstatedir" = x; then
+    runstatedir='${localstatedir}/run'
+
   fi
 
       pkglibexecdir='${libexecdir}/${PACKAGE}'
@@ -15787,7 +16325,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
 $as_echo "$ac_cv_lib_error_at_line" >&6; }
 
-if test $ac_cv_lib_error_at_line = no; then
+  if test $ac_cv_lib_error_at_line = no; then
 
 
 
@@ -15800,10 +16338,9 @@ if test $ac_cv_lib_error_at_line = no; then
 
 
 
-
   :
 
-fi
+  fi
 
 
   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
@@ -15823,6 +16360,7 @@ fi
 
 
 
+
      if test $gl_cv_have_include_next = yes; then
        gl_cv_next_fcntl_h='<'fcntl.h'>'
      else
@@ -15832,36 +16370,40 @@ if ${gl_cv_next_fcntl_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <fcntl.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'fcntl.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
 
-               gl_header_literal_regex=`echo 'fcntl.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+        gl_cv_absolute_fcntl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_fcntl_h
+           gl_cv_next_fcntl_h='"'$gl_header'"'
 
 
 fi
 
 
 
-
   fp_headers='
-#     include <stdio.h>
-#     if HAVE_STDIO_EXT_H
-#      include <stdio_ext.h>
-#     endif
-'
-  ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers
+    #include <stdio.h>
+    #if HAVE_STDIO_EXT_H
+    # include <stdio_ext.h>
+    #endif
+  '
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fpending" >&5
+$as_echo_n "checking for __fpending... " >&6; }
+if ${gl_cv_func___fpending+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$fp_headers
+int
+main ()
+{
+return ! __fpending (stdin);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_func___fpending=yes
+else
+  gl_cv_func___fpending=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func___fpending" >&5
+$as_echo "$gl_cv_func___fpending" >&6; }
+  if test $gl_cv_func___fpending = yes; then
+    ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers
 "
 if test "x$ac_cv_have_decl___fpending" = xyes; then :
   ac_have_decl=1
@@ -15949,8 +16519,9 @@ cat >>confdefs.h <<_ACEOF
 #define HAVE_DECL___FPENDING $ac_have_decl
 _ACEOF
 
+  fi
 
-if test $ac_cv_func___fpending = no; then
+  if test $gl_cv_func___fpending = no; then
 
 
 
@@ -16041,7 +16612,8 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
-fi
+  fi
+
 
 
 
   fi
 
 
-
-
-  if test $ac_cv_func_fchdir = no; then
-    HAVE_FCHDIR=0
+  if test $WINDOWS_64_BIT_ST_SIZE = 1; then
+    REPLACE_FSTAT=1
   fi
 
-    if test $HAVE_FCHDIR = 0 \
-       && test "$gl_cv_func_open_directory_works" != yes; then
-      REPLACE_FSTAT=1
-    fi
 
 
-if test $REPLACE_FSTAT = 1; then
+  if test $REPLACE_FSTAT = 1; then
 
 
 
@@ -16073,10 +16639,8 @@ if test $REPLACE_FSTAT = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS fstat.$ac_objext"
 
-
-
-
-fi
+    :
+  fi
 
 
 
@@ -16099,7 +16663,7 @@ $as_echo "#define GNULIB_TEST_FSTAT 1" >>confdefs.h
     HAVE_FSYNC=0
   fi
 
-if test $HAVE_FSYNC = 0; then
+  if test $HAVE_FSYNC = 0; then
 
 
 
@@ -16110,8 +16674,8 @@ if test $HAVE_FSYNC = 0; then
 
   gl_LIBOBJS="$gl_LIBOBJS fsync.$ac_objext"
 
-  :
-fi
+    :
+  fi
 
 
 
@@ -16132,7 +16696,7 @@ $as_echo "#define GNULIB_TEST_FSYNC 1" >>confdefs.h
 
 
 
-if test $REPLACE_GETOPT = 1; then
+  if test $REPLACE_GETOPT = 1; then
 
 
 
@@ -16156,8 +16720,8 @@ if test $REPLACE_GETOPT = 1; then
 
 
 
-    GNULIB_GL_UNISTD_H_GETOPT=1
-fi
+        GNULIB_GL_UNISTD_H_GETOPT=1
+  fi
 
 
 
@@ -16168,15 +16732,11 @@ $as_echo "#define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h
 
 
 
-    REPLACE_GETOPT=0
-
-
-  if test -n "$gl_replace_getopt"; then :
 
+    REPLACE_GETOPT=0
+    if test -n "$gl_replace_getopt"; then
       REPLACE_GETOPT=1
-
-fi
-
+    fi
 
   if test $REPLACE_GETOPT = 1; then
 
@@ -16188,7 +16748,7 @@ $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
 
   fi
 
-if test $REPLACE_GETOPT = 1; then
+  if test $REPLACE_GETOPT = 1; then
 
 
 
@@ -16212,8 +16772,8 @@ if test $REPLACE_GETOPT = 1; then
 
 
 
-    GNULIB_GL_UNISTD_H_GETOPT=1
-fi
+        GNULIB_GL_UNISTD_H_GETOPT=1
+  fi
 
 
 
@@ -16236,7 +16796,14 @@ if ${gl_cv_func_gettimeofday_clobber+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-       gl_cv_func_gettimeofday_clobber=yes
+  # When cross-compiling:
+      case "$host_os" in
+                # Guess all is fine on glibc systems.
+        *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
+                # If we don't know, assume the worst.
+        *)      gl_cv_func_gettimeofday_clobber="guessing yes" ;;
+      esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5
 $as_echo "$gl_cv_func_gettimeofday_clobber" >&6; }
 
- if test $gl_cv_func_gettimeofday_clobber = yes; then
-   REPLACE_GETTIMEOFDAY=1
-
-
-$as_echo "#define gmtime rpl_gmtime" >>confdefs.h
-
-
-$as_echo "#define localtime rpl_localtime" >>confdefs.h
+ case "$gl_cv_func_gettimeofday_clobber" in
+   *yes)
+     REPLACE_GETTIMEOFDAY=1
 
+  REPLACE_GMTIME=1
+  REPLACE_LOCALTIME=1
 
 
 $as_echo "#define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h
 
- fi
+     ;;
+ esac
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5
 $as_echo_n "checking for gettimeofday with POSIX signature... " >&6; }
@@ -16361,7 +16926,7 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
-if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
+  if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
 
 
 
@@ -16397,7 +16962,7 @@ fi
 done
 
 
-fi
+  fi
 
 
 
@@ -16413,53 +16978,13 @@ $as_echo "#define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
 
 
 
-# Autoconf 2.61a.99 and earlier don't support linking a file only
-# in VPATH builds.  But since GNUmakefile is for maintainer use
-# only, it does not matter if we skip the link with older autoconf.
-# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
-# builds, so use a shell variable to bypass this.
-GNUmakefile=GNUmakefile
-ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5
-$as_echo_n "checking whether the compiler generally respects inline... " >&6; }
-if ${gl_cv_c_inline_effective+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test $ac_cv_c_inline = no; then
-       gl_cv_c_inline_effective=no
-     else
-                                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifdef __NO_INLINE__
-               #error "inline is not effective"
-             #endif
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_c_inline_effective=yes
-else
-  gl_cv_c_inline_effective=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-     fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5
-$as_echo "$gl_cv_c_inline_effective" >&6; }
-  if test $gl_cv_c_inline_effective = yes; then
-
-$as_echo "#define HAVE_INLINE 1" >>confdefs.h
-
-  fi
+  # Autoconf 2.61a.99 and earlier don't support linking a file only
+  # in VPATH builds.  But since GNUmakefile is for maintainer use
+  # only, it does not matter if we skip the link with older autoconf.
+  # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
+  # builds, so use a shell variable to bypass this.
+  GNUmakefile=GNUmakefile
+  ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
 
 
 
@@ -16740,36 +17265,40 @@ else
              if test $ac_cv_header_langinfo_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <langinfo.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'langinfo.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'langinfo.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_langinfo_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_langinfo_h
+           gl_cv_next_langinfo_h='"'$gl_header'"'
           else
                gl_cv_next_langinfo_h='<'langinfo.h'>'
              fi
@@ -16976,6 +17505,7 @@ fi
 
 
 
+
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler flag to ignore unused libraries" >&5
 $as_echo_n "checking for C compiler flag to ignore unused libraries... " >&6; }
 if ${gl_cv_prog_c_ignore_unused_libraries+:} false; then :
@@ -17040,7 +17570,344 @@ $as_echo "$gl_cv_prog_c_ignore_unused_libraries" >&6; }
 
 
 
-LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
+  LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
+
+
+
+
+
+
+
+
+
+  case "$host_os" in
+    solaris*)
+
+$as_echo "#define _LCONV_C99 1" >>confdefs.h
+
+      ;;
+  esac
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
+$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
+if ${gl_cv_header_locale_h_posix2001+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <locale.h>
+            int x = LC_MESSAGES;
+            int y = sizeof (((struct lconv *) 0)->decimal_point);
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_header_locale_h_posix2001=yes
+else
+  gl_cv_header_locale_h_posix2001=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5
+$as_echo "$gl_cv_header_locale_h_posix2001" >&6; }
+
+
+  if test $ac_cv_header_xlocale_h = yes; then
+    HAVE_XLOCALE_H=1
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
+$as_echo_n "checking whether locale.h defines locale_t... " >&6; }
+if ${gl_cv_header_locale_has_locale_t+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <locale.h>
+              locale_t x;
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_header_locale_has_locale_t=yes
+else
+  gl_cv_header_locale_has_locale_t=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5
+$as_echo "$gl_cv_header_locale_has_locale_t" >&6; }
+    if test $gl_cv_header_locale_has_locale_t = yes; then
+      gl_cv_header_locale_h_needs_xlocale_h=no
+    else
+      gl_cv_header_locale_h_needs_xlocale_h=yes
+    fi
+  else
+    HAVE_XLOCALE_H=0
+    gl_cv_header_locale_h_needs_xlocale_h=no
+  fi
+
+
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct lconv is properly defined" >&5
+$as_echo_n "checking whether struct lconv is properly defined... " >&6; }
+if ${gl_cv_sys_struct_lconv_ok+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <locale.h>
+            struct lconv l;
+            int x = sizeof (l.decimal_point);
+            int y = sizeof (l.int_p_cs_precedes);
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_sys_struct_lconv_ok=yes
+else
+  gl_cv_sys_struct_lconv_ok=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_lconv_ok" >&5
+$as_echo "$gl_cv_sys_struct_lconv_ok" >&6; }
+  if test $gl_cv_sys_struct_lconv_ok = no; then
+    REPLACE_STRUCT_LCONV=1
+  fi
+
+
+
+
+
+
+
+
+
+     if test $gl_cv_have_include_next = yes; then
+       gl_cv_next_locale_h='<'locale.h'>'
+     else
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
+$as_echo_n "checking absolute name of <locale.h>... " >&6; }
+if ${gl_cv_next_locale_h+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <locale.h>
+_ACEOF
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
+
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'locale.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_locale_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_locale_h
+           gl_cv_next_locale_h='"'$gl_header'"'
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5
+$as_echo "$gl_cv_next_locale_h" >&6; }
+     fi
+     NEXT_LOCALE_H=$gl_cv_next_locale_h
+
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
+       gl_next_as_first_directive='<'locale.h'>'
+     else
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
+       gl_next_as_first_directive=$gl_cv_next_locale_h
+     fi
+     NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive
+
+
+
+
+
+
+    for gl_func in setlocale duplocale; do
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
+if eval \${$as_gl_Symbol+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <locale.h>
+/* Some systems provide declarations in a non-standard header.  */
+#if HAVE_XLOCALE_H
+# include <xlocale.h>
+#endif
+
+int
+main ()
+{
+#undef $gl_func
+  (void) $gl_func;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$as_gl_Symbol=yes"
+else
+  eval "$as_gl_Symbol=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$as_gl_Symbol
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
+_ACEOF
+
+                     eval ac_cv_have_decl_$gl_func=yes
+fi
+      done
+
+
+
+
+
+
+  if test $REPLACE_STRUCT_LCONV = 1; then
+    REPLACE_LOCALECONV=1
+  fi
+
+  if test $REPLACE_LOCALECONV = 1; then
+
+
+
+
+
+
+
+
+  gl_LIBOBJS="$gl_LIBOBJS localeconv.$ac_objext"
+
+
+  ac_fn_c_check_member "$LINENO" "struct lconv" "decimal_point" "ac_cv_member_struct_lconv_decimal_point" "#include <locale.h>
+"
+if test "x$ac_cv_member_struct_lconv_decimal_point" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_LCONV_DECIMAL_POINT 1
+_ACEOF
+
+
+fi
+
+
+  fi
+
+
+
+
+
+          GNULIB_LOCALECONV=1
+
+
+
+
+
+$as_echo "#define GNULIB_TEST_LOCALECONV 1" >>confdefs.h
+
+
+
+
+
+  if test "$gl_threads_api" = posix; then
+    # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the
+    # pthread_rwlock_* functions.
+    ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
+"
+if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
+
+$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
+
+fi
+
+    # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+      #include <pthread.h>
+int
+main ()
+{
+
+#if __FreeBSD__ == 4
+error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
+#elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \
+       && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
+error "No, in Mac OS X < 10.7 recursive mutexes actually don't work."
+#else
+int x = (int)PTHREAD_MUTEX_RECURSIVE;
+return !x;
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+$as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+  fi
+  :
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define GNULIB_LOCK 1
+_ACEOF
+
+
+
 
 
 
@@ -17051,8 +17918,13 @@ $as_echo_n "checking whether lseek detects pipes... " >&6; }
 if ${gl_cv_func_lseek_pipe+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test $cross_compiling = no; then
-       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  case "$host_os" in
+       mingw*)
+                                                               gl_cv_func_lseek_pipe=no
+         ;;
+       *)
+         if test $cross_compiling = no; then
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 #include <sys/types.h> /* for off_t */
@@ -17076,24 +17948,25 @@ main ()
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
   if test -s conftest$ac_exeext \
-             && ./conftest$ac_exeext < conftest.$ac_ext \
-             && test 1 = "`echo hi \
-               | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
-            gl_cv_func_lseek_pipe=yes
-          else
-            gl_cv_func_lseek_pipe=no
-          fi
+                 && ./conftest$ac_exeext < conftest.$ac_ext \
+                 && test 1 = "`echo hi \
+                   | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
+                gl_cv_func_lseek_pipe=yes
+              else
+                gl_cv_func_lseek_pipe=no
+              fi
+
 else
   gl_cv_func_lseek_pipe=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-     else
-       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+         else
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__
-/* mingw and BeOS mistakenly return 0 when trying to seek on pipes.  */
+#if defined __BEOS__
+/* BeOS mistakenly return 0 when trying to seek on pipes.  */
   Choke me.
 #endif
 _ACEOF
@@ -17103,7 +17976,10 @@ else
   gl_cv_func_lseek_pipe=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-     fi
+         fi
+         ;;
+     esac
+
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5
 $as_echo "$gl_cv_func_lseek_pipe" >&6; }
@@ -17114,7 +17990,12 @@ $as_echo "#define LSEEK_PIPE_BROKEN 1" >>confdefs.h
 
   fi
 
-if test $REPLACE_LSEEK = 1; then
+
+  if test $WINDOWS_64_BIT_OFF_T = 1; then
+    REPLACE_LSEEK=1
+  fi
+
+  if test $REPLACE_LSEEK = 1; then
 
 
 
@@ -17125,7 +18006,7 @@ if test $REPLACE_LSEEK = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -17146,14 +18027,16 @@ $as_echo "#define GNULIB_TEST_LSEEK 1" >>confdefs.h
 
   if test $ac_cv_func_lstat = yes; then
 
-    if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then
-      REPLACE_LSTAT=1
-    fi
+    case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
+      *no)
+        REPLACE_LSTAT=1
+        ;;
+    esac
   else
     HAVE_LSTAT=0
   fi
 
-if test $REPLACE_LSTAT = 1; then
+  if test $REPLACE_LSTAT = 1; then
 
 
 
@@ -17164,11 +18047,8 @@ if test $REPLACE_LSTAT = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
 
-
-
-  :
-
-fi
+    :
+  fi
 
 
 
@@ -17187,7 +18067,9 @@ $as_echo "#define GNULIB_TEST_LSTAT 1" >>confdefs.h
 
 
 
-    for ac_header in stdlib.h
+
+
+      for ac_header in stdlib.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 if test "x$ac_cv_header_stdlib_h" = xyes; then :
 
 done
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  ac_cv_func_malloc_0_nonnull=no
+  case "$host_os" in
+          # Guess yes on platforms where we know the result.
+          *-gnu* | freebsd* | netbsd* | openbsd* \
+          | hpux* | solaris* | cygwin* | mingw*)
+            ac_cv_func_malloc_0_nonnull=yes ;;
+          # If we don't know, assume the worst.
+          *) ac_cv_func_malloc_0_nonnull=no ;;
+        esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include <stdlib.h>
-#else
-char *malloc ();
-#endif
+            # include <stdlib.h>
+            #else
+            char *malloc ();
+            #endif
 
 int
 main ()
@@ -17222,6 +18112,7 @@ return ! malloc (0);
   ;
   return 0;
 }
+
 _ACEOF
 if ac_fn_c_try_run "$LINENO"; then :
   ac_cv_func_malloc_0_nonnull=yes
@@ -17232,10 +18123,11 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
 
+
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
-if test $ac_cv_func_malloc_0_nonnull = yes; then :
+  if test $ac_cv_func_malloc_0_nonnull = yes; then :
 
 $as_echo "#define HAVE_MALLOC_GNU 1" >>confdefs.h
 
@@ -17247,7 +18139,7 @@ else
 fi
 
 
-if test $REPLACE_MALLOC = 1; then
+  if test $REPLACE_MALLOC = 1; then
 
 
 
@@ -17258,7 +18150,7 @@ if test $REPLACE_MALLOC = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
 
-fi
+  fi
 
 
 cat >>confdefs.h <<_ACEOF
@@ -17277,7 +18169,7 @@ $as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h
     REPLACE_MALLOC=1
   fi
 
-if test $REPLACE_MALLOC = 1; then
+  if test $REPLACE_MALLOC = 1; then
 
 
 
@@ -17288,7 +18180,7 @@ if test $REPLACE_MALLOC = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
 
-fi
+  fi
 
 
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
 $as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
 
+
+
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works on empty input" >&5
+$as_echo_n "checking whether mbrtowc works on empty input... " >&6; }
+if ${gl_cv_func_mbrtowc_empty_input+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+                  case "$host_os" in
+                     # Guess no on AIX and glibc systems.
+        aix* | *-gnu*)
+                    gl_cv_func_mbrtowc_empty_input="guessing no" ;;
+        *)          gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
+      esac
+      if test "$cross_compiling" = yes; then :
+  :
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+           #include <wchar.h>
+           static wchar_t wc;
+           static mbstate_t mbs;
+           int
+           main (void)
+           {
+             return mbrtowc (&wc, "", 0, &mbs) == (size_t) -2;
+           }
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_func_mbrtowc_empty_input=no
+else
+  gl_cv_func_mbrtowc_empty_input=yes
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_empty_input" >&5
+$as_echo "$gl_cv_func_mbrtowc_empty_input" >&6; }
+
       case "$gl_cv_func_mbrtowc_null_arg1" in
         *yes) ;;
         *)
@@ -17865,13 +18800,21 @@ $as_echo "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
         *)
 $as_echo "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
 
+           REPLACE_MBRTOWC=1
+           ;;
+      esac
+      case "$gl_cv_func_mbrtowc_empty_input" in
+        *yes) ;;
+        *)
+$as_echo "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h
+
            REPLACE_MBRTOWC=1
            ;;
       esac
     fi
   fi
 
-if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
+  if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
 
 
 
@@ -17885,7 +18828,7 @@ if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -18094,7 +19037,7 @@ _ACEOF
     fi
   fi
 
-if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
+  if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
 
 
 
@@ -18108,7 +19051,7 @@ if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -18131,7 +19074,7 @@ $as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h
     REPLACE_MBTOWC=1
   fi
 
-if test $REPLACE_MBTOWC = 1; then
+  if test $REPLACE_MBTOWC = 1; then
 
 
 
@@ -18145,7 +19088,7 @@ if test $REPLACE_MBTOWC = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -18174,7 +19117,13 @@ else
 
         mkdir conftest.mkstemp
         if test "$cross_compiling" = yes; then :
-  gl_cv_func_working_mkstemp="guessing no"
+  case "$host_os" in
+                     # Guess yes on glibc systems.
+             *-gnu*) gl_cv_func_working_mkstemp="guessing yes" ;;
+                     # If we don't know, assume the worst.
+             *)      gl_cv_func_working_mkstemp="guessing no" ;;
+           esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5
 $as_echo "$gl_cv_func_working_mkstemp" >&6; }
-    if test "$gl_cv_func_working_mkstemp" != yes; then
-      REPLACE_MKSTEMP=1
-    fi
+    case "$gl_cv_func_working_mkstemp" in
+      *yes) ;;
+      *)
+        REPLACE_MKSTEMP=1
+        ;;
+    esac
   else
     HAVE_MKSTEMP=0
   fi
 
-if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
+  if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
 
 
 
@@ -18247,7 +19199,7 @@ if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
 
 
 
-fi
+  fi
 
 
 
@@ -18275,7 +19227,7 @@ $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
   fi
 
 
-if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
+  if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
 
 
 
@@ -18286,11 +19238,11 @@ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS msvc-inval.$ac_objext"
 
-fi
+  fi
 
 
 
-if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
+  if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
 
 
 
@@ -18301,7 +19253,7 @@ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS msvc-nothrow.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -18372,7 +19324,7 @@ $as_echo "#define REPLACE_NL_LANGINFO 1" >>confdefs.h
     HAVE_NL_LANGINFO=0
   fi
 
-if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
+  if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
 
 
 
@@ -18383,7 +19335,7 @@ if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -18402,7 +19354,7 @@ $as_echo "#define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h
 
 
 
-ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
+  ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
 "
 if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
   ac_have_decl=1
@@ -18414,7 +19366,7 @@ cat >>confdefs.h <<_ACEOF
 #define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
 _ACEOF
 
-ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
+  ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
 "
 if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
   ac_have_decl=1
@@ -18440,7 +19392,7 @@ _ACEOF
   fi
 
 
-if test $REPLACE_READ = 1; then
+  if test $REPLACE_READ = 1; then
 
 
 
@@ -18451,10 +19403,8 @@ if test $REPLACE_READ = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS read.$ac_objext"
 
-
-
-
-fi
+    :
+  fi
 
 
 
@@ -18512,7 +19462,13 @@ else
        ln -s conftest.no-such conftest.link
        ln -s conftest.link conftest.lnk2
        if test "$cross_compiling" = yes; then :
-  gl_cv_func_readlink_works="guessing no"
+  case "$host_os" in
+                    # Guess yes on glibc systems.
+            *-gnu*) gl_cv_func_readlink_works="guessing yes" ;;
+                    # If we don't know, assume the worst.
+            *)      gl_cv_func_readlink_works="guessing no" ;;
+          esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
 $as_echo "$gl_cv_func_readlink_works" >&6; }
-    if test "$gl_cv_func_readlink_works" != yes; then
+    case "$gl_cv_func_readlink_works" in
+      *yes)
+        if test "$gl_cv_decl_readlink_works" != yes; then
+          REPLACE_READLINK=1
+        fi
+        ;;
+      *)
 
 $as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
 
-      REPLACE_READLINK=1
-    elif test "$gl_cv_decl_readlink_works" != yes; then
-      REPLACE_READLINK=1
-    fi
+        REPLACE_READLINK=1
+        ;;
+    esac
   fi
 
-if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
+  if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
 
 
 
@@ -18564,7 +19525,7 @@ if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -18582,7 +19543,8 @@ $as_echo "#define GNULIB_TEST_READLINK 1" >>confdefs.h
 
 
 
-    for ac_header in stdlib.h
+
+      for ac_header in stdlib.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 if test "x$ac_cv_header_stdlib_h" = xyes; then :
 
 done
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  ac_cv_func_realloc_0_nonnull=no
+  case "$host_os" in
+          # Guess yes on platforms where we know the result.
+          *-gnu* | freebsd* | netbsd* | openbsd* \
+          | hpux* | solaris* | cygwin* | mingw*)
+            ac_cv_func_realloc_0_nonnull=yes ;;
+          # If we don't know, assume the worst.
+          *) ac_cv_func_realloc_0_nonnull=no ;;
+        esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include <stdlib.h>
-#else
-char *realloc ();
-#endif
+            # include <stdlib.h>
+            #else
+            char *realloc ();
+            #endif
 
 int
 main ()
@@ -18617,6 +19587,7 @@ return ! realloc (0, 0);
   ;
   return 0;
 }
+
 _ACEOF
 if ac_fn_c_try_run "$LINENO"; then :
   ac_cv_func_realloc_0_nonnull=yes
@@ -18627,10 +19598,11 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
 
+
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
-if test $ac_cv_func_realloc_0_nonnull = yes; then :
+  if test $ac_cv_func_realloc_0_nonnull = yes; then :
 
 $as_echo "#define HAVE_REALLOC_GNU 1" >>confdefs.h
 
@@ -18642,7 +19614,7 @@ else
 fi
 
 
-if test $REPLACE_REALLOC = 1; then
+  if test $REPLACE_REALLOC = 1; then
 
 
 
@@ -18653,7 +19625,7 @@ if test $REPLACE_REALLOC = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
 
-fi
+  fi
 
 
 cat >>confdefs.h <<_ACEOF
@@ -18672,7 +19644,7 @@ $as_echo "#define HAVE_REALLOC_POSIX 1" >>confdefs.h
     REPLACE_REALLOC=1
   fi
 
-if test $REPLACE_REALLOC = 1; then
+  if test $REPLACE_REALLOC = 1; then
 
 
 
@@ -18683,7 +19655,7 @@ if test $REPLACE_REALLOC = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -18715,6 +19687,8 @@ fi
     # following run test, then default to *not* using the included regex.c.
     # If cross compiling, assume the test would fail and use the included
     # regex.c.
+
+
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5
 $as_echo_n "checking for working re_compile_pattern... " >&6; }
 if ${gl_cv_func_re_compile_pattern_working+:} false; then :
@@ -18725,10 +19699,25 @@ else
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-$ac_includes_default
-           #include <locale.h>
-           #include <limits.h>
-           #include <regex.h>
+#include <regex.h>
+
+            #include <locale.h>
+            #include <limits.h>
+            #include <string.h>
+
+            #if defined M_CHECK_ACTION || HAVE_DECL_ALARM
+            # include <signal.h>
+            # include <unistd.h>
+            #endif
+
+            #if HAVE_MALLOC_H
+            # include <malloc.h>
+            #endif
+
+            #ifdef M_CHECK_ACTION
+            /* Exit with distinguishable exit code.  */
+            static void sigabrt_no_core (int sig) { raise (SIGTERM); }
+            #endif
 
 int
 main ()
@@ -18740,26 +19729,72 @@ int result = 0;
             const char *s;
             struct re_registers regs;
 
-            /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
-               This test needs valgrind to catch the bug on Debian
-               GNU/Linux 3.1 x86, but it might catch the bug better
-               on other platforms and it shouldn't hurt to try the
-               test here.  */
+            /* Some builds of glibc go into an infinite loop on this
+               test.  Use alarm to force death, and mallopt to avoid
+               malloc recursion in diagnosing the corrupted heap. */
+#if HAVE_DECL_ALARM
+            signal (SIGALRM, SIG_DFL);
+            alarm (2);
+#endif
+#ifdef M_CHECK_ACTION
+            signal (SIGABRT, sigabrt_no_core);
+            mallopt (M_CHECK_ACTION, 2);
+#endif
+
             if (setlocale (LC_ALL, "en_US.UTF-8"))
               {
-                static char const pat[] = "insert into";
-                static char const data[] =
-                  "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
-                re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
-                               | RE_ICASE);
-                memset (&regex, 0, sizeof regex);
-                s = re_compile_pattern (pat, sizeof pat - 1, &regex);
-                if (s)
-                  result |= 1;
-                else if (re_search (&regex, data, sizeof data - 1,
-                                    0, sizeof data - 1, &regs)
-                         != -1)
-                  result |= 1;
+                {
+                  /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
+                     This test needs valgrind to catch the bug on Debian
+                     GNU/Linux 3.1 x86, but it might catch the bug better
+                     on other platforms and it shouldn't hurt to try the
+                     test here.  */
+                  static char const pat[] = "insert into";
+                  static char const data[] =
+                    "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
+                  re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
+                                 | RE_ICASE);
+                  memset (&regex, 0, sizeof regex);
+                  s = re_compile_pattern (pat, sizeof pat - 1, &regex);
+                  if (s)
+                    result |= 1;
+                  else if (re_search (&regex, data, sizeof data - 1,
+                                      0, sizeof data - 1, &regs)
+                           != -1)
+                    result |= 1;
+                }
+
+                {
+                  /* This test is from glibc bug 15078.
+                     The test case is from Andreas Schwab in
+                     <http://www.sourceware.org/ml/libc-alpha/2013-01/msg00967.html>.
+                     */
+                  static char const pat[] = "[^x]x";
+                  static char const data[] =
+                    /* <U1000><U103B><U103D><U1014><U103A><U102F><U1015><U103A> */
+                    "\xe1\x80\x80"
+                    "\xe1\x80\xbb"
+                    "\xe1\x80\xbd"
+                    "\xe1\x80\x94"
+                    "\xe1\x80\xba"
+                    "\xe1\x80\xaf"
+                    "\xe1\x80\x95"
+                    "\xe1\x80\xba"
+                    "x";
+                  re_set_syntax (0);
+                  memset (&regex, 0, sizeof regex);
+                  s = re_compile_pattern (pat, sizeof pat - 1, &regex);
+                  if (s)
+                    result |= 1;
+                  else
+                    {
+                      i = re_search (&regex, data, sizeof data - 1,
+                                     0, sizeof data - 1, 0);
+                      if (i != 0 && i != 21)
+                        result |= 1;
+                    }
+                }
+
                 if (! setlocale (LC_ALL, "C"))
                   return 1;
               }
@@ -18885,6 +19920,9 @@ $as_echo "$gl_cv_func_re_compile_pattern_working" >&6; }
 
   if test $ac_use_included_regex = yes; then
 
+$as_echo "#define _REGEX_INCLUDE_LIMITS_H 1" >>confdefs.h
+
+
 $as_echo "#define _REGEX_LARGE_OFFSETS 1" >>confdefs.h
 
 
@@ -18934,7 +19972,7 @@ $as_echo "#define regfree rpl_regfree" >>confdefs.h
 
   fi
 
-if test $ac_use_included_regex = yes; then
+  if test $ac_use_included_regex = yes; then
 
 
 
@@ -18950,6 +19988,8 @@ if test $ac_use_included_regex = yes; then
 
 
 
+
+
   for ac_header in libintl.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
@@ -18976,7 +20016,7 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
-fi
+  fi
 
 
 
@@ -18996,7 +20036,7 @@ done
     HAVE_RPMATCH=0
   fi
 
-if test $HAVE_RPMATCH = 0; then
+  if test $HAVE_RPMATCH = 0; then
 
 
 
@@ -19041,7 +20081,7 @@ $as_echo "#define HAVE_LANGINFO_YESEXPR 1" >>confdefs.h
 
   fi
 
-fi
+  fi
 
 
 
@@ -19062,7 +20102,69 @@ $as_echo "#define GNULIB_TEST_RPMATCH 1" >>confdefs.h
 
 
 
-            ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include <unistd.h>
+
+
+
+  if test $ac_cv_func_secure_getenv = no; then
+    HAVE_SECURE_GETENV=0
+  fi
+
+  if test $HAVE_SECURE_GETENV = 0; then
+
+
+
+
+
+
+
+
+  gl_LIBOBJS="$gl_LIBOBJS secure_getenv.$ac_objext"
+
+
+  for ac_func in __secure_getenv
+do :
+  ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
+if test "x$ac_cv_func___secure_getenv" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE___SECURE_GETENV 1
+_ACEOF
+
+fi
+done
+
+  if test $ac_cv_func___secure_getenv = no; then
+    for ac_func in issetugid
+do :
+  ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
+if test "x$ac_cv_func_issetugid" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_ISSETUGID 1
+_ACEOF
+
+fi
+done
+
+  fi
+
+  fi
+
+
+
+
+
+          GNULIB_SECURE_GETENV=1
+
+
+
+
+
+$as_echo "#define GNULIB_TEST_SECURE_GETENV 1" >>confdefs.h
+
+
+
+
+
+               ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include <unistd.h>
 "
 if test "x$ac_cv_have_decl_sleep" = xyes; then :
   ac_have_decl=1
@@ -19084,7 +20186,13 @@ if ${gl_cv_func_sleep_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  gl_cv_func_sleep_works="guessing no"
+  case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_sleep_works="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_sleep_works="guessing no" ;;
+       esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sleep_works" >&5
 $as_echo "$gl_cv_func_sleep_works" >&6; }
-    if test "$gl_cv_func_sleep_works" != yes; then
-      REPLACE_SLEEP=1
-    fi
+    case "$gl_cv_func_sleep_works" in
+      *yes) ;;
+      *)
+        REPLACE_SLEEP=1
+        ;;
+    esac
   fi
 
-if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
+  if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
 
 
 
@@ -19148,7 +20259,7 @@ if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS sleep.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -19235,7 +20346,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5
 $as_echo "$gl_cv_func_stat_dir_slash" >&6; }
-      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
 $as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
 if ${gl_cv_func_stat_file_slash+:} false; then :
   $as_echo_n "(cached) " >&6
@@ -19246,7 +20357,13 @@ else
          ln -s conftest.tmp conftest.lnk
        fi
        if test "$cross_compiling" = yes; then :
-  gl_cv_func_stat_file_slash="guessing no"
+  case "$host_os" in
+                    # Guess yes on glibc systems.
+            *-gnu*) gl_cv_func_stat_file_slash="guessing yes" ;;
+                    # If we don't know, assume the worst.
+            *)      gl_cv_func_stat_file_slash="guessing no" ;;
+          esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -19295,7 +20412,7 @@ $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
 ;;
   esac
 
-if test $REPLACE_STAT = 1; then
+  if test $REPLACE_STAT = 1; then
 
 
 
@@ -19306,11 +20423,8 @@ if test $REPLACE_STAT = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext"
 
-
-
-  :
-
-fi
+    :
+  fi
 
 
 
@@ -19395,36 +20509,40 @@ if ${gl_cv_next_stdarg_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdarg.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'stdarg.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
 
-               gl_header_literal_regex=`echo 'stdarg.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+        gl_cv_absolute_stdarg_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_stdarg_h
+           gl_cv_next_stdarg_h='"'$gl_header'"'
 
 
 fi
@@ -19598,36 +20716,40 @@ if ${gl_cv_next_stddef_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stddef.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'stddef.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
 
-               gl_header_literal_regex=`echo 'stddef.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+        gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_stddef_h
+           gl_cv_next_stddef_h='"'$gl_header'"'
 
 
 fi
@@ -19661,6 +20783,157 @@ $as_echo "$gl_cv_next_stddef_h" >&6; }
 
 
 
+     if test $gl_cv_have_include_next = yes; then
+       gl_cv_next_stdio_h='<'stdio.h'>'
+     else
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
+$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
+if ${gl_cv_next_stdio_h+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdio.h>
+_ACEOF
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
+
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'stdio.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_stdio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_stdio_h
+           gl_cv_next_stdio_h='"'$gl_header'"'
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
+$as_echo "$gl_cv_next_stdio_h" >&6; }
+     fi
+     NEXT_STDIO_H=$gl_cv_next_stdio_h
+
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
+       gl_next_as_first_directive='<'stdio.h'>'
+     else
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
+       gl_next_as_first_directive=$gl_cv_next_stdio_h
+     fi
+     NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
+
+
+
+
+
+      GNULIB_FSCANF=1
+
+
+cat >>confdefs.h <<_ACEOF
+#define GNULIB_FSCANF 1
+_ACEOF
+
+
+  GNULIB_SCANF=1
+
+
+cat >>confdefs.h <<_ACEOF
+#define GNULIB_SCANF 1
+_ACEOF
+
+
+  GNULIB_FGETC=1
+  GNULIB_GETC=1
+  GNULIB_GETCHAR=1
+  GNULIB_FGETS=1
+  GNULIB_FREAD=1
+
+
+      GNULIB_FPRINTF=1
+  GNULIB_PRINTF=1
+  GNULIB_VFPRINTF=1
+  GNULIB_VPRINTF=1
+  GNULIB_FPUTC=1
+  GNULIB_PUTC=1
+  GNULIB_PUTCHAR=1
+  GNULIB_FPUTS=1
+  GNULIB_PUTS=1
+  GNULIB_FWRITE=1
+
+
+
+
+    for gl_func in dprintf fpurge fseeko ftello getdelim getline gets pclose popen     renameat snprintf tmpfile vdprintf vsnprintf; do
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
+if eval \${$as_gl_Symbol+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdio.h>
+
+int
+main ()
+{
+#undef $gl_func
+  (void) $gl_func;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$as_gl_Symbol=yes"
+else
+  eval "$as_gl_Symbol=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$as_gl_Symbol
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
+_ACEOF
+
+                     eval ac_cv_have_decl_$gl_func=yes
+fi
+      done
+
+
+
+
+
+
+
+
+
+
+
+
      if test $gl_cv_have_include_next = yes; then
        gl_cv_next_stdlib_h='<'stdlib.h'>'
      else
@@ -19670,36 +20943,40 @@ if ${gl_cv_next_stdlib_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdlib.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'stdlib.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_stdlib_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
 
-               gl_header_literal_regex=`echo 'stdlib.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+           gl_header=$gl_cv_absolute_stdlib_h
+           gl_cv_next_stdlib_h='"'$gl_header'"'
 
 
 fi
@@ -19722,7 +20999,7 @@ $as_echo "$gl_cv_next_stdlib_h" >&6; }
 
 
 
-    for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt     initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps     posix_openpt ptsname ptsname_r random random_r realpath rpmatch     setenv setstate setstate_r srandom srandom_r     strtod strtoll strtoull unlockpt unsetenv; do
+    for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt     initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps     posix_openpt ptsname ptsname_r random random_r realpath rpmatch     secure_getenv setenv setstate setstate_r srandom srandom_r     strtod strtoll strtoull unlockpt unsetenv; do
     as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
 
 
 
-  for ac_func in strcasecmp
-do :
-  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
-if test "x$ac_cv_func_strcasecmp" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_STRCASECMP 1
-_ACEOF
-
-fi
-done
-
-  if test $ac_cv_func_strcasecmp = no; then
-    HAVE_STRCASECMP=0
-  fi
-
-
-
-  for ac_func in strncasecmp
-do :
-  ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
-if test "x$ac_cv_func_strncasecmp" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_STRNCASECMP 1
-_ACEOF
-
-fi
-done
-
-  if test $ac_cv_func_strncasecmp = yes; then
-    HAVE_STRNCASECMP=1
-  else
-    HAVE_STRNCASECMP=0
-  fi
-  ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default"
-if test "x$ac_cv_have_decl_strncasecmp" = xyes; then :
-  ac_have_decl=1
-else
-  ac_have_decl=0
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_STRNCASECMP $ac_have_decl
-_ACEOF
-
-  if test $ac_cv_have_decl_strncasecmp = no; then
-    HAVE_DECL_STRNCASECMP=0
-  fi
-
-
-if test $HAVE_STRCASECMP = 0; then
-
-
-
-
-
-
-
-
-  gl_LIBOBJS="$gl_LIBOBJS strcasecmp.$ac_objext"
-
-
-  :
-
-fi
-if test $HAVE_STRNCASECMP = 0; then
-
-
-
-
-
-
-
-
-  gl_LIBOBJS="$gl_LIBOBJS strncasecmp.$ac_objext"
-
-
-  :
-
-fi
-
-
-
 
   if test $ac_cv_func_strdup = yes; then
     if test $gl_cv_func_malloc_posix != yes; then
@@ -19864,7 +21059,7 @@ fi
     HAVE_DECL_STRDUP=0
   fi
 
-if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
+  if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
 
 
 
@@ -19875,8 +21070,8 @@ if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS strdup.$ac_objext"
 
-  :
-fi
+    :
+  fi
 
 
 
@@ -19897,8 +21092,6 @@ $as_echo "#define GNULIB_TEST_STRDUP 1" >>confdefs.h
 
 
 
-
-
   if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
 $as_echo_n "checking for working strerror function... " >&6; }
@@ -19906,7 +21099,13 @@ if ${gl_cv_func_working_strerror+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-           gl_cv_func_working_strerror="guessing no"
+  case "$host_os" in
+                   # Guess yes on glibc systems.
+           *-gnu*) gl_cv_func_working_strerror="guessing yes" ;;
+                   # If we don't know, assume the worst.
+           *)      gl_cv_func_working_strerror="guessing no" ;;
+         esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
 $as_echo "$gl_cv_func_working_strerror" >&6; }
-    if test "$gl_cv_func_working_strerror" != yes; then
-                  REPLACE_STRERROR=1
-    fi
-
-                  case "$gl_cv_func_strerror_r_works" in
-        *no) REPLACE_STRERROR=1 ;;
-      esac
+    case "$gl_cv_func_working_strerror" in
+      *yes) ;;
+      *)
+                        REPLACE_STRERROR=1
+        ;;
+    esac
 
   else
             REPLACE_STRERROR=1
   fi
 
-if test $REPLACE_STRERROR = 1; then
+  if test $REPLACE_STRERROR = 1; then
 
 
 
@@ -19956,7 +21154,7 @@ if test $REPLACE_STRERROR = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext"
 
-fi
+  fi
 
 
 cat >>confdefs.h <<_ACEOF
@@ -19981,7 +21179,7 @@ $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h
 
 
 
-if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
+  if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
 
 
 
@@ -20019,10 +21217,7 @@ done
   fi
 
 
-fi
-
-
-
+  fi
 
 
 
@@ -20061,7 +21256,7 @@ int
 main ()
 {
 
-#ifndef HAVE_DECL_STRNDUP
+#if !HAVE_DECL_STRNDUP
   extern
   #ifdef __cplusplus
   "C"
@@ -20096,7 +21291,7 @@ $as_echo "$gl_cv_func_strndup_works" >&6; }
     HAVE_STRNDUP=0
   fi
 
-if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
+  if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
 
 
 
@@ -20107,7 +21302,7 @@ if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -20191,7 +21386,7 @@ test $ac_cv_func_strnlen_working = no && :
     fi
   fi
 
-if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
+  if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
 
 
 
@@ -20202,8 +21397,8 @@ if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext"
 
-  :
-fi
+    :
+  fi
 
 
 
@@ -20239,7 +21434,7 @@ done
     fi
   fi
 
-if test $HAVE_STRTOLL = 0; then
+  if test $HAVE_STRTOLL = 0; then
 
 
 
@@ -20253,7 +21448,7 @@ if test $HAVE_STRTOLL = 0; then
 
   :
 
-fi
+  fi
 
 
 
@@ -20289,7 +21484,7 @@ done
     fi
   fi
 
-if test $HAVE_STRTOULL = 0; then
+  if test $HAVE_STRTOULL = 0; then
 
 
 
@@ -20303,7 +21498,7 @@ if test $HAVE_STRTOULL = 0; then
 
   :
 
-fi
+  fi
 
 
 
@@ -20333,8 +21528,6 @@ $as_echo "#define GNULIB_TEST_STRTOULL 1" >>confdefs.h
 
 
 
-
-
      if test $gl_cv_have_include_next = yes; then
        gl_cv_next_sys_stat_h='<'sys/stat.h'>'
      else
@@ -20347,36 +21540,40 @@ else
              if test $ac_cv_header_sys_stat_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/stat.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'sys/stat.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'sys/stat.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_sys_stat_h
+           gl_cv_next_sys_stat_h='"'$gl_header'"'
           else
                gl_cv_next_sys_stat_h='<'sys/stat.h'>'
              fi
@@ -20403,6 +21600,16 @@ $as_echo "$gl_cv_next_sys_stat_h" >&6; }
 
 
 
+
+
+
+
+  if test $WINDOWS_64_BIT_ST_SIZE = 1; then
+
+$as_echo "#define _GL_WINDOWS_64_BIT_ST_SIZE 1" >>confdefs.h
+
+  fi
+
       ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
      #include <sys/stat.h>
 "
 
 
 
-
-
-
-
-
-
-
-
-
-
-     if test $gl_cv_have_include_next = yes; then
-       gl_cv_next_sys_types_h='<'sys/types.h'>'
-     else
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
-$as_echo_n "checking absolute name of <sys/types.h>... " >&6; }
-if ${gl_cv_next_sys_types_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <sys/types.h>
-
-_ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
-
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'sys/types.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_sys_types_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
-$as_echo "$gl_cv_next_sys_types_h" >&6; }
-     fi
-     NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
-
-     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
-       gl_next_as_first_directive='<'sys/types.h'>'
-     else
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
-       gl_next_as_first_directive=$gl_cv_next_sys_types_h
-     fi
-     NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive
-
-
-
-
-
-
-
-
-
-
-
-
-  :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-     if test $gl_cv_have_include_next = yes; then
-       gl_cv_next_unistd_h='<'unistd.h'>'
-     else
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
-$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
-if ${gl_cv_next_unistd_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-             if test $ac_cv_header_unistd_h = yes; then
-
-
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <unistd.h>
-
-_ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
-
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'unistd.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
-          else
-               gl_cv_next_unistd_h='<'unistd.h'>'
-             fi
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
-$as_echo "$gl_cv_next_unistd_h" >&6; }
-     fi
-     NEXT_UNISTD_H=$gl_cv_next_unistd_h
-
-     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
-       gl_next_as_first_directive='<'unistd.h'>'
-     else
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
-       gl_next_as_first_directive=$gl_cv_next_unistd_h
-     fi
-     NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
-
-
-
-
-  if test $ac_cv_header_unistd_h = yes; then
-    HAVE_UNISTD_H=1
-  else
-    HAVE_UNISTD_H=0
-  fi
-
-
-
-
-
-    for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat     fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups     gethostname getlogin getlogin_r getpagesize     getusershell setusershell endusershell     group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite     readlink readlinkat rmdir sethostname sleep symlink symlinkat ttyname_r     unlink unlinkat usleep; do
-    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
-$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
-if eval \${$as_gl_Symbol+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-/* Some systems declare various items in the wrong headers.  */
-#if !(defined __GLIBC__ && !defined __UCLIBC__)
-# include <fcntl.h>
-# include <stdio.h>
-# include <stdlib.h>
-# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-#  include <io.h>
-# endif
-#endif
-
-int
-main ()
-{
-#undef $gl_func
-  (void) $gl_func;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$as_gl_Symbol=yes"
-else
-  eval "$as_gl_Symbol=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$as_gl_Symbol
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
-_ACEOF
-
-                     eval ac_cv_have_decl_$gl_func=yes
-fi
-      done
-
-
-
-
-
-
+
+
+
+
+  :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+     if test $gl_cv_have_include_next = yes; then
+       gl_cv_next_unistd_h='<'unistd.h'>'
+     else
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
+$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
+if ${gl_cv_next_unistd_h+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+             if test $ac_cv_header_unistd_h = yes; then
+
+
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+_ACEOF
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
+
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'unistd.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_unistd_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_unistd_h
+           gl_cv_next_unistd_h='"'$gl_header'"'
+          else
+               gl_cv_next_unistd_h='<'unistd.h'>'
+             fi
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
+$as_echo "$gl_cv_next_unistd_h" >&6; }
+     fi
+     NEXT_UNISTD_H=$gl_cv_next_unistd_h
+
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
+       gl_next_as_first_directive='<'unistd.h'>'
+     else
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
+       gl_next_as_first_directive=$gl_cv_next_unistd_h
+     fi
+     NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
+
+
+
+
+  if test $ac_cv_header_unistd_h = yes; then
+    HAVE_UNISTD_H=1
+  else
+    HAVE_UNISTD_H=0
+  fi
+
+
+
+
+
+
+
+    for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat     fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups     gethostname getlogin getlogin_r getpagesize     getusershell setusershell endusershell     group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite     readlink readlinkat rmdir sethostname sleep symlink symlinkat ttyname_r     unlink unlinkat usleep; do
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
+if eval \${$as_gl_Symbol+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+/* Some systems declare various items in the wrong headers.  */
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
+# include <fcntl.h>
+# include <stdio.h>
+# include <stdlib.h>
+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+#  include <io.h>
+# endif
+#endif
+
+int
+main ()
+{
+#undef $gl_func
+  (void) $gl_func;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$as_gl_Symbol=yes"
+else
+  eval "$as_gl_Symbol=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$as_gl_Symbol
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
+_ACEOF
+
+                     eval ac_cv_have_decl_$gl_func=yes
+fi
+      done
+
+
+
+
+
+
+
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink honors trailing slashes" >&5
 $as_echo_n "checking whether unlink honors trailing slashes... " >&6; }
 if ${gl_cv_func_unlink_honors_slashes+:} false; then :
@@ -20699,7 +21843,13 @@ else
        ln -s conftest.file conftest.lnk
      fi
      if test "$cross_compiling" = yes; then :
-  gl_cv_func_unlink_honors_slashes="guessing no"
+  case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_unlink_honors_slashes="guessing no" ;;
+       esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_honors_slashes" >&5
 $as_echo "$gl_cv_func_unlink_honors_slashes" >&6; }
+  case "$gl_cv_func_unlink_honors_slashes" in
+    *no)
+      REPLACE_UNLINK=1
+      ;;
+  esac
+
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink of a parent directory fails as it should" >&5
 $as_echo_n "checking whether unlink of a parent directory fails as it should... " >&6; }
 if ${gl_cv_func_unlink_parent_fails+:} false; then :
@@ -20769,7 +21925,9 @@ else
            GL_SUBDIR_FOR_UNLINK="$tmp/subdir"
            export GL_SUBDIR_FOR_UNLINK
            if test "$cross_compiling" = yes; then :
-  gl_cv_func_unlink_parent_fails="guessing no"
+  # If we don't know, assume the worst.
+              gl_cv_func_unlink_parent_fails="guessing no"
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 $as_echo "$gl_cv_func_unlink_parent_fails" >&6; }
   case "$gl_cv_func_unlink_parent_fails" in
     *no)
+      REPLACE_UNLINK=1
 
 $as_echo "#define UNLINK_PARENT_BUG 1" >>confdefs.h
 
       ;;
   esac
-  if test "$gl_cv_func_unlink_honors_slashes" != yes \
-     || { case "$gl_cv_func_unlink_parent_fails" in
-            *yes) false;;
-            *no) true;;
-          esac
-        }; then
-    REPLACE_UNLINK=1
-  fi
 
-if test $REPLACE_UNLINK = 1; then
+  if test $REPLACE_UNLINK = 1; then
 
 
 
@@ -20842,7 +21993,7 @@ if test $REPLACE_UNLINK = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS unlink.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -20880,7 +22031,13 @@ if ${gl_cv_func_usleep_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  gl_cv_func_usleep_works="guessing no"
+  case "$host_os" in
+                   # Guess yes on glibc systems.
+           *-gnu*) gl_cv_func_usleep_works="guessing yes" ;;
+                   # If we don't know, assume the worst.
+           *)      gl_cv_func_usleep_works="guessing no" ;;
+         esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_usleep_works" >&5
 $as_echo "$gl_cv_func_usleep_works" >&6; }
-    if test "$gl_cv_func_usleep_works" != yes; then
-      REPLACE_USLEEP=1
-    fi
+    case "$gl_cv_func_usleep_works" in
+      *yes) ;;
+      *)
+        REPLACE_USLEEP=1
+        ;;
+    esac
   fi
 
-if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
+  if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
 
 
 
@@ -20923,7 +22083,7 @@ if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
 
   gl_LIBOBJS="$gl_LIBOBJS usleep.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -21002,7 +22162,6 @@ fi
 
 
 
-
      if test $gl_cv_have_include_next = yes; then
        gl_cv_next_wchar_h='<'wchar.h'>'
      else
@@ -21015,36 +22174,40 @@ else
              if test $ac_cv_header_wchar_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <wchar.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'wchar.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'wchar.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_wchar_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_wchar_h
+           gl_cv_next_wchar_h='"'$gl_header'"'
           else
                gl_cv_next_wchar_h='<'wchar.h'>'
              fi
@@ -21403,7 +22566,7 @@ $as_echo "$gl_cv_func_wcrtomb_retval" >&6; }
     fi
   fi
 
-if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
+  if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
 
 
 
@@ -21417,7 +22580,7 @@ if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -21446,8 +22609,6 @@ $as_echo "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h
 
 
 
-
-
   if test $gt_cv_c_wint_t = yes; then
     HAVE_WINT_T=1
   else
@@ -21476,36 +22637,40 @@ else
              if test $ac_cv_header_wctype_h = yes; then
 
 
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <wctype.h>
-
 _ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
+                case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
 
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'wctype.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
+  case "$host_os" in
+    mingw*)
+                                          gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+      gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo 'wctype.h' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+
+        gl_cv_absolute_wctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
+  sed -n "$gl_absolute_header_sed"`
+
+           gl_header=$gl_cv_absolute_wctype_h
+           gl_cv_next_wctype_h='"'$gl_header'"'
           else
                gl_cv_next_wctype_h='<'wctype.h'>'
              fi
@@ -21553,9 +22718,9 @@ main ()
 }
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_func_iswcntrl_works=yes
+  gl_cv_func_iswcntrl_works="guessing yes"
 else
-  gl_cv_func_iswcntrl_works=no
+  gl_cv_func_iswcntrl_works="guessing no"
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
@@ -21595,11 +22760,10 @@ $as_echo "$gl_cv_func_iswcntrl_works" >&6; }
   fi
 
 
-  if test "$gl_cv_func_iswcntrl_works" = no; then
-    REPLACE_ISWCNTRL=1
-  else
-    REPLACE_ISWCNTRL=0
-  fi
+  case "$gl_cv_func_iswcntrl_works" in
+    *yes) REPLACE_ISWCNTRL=0 ;;
+    *)    REPLACE_ISWCNTRL=1 ;;
+  esac
 
 
   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
@@ -21793,9 +22957,6 @@ fi
       done
 
 
-
-
-
   :
 
 
 
 
 
-
-  :
-
-
-
   :
 
 
@@ -21890,8 +23046,8 @@ $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
 
   fi
 
-test $ac_cv_type_long_long_int = no \
-  && as_fn_error $? "you lack long long support; required by gnulib's xstrtoll module" "$LINENO" 5
+  test $ac_cv_type_long_long_int = no \
+    && as_fn_error $? "you lack long long support; required by gnulib's xstrtoll module" "$LINENO" 5
   # End of code from modules
 
 
@@ -21953,7 +23109,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -22012,7 +23168,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -22091,7 +23247,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 # endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -22150,7 +23306,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -22216,7 +23372,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -22275,7 +23431,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -22356,7 +23512,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -22413,7 +23569,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -22463,17 +23619,17 @@ else
   if test "$cross_compiling" = yes; then :
   case "$host_os" in
            mingw*) # on this platform, dup2 always returns 0 for success
-             gl_cv_func_dup2_works=no;;
+             gl_cv_func_dup2_works="guessing no" ;;
            cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
-             gl_cv_func_dup2_works=no;;
+             gl_cv_func_dup2_works="guessing no" ;;
            linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
                    # closed fd may yield -EBADF instead of -1 / errno=EBADF.
-             gl_cv_func_dup2_works=no;;
+             gl_cv_func_dup2_works="guessing no" ;;
            freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
-             gl_cv_func_dup2_works=no;;
+             gl_cv_func_dup2_works="guessing no" ;;
            haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
-             gl_cv_func_dup2_works=no;;
-           *) gl_cv_func_dup2_works=yes;;
+             gl_cv_func_dup2_works="guessing no" ;;
+           *) gl_cv_func_dup2_works="guessing yes" ;;
          esac
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -22502,6 +23658,11 @@ int result = 0;
             /* Many gnulib modules require POSIX conformance of EBADF.  */
             if (dup2 (2, 1000000) == -1 && errno != EBADF)
               result |= 16;
+            /* Flush out some cygwin core dumps.  */
+            if (dup2 (2, -1) != -1 || errno != EBADF)
+              result |= 32;
+            dup2 (2, 255);
+            dup2 (2, 256);
             return result;
 
   ;
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5
 $as_echo "$gl_cv_func_dup2_works" >&6; }
-    if test "$gl_cv_func_dup2_works" = no; then
-      REPLACE_DUP2=1
-    fi
-  fi
-
-
+    case "$gl_cv_func_dup2_works" in
+      *yes) ;;
+      *)
+        REPLACE_DUP2=1
+        for ac_func in setdtablesize
+do :
+  ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize"
+if test "x$ac_cv_func_setdtablesize" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_SETDTABLESIZE 1
+_ACEOF
 
+fi
+done
 
-  if test $ac_cv_func_fchdir = no; then
-    HAVE_FCHDIR=0
+        ;;
+    esac
   fi
 
-    if test $HAVE_FCHDIR = 0; then
-      if test $HAVE_DUP2 = 1; then
-        REPLACE_DUP2=1
-      fi
-    fi
 
-
-if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
+  if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
 
 
 
@@ -22553,7 +23715,7 @@ if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
   gltests_LIBOBJS="$gltests_LIBOBJS dup2.$ac_objext"
 
 
-fi
+  fi
 
 
 
@@ -22627,10 +23789,8 @@ main (void)
   FILE *fp;
   errno = 0;
   fp = fdopen (-1, "r");
-  if (fp != NULL)
+  if (fp == NULL && errno == 0)
     return 1;
-  if (errno == 0)
-    return 2;
   return 0;
 }
 _ACEOF
@@ -22652,7 +23812,7 @@ $as_echo "$gl_cv_func_fdopen_works" >&6; }
     esac
   fi
 
-if test $REPLACE_FDOPEN = 1; then
+  if test $REPLACE_FDOPEN = 1; then
 
 
 
@@ -22664,7 +23824,7 @@ if test $REPLACE_FDOPEN = 1; then
   gltests_LIBOBJS="$gltests_LIBOBJS fdopen.$ac_objext"
 
 
-fi
+  fi
 
 
 
@@ -22698,7 +23858,7 @@ $as_echo "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h
     ;;
   esac
 
-if test $REPLACE_GETCWD = 1; then
+  if test $REPLACE_GETCWD = 1; then
 
 
 
@@ -22709,7 +23869,7 @@ if test $REPLACE_GETCWD = 1; then
 
   gltests_LIBOBJS="$gltests_LIBOBJS getcwd-lgpl.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -22734,6 +23894,98 @@ $as_echo "#define GNULIB_TEST_GETCWD 1" >>confdefs.h
 
 
 
+
+  if test $ac_cv_func_getdtablesize = yes; then
+    # Cygwin 1.7.25 automatically increases the RLIMIT_NOFILE soft limit
+    # up to an unchangeable hard limit; all other platforms correctly
+    # require setrlimit before getdtablesize() can report a larger value.
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getdtablesize works" >&5
+$as_echo_n "checking whether getdtablesize works... " >&6; }
+if ${gl_cv_func_getdtablesize_works+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test "$cross_compiling" = yes; then :
+  case "$host_os" in
+          cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows
+            gl_cv_func_getdtablesize_works="guessing no" ;;
+          *) gl_cv_func_getdtablesize_works="guessing yes" ;;
+         esac
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+        #include <unistd.h>
+int
+main ()
+{
+int size = getdtablesize();
+           if (dup2 (0, getdtablesize()) != -1)
+             return 1;
+           if (size != getdtablesize())
+             return 2;
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+  gl_cv_func_getdtablesize_works=yes
+else
+  gl_cv_func_getdtablesize_works=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getdtablesize_works" >&5
+$as_echo "$gl_cv_func_getdtablesize_works" >&6; }
+    case "$gl_cv_func_getdtablesize_works" in
+      *yes) ;;
+      *) REPLACE_GETDTABLESIZE=1 ;;
+    esac
+  else
+    HAVE_GETDTABLESIZE=0
+  fi
+
+  if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
+
+
+
+
+
+
+
+
+  gltests_LIBOBJS="$gltests_LIBOBJS getdtablesize.$ac_objext"
+
+    :
+  fi
+
+
+
+
+
+    if test "$GNULIB_GETDTABLESIZE" != 1; then
+        if test "$GNULIB_GETDTABLESIZE" = 0; then
+      GNULIB_GETDTABLESIZE=$gl_module_indicator_condition
+    else
+      GNULIB_GETDTABLESIZE="($GNULIB_GETDTABLESIZE || $gl_module_indicator_condition)"
+    fi
+  fi
+
+
+
+
+
+$as_echo "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h
+
+
+
+
+
+
   for ac_func in getpagesize
 do :
   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
@@ -22791,7 +24043,7 @@ else
 fi
 
 
-if test $REPLACE_GETPAGESIZE = 1; then
+  if test $REPLACE_GETPAGESIZE = 1; then
 
 
 
@@ -22802,7 +24054,7 @@ if test $REPLACE_GETPAGESIZE = 1; then
 
   gltests_LIBOBJS="$gltests_LIBOBJS getpagesize.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -22828,195 +24080,6 @@ $as_echo "#define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h
 
 
 
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
-$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
-if ${gl_cv_header_locale_h_posix2001+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <locale.h>
-            int x = LC_MESSAGES;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_header_locale_h_posix2001=yes
-else
-  gl_cv_header_locale_h_posix2001=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5
-$as_echo "$gl_cv_header_locale_h_posix2001" >&6; }
-
-
-  if test $ac_cv_header_xlocale_h = yes; then
-    HAVE_XLOCALE_H=1
-                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
-$as_echo_n "checking whether locale.h defines locale_t... " >&6; }
-if ${gl_cv_header_locale_has_locale_t+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <locale.h>
-              locale_t x;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gl_cv_header_locale_has_locale_t=yes
-else
-  gl_cv_header_locale_has_locale_t=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5
-$as_echo "$gl_cv_header_locale_has_locale_t" >&6; }
-    if test $gl_cv_header_locale_has_locale_t = yes; then
-      gl_cv_header_locale_h_needs_xlocale_h=no
-    else
-      gl_cv_header_locale_h_needs_xlocale_h=yes
-    fi
-  else
-    HAVE_XLOCALE_H=0
-    gl_cv_header_locale_h_needs_xlocale_h=no
-  fi
-
-
-
-
-
-
-
-
-
-
-     if test $gl_cv_have_include_next = yes; then
-       gl_cv_next_locale_h='<'locale.h'>'
-     else
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
-$as_echo_n "checking absolute name of <locale.h>... " >&6; }
-if ${gl_cv_next_locale_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <locale.h>
-
-_ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
-
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'locale.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_locale_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5
-$as_echo "$gl_cv_next_locale_h" >&6; }
-     fi
-     NEXT_LOCALE_H=$gl_cv_next_locale_h
-
-     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
-       gl_next_as_first_directive='<'locale.h'>'
-     else
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
-       gl_next_as_first_directive=$gl_cv_next_locale_h
-     fi
-     NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive
-
-
-
-
-
-
-    for gl_func in setlocale duplocale; do
-    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
-$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
-if eval \${$as_gl_Symbol+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <locale.h>
-/* Some systems provide declarations in a non-standard header.  */
-#if HAVE_XLOCALE_H
-# include <xlocale.h>
-#endif
-
-int
-main ()
-{
-#undef $gl_func
-  (void) $gl_func;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$as_gl_Symbol=yes"
-else
-  eval "$as_gl_Symbol=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$as_gl_Symbol
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
-_ACEOF
-
-                     eval ac_cv_have_decl_$gl_func=yes
-fi
-      done
-
-
-
-
-
-
   for ac_func in setlocale uselocale
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -23033,50 +24096,6 @@ done
 
 
 
-  if test "$gl_threads_api" = posix; then
-    # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
-    # pthread_rwlock_* functions.
-    ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
-"
-if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
-
-$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
-
-fi
-
-    # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-      #include <pthread.h>
-int
-main ()
-{
-
-#if __FreeBSD__ == 4
-error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
-#else
-int x = (int)PTHREAD_MUTEX_RECURSIVE;
-return !x;
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-$as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  fi
-
-
-
-
-
-
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
 $as_echo_n "checking for a traditional french locale... " >&6; }
@@ -23110,7 +24129,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -23169,7 +24188,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -23248,7 +24267,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 # endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -23307,7 +24326,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -23375,7 +24394,7 @@ int main ()
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -23431,7 +24450,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the AIX locale name.
@@ -23515,7 +24534,7 @@ int main ()
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -23580,7 +24599,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the locale name without encoding suffix.
@@ -23648,7 +24667,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 # endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -23707,7 +24726,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -23773,7 +24792,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -23832,7 +24851,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -23911,7 +24930,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 # endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -23970,7 +24989,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -24073,22 +25092,9 @@ $as_echo "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
       ;;
   esac
 
-    if test $REPLACE_OPEN = 0; then
-
-
-
-  if test $ac_cv_func_fchdir = no; then
-    HAVE_FCHDIR=0
-  fi
-
-      if test $HAVE_FCHDIR = 0; then
-        REPLACE_OPEN=1
-      fi
-    fi
-
 
 
-if test $REPLACE_OPEN = 1; then
+  if test $REPLACE_OPEN = 1; then
 
 
 
@@ -24101,10 +25107,9 @@ if test $REPLACE_OPEN = 1; then
 
 
 
-
   :
 
-fi
+  fi
 
 
 
@@ -24127,7 +25132,6 @@ $as_echo "#define GNULIB_TEST_OPEN 1" >>confdefs.h
 
 
 
-
   for ac_func in getppriv
 do :
   ac_fn_c_check_func "$LINENO" "getppriv" "ac_cv_func_getppriv"
@@ -24143,13 +25147,19 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5
 $as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; }
 if ${gl_cv_func_svid_putenv+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-               gl_cv_func_svid_putenv=no
+               case "$host_os" in
+                        # Guess yes on glibc systems.
+                *-gnu*) gl_cv_func_svid_putenv="guessing yes" ;;
+                        # If we don't know, assume the worst.
+                *)      gl_cv_func_svid_putenv="guessing no" ;;
+              esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5
 $as_echo "$gl_cv_func_svid_putenv" >&6; }
-  if test $gl_cv_func_svid_putenv = no; then
-    REPLACE_PUTENV=1
-  fi
+  case "$gl_cv_func_svid_putenv" in
+    *yes) ;;
+    *)
+      REPLACE_PUTENV=1
+      ;;
+  esac
 
-if test $REPLACE_PUTENV = 1; then
+  if test $REPLACE_PUTENV = 1; then
 
 
 
@@ -24204,8 +25217,21 @@ if test $REPLACE_PUTENV = 1; then
 
   gltests_LIBOBJS="$gltests_LIBOBJS putenv.$ac_objext"
 
+
+  ac_fn_c_check_decl "$LINENO" "_putenv" "ac_cv_have_decl__putenv" "$ac_includes_default"
+if test "x$ac_cv_have_decl__putenv" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__PUTENV $ac_have_decl
+_ACEOF
+
+
+  fi
+
 
 
 
@@ -24228,7 +25254,72 @@ $as_echo "#define GNULIB_TEST_PUTENV 1" >>confdefs.h
 
 
 
-  if test $ac_cv_func_setenv = no; then
+
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
+  # irrelevant for anonymous mappings.
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
+if test "x$ac_cv_func_mmap" = xyes; then :
+  gl_have_mmap=yes
+else
+  gl_have_mmap=no
+fi
+
+
+  # Try to allow MAP_ANONYMOUS.
+  gl_have_mmap_anonymous=no
+  if test $gl_have_mmap = yes; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#include <sys/mman.h>
+#ifdef MAP_ANONYMOUS
+    I cannot identify this map
+#endif
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
+  gl_have_mmap_anonymous=yes
+fi
+rm -f conftest*
+
+    if test $gl_have_mmap_anonymous != yes; then
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#include <sys/mman.h>
+#ifdef MAP_ANON
+    I cannot identify this map
+#endif
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
+
+$as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
+
+         gl_have_mmap_anonymous=yes
+fi
+rm -f conftest*
+
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
+$as_echo "$gl_have_mmap_anonymous" >&6; }
+    if test $gl_have_mmap_anonymous = yes; then
+
+$as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
+
+    fi
+  fi
+
+
+
+
+
+     if test $ac_cv_func_setenv = no; then
     HAVE_SETENV=0
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5
@@ -24237,7 +25328,13 @@ if ${gl_cv_func_setenv_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  gl_cv_func_setenv_works="guessing no"
+  case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_setenv_works="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_setenv_works="guessing no" ;;
+       esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5
 $as_echo "$gl_cv_func_setenv_works" >&6; }
-    if test "$gl_cv_func_setenv_works" != yes; then
-      REPLACE_SETENV=1
-    fi
+    case "$gl_cv_func_setenv_works" in
+      *yes) ;;
+      *)
+        REPLACE_SETENV=1
+        ;;
+    esac
   fi
 
-if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
+  if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
 
 
 
@@ -24297,7 +25397,7 @@ if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
 
   gltests_LIBOBJS="$gltests_LIBOBJS setenv.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -24331,7 +25431,7 @@ $as_echo "#define GNULIB_TEST_SETENV 1" >>confdefs.h
       ;;
   esac
 
-if test $REPLACE_SETLOCALE = 1; then
+  if test $REPLACE_SETLOCALE = 1; then
 
 
 
@@ -24345,7 +25445,7 @@ if test $REPLACE_SETLOCALE = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -24402,7 +25502,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -24461,7 +25561,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -24540,7 +25640,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 # endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -24599,7 +25699,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -24667,7 +25767,7 @@ int main ()
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -24723,7 +25823,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the AIX locale name.
@@ -24807,7 +25907,7 @@ int main ()
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -24872,7 +25972,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the locale name without encoding suffix.
@@ -24904,213 +26004,6 @@ $as_echo "$gt_cv_locale_zh_CN" >&6; }
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
-$as_echo_n "checking for wchar_t... " >&6; }
-if ${gt_cv_c_wchar_t+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stddef.h>
-            wchar_t foo = (wchar_t)'\0';
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gt_cv_c_wchar_t=yes
-else
-  gt_cv_c_wchar_t=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
-$as_echo "$gt_cv_c_wchar_t" >&6; }
-  if test $gt_cv_c_wchar_t = yes; then
-
-$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
-
-  fi
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
-$as_echo_n "checking for wint_t... " >&6; }
-if ${gt_cv_c_wint_t+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
-   <wchar.h>.
-   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
-   before <wchar.h>.  */
-#include <stddef.h>
-#include <stdio.h>
-#include <time.h>
-#include <wchar.h>
-            wint_t foo = (wchar_t)'\0';
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  gt_cv_c_wint_t=yes
-else
-  gt_cv_c_wint_t=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
-$as_echo "$gt_cv_c_wint_t" >&6; }
-  if test $gt_cv_c_wint_t = yes; then
-
-$as_echo "#define HAVE_WINT_T 1" >>confdefs.h
-
-  fi
-
-
-
-
-
-
-
-
-
-
-
-
-     if test $gl_cv_have_include_next = yes; then
-       gl_cv_next_stdio_h='<'stdio.h'>'
-     else
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
-$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
-if ${gl_cv_next_stdio_h+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdio.h>
-
-_ACEOF
-                                                                                                                        case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
-
-               case "$host_os" in
-                 mingw*)
-                                                                                                                                     gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-                                             gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-
-               gl_header_literal_regex=`echo 'stdio.h' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-                   s|^/[^/]|//&|
-                   p
-                   q
-                 }'
-                                                            gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
-                      sed -n "$gl_absolute_header_sed"`'"'
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
-$as_echo "$gl_cv_next_stdio_h" >&6; }
-     fi
-     NEXT_STDIO_H=$gl_cv_next_stdio_h
-
-     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
-       gl_next_as_first_directive='<'stdio.h'>'
-     else
-       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
-       gl_next_as_first_directive=$gl_cv_next_stdio_h
-     fi
-     NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
-
-
-
-
-
-      GNULIB_FSCANF=1
-  GNULIB_SCANF=1
-  GNULIB_FGETC=1
-  GNULIB_GETC=1
-  GNULIB_GETCHAR=1
-  GNULIB_FGETS=1
-  GNULIB_GETS=1
-  GNULIB_FREAD=1
-
-
-      GNULIB_FPRINTF=1
-  GNULIB_PRINTF=1
-  GNULIB_VFPRINTF=1
-  GNULIB_VPRINTF=1
-  GNULIB_FPUTC=1
-  GNULIB_PUTC=1
-  GNULIB_PUTCHAR=1
-  GNULIB_FPUTS=1
-  GNULIB_PUTS=1
-  GNULIB_FWRITE=1
-
-
-
-
-    for gl_func in dprintf fpurge fseeko ftello getdelim getline pclose popen renameat     snprintf tmpfile vdprintf vsnprintf; do
-    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
-$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
-if eval \${$as_gl_Symbol+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdio.h>
-
-int
-main ()
-{
-#undef $gl_func
-  (void) $gl_func;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$as_gl_Symbol=yes"
-else
-  eval "$as_gl_Symbol=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$as_gl_Symbol
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
-_ACEOF
-
-                     eval ac_cv_have_decl_$gl_func=yes
-fi
-      done
-
 
 
 
@@ -25136,12 +26029,12 @@ $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
 
 #include <sys/mman.h>
 #ifdef MAP_ANONYMOUS
-    I cant identify this map
+    I cannot identify this map
 #endif
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
+  $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
   gl_have_mmap_anonymous=yes
 fi
 rm -f conftest*
@@ -25152,12 +26045,12 @@ rm -f conftest*
 
 #include <sys/mman.h>
 #ifdef MAP_ANON
-    I cant identify this map
+    I cannot identify this map
 #endif
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
+  $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
 
 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
 
@@ -25189,7 +26082,13 @@ if ${gl_cv_func_symlink_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  gl_cv_func_symlink_works="guessing no"
+  case "$host_os" in
+                    # Guess yes on glibc systems.
+            *-gnu*) gl_cv_func_symlink_works="guessing yes" ;;
+                    # If we don't know, assume the worst.
+            *)      gl_cv_func_symlink_works="guessing no" ;;
+          esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5
 $as_echo "$gl_cv_func_symlink_works" >&6; }
-    if test "$gl_cv_func_symlink_works" != yes; then
-      REPLACE_SYMLINK=1
-    fi
+    case "$gl_cv_func_symlink_works" in
+      *yes) ;;
+      *)
+        REPLACE_SYMLINK=1
+        ;;
+    esac
   fi
 
-if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
+  if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
 
 
 
@@ -25240,7 +26142,7 @@ if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
 
   gltests_LIBOBJS="$gltests_LIBOBJS symlink.$ac_objext"
 
-fi
+  fi
 
 
 
@@ -25265,7 +26167,6 @@ $as_echo "#define GNULIB_TEST_SYMLINK 1" >>confdefs.h
 
 
 
-
   if test $gl_threads_api = posix; then
     gl_save_LIBS="$LIBS"
     LIBS="$LIBS $LIBMULTITHREAD"
@@ -25287,10 +26188,6 @@ done
 
 
 
-
-
-
-
   # The Hurd, the Linux kernel, the FreeBSD kernel version 2.2 and later,
   # Cygwin, and mingw never let anyone (even root) unlink directories.
   # If anyone knows of another system for which unlink can never
@@ -25377,7 +26274,13 @@ if ${gl_cv_func_unsetenv_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "$cross_compiling" = yes; then :
-  gl_cv_func_unsetenv_works="guessing no"
+  case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_unsetenv_works="guessing no" ;;
+       esac
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5
 $as_echo "$gl_cv_func_unsetenv_works" >&6; }
-    if test "$gl_cv_func_unsetenv_works" != yes; then
-      REPLACE_UNSETENV=1
-    fi
+    case "$gl_cv_func_unsetenv_works" in
+      *yes) ;;
+      *)
+        REPLACE_UNSETENV=1
+        ;;
+    esac
   fi
 
-if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
+  if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
 
 
 
@@ -25442,7 +26348,7 @@ if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
 
 
 
-fi
+  fi
 
 
 
@@ -25464,9 +26370,9 @@ $as_echo "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h
 
 
 
-abs_aux_dir=`cd "$ac_aux_dir"; pwd`
+  abs_aux_dir=`cd "$ac_aux_dir"; pwd`
 
-abs_aux_dir=`cd "$ac_aux_dir"; pwd`
+  abs_aux_dir=`cd "$ac_aux_dir"; pwd`
 
 
 
@@ -25503,7 +26409,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -25562,7 +26468,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -25641,7 +26547,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 # endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -25700,7 +26606,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -25768,7 +26674,7 @@ int main ()
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -25824,7 +26730,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the AIX locale name.
@@ -25908,7 +26814,7 @@ int main ()
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -25973,7 +26879,7 @@ _ACEOF
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the locale name without encoding suffix.
@@ -26148,7 +27054,7 @@ _ACEOF
     fi
   fi
 
-if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
+  if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
 
 
 
@@ -26162,7 +27068,7 @@ if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -26191,7 +27097,7 @@ $as_echo "#define GNULIB_TEST_WCTOB 1" >>confdefs.h
     REPLACE_WCTOMB=1
   fi
 
-if test $REPLACE_WCTOMB = 1; then
+  if test $REPLACE_WCTOMB = 1; then
 
 
 
@@ -26205,7 +27111,7 @@ if test $REPLACE_WCTOMB = 1; then
 
   :
 
-fi
+  fi
 
 
 
@@ -26337,20 +27243,24 @@ if test "${enable_gcc_warnings+set}" = set; then :
    esac
    gl_gcc_warnings=$enableval
 else
-  gl_gcc_warnings=no
+  if test -d "$srcdir"/.git; then
+     gl_gcc_warnings=yes
+   else
+     gl_gcc_warnings=no
+   fi
 
 fi
 
 
 if test "$gl_gcc_warnings" = yes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
-$as_echo_n "checking whether compiler handles -Werror... " >&6; }
-if ${gl_cv_warn__Werror+:} false; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether C compiler handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_c__Werror__Wunknown_warning_option+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Werror"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26362,23 +27272,63 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Werror=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Werror__Wunknown_warning_option=yes
 else
-  gl_cv_warn__Werror=no
+  gl_cv_warn_c__Werror__Wunknown_warning_option=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_c__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_c__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror" >&5
+$as_echo_n "checking whether C compiler handles -Werror... " >&6; }
+if ${gl_cv_warn_c__Werror+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
 
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Werror=yes
+else
+  gl_cv_warn_c__Werror=no
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5
-$as_echo "$gl_cv_warn__Werror" >&6; }
-if test "x$gl_cv_warn__Werror" = xyes; then :
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror" >&5
+$as_echo "$gl_cv_warn_c__Werror" >&6; }
+if test "x$gl_cv_warn_c__Werror" = xyes; then :
   as_fn_append WERROR_CFLAGS " -Werror"
 fi
 
 
 
+
   nw=
   # This, $nw, is the list of warnings we disable.
   nw="$nw -Wdeclaration-after-statement" # too useful to forbid
@@ -26416,6 +27366,7 @@ fi
   nw="$nw -Wstrict-overflow"        # expr.c, pr.c, tr.c, factor.c
   nw="$nw -Wstack-protector"        # libparted/label/gpt.c
   # ?? -Wstrict-overflow
+  nw="$nw -Wsuggest-attribute=format" # suggests to use gnu_printf for vsnprintf
 
 
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5
 $as_echo "$gl_cv_cc_nomfi_needed" >&6; }
     fi
+
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wuninitialized is supported" >&5
+$as_echo_n "checking whether -Wuninitialized is supported... " >&6; }
+    if ${gl_cv_cc_uninitialized_supported+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+      gl_save_CFLAGS="$CFLAGS"
+      CFLAGS="$CFLAGS -Werror -Wuninitialized"
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  gl_cv_cc_uninitialized_supported=yes
+else
+  gl_cv_cc_uninitialized_supported=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      CFLAGS="$gl_save_CFLAGS"
+fi
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_uninitialized_supported" >&5
+$as_echo "$gl_cv_cc_uninitialized_supported" >&6; }
+
   fi
 
+  # List all gcc warning categories.
   gl_manywarn_set=
   for gl_manywarn_item in \
-    -Wall \
     -W \
-    -Wformat-y2k \
-    -Wformat-nonliteral \
-    -Wformat-security \
-    -Winit-self \
-    -Wmissing-include-dirs \
-    -Wswitch-default \
-    -Wswitch-enum \
-    -Wunused \
-    -Wunknown-pragmas \
-    -Wstrict-aliasing \
-    -Wstrict-overflow \
-    -Wsystem-headers \
-    -Wfloat-equal \
-    -Wtraditional \
-    -Wtraditional-conversion \
-    -Wdeclaration-after-statement \
-    -Wundef \
-    -Wshadow \
-    -Wunsafe-loop-optimizations \
-    -Wpointer-arith \
+    -Wabi \
+    -Waddress \
+    -Waggressive-loop-optimizations \
+    -Wall \
+    -Warray-bounds \
+    -Wattributes \
     -Wbad-function-cast \
-    -Wc++-compat \
-    -Wcast-qual \
-    -Wcast-align \
-    -Wwrite-strings \
-    -Wconversion \
-    -Wsign-conversion \
-    -Wlogical-op \
-    -Waggregate-return \
-    -Wstrict-prototypes \
-    -Wold-style-definition \
-    -Wmissing-prototypes \
-    -Wmissing-declarations \
-    -Wmissing-noreturn \
-    -Wmissing-format-attribute \
-    -Wpacked \
-    -Wpadded \
-    -Wredundant-decls \
-    -Wnested-externs \
-    -Wunreachable-code \
-    -Winline \
-    -Winvalid-pch \
-    -Wlong-long \
-    -Wvla \
-    -Wvolatile-register-var \
-    -Wdisabled-optimization \
-    -Wstack-protector \
-    -Woverlength-strings \
     -Wbuiltin-macro-redefined \
-    -Wmudflap \
-    -Wpacked-bitfield-compat \
-    -Wsync-nand \
-    ; do
-    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
-  done
-  # The following are not documented in the manual but are included in
-  # output from gcc --help=warnings.
-  for gl_manywarn_item in \
-    -Wattributes \
+    -Wcast-align \
+    -Wchar-subscripts \
+    -Wclobbered \
+    -Wcomment \
+    -Wcomments \
     -Wcoverage-mismatch \
-    -Wmultichar \
-    -Wunused-macros \
-    ; do
-    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
-  done
-  # More warnings from gcc 4.6.2 --help=warnings.
-  for gl_manywarn_item in \
-    -Wabi \
     -Wcpp \
     -Wdeprecated \
     -Wdeprecated-declarations \
+    -Wdisabled-optimization \
     -Wdiv-by-zero \
     -Wdouble-promotion \
+    -Wempty-body \
     -Wendif-labels \
+    -Wenum-compare \
     -Wextra \
     -Wformat-contains-nul \
     -Wformat-extra-args \
+    -Wformat-nonliteral \
+    -Wformat-security \
+    -Wformat-y2k \
     -Wformat-zero-length \
-    -Wformat=2 \
+    -Wfree-nonheap-object \
+    -Wignored-qualifiers \
+    -Wimplicit \
+    -Wimplicit-function-declaration \
+    -Wimplicit-int \
+    -Winit-self \
+    -Winline \
+    -Wint-to-pointer-cast \
+    -Winvalid-memory-model \
+    -Winvalid-pch \
+    -Wjump-misses-init \
+    -Wlogical-op \
+    -Wmain \
+    -Wmaybe-uninitialized \
+    -Wmissing-braces \
+    -Wmissing-declarations \
+    -Wmissing-field-initializers \
+    -Wmissing-include-dirs \
+    -Wmissing-parameter-type \
+    -Wmissing-prototypes \
     -Wmultichar \
+    -Wnarrowing \
+    -Wnested-externs \
+    -Wnonnull \
     -Wnormalized=nfc \
+    -Wold-style-declaration \
+    -Wold-style-definition \
     -Woverflow \
+    -Woverlength-strings \
+    -Woverride-init \
+    -Wpacked \
+    -Wpacked-bitfield-compat \
+    -Wparentheses \
+    -Wpointer-arith \
+    -Wpointer-sign \
     -Wpointer-to-int-cast \
     -Wpragmas \
+    -Wreturn-local-addr \
+    -Wreturn-type \
+    -Wsequence-point \
+    -Wshadow \
+    -Wsizeof-pointer-memaccess \
+    -Wstack-protector \
+    -Wstrict-aliasing \
+    -Wstrict-overflow \
+    -Wstrict-prototypes \
     -Wsuggest-attribute=const \
+    -Wsuggest-attribute=format \
     -Wsuggest-attribute=noreturn \
     -Wsuggest-attribute=pure \
+    -Wswitch \
+    -Wswitch-default \
+    -Wsync-nand \
+    -Wsystem-headers \
     -Wtrampolines \
+    -Wtrigraphs \
+    -Wtype-limits \
+    -Wuninitialized \
+    -Wunknown-pragmas \
+    -Wunsafe-loop-optimizations \
+    -Wunused \
+    -Wunused-but-set-parameter \
+    -Wunused-but-set-variable \
+    -Wunused-function \
+    -Wunused-label \
+    -Wunused-local-typedefs \
+    -Wunused-macros \
+    -Wunused-parameter \
+    -Wunused-result \
+    -Wunused-value \
+    -Wunused-variable \
+    -Wvarargs \
+    -Wvariadic-macros \
+    -Wvector-operation-performance \
+    -Wvla \
+    -Wvolatile-register-var \
+    -Wwrite-strings \
+    -fdiagnostics-show-option \
+    -funit-at-a-time \
+    \
     ; do
     gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
   done
 
-  # Disable the missing-field-initializers warning if needed
+  # Disable specific options as needed.
   if test "$gl_cv_cc_nomfi_needed" = yes; then
     gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers"
   fi
 
+  if test "$gl_cv_cc_uninitialized_supported" = no; then
+    gl_manywarn_set="$gl_manywarn_set -Wno-uninitialized"
+  fi
+
   ws=$gl_manywarn_set
 
 
@@ -26611,15 +27620,20 @@ $as_echo "$gl_cv_cc_nomfi_needed" >&6; }
   ws=$gl_warn_set
 
   for w in $ws; do
-    as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5
-$as_echo_n "checking whether compiler handles $w... " >&6; }
+
+as_gl_Warn=`$as_echo "gl_cv_warn_c_$w" | $as_tr_sh`
+gl_positive="$w"
+case $gl_positive in
+  -Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles $w" >&5
+$as_echo_n "checking whether C compiler handles $w... " >&6; }
 if eval \${$as_gl_Warn+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} $w"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors $gl_positive"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26631,13 +27645,14 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
   eval "$as_gl_Warn=yes"
 else
   eval "$as_gl_Warn=no"
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
 eval ac_res=\$$as_gl_Warn
@@ -26647,15 +27662,17 @@ if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
   as_fn_append WARN_CFLAGS " $w"
 fi
 
+
   done
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-missing-field-initializers" >&5
-$as_echo_n "checking whether compiler handles -Wno-missing-field-initializers... " >&6; }
-if ${gl_cv_warn__Wno_missing_field_initializers+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-missing-field-initializers" >&5
+$as_echo_n "checking whether C compiler handles -Wno-missing-field-initializers... " >&6; }
+if ${gl_cv_warn_c__Wno_missing_field_initializers+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Wno-missing-field-initializers"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-field-initializers"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26667,29 +27684,32 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Wno_missing_field_initializers=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Wno_missing_field_initializers=yes
 else
-  gl_cv_warn__Wno_missing_field_initializers=no
+  gl_cv_warn_c__Wno_missing_field_initializers=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_missing_field_initializers" >&5
-$as_echo "$gl_cv_warn__Wno_missing_field_initializers" >&6; }
-if test "x$gl_cv_warn__Wno_missing_field_initializers" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_missing_field_initializers" >&5
+$as_echo "$gl_cv_warn_c__Wno_missing_field_initializers" >&6; }
+if test "x$gl_cv_warn_c__Wno_missing_field_initializers" = xyes; then :
   as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers"
 fi
+
  # We need this one
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-sign-compare" >&5
-$as_echo_n "checking whether compiler handles -Wno-sign-compare... " >&6; }
-if ${gl_cv_warn__Wno_sign_compare+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-sign-compare" >&5
+$as_echo_n "checking whether C compiler handles -Wno-sign-compare... " >&6; }
+if ${gl_cv_warn_c__Wno_sign_compare+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Wno-sign-compare"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26701,29 +27721,32 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Wno_sign_compare=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Wno_sign_compare=yes
 else
-  gl_cv_warn__Wno_sign_compare=no
+  gl_cv_warn_c__Wno_sign_compare=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_sign_compare" >&5
-$as_echo "$gl_cv_warn__Wno_sign_compare" >&6; }
-if test "x$gl_cv_warn__Wno_sign_compare" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_sign_compare" >&5
+$as_echo "$gl_cv_warn_c__Wno_sign_compare" >&6; }
+if test "x$gl_cv_warn_c__Wno_sign_compare" = xyes; then :
   as_fn_append WARN_CFLAGS " -Wno-sign-compare"
 fi
+
      # Too many warnings for now
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-pointer-sign" >&5
-$as_echo_n "checking whether compiler handles -Wno-pointer-sign... " >&6; }
-if ${gl_cv_warn__Wno_pointer_sign+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-pointer-sign" >&5
+$as_echo_n "checking whether C compiler handles -Wno-pointer-sign... " >&6; }
+if ${gl_cv_warn_c__Wno_pointer_sign+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Wno-pointer-sign"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wpointer-sign"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26735,29 +27758,32 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Wno_pointer_sign=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Wno_pointer_sign=yes
 else
-  gl_cv_warn__Wno_pointer_sign=no
+  gl_cv_warn_c__Wno_pointer_sign=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_pointer_sign" >&5
-$as_echo "$gl_cv_warn__Wno_pointer_sign" >&6; }
-if test "x$gl_cv_warn__Wno_pointer_sign" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_pointer_sign" >&5
+$as_echo "$gl_cv_warn_c__Wno_pointer_sign" >&6; }
+if test "x$gl_cv_warn_c__Wno_pointer_sign" = xyes; then :
   as_fn_append WARN_CFLAGS " -Wno-pointer-sign"
 fi
+
      # Too many warnings for now
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5
-$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; }
-if ${gl_cv_warn__Wno_unused_parameter+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-parameter" >&5
+$as_echo_n "checking whether C compiler handles -Wno-unused-parameter... " >&6; }
+if ${gl_cv_warn_c__Wno_unused_parameter+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Wno-unused-parameter"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-parameter"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26769,29 +27795,32 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Wno_unused_parameter=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Wno_unused_parameter=yes
 else
-  gl_cv_warn__Wno_unused_parameter=no
+  gl_cv_warn_c__Wno_unused_parameter=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_unused_parameter" >&5
-$as_echo "$gl_cv_warn__Wno_unused_parameter" >&6; }
-if test "x$gl_cv_warn__Wno_unused_parameter" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_parameter" >&5
+$as_echo "$gl_cv_warn_c__Wno_unused_parameter" >&6; }
+if test "x$gl_cv_warn_c__Wno_unused_parameter" = xyes; then :
   as_fn_append WARN_CFLAGS " -Wno-unused-parameter"
 fi
+
  # Too many warnings for now
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-macros" >&5
-$as_echo_n "checking whether compiler handles -Wno-unused-macros... " >&6; }
-if ${gl_cv_warn__Wno_unused_macros+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-macros" >&5
+$as_echo_n "checking whether C compiler handles -Wno-unused-macros... " >&6; }
+if ${gl_cv_warn_c__Wno_unused_macros+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Wno-unused-macros"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-macros"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26803,29 +27832,32 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Wno_unused_macros=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Wno_unused_macros=yes
 else
-  gl_cv_warn__Wno_unused_macros=no
+  gl_cv_warn_c__Wno_unused_macros=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_unused_macros" >&5
-$as_echo "$gl_cv_warn__Wno_unused_macros" >&6; }
-if test "x$gl_cv_warn__Wno_unused_macros" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_macros" >&5
+$as_echo "$gl_cv_warn_c__Wno_unused_macros" >&6; }
+if test "x$gl_cv_warn_c__Wno_unused_macros" = xyes; then :
   as_fn_append WARN_CFLAGS " -Wno-unused-macros"
 fi
+
  # Too many warnings for now
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-format-nonliteral" >&5
-$as_echo_n "checking whether compiler handles -Wno-format-nonliteral... " >&6; }
-if ${gl_cv_warn__Wno_format_nonliteral+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-format-nonliteral" >&5
+$as_echo_n "checking whether C compiler handles -Wno-format-nonliteral... " >&6; }
+if ${gl_cv_warn_c__Wno_format_nonliteral+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Wno-format-nonliteral"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-nonliteral"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26837,31 +27869,34 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Wno_format_nonliteral=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Wno_format_nonliteral=yes
 else
-  gl_cv_warn__Wno_format_nonliteral=no
+  gl_cv_warn_c__Wno_format_nonliteral=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_format_nonliteral" >&5
-$as_echo "$gl_cv_warn__Wno_format_nonliteral" >&6; }
-if test "x$gl_cv_warn__Wno_format_nonliteral" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_format_nonliteral" >&5
+$as_echo "$gl_cv_warn_c__Wno_format_nonliteral" >&6; }
+if test "x$gl_cv_warn_c__Wno_format_nonliteral" = xyes; then :
   as_fn_append WARN_CFLAGS " -Wno-format-nonliteral"
 fi
 
 
+
   # FIXME: investigate these
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-jump-misses-init" >&5
-$as_echo_n "checking whether compiler handles -Wno-jump-misses-init... " >&6; }
-if ${gl_cv_warn__Wno_jump_misses_init+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-jump-misses-init" >&5
+$as_echo_n "checking whether C compiler handles -Wno-jump-misses-init... " >&6; }
+if ${gl_cv_warn_c__Wno_jump_misses_init+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Wno-jump-misses-init"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wjump-misses-init"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26873,32 +27908,35 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Wno_jump_misses_init=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Wno_jump_misses_init=yes
 else
-  gl_cv_warn__Wno_jump_misses_init=no
+  gl_cv_warn_c__Wno_jump_misses_init=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_jump_misses_init" >&5
-$as_echo "$gl_cv_warn__Wno_jump_misses_init" >&6; }
-if test "x$gl_cv_warn__Wno_jump_misses_init" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_jump_misses_init" >&5
+$as_echo "$gl_cv_warn_c__Wno_jump_misses_init" >&6; }
+if test "x$gl_cv_warn_c__Wno_jump_misses_init" = xyes; then :
   as_fn_append WARN_CFLAGS " -Wno-jump-misses-init"
 fi
 
 
+
   # In spite of excluding -Wlogical-op above, it is enabled, as of
   # gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-logical-op" >&5
-$as_echo_n "checking whether compiler handles -Wno-logical-op... " >&6; }
-if ${gl_cv_warn__Wno_logical_op+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-logical-op" >&5
+$as_echo_n "checking whether C compiler handles -Wno-logical-op... " >&6; }
+if ${gl_cv_warn_c__Wno_logical_op+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -Wno-logical-op"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26910,30 +27948,33 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__Wno_logical_op=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__Wno_logical_op=yes
 else
-  gl_cv_warn__Wno_logical_op=no
+  gl_cv_warn_c__Wno_logical_op=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_logical_op" >&5
-$as_echo "$gl_cv_warn__Wno_logical_op" >&6; }
-if test "x$gl_cv_warn__Wno_logical_op" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_logical_op" >&5
+$as_echo "$gl_cv_warn_c__Wno_logical_op" >&6; }
+if test "x$gl_cv_warn_c__Wno_logical_op" = xyes; then :
   as_fn_append WARN_CFLAGS " -Wno-logical-op"
 fi
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5
-$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; }
-if ${gl_cv_warn__fdiagnostics_show_option+:} false; then :
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5
+$as_echo_n "checking whether C compiler handles -fdiagnostics-show-option... " >&6; }
+if ${gl_cv_warn_c__fdiagnostics_show_option+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option"
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -fdiagnostics-show-option"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -26945,18 +27986,19 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  gl_cv_warn__fdiagnostics_show_option=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_c__fdiagnostics_show_option=yes
 else
-  gl_cv_warn__fdiagnostics_show_option=no
+  gl_cv_warn_c__fdiagnostics_show_option=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-  CPPFLAGS="$gl_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5
-$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; }
-if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__fdiagnostics_show_option" >&5
+$as_echo "$gl_cv_warn_c__fdiagnostics_show_option" >&6; }
+if test "x$gl_cv_warn_c__fdiagnostics_show_option" = xyes; then :
   as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
 fi
 
@@ -26964,6 +28006,7 @@ fi
 
 
 
+
 $as_echo "#define lint 1" >>confdefs.h
 
 
@@ -27762,7 +28805,8 @@ else
     ;;
   *)
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
-    if test -n "$lt_cv_sys_max_cmd_len"; then
+    if test -n "$lt_cv_sys_max_cmd_len" && \
+       test undefined != "$lt_cv_sys_max_cmd_len"; then
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     else
@@ -28163,10 +29207,6 @@ freebsd* | dragonfly*)
   fi
   ;;
 
-gnu*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
 haiku*)
   lt_cv_deplibs_check_method=pass_all
   ;;
@@ -28205,11 +29245,11 @@ irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-netbsd*)
+netbsd* | netbsdelf*-gnu)
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   else
@@ -29286,7 +30326,7 @@ ia64-*-hpux*)
   rm -rf conftest*
   ;;
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
@@ -29302,9 +30342,19 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
            LD="${LD-ld} -m elf_i386_fbsd"
            ;;
          x86_64-*linux*)
-           LD="${LD-ld} -m elf_i386"
+           case `/usr/bin/file conftest.o` in
+             *x86-64*)
+               LD="${LD-ld} -m elf32_x86_64"
+               ;;
+             *)
+               LD="${LD-ld} -m elf_i386"
+               ;;
+           esac
            ;;
-         ppc64-*linux*|powerpc64-*linux*)
+         powerpc64le-*)
+           LD="${LD-ld} -m elf32lppclinux"
+           ;;
+         powerpc64-*)
            LD="${LD-ld} -m elf32ppclinux"
            ;;
          s390x-*linux*)
@@ -29323,7 +30373,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
          x86_64-*linux*)
            LD="${LD-ld} -m elf_x86_64"
            ;;
-         ppc*-*linux*|powerpc*-*linux*)
+         powerpcle-*)
+           LD="${LD-ld} -m elf64lppc"
+           ;;
+         powerpc-*)
            LD="${LD-ld} -m elf64ppc"
            ;;
          s390*-*linux*|s390*-*tpf*)
@@ -30834,7 +31887,7 @@ lt_prog_compiler_static=
       lt_prog_compiler_static='-non_shared'
       ;;
 
-    linux* | k*bsd*-gnu | kopensolaris*-gnu)
+    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
       case $cc_basename in
       # old Intel for x86_64 which still supported -KPIC.
       ecc*)
@@ -31312,6 +32365,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
   openbsd*)
     with_gnu_ld=no
     ;;
+  linux* | k*bsd*-gnu | gnu*)
+    link_all_deplibs=no
+    ;;
   esac
 
   ld_shlibs=yes
@@ -31533,7 +32589,7 @@ _LT_EOF
       fi
       ;;
 
-    netbsd*)
+    netbsd* | netbsdelf*-gnu)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
@@ -31710,6 +32766,7 @@ _LT_EOF
        if test "$aix_use_runtimelinking" = yes; then
          shared_flag="$shared_flag "'${wl}-G'
        fi
+       link_all_deplibs=no
       else
        # not using gcc
        if test "$host_cpu" = ia64; then
@@ -32163,7 +33220,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       link_all_deplibs=yes
       ;;
 
-    netbsd*)
+    netbsd* | netbsdelf*-gnu)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else
@@ -33000,17 +34057,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
@@ -33127,7 +34173,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
+netbsdelf*-gnu)
+  version_type=linux
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+  soname_spec='${libname}${release}${shared_ext}$major'
+  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  dynamic_linker='NetBSD ld.elf_so'
+  ;;
+
 netbsd*)
   version_type=sunos
   need_lib_prefix=no
@@ -34165,6 +35223,13 @@ CC="$lt_save_CC"
 
 
 
+mkdir_p="$MKDIR_P"
+case $mkdir_p in
+  [\\/$]* | ?:[\\/]*) ;;
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+
+
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 $as_echo_n "checking whether NLS is requested... " >&6; }
     # Check whether --enable-nls was given.
@@ -36810,6 +37875,7 @@ fi
 
 
 
+
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
        if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -36938,6 +38004,7 @@ if test -n "$CHECK_CFLAGS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -36954,6 +38021,7 @@ if test -n "$CHECK_LIBS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -36973,9 +38041,9 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.3" 2>&1`
+               CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.3" 2>&1`
         else
-               CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.3" 2>&1`
+               CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.3" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$CHECK_PKG_ERRORS" >&5
@@ -37801,6 +38869,10 @@ if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FAL
   as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
+  as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 CONFIG_INCLUDE=lib/config.h
 
 if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then
@@ -38253,8 +39325,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by GNU parted $as_me 3.1, which was
-generated by GNU Autoconf 2.68b.1-36a2.  Invocation command line was
+This file was extended by GNU parted $as_me 3.2, which was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -38325,8 +39397,8 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-GNU parted config.status 3.1
-configured by $0, generated by GNU Autoconf 2.68b.1-36a2,
+GNU parted config.status 3.2
+configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -39390,7 +40462,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
 
   case $ac_file$ac_mode in
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
+  # Older Autoconf quotes --file arguments for eval, but not when files
   # are listed without --file.  Let's play safe and only enable the eval
   # if we detect the quoting.
   case $CONFIG_FILES in
@@ -39441,7 +40513,7 @@ $as_echo X"$mf" |
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
     test -z "$DEPDIR" && continue
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
-    test -z "am__include" && continue
+    test -z "$am__include" && continue
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
     # Find all dependency output files, they are included files with
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
index 14442799e8650497e1c2940e757050d23f0fa93d..436d0e2135919403bb2d75ea0e0c80d643367ca1 100644 (file)
@@ -1,5 +1,5 @@
 dnl GNU Parted - a library and front end for manipulation hard disk partitions
-dnl Copyright (C) 1998-2002, 2005-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 1998-2002, 2005-2014 Free Software Foundation, Inc.
 dnl
 dnl This file may be modified and/or distributed without restriction.
 
@@ -52,7 +52,8 @@ AC_SUBST([LT_CURRENT])
 AC_SUBST([LT_REVISION])
 AC_SUBST([LT_AGE])
 
-AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11.6 no-dist-gzip dist-xz color-tests parallel-tests
+                  subdir-objects])
 AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
 
 AC_CANONICAL_HOST
@@ -186,7 +187,11 @@ AC_ARG_ENABLE([gcc-warnings],
      *)      AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
    esac
    gl_gcc_warnings=$enableval],
-  [gl_gcc_warnings=no]
+  [if test -d "$srcdir"/.git; then
+     gl_gcc_warnings=yes
+   else
+     gl_gcc_warnings=no
+   fi]
 )
 
 if test "$gl_gcc_warnings" = yes; then
@@ -230,6 +235,7 @@ if test "$gl_gcc_warnings" = yes; then
   nw="$nw -Wstrict-overflow"        # expr.c, pr.c, tr.c, factor.c
   nw="$nw -Wstack-protector"        # libparted/label/gpt.c
   # ?? -Wstrict-overflow
+  nw="$nw -Wsuggest-attribute=format" # suggests to use gnu_printf for vsnprintf
 
   gl_MANYWARN_ALL_GCC([ws])
   gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])
index 17649e7d70fbd9169bf65cd9d3473782d664a825..53d67faf327d9a60efe55e26c4b8cc1badfd7f62 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
 @SET_MAKE@
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -50,12 +77,12 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = debug
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -63,16 +90,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -82,35 +110,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -133,26 +162,58 @@ mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = $(top_builddir)/lib/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
 AM_V_GEN = $(am__v_GEN_@AM_V@)
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
 AM_V_at = $(am__v_at_@AM_V@)
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
+am__v_at_1 = 
 SOURCES =
 DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+       ctags-recursive dvi-recursive html-recursive info-recursive \
+       install-data-recursive install-dvi-recursive \
+       install-exec-recursive install-html-recursive \
+       install-info-recursive install-pdf-recursive \
+       install-ps-recursive install-recursive installcheck-recursive \
+       installdirs-recursive pdf-recursive ps-recursive \
+       tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
   distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+  $(RECURSIVE_TARGETS) \
+  $(RECURSIVE_CLEAN_TARGETS) \
+  $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
        distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DIST_SUBDIRS = $(SUBDIRS)
@@ -260,7 +321,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -297,7 +357,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -313,6 +372,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -388,6 +448,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -512,7 +573,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -536,7 +596,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -610,6 +669,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -619,10 +679,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -752,7 +810,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -772,7 +829,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -836,21 +892,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -879,6 +940,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -913,6 +975,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -962,6 +1026,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1018,6 +1084,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1074,17 +1141,20 @@ clean-libtool:
 # (1) if the variable is set in 'config.status', edit 'config.status'
 #     (which will cause the Makefiles to be regenerated when you run 'make');
 # (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
+$(am__recursive_targets):
+       @fail=; \
+       if $(am__make_keepgoing); then \
+         failcom='fail=yes'; \
+       else \
+         failcom='exit 1'; \
+       fi; \
        dot_seen=no; \
        target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
+       case "$@" in \
+         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+         *) list='$(SUBDIRS)' ;; \
+       esac; \
+       for subdir in $$list; do \
          echo "Making $$target in $$subdir"; \
          if test "$$subdir" = "."; then \
            dot_seen=yes; \
@@ -1099,61 +1169,12 @@ $(RECURSIVE_TARGETS):
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
        fi; test -z "$$fail"
 
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-cscopelist-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
-       done
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -1169,12 +1190,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
          fi; \
        done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1186,15 +1202,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1203,9 +1215,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
 
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1377,23 +1390,20 @@ ps-am:
 
 uninstall-am:
 
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
-       cscopelist-recursive ctags-recursive install-am install-strip \
-       tags-recursive
+.MAKE: $(am__recursive_targets) install-am install-strip
 
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       cscopelist cscopelist-recursive ctags ctags-recursive \
-       distclean distclean-generic distclean-libtool distclean-tags \
-       distdir dvi dvi-am html html-am info info-am install \
-       install-am install-data install-data-am install-dvi \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+       check-am clean clean-generic clean-libtool cscopelist-am ctags \
+       ctags-am distclean distclean-generic distclean-libtool \
+       distclean-tags distdir dvi dvi-am html html-am info info-am \
+       install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
        install-pdf install-pdf-am install-ps install-ps-am \
        install-strip installcheck installcheck-am installdirs \
        installdirs-am maintainer-clean maintainer-clean-generic \
        mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
-       ps ps-am tags tags-recursive uninstall uninstall-am
+       ps ps-am tags tags-am uninstall uninstall-am
 
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
index 92d59f2d380bac78154101ae470de04988e01e60..3402766601a316abe4973bfc5d33907157848d1b 100644 (file)
@@ -4,7 +4,7 @@
 
        by Andrew Clausen
 
-       Copyright (C) 2002, 2009-2012 Free Software Foundation, Inc.
+       Copyright (C) 2002, 2009-2014 Free Software Foundation, Inc.
        This document may be distributed and/or modified
        without restriction
 
index cf1ed872a4b5119168b9fba03409e6f37ff8e52e..1ccd8a0dc268788a668c281b601a933028ba8317 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 @SET_MAKE@
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -51,12 +78,12 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = debug/test
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -64,16 +91,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -83,35 +111,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -135,14 +164,26 @@ CONFIG_HEADER = $(top_builddir)/lib/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
 SCRIPTS = $(noinst_SCRIPTS)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
 AM_V_GEN = $(am__v_GEN_@AM_V@)
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
 AM_V_at = $(am__v_at_@AM_V@)
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
+am__v_at_1 = 
 SOURCES =
 DIST_SOURCES =
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 pkglibexecdir = @pkglibexecdir@
 ACLOCAL = @ACLOCAL@
@@ -222,7 +263,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -259,7 +299,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -275,6 +314,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -350,6 +390,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -474,7 +515,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -498,7 +538,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -572,6 +611,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -581,10 +621,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -714,7 +752,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -734,7 +771,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -798,21 +834,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -841,6 +882,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -875,6 +917,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -924,6 +968,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -980,6 +1026,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1045,11 +1092,9 @@ mostlyclean-libtool:
 
 clean-libtool:
        -rm -rf .libs _libs
-tags: TAGS
-TAGS:
+tags TAGS:
 
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
 
 cscope cscopelist:
 
@@ -1188,15 +1233,16 @@ uninstall-am:
 .MAKE: install-am install-strip
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dvi install-dvi-am \
-       install-exec install-exec-am install-html install-html-am \
-       install-info install-info-am install-man install-pdf \
-       install-pdf-am install-ps install-ps-am install-strip \
-       installcheck installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
+       cscopelist-am ctags-am distclean distclean-generic \
+       distclean-libtool distdir dvi dvi-am html html-am info info-am \
+       install install-am install-data install-data-am install-dvi \
+       install-dvi-am install-exec install-exec-am install-html \
+       install-html-am install-info install-info-am install-man \
+       install-pdf install-pdf-am install-ps install-ps-am \
+       install-strip installcheck installcheck-am installdirs \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+       tags-am uninstall uninstall-am
 
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
index 42b3cb14ea7b3ab32786b88d870170bb9946eedf..c3595f5d221331dc202cc63659f7745e0b492b9b 100644 (file)
@@ -13,6 +13,7 @@ updatepo:
        test -w . || exit 0; \
        for name in $(dist_man8_MANS); do \
                echo $$name; \
+               test -f po/$$name.pot || touch po/$$name.pot; \
                cp po/$$name.pot po/$$name.new.pot; \
                po4a-updatepo -f man -m $$name -p po/$$name.new.pot; \
                diff -I '^\"POT-Creation-Date: ' po/$$name.pot po/$$name.new.pot 2>&1 > /dev/null; \
index 2a5db4728ba2490d76386a793eb087849e69f88a..73cce5aa9a31bca326602545d9e2e135d06194f8 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
 @SET_MAKE@
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -50,13 +77,13 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = doc/C
-DIST_COMMON = $(dist_man8_MANS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+       $(dist_man8_MANS)
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -64,16 +91,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -83,35 +111,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -134,14 +163,25 @@ mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = $(top_builddir)/lib/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
 AM_V_GEN = $(am__v_GEN_@AM_V@)
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
 AM_V_at = $(am__v_at_@AM_V@)
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
+am__v_at_1 = 
 SOURCES =
 DIST_SOURCES =
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 am__vpath_adj = case $$p in \
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -173,6 +213,7 @@ man8dir = $(mandir)/man8
 am__installdirs = "$(DESTDIR)$(man8dir)"
 NROFF = nroff
 MANS = $(dist_man8_MANS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 pkglibexecdir = @pkglibexecdir@
 ACLOCAL = @ACLOCAL@
@@ -252,7 +293,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -289,7 +329,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -305,6 +344,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -380,6 +420,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -504,7 +545,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -528,7 +568,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -602,6 +641,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -611,10 +651,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -744,7 +782,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -764,7 +801,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -828,21 +864,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -871,6 +912,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -905,6 +947,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -954,6 +998,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1010,6 +1056,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1063,9 +1110,18 @@ clean-libtool:
        -rm -rf .libs _libs
 install-man8: $(dist_man8_MANS)
        @$(NORMAL_INSTALL)
-       test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
-       @list='$(dist_man8_MANS)'; test -n "$(man8dir)" || exit 0; \
-       { for i in $$list; do echo "$$i"; done; \
+       @list1='$(dist_man8_MANS)'; \
+       list2=''; \
+       test -n "$(man8dir)" \
+         && test -n "`echo $$list1$$list2`" \
+         || exit 0; \
+       echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
+       $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
+       { for i in $$list1; do echo "$$i"; done;  \
+       if test -n "$$list2"; then \
+         for i in $$list2; do echo "$$i"; done \
+           | sed -n '/\.8[a-z]*$$/p'; \
+       fi; \
        } | while read p; do \
          if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; echo "$$p"; \
@@ -1093,29 +1149,14 @@ uninstall-man8:
        } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
              -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
        dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
+tags TAGS:
 
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
 
 cscope cscopelist:
 
 
 distdir: $(DISTFILES)
-       @list='$(MANS)'; if test -n "$$list"; then \
-         list=`for p in $$list; do \
-           if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
-           if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
-         if test -n "$$list" && \
-           grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
-           echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
-           grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
-           echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
-           echo "       typically 'make maintainer-clean' will remove them" >&2; \
-           exit 1; \
-         else :; fi; \
-       else :; fi
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
        list='$(DISTFILES)'; \
@@ -1256,16 +1297,17 @@ uninstall-man: uninstall-man8
 .MAKE: install-am install-strip
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       dist-hook distclean distclean-generic distclean-libtool \
-       distdir dvi dvi-am html html-am info info-am install \
-       install-am install-data install-data-am install-dvi \
+       cscopelist-am ctags-am dist-hook distclean distclean-generic \
+       distclean-libtool distdir dvi dvi-am html html-am info info-am \
+       install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
        install-man8 install-pdf install-pdf-am install-ps \
        install-ps-am install-strip installcheck installcheck-am \
        installdirs maintainer-clean maintainer-clean-generic \
        mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
-       ps ps-am uninstall uninstall-am uninstall-man uninstall-man8
+       ps ps-am tags-am uninstall uninstall-am uninstall-man \
+       uninstall-man8
 
 
 .PHONY: updatepo
@@ -1277,6 +1319,7 @@ updatepo:
        test -w . || exit 0; \
        for name in $(dist_man8_MANS); do \
                echo $$name; \
+               test -f po/$$name.pot || touch po/$$name.pot; \
                cp po/$$name.pot po/$$name.new.pot; \
                po4a-updatepo -f man -m $$name -p po/$$name.new.pot; \
                diff -I '^\"POT-Creation-Date: ' po/$$name.pot po/$$name.new.pot 2>&1 > /dev/null; \
index a9f73f56acd7609d4bd46f79596de82177cda8d5..689011c60aa62462aee3de2b1f86a1bbb4b21aad 100644 (file)
@@ -93,6 +93,10 @@ Rescue a lost partition that was located somewhere between \fIstart\fP and
 \fIend\fP.  If a partition is found, \fBparted\fP will ask if you want to
 create an entry for it in the partition table.
 .TP
+.B resizepart \fIpartition\fP \fIend\fP
+Change the \fIend\fP position of \fIpartition\fP.  Note that this does not
+modify any filesystem present in the partition.
+.TP
 .B rm \fIpartition\fP
 Delete \fIpartition\fP.
 .TP
@@ -104,7 +108,7 @@ or an LVM logical volume if necessary.
 .B set \fIpartition\fP \fIflag\fP \fIstate\fP
 Change the state of the \fIflag\fP on \fIpartition\fP to \fIstate\fP.
 Supported flags are: "boot", "root", "swap", "hidden", "raid", "lvm", "lba",
-"legacy_boot" and "palo".
+"legacy_boot", "irst", "esp" and "palo".
 \fIstate\fP should be either "on" or "off".
 .TP
 .B unit \fIunit\fP
index 6abf97d5a684acddd64c004f671fcf811509b13c..48ae5dcca5a8c08647f75cab39e1237bef780988 100644 (file)
@@ -31,22 +31,23 @@ command.
 .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
 .\" respectively.
 \fBpartprobe\fP is a program that informs the operating system kernel of
-partition table changes, by requesting that the operating system re-read
-the partition table.
+partition table changes.
 .SH OPTIONS
 This program uses short UNIX style options.
 .TP
-.B \-d
+.B -d, --dry-run
 Don't update the kernel.
 .TP
-.B \-s
+.B -s, --summary
 Show a summary of devices and their partitions.
 .TP
-.B \-h
+.B -h, --help
 Show summary of options.
 .TP
-.B \-v
+.B -v, --version
 Show version of program.
+.SH REPORTING BUGS
+Report bugs to <bug-parted@gnu.org>
 .SH SEE ALSO
 .BR parted (8).
 .SH AUTHOR
index 08046d19f47d243613ad72e960c8e23bc65ccdc9..e773efaf3e905c6e8064a5f72ce2c56684cec615 100644 (file)
@@ -12,6 +12,6 @@ EXTRA_DIST = FAT              \
 
 .PHONY: updatepo
 updatepo:
-       list='$(SUBDIRS)'; for dir in $$list; do \
+       $(AM_V_GEN)list='$(SUBDIRS)'; for dir in $$list; do \
                $(MAKE) -C "$$dir" updatepo; \
        done
index f876df000fd74245f0c938e82f4116b0581938df..e31b6a1c580cf363a41c536b01d375e1dfe34f51 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
 @SET_MAKE@
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -50,15 +77,14 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = doc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-       $(srcdir)/stamp-vti $(srcdir)/version.texi \
-       $(top_srcdir)/build-aux/mdate-sh \
-       $(top_srcdir)/build-aux/texinfo.tex
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+       $(top_srcdir)/build-aux/mdate-sh $(srcdir)/version.texi \
+       $(srcdir)/stamp-vti $(top_srcdir)/build-aux/texinfo.tex
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -66,16 +92,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -85,35 +112,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -136,35 +164,48 @@ mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = $(top_builddir)/lib/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
 AM_V_GEN = $(am__v_GEN_@AM_V@)
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
 AM_V_at = $(am__v_at_@AM_V@)
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
+am__v_at_1 = 
 SOURCES =
 DIST_SOURCES =
 AM_V_DVIPS = $(am__v_DVIPS_@AM_V@)
 am__v_DVIPS_ = $(am__v_DVIPS_@AM_DEFAULT_V@)
 am__v_DVIPS_0 = @echo "  DVIPS   " $@;
+am__v_DVIPS_1 = 
 AM_V_MAKEINFO = $(am__v_MAKEINFO_@AM_V@)
 am__v_MAKEINFO_ = $(am__v_MAKEINFO_@AM_DEFAULT_V@)
 am__v_MAKEINFO_0 = @echo "  MAKEINFO" $@;
+am__v_MAKEINFO_1 = 
 AM_V_INFOHTML = $(am__v_INFOHTML_@AM_V@)
 am__v_INFOHTML_ = $(am__v_INFOHTML_@AM_DEFAULT_V@)
 am__v_INFOHTML_0 = @echo "  INFOHTML" $@;
+am__v_INFOHTML_1 = 
 AM_V_TEXI2DVI = $(am__v_TEXI2DVI_@AM_V@)
 am__v_TEXI2DVI_ = $(am__v_TEXI2DVI_@AM_DEFAULT_V@)
 am__v_TEXI2DVI_0 = @echo "  TEXI2DVI" $@;
+am__v_TEXI2DVI_1 = 
 AM_V_TEXI2PDF = $(am__v_TEXI2PDF_@AM_V@)
 am__v_TEXI2PDF_ = $(am__v_TEXI2PDF_@AM_DEFAULT_V@)
 am__v_TEXI2PDF_0 = @echo "  TEXI2PDF" $@;
+am__v_TEXI2PDF_1 = 
 AM_V_texinfo = $(am__v_texinfo_@AM_V@)
 am__v_texinfo_ = $(am__v_texinfo_@AM_DEFAULT_V@)
 am__v_texinfo_0 = -q
+am__v_texinfo_1 = 
 AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
 am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
 am__v_texidevnull_0 = > /dev/null
+am__v_texidevnull_1 = 
 INFO_DEPS = $(srcdir)/parted.info
 TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex
 am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux
@@ -178,13 +219,19 @@ TEXI2PDF = $(TEXI2DVI) --pdf --batch
 MAKEINFOHTML = $(MAKEINFO) --html
 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
 DVIPS = dvips
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+       ctags-recursive dvi-recursive html-recursive info-recursive \
+       install-data-recursive install-dvi-recursive \
+       install-exec-recursive install-html-recursive \
+       install-info-recursive install-pdf-recursive \
+       install-ps-recursive install-recursive installcheck-recursive \
+       installdirs-recursive pdf-recursive ps-recursive \
+       tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 am__installdirs = "$(DESTDIR)$(infodir)"
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 am__vpath_adj = case $$p in \
@@ -215,9 +262,29 @@ am__uninstall_files_from_dir = { \
   }
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
   distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+  $(RECURSIVE_TARGETS) \
+  $(RECURSIVE_CLEAN_TARGETS) \
+  $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
        distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DIST_SUBDIRS = $(SUBDIRS)
@@ -325,7 +392,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -362,7 +428,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -378,6 +443,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -453,6 +519,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -577,7 +644,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -601,7 +667,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -675,6 +740,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -684,10 +750,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -817,7 +881,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -837,7 +900,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -901,21 +963,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -944,6 +1011,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -978,6 +1046,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -1027,6 +1097,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1083,6 +1155,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1167,25 +1240,23 @@ clean-libtool:
 .texi.dvi:
        $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
        MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
-       $(TEXI2DVI) $(AM_V_texinfo) $< $(AM_V_texidevnull)
+       $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \
+       $<
 
 .texi.pdf:
        $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
        MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
-       $(TEXI2PDF) $(AM_V_texinfo) $< $(AM_V_texidevnull)
+       $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \
+       $<
 
 .texi.html:
        $(AM_V_MAKEINFO)rm -rf $(@:.html=.htp)
        $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
         -o $(@:.html=.htp) $<; \
        then \
-         rm -rf $@; \
-         if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
-           mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
+         rm -rf $@ && mv $(@:.html=.htp) $@; \
        else \
-         if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
-           rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
-         exit 1; \
+         rm -rf $(@:.html=.htp); exit 1; \
        fi
 $(srcdir)/parted.info: parted.texi $(srcdir)/version.texi
 parted.dvi: parted.texi $(srcdir)/version.texi
@@ -1234,9 +1305,7 @@ uninstall-html-am:
 
 uninstall-info-am:
        @$(PRE_UNINSTALL)
-       @if test -d '$(DESTDIR)$(infodir)' && \
-           (install-info --version && \
-            install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
+       @if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \
          list='$(INFO_DEPS)'; \
          for file in $$list; do \
            relfile=`echo "$$file" | sed 's|^.*/||'`; \
@@ -1293,9 +1362,7 @@ dist-info: $(INFO_DEPS)
        done
 
 mostlyclean-aminfo:
-       -rm -rf parted.aux parted.cp parted.cps parted.fn parted.fns parted.ky \
-         parted.kys parted.log parted.pg parted.pgs parted.tmp \
-         parted.toc parted.tp parted.tps parted.vr parted.vrs
+       -rm -rf parted.t2d parted.t2p
 
 clean-aminfo:
        -test -z "parted.dvi parted.pdf parted.ps parted.html" \
@@ -1314,17 +1381,20 @@ maintainer-clean-aminfo:
 # (1) if the variable is set in 'config.status', edit 'config.status'
 #     (which will cause the Makefiles to be regenerated when you run 'make');
 # (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
+$(am__recursive_targets):
+       @fail=; \
+       if $(am__make_keepgoing); then \
+         failcom='fail=yes'; \
+       else \
+         failcom='exit 1'; \
+       fi; \
        dot_seen=no; \
        target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
+       case "$@" in \
+         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+         *) list='$(SUBDIRS)' ;; \
+       esac; \
+       for subdir in $$list; do \
          echo "Making $$target in $$subdir"; \
          if test "$$subdir" = "."; then \
            dot_seen=yes; \
@@ -1339,61 +1409,12 @@ $(RECURSIVE_TARGETS):
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
        fi; test -z "$$fail"
 
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-cscopelist-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
-       done
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -1409,12 +1430,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
          fi; \
        done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1426,15 +1442,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1443,9 +1455,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
 
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1583,8 +1596,11 @@ install-dvi: install-dvi-recursive
 
 install-dvi-am: $(DVIS)
        @$(NORMAL_INSTALL)
-       test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)"
        @list='$(DVIS)'; test -n "$(dvidir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(dvidir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(dvidir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -1599,8 +1615,11 @@ install-html: install-html-recursive
 
 install-html-am: $(HTMLS)
        @$(NORMAL_INSTALL)
-       test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
        @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
          $(am__strip_dir) \
@@ -1623,9 +1642,12 @@ install-info: install-info-recursive
 
 install-info-am: $(INFO_DEPS)
        @$(NORMAL_INSTALL)
-       test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)"
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
        list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(infodir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(infodir)" || exit 1; \
+       fi; \
        for file in $$list; do \
          case $$file in \
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
@@ -1643,13 +1665,7 @@ install-info-am: $(INFO_DEPS)
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \
          $(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done
        @$(POST_INSTALL)
-       @am__run_installinfo=yes; \
-       case $$AM_UPDATE_INFO_DIR in \
-         n|no|NO) am__run_installinfo=no;; \
-         *) (install-info --version) >/dev/null 2>&1 \
-              || am__run_installinfo=no;; \
-       esac; \
-       if test $$am__run_installinfo = yes; then \
+       @if $(am__can_run_installinfo); then \
          list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
          for file in $$list; do \
            relfile=`echo "$$file" | sed 's|^.*/||'`; \
@@ -1663,8 +1679,11 @@ install-pdf: install-pdf-recursive
 
 install-pdf-am: $(PDFS)
        @$(NORMAL_INSTALL)
-       test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
        @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(pdfdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(pdfdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -1676,8 +1695,11 @@ install-ps: install-ps-recursive
 
 install-ps-am: $(PSS)
        @$(NORMAL_INSTALL)
-       test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)"
        @list='$(PSS)'; test -n "$(psdir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(psdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(psdir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -1708,32 +1730,29 @@ ps-am: $(PSS)
 uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
        uninstall-pdf-am uninstall-ps-am
 
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
-       cscopelist-recursive ctags-recursive install-am install-strip \
-       tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-aminfo clean-generic \
-       clean-libtool cscopelist cscopelist-recursive ctags \
-       ctags-recursive dist-info distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-aminfo maintainer-clean-generic \
-       maintainer-clean-vti mostlyclean mostlyclean-aminfo \
-       mostlyclean-generic mostlyclean-libtool mostlyclean-vti pdf \
-       pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
-       uninstall-dvi-am uninstall-html-am uninstall-info-am \
-       uninstall-pdf-am uninstall-ps-am
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+       check-am clean clean-aminfo clean-generic clean-libtool \
+       cscopelist-am ctags ctags-am dist-info distclean \
+       distclean-generic distclean-libtool distclean-tags distdir dvi \
+       dvi-am html html-am info info-am install install-am \
+       install-data install-data-am install-dvi install-dvi-am \
+       install-exec install-exec-am install-html install-html-am \
+       install-info install-info-am install-man install-pdf \
+       install-pdf-am install-ps install-ps-am install-strip \
+       installcheck installcheck-am installdirs installdirs-am \
+       maintainer-clean maintainer-clean-aminfo \
+       maintainer-clean-generic maintainer-clean-vti mostlyclean \
+       mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool \
+       mostlyclean-vti pdf pdf-am ps ps-am tags tags-am uninstall \
+       uninstall-am uninstall-dvi-am uninstall-html-am \
+       uninstall-info-am uninstall-pdf-am uninstall-ps-am
 
 
 .PHONY: updatepo
 updatepo:
-       list='$(SUBDIRS)'; for dir in $$list; do \
+       $(AM_V_GEN)list='$(SUBDIRS)'; for dir in $$list; do \
                $(MAKE) -C "$$dir" updatepo; \
        done
 
index 8eb5cec70d90ad112b890b22402b9f33cdc4996f..4297c7090734265b91ed2e8bb0709142b74ffbb0 100644 (file)
@@ -22,7 +22,7 @@
 This file documents the use of GNU Parted, a program for creating,
 resising, checking and copy partitions, and file systems on them.
 
-Copyright 1999-2002, 2009-2012 Free Software Foundation, Inc.
+Copyright 1999-2002, 2009-2014 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -1094,7 +1094,7 @@ de sistemas operacionais Microsoft.
 
 @item raid
 (MSDOS) - este sinalizador pode ser habilitado para dizer ao Linux que
-essa partição é uma partição de software RAID @xref{LVM e RAID}.
+essa partição é uma partição de software RAID. @xref{LVM e RAID}.
 
 @item LVM
 (MSDOS) - este sinalizador pode ser habilitado para dizer à partição
@@ -1994,7 +1994,7 @@ mudan
 com o kernel 2.4, e quando nós adicionarmos suporte a ele.)
 
 Se você quer redimensionar sua partição root ou de boot, use um disco
-de boot @xref{Discos de boot do Parted}, ou use o redimensionador
+de boot @pxref{Discos de boot do Parted}, ou use o redimensionador
 online do Andreas Dilger, incluído no pacote ext2resize @ref{Ext2}.
 
 @menu
index 20cf73e4f2c7b4a2658057a326c80f454a3bbca6..1451f7102abc1f4a470d65ec33ae38c57f5d6cb4 100644 (file)
@@ -1,9 +1,6 @@
-This is parted.info, produced by makeinfo version 4.13 from parted.texi.
+This is parted.info, produced by makeinfo version 5.2 from parted.texi.
 
-This file documents the use of GNU Parted, a program for creating and
-manipulating partition tables.
-
-  Copyright (C) 1999-2012 Free Software Foundation, Inc.
+Copyright (C) 1999-2014 Free Software Foundation, Inc.
 
   Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -11,12 +8,14 @@ any later version published by the Free Software Foundation; with no
 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
 Texts.  A copy of the license is included in the section entitled "GNU
 Free Documentation License".
-
 INFO-DIR-SECTION System administration
 START-INFO-DIR-ENTRY
 * parted: (parted).                         GNU partitioning software
 END-INFO-DIR-ENTRY
 
+  This file documents the use of GNU Parted, a program for creating and
+manipulating partition tables.
+
 \1f
 File: parted.info,  Node: Top,  Next: Introduction,  Up: (dir)
 
@@ -26,7 +25,7 @@ GNU Parted User Manual
 This file documents the use of GNU Parted, a program for creating and
 manipulating partition tables.
 
-  This document applies roughly to version *3.1* of GNU Parted.
+  This document applies roughly to version *3.2* of GNU Parted.
 
   The original version was written by Andrew Clausen in text format.
 Richard M. Kreuter translated it into Texinfo format in 2002, to be
@@ -68,19 +67,19 @@ some understanding of partitioning and file systems.
 
   GNU Parted was designed to minimize the chance of data loss.  For
 example, it was designed to avoid data loss during interruptions (like
-power failure) and performs many safety checks.  However, there could
-be bugs in GNU Parted, so you should back up your important files before
+power failure) and performs many safety checks.  However, there could be
+bugs in GNU Parted, so you should back up your important files before
 running Parted.
 
-  The GNU Parted homepage is `http://www.gnu.org/software/parted'.  The
+  The GNU Parted homepage is <http://www.gnu.org/software/parted>.  The
 library and frontend themselves can be downloaded from
-`ftp://ftp.gnu.org/gnu/parted'.  You can also find a listing of mailing
+<ftp://ftp.gnu.org/gnu/parted>.  You can also find a listing of mailing
 lists, notes for contributing and more useful information on the web
 site.
 
   Please send bug reports to <bug-parted@gnu.org>.  When sending bug
 reports, please include the version of GNU Parted.  Please include the
-output from these commands (for disk `/dev/hda'):
+output from these commands (for disk '/dev/hda'):
 
      # parted /dev/hda print unit s print unit chs print
 
@@ -105,33 +104,32 @@ need both the normal and devel packages of these programs installed:
    * libuuid, part of the e2fsprogs package.  If you don't have this,
      you can get it from:
 
-       `http://web.mit.edu/tytso/www/linux/e2fsprogs.html'
+     <http://web.mit.edu/tytso/www/linux/e2fsprogs.html>
 
      If you want to compile Parted and e2fsprogs, note that you will
-     need to `make install' and `make install-libs' e2fsprogs.
+     need to 'make install' and 'make install-libs' e2fsprogs.
 
    * GNU Readline (optional), available from
 
-       `ftp://ftp.gnu.org/gnu/readline'
+     <ftp://ftp.gnu.org/gnu/readline>
 
      If you are compiling Parted, and you don't have readline, you can
-     disable Parted's readline support with the `--disable-readline'
-     option for `configure'.
+     disable Parted's readline support with the '--disable-readline'
+     option for 'configure'.
 
    * GNU gettext (or compatible software) for compilation, if
      internationalisation support is desired.
 
-       `ftp://ftp.gnu.org/gnu/gettext'
+     <ftp://ftp.gnu.org/gnu/gettext>
 
    * libreiserfs, if you want reiserfs support:
 
-       `http://reiserfs.osdn.org.ua'
+     <http://reiserfs.osdn.org.ua>
 
      Note that parted will automatically detect libreiserfs at runtime,
      and enable reiserfs support.  libreiserfs is new, and hasn't been
      widely tested yet.
 
-
 \1f
 File: parted.info,  Node: Supported Platforms,  Next: License,  Prev: Software Required,  Up: Introduction
 
@@ -174,49 +172,48 @@ If you want to compile GNU Parted, this is generally done with:
      $ ./configure
      $ make
 
-  However, there are a few options for `configure':
+  However, there are a few options for 'configure':
 
-`--without-readline'
+'--without-readline'
      turns off use of readline.  This is useful for making rescue disks,
      etc., where few libraries are available.
 
-`--disable-debug'
+'--disable-debug'
      don't include assertions
 
-`--disable-dynamic-loading'
+'--disable-dynamic-loading'
      disables dynamic loading of some libraries (only libreiserfs for
      now, although we hope to expand this).  Dynamic loading is useful
-     because it allows you to reuse libparted shared libraries even
-     when you don't know if some libraries will be available.  It has a
-     small overhead (mainly linking with libdl), so it may be useful to
+     because it allows you to reuse libparted shared libraries even when
+     you don't know if some libraries will be available.  It has a small
+     overhead (mainly linking with libdl), so it may be useful to
      disable it on bootdisks if you don't need the flexibility.
 
-`--disable-nls'
+'--disable-nls'
      turns off native language support.  This is useful for use with old
      versions of glibc, or a trimmed down version of glibc suitable for
      rescue disks.
 
-`--disable-shared'
+'--disable-shared'
      turns off shared libraries.  This may be necessary for use with old
      versions of GNU libc, if you get a compile error about a "spilled
      register".  Also useful for boot/rescue disks.
 
-`--enable-discover-only'
+'--enable-discover-only'
      support only reading/probing (reduces size considerably)
 
-`--enable-mtrace'
+'--enable-mtrace'
      enable malloc() debugging
 
-`--enable-read-only'
+'--enable-read-only'
      disable writing (for debugging)
 
-
 1.5.1 Introduction
 ------------------
 
 If you want to run GNU Parted on a machine without GNU/Linux installed,
 or you want to modify a root or boot partition, use GParted Live:
-`http://gparted.sourceforge.net/livecd.php'.
+<http://gparted.sourceforge.net/livecd.php>.
 
 \1f
 File: parted.info,  Node: Using Parted,  Next: Related information,  Prev: Introduction,  Up: Top
@@ -262,15 +259,15 @@ want.)
   In command line mode, this is followed by one or more commands.  For
 example:
 
-     # parted /dev/sda mklabel gpt mkpart P1 ext3 1MiB 8MiB
+     # parted /dev/sda mklabel gpt mkpart P1 ext3 1MiB 8MiB 
 
-Options (like `--help') can only be specified on the command line.
+Options (like '--help') can only be specified on the command line.
 
   In interactive mode, commands are entered one at a time at a prompt,
 and modify the disk immediately.  For example:
 
      (parted) mklabel gpt
-     (parted) mkpart P1 ext3 1MiB 8MiB
+     (parted) mkpart P1 ext3 1MiB 8MiB 
 
 Unambiguous abbreviations are allowed.  For example, you can type "p"
 instead of "print", and "u" instead of "units".  Commands can be typed
@@ -282,15 +279,15 @@ case-insensitive.
 decimals.  The suffix selects the unit, which may be one of those
 described in *note unit::, except CHS and compact.  If no suffix is
 given, then the default unit is assumed.  Negative numbers count back
-from the end of the disk, with "-1s" indicating the sector at the end
-of the disk.  Parted will compute sensible ranges for the locations you
-specify (e.g. a range of +/- 500 MB when you specify the location in
+from the end of the disk, with "-1s" indicating the sector at the end of
+the disk.  Parted will compute sensible ranges for the locations you
+specify (e.g.  a range of +/- 500 MB when you specify the location in
 "G"). Use the sector unit "s" to specify exact locations.  With
 parted-2.4 and newer, IEC binary units like "MiB", "GiB", "TiB", etc.,
-specify exact locations as well.  See *Note IEC binary units::.
+specify exact locations as well.  *Note IEC binary units::.
 
-  If you don't give a parameter to a command, Parted will prompt you
-for it.  For example:
+  If you don't give a parameter to a command, Parted will prompt you for
+it.  For example:
 
      (parted) mklabel
      New disk label type? gpt
@@ -315,26 +312,26 @@ syntax:
      # parted [OPTION] DEVICE [COMMAND [ARGUMENT]]
 
   Available options and commands follow.  For detailed explanations of
-the use of Parted commands, see *note Command explanations::. Options
+the use of Parted commands, see *note Command explanations::.  Options
 begin with a hyphen, commands do not:
 
   Options:
 
-`-h'
-`--help'
+'-h'
+'--help'
      display a help message
 
-`-s'
-`--script'
+'-s'
+'--script'
      never prompt the user
 
-`-a alignment-type'
-`--align alignment-type'
+'-a alignment-type'
+'--align alignment-type'
      Set alignment for newly created partitions, valid alignment types
      are: none, cylinder, minimal and optimal.
 
-`-v'
-`--version'
+'-v'
+'--version'
      display the version
 
 \1f
@@ -356,6 +353,7 @@ GNU Parted provides the following commands:
 * print::
 * quit::
 * rescue::
+* resizepart::
 * rm::
 * select::
 * set::
@@ -371,21 +369,20 @@ File: parted.info,  Node: align-check,  Next: disk_set,  Up: Command explanation
 -----------------
 
  -- Command: align-check ALIGN-TYPE N
+
      Determine whether the starting sector of partition N meets the
-     disk's selected alignment criteria.  ALIGN-TYPE must be `minimal',
-     `optimal' or an abbreviation.  When in script mode, if the
-     partition does not meet the alignment requirement, exit with
-     status 1;  otherwise (including on older kernels for which
-     alignment data is not available), continue processing any
-     remaining commands.  Without `--script', print either `N aligned'
-     or `N not aligned'.
+     disk's selected alignment criteria.  ALIGN-TYPE must be 'minimal',
+     'optimal' or an abbreviation.  When in script mode, if the
+     partition does not meet the alignment requirement, exit with status
+     1; otherwise (including on older kernels for which alignment data
+     is not available), continue processing any remaining commands.
+     Without '--script', print either 'N aligned' or 'N not aligned'.
 
      Example:
 
           (parted) align-check minimal 1
           1 aligned
 
-
 \1f
 File: parted.info,  Node: disk_set,  Next: help,  Prev: align-check,  Up: Command explanations
 
@@ -393,15 +390,15 @@ File: parted.info,  Node: disk_set,  Next: help,  Prev: align-check,  Up: Comman
 --------------
 
  -- Command: disk_set FLAG STATE
+
      Changes a flag on the disk.  A flag can be either "on" or "off".
      Some or all of these flags will be available, depending on what
      disk label you are using:
 
-    `pmbr_boot'
+     'pmbr_boot'
           (GPT) - this flag enables the boot flag on the GPT's
           protective MBR partition.
 
-
      The disk's flags are displayed by the print command on the "Disk
      Flags:" line.  They are also output as the last field of the disk
      information in machine mode.
@@ -417,6 +414,7 @@ File: parted.info,  Node: help,  Next: mklabel,  Prev: disk_set,  Up: Command ex
 ----------
 
  -- Command: help [COMMAND]
+
      Prints general help, or help on COMMAND.
 
      Example:
@@ -432,6 +430,7 @@ File: parted.info,  Node: mklabel,  Next: mkpart,  Prev: help,  Up: Command expl
 -------------
 
  -- Command: mklabel LABEL-TYPE
+
      Creates a new disk label, of type LABEL-TYPE.  The new disk label
      will have no partitions.  This command (normally) won't technically
      destroy your data, but it will make it basically unusable, and you
@@ -441,17 +440,11 @@ File: parted.info,  Node: mklabel,  Next: mkpart,  Prev: help,  Up: Command expl
 
      LABEL-TYPE must be one of these supported disk labels:
         * bsd
-
         * loop (raw disk access)
-
         * gpt
-
         * mac
-
         * msdos
-
         * pc98
-
         * sun
 
      Example:
@@ -461,9 +454,9 @@ File: parted.info,  Node: mklabel,  Next: mkpart,  Prev: help,  Up: Command expl
      Create an MS-DOS disk label.  This is still the most common disk
      label for PCs.
 
-  ---------- Footnotes ----------
+   ---------- Footnotes ----------
 
-  (1) Everyone seems to have a different word for "disk label" -- these
+   (1) Everyone seems to have a different word for "disk label" -- these
 are all the same thing: partition table, partition map.
 
 \1f
@@ -473,43 +466,64 @@ File: parted.info,  Node: mkpart,  Next: name,  Prev: mklabel,  Up: Command expl
 ------------
 
  -- Command: mkpart [PART-TYPE FS-TYPE NAME] START END
+
      Creates a new partition, _without_ creating a new file system on
      that partition.  This is useful for creating partitions for file
-     systems (or LVM, etc.) that Parted doesn't support.  You may
+     systems (or LVM, etc.)  that Parted doesn't support.  You may
      specify a file system type, to set the appropriate partition code
      in the partition table for the new partition.  FS-TYPE is required
      for data partitions (i.e., non-extended partitions).  START and END
      are the offset from the beginning of the disk, that is, the
      "distance" from the start of the disk.
 
-     PART-TYPE is one of `primary', `extended' or `logical', and may be
-     specified only with `msdos' or `dvh' partition tables.  A NAME
-     must be specified for a `gpt' partition table.  Neither PART-TYPE
-     nor NAME may be used with a `sun' partition table.
+     PART-TYPE is one of 'primary', 'extended' or 'logical', and may be
+     specified only with 'msdos' or 'dvh' partition tables.  A NAME must
+     be specified for a 'gpt' partition table.  Neither PART-TYPE nor
+     NAME may be used with a 'sun' partition table.
 
      FS-TYPE must be one of these supported file systems:
         * ext2
-
         * fat16, fat32
-
         * hfs, hfs+, hfsx
-
         * linux-swap
-
         * NTFS
-
         * reiserfs
-
         * ufs
+        * btrfs
 
-     Example:
+     For example, the following creates a logical partition that will
+     contain an ext2 file system.  The partition will start at the
+     beginning of the disk, and end 692.1 megabytes into the disk.
 
           (parted) mkpart logical 0.0 692.1
 
-     Create a logical partition that will contain an ext2 file system.
-     The partition will start at the beginning of the disk, and end
-     692.1 megabytes into the disk.
+     Now, we will show how to partition a low-end flash device
+     ("low-end", as of 2011/2012).  For such devices, you should use
+     4MiB-aligned partitions(1).  This command creates a tiny
+     place-holder partition at the beginning, and then uses all
+     remaining space to create the partition you'll actually use:
+
+          $ parted -s /dev/sdX -- mklabel msdos \
+              mkpart primary fat32 64s 4MiB \
+              mkpart primary fat32 4MiB -1s
+
+     Note the use of '--', to prevent the following '-1s' last-sector
+     indicator from being interpreted as an invalid command-line option.
+     The above creates two empty partitions.  The first is unaligned and
+     tiny, with length less than 4MiB. The second partition starts
+     precisely at the 4MiB mark and extends to the end of the device.
+
+     The next step is typically to create a file system in the second
+     partition:
+
+          $ mkfs.vfat /dev/sdX2
+
+   ---------- Footnotes ----------
 
+   (1) Cheap flash drives will be with us for a long time to come, and,
+for them, 1MiB alignment is not enough.  Use at least 4MiB-aligned
+partitions.  For details, see Arnd Bergman's article,
+<http://http://lwn.net/Articles/428584/> and its many comments.
 
 \1f
 File: parted.info,  Node: name,  Next: print,  Prev: mkpart,  Up: Command explanations
@@ -518,6 +532,7 @@ File: parted.info,  Node: name,  Next: print,  Prev: mkpart,  Up: Command explan
 ----------
 
  -- Command: name NUMBER NAME
+
      Sets the name for the partition NUMBER (GPT, Mac, MIPS and PC98
      only).  The name can be placed in quotes.
 
@@ -525,7 +540,7 @@ File: parted.info,  Node: name,  Next: print,  Prev: mkpart,  Up: Command explan
 
           (parted) name 2 'Secret Documents'
 
-     Set the name of partition 2 to `Secret Documents'.
+     Set the name of partition 2 to 'Secret Documents'.
 
 \1f
 File: parted.info,  Node: print,  Next: quit,  Prev: name,  Up: Command explanations
@@ -534,6 +549,7 @@ File: parted.info,  Node: print,  Next: quit,  Prev: name,  Up: Command explanat
 -----------
 
  -- Command: print [NUMBER]
+
      Displays the partition table on the device parted is editing, or
      detailed information about a particular partition.
 
@@ -561,16 +577,17 @@ File: parted.info,  Node: quit,  Next: rescue,  Prev: print,  Up: Command explan
 ----------
 
  -- Command: quit
+
      Quits Parted.
 
-     It is only after Parted exits that the Linux kernel knows about
-     the changes Parted has made to the disks.  However, the changes
-     caused by typing your commands will _probably_ be made to the disk
+     It is only after Parted exits that the Linux kernel knows about the
+     changes Parted has made to the disks.  However, the changes caused
+     by typing your commands will _probably_ be made to the disk
      immediately after typing a command.  However, the operating
      system's cache and the disk's hardware cache may delay this.
 
 \1f
-File: parted.info,  Node: rescue,  Next: rm,  Prev: quit,  Up: Command explanations
+File: parted.info,  Node: rescue,  Next: resizepart,  Prev: quit,  Up: Command explanations
 
 2.4.9 rescue
 ------------
@@ -579,8 +596,8 @@ File: parted.info,  Node: rescue,  Next: rm,  Prev: quit,  Up: Command explanati
      Rescue a lost partition that used to be located approximately
      between START and END.  If such a partition is found, Parted will
      ask you if you want to create a partition for it.  This is useful
-     if you accidently deleted a partition with parted's rm command,
-     for example.
+     if you accidently deleted a partition with parted's rm command, for
+     example.
 
      Example:
 
@@ -596,7 +613,7 @@ File: parted.info,  Node: rescue,  Next: rm,  Prev: quit,  Up: Command explanati
           Disk label type: msdos
           Minor    Start       End     Type      Filesystem  Flags
 
-     OUCH!  We deleted our ext3 partition!!!  Parted comes to the
+     OUCH! We deleted our ext3 partition!!!  Parted comes to the
      rescue...
 
           (parted) rescue
@@ -613,25 +630,41 @@ File: parted.info,  Node: rescue,  Next: rm,  Prev: quit,  Up: Command explanati
 
      It's back!  :)
 
+\1f
+File: parted.info,  Node: resizepart,  Next: rm,  Prev: rescue,  Up: Command explanations
+
+2.4.10 resizepart
+-----------------
+
+ -- Command: resizepart NUMBER END
+
+     Moves the END position of partition NUMBER.  Note that this does
+     not modify any filesystem present in the partition.  If you wish to
+     do this, you will need to use external tools, such as 'resize2fs'.
+
+     When growing a partition you will want to grow the filesystem
+     afterwards, but when shrinking, you need to shrink the filesystem
+     before the partition.
 
 \1f
-File: parted.info,  Node: rm,  Next: select,  Prev: rescue,  Up: Command explanations
+File: parted.info,  Node: rm,  Next: select,  Prev: resizepart,  Up: Command explanations
 
-2.4.10 rm
+2.4.11 rm
 ---------
 
  -- Command: rm NUMBER
+
      Removes the partition with number NUMBER.  If you accidently delete
-     a partition with this command, use mkpart to recover it.  Also,
-     you can use the gpart program (*note Related information::) to
-     recover damaged disk labels.
+     a partition with this command, use mkpart to recover it.  Also, you
+     can use the gpart program (*note Related information::) to recover
+     damaged disk labels.
 
      Note for msdos disk labels: if you delete a logical partition, all
      logical partitions with a larger partition number will be
      renumbered.  For example, if you delete a logical partition with a
      partition number of 6, then logical partitions that were number 7,
      8 and 9 would be renumbered to 6, 7 and 8 respectively.  This
-     means, for example, that you have to update `/etc/fstab' on
+     means, for example, that you have to update '/etc/fstab' on
      GNU/Linux systems.
 
      Example:
@@ -643,10 +676,11 @@ File: parted.info,  Node: rm,  Next: select,  Prev: rescue,  Up: Command explana
 \1f
 File: parted.info,  Node: select,  Next: set,  Prev: rm,  Up: Command explanations
 
-2.4.11 select
+2.4.12 select
 -------------
 
  -- Command: select DEVICE
+
      Selects the device, DEVICE, for Parted to edit.  The device can be
      a Linux hard disk device, a partition, a software RAID device or
      LVM logical volume.
@@ -655,29 +689,30 @@ File: parted.info,  Node: select,  Next: set,  Prev: rm,  Up: Command explanatio
 
           (parted) select /dev/hdb
 
-     Select `/dev/hdb' (the slave device on the first ide controller on
+     Select '/dev/hdb' (the slave device on the first ide controller on
      Linux) as the device to edit.
 
 \1f
 File: parted.info,  Node: set,  Next: unit,  Prev: select,  Up: Command explanations
 
-2.4.12 set
+2.4.13 set
 ----------
 
  -- Command: set NUMBER FLAG STATE
+
      Changes a flag on the partition with number NUMBER.  A flag can be
      either "on" or "off".  Some or all of these flags will be
      available, depending on what disk label you are using:
 
-    `bios_grub'
+     'bios_grub'
           (GPT) - Enable this to record that the selected partition is a
           GRUB BIOS partition.
 
-    `legacy_boot'
+     'legacy_boot'
           (GPT) - this flag is used to tell special purpose software
           that the GPT partition may be bootable.
 
-    `boot'
+     'boot'
           (Mac, MS-DOS, PC98) - should be enabled if you want to boot
           off the partition.  The semantics vary between disk labels.
           For MS-DOS disk labels, only one partition can be bootable.
@@ -685,107 +720,130 @@ File: parted.info,  Node: set,  Next: unit,  Prev: select,  Up: Command explanat
           be bootable.  For PC98 disk labels, all ext2 partitions must
           be bootable (this is enforced by Parted).
 
-    `lba'
-          (MS-DOS) - this flag can be enabled to tell MS DOS, MS
-          Windows 9x and MS Windows ME based operating systems to use
-          Linear (LBA) mode.
-
-    `root'
+     'msftdata'
+          (GPT) - This flag identifies partitions that contain Microsoft
+          filesystems (NTFS or FAT). It may optionally be set on Linux
+          filesystems to mimic the type of configuration created by
+          parted 3.0 and earlier, in which a separate Linux filesystem
+          type code was not available on GPT disks.  This flag can only
+          be removed within parted by replacing it with a competing
+          flag, such as boot or msftres.
+
+     'msftres'
+          (GPT) - This flag identifies a "Microsoft Reserved" partition,
+          which is used by Windows on GPT disks.  Note that this flag
+          should not normally be set on Windows filesystem partitions
+          (those that contain NTFS or FAT filesystems).
+
+     'irst'
+          (MS-DOS, GPT) - this flag identifies an Intel Rapid Start
+          Technology partition.
+
+     'esp'
+          (MS-DOS, GPT) - this flag identifies a UEFI System Partition.
+          On GPT it is an alias for boot.
+
+     'lba'
+          (MS-DOS) - this flag can be enabled to tell MS DOS, MS Windows
+          9x and MS Windows ME based operating systems to use Linear
+          (LBA) mode.
+
+     'root'
           (Mac) - this flag should be enabled if the partition is the
           root device to be used by Linux.
 
-    `swap'
+     'swap'
           (Mac) - this flag should be enabled if the partition is the
           swap device to be used by Linux.
 
-    `hidden'
+     'hidden'
           (MS-DOS, PC98) - this flag can be enabled to hide partitions
           from Microsoft operating systems.
 
-    `raid'
+     'raid'
           (MS-DOS) - this flag can be enabled to tell linux the
           partition is a software RAID partition.
 
-    `LVM'
+     'LVM'
           (MS-DOS) - this flag can be enabled to tell linux the
           partition is a physical volume.
 
-    `PALO'
+     'PALO'
           (MS-DOS) - this flag can be enabled so that the partition can
           be used by the Linux/PA-RISC boot loader, palo.
 
-    `PREP'
-          (MS-DOS) - this flag can be enabled so that the partition can
-          be used as a PReP boot partition on PowerPC PReP or IBM
+     'PREP'
+          (MS-DOS, GPT) - this flag can be enabled so that the partition
+          can be used as a PReP boot partition on PowerPC PReP or IBM
           RS6K/CHRP hardware.
 
-    `DIAG'
+     'DIAG'
           (MS-DOS) - Enable this to indicate that a partition can be
           used as a diagnostics / recovery partition.
 
-
      The print command displays all enabled flags for each partition.
 
      Example:
 
           (parted) set 1 boot on
 
-     Set the `boot' flag on partition 1.
+     Set the 'boot' flag on partition 1.
 
 \1f
 File: parted.info,  Node: unit,  Prev: set,  Up: Command explanations
 
-2.4.13 unit
+2.4.14 unit
 -----------
 
  -- Command: unit UNIT
+
      Selects the current default unit that Parted will use to display
      locations and capacities on the disk and to interpret those given
      by the user if they are not suffixed by an UNIT.
 
      UNIT may be one of:
 
-    `s'
+     's'
           sector (n bytes depending on the sector size, often 512)
 
-    `B'
+     'B'
           byte
 
-    `KiB'
+     'KiB'
           kibibyte (1024 bytes)
 
-    `MiB'
+     'MiB'
           mebibyte (1048576 bytes)
 
-    `GiB'
+     'GiB'
           gibibyte (1073741824 bytes)
 
-    `TiB'
+     'TiB'
           tebibyte (1099511627776 bytes)
 
-    `kB'
+     'kB'
           kilobyte (1000 bytes)
 
-    `MB'
+     'MB'
           megabyte (1000000 bytes)
 
-    `GB'
+     'GB'
           gigabyte (1000000000 bytes)
 
-    `TB'
+     'TB'
           terabyte (1000000000000 bytes)
 
-    `%'
+     '%'
           percentage of the device (between 0 and 100)
 
-    `cyl'
+     'cyl'
           cylinders (related to the BIOS CHS geometry)
 
-    `chs'
+     'chs'
           cylinders, heads, sectors addressing (related to the BIOS CHS
           geometry)
 
-    `compact'
+     'compact'
           This is a special unit that defaults to megabytes for input,
           and picks a unit that gives a compact human readable
           representation for output.
@@ -797,13 +855,13 @@ File: parted.info,  Node: unit,  Prev: set,  Up: Command explanations
      particular number, but CHS and cylinder units are not supported as
      a suffix.  If no suffix is given, then the default unit is assumed.
      Parted will compute sensible ranges for the locations you specify
-     (e.g. a range of +/- 500 MB when you specify the location in "G",
-     and a range of +/- 500 KB when you specify the location in "M")
-     and will select the nearest location in this range from the one you
+     (e.g., a range of +/- 500 MB when you specify the location in "G",
+     and a range of +/- 500 KB when you specify the location in "M") and
+     will select the nearest location in this range from the one you
      wrote that satisfies constraints from both the operation, the
      filesystem being worked on, the disk label, other partitions and so
-     on.  Use the sector unit "s" to specify exact locations (if they
-     do not satisfy all constraints, Parted will ask you for the nearest
+     on.  Use the sector unit "s" to specify exact locations (if they do
+     not satisfy all constraints, Parted will ask you for the nearest
      solution).  Note that negative numbers count back from the end of
      the disk, with "-1s" pointing to the last sector of the disk.
 
@@ -815,8 +873,8 @@ File: parted.info,  Node: unit,  Prev: set,  Up: Command explanations
      partition start request of "4GB", which may actually resolve to
      some sector up to 500MB before or after that point.  Thus, when
      creating a partition, you should prefer to specify units of bytes
-     ("B"), sectors ("s"), or IEC binary units like "MiB", but not
-     "MB", "GB", etc.
+     ("B"), sectors ("s"), or IEC binary units like "MiB", but not "MB",
+     "GB", etc.
 
      Example:
 
@@ -848,7 +906,6 @@ File: parted.info,  Node: unit,  Prev: set,  Up: Command explanations
           3       2155MB  122935MB 120780MB extended
           5       2155MB  7452MB  5297MB  logical   reiserfs
 
-
 \1f
 File: parted.info,  Node: Related information,  Next: Copying This Manual,  Prev: Using Parted,  Up: Top
 
@@ -860,23 +917,22 @@ site.
 
   These files in the Parted distribution contain further information:
 
-   * `ABOUT-NLS' - information about using Native Language Support, and
+   * 'ABOUT-NLS' - information about using Native Language Support, and
      the Free Translation Project.
 
-   * `AUTHORS' - who wrote what.
+   * 'AUTHORS' - who wrote what.
 
-   * `ChangeLog' - record of changes made to Parted.
+   * 'ChangeLog' - record of changes made to Parted.
 
-   * `COPYING' - the GNU General Public License, the terms under which
+   * 'COPYING' - the GNU General Public License, the terms under which
      GNU Parted may be distributed.
 
-   * `COPYING.DOC' - the GNU Free Documentation Licence, the term under
+   * 'COPYING.DOC' - the GNU Free Documentation Licence, the term under
      which Parted's documentation may be distributed.
 
-   * `INSTALL' -- how to compile and install Parted, and most other free
+   * 'INSTALL' -- how to compile and install Parted, and most other free
      software
 
-
 \1f
 File: parted.info,  Node: Copying This Manual,  Next: History,  Prev: Related information,  Up: Top
 
@@ -896,7 +952,7 @@ A.1 GNU Free Documentation License
                      Version 1.3, 3 November 2008
 
      Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
-     `http://fsf.org/'
+     <http://fsf.org/>
 
      Everyone is permitted to copy and distribute verbatim copies
      of this license document, but changing it is not allowed.
@@ -921,21 +977,21 @@ A.1 GNU Free Documentation License
      free program should come with manuals providing the same freedoms
      that the software does.  But this License is not limited to
      software manuals; it can be used for any textual work, regardless
-     of subject matter or whether it is published as a printed book.
-     We recommend this License principally for works whose purpose is
+     of subject matter or whether it is published as a printed book.  We
+     recommend this License principally for works whose purpose is
      instruction or reference.
 
   1. APPLICABILITY AND DEFINITIONS
 
      This License applies to any manual or other work, in any medium,
-     that contains a notice placed by the copyright holder saying it
-     can be distributed under the terms of this License.  Such a notice
+     that contains a notice placed by the copyright holder saying it can
+     be distributed under the terms of this License.  Such a notice
      grants a world-wide, royalty-free license, unlimited in duration,
      to use that work under the conditions stated herein.  The
      "Document", below, refers to any such manual or work.  Any member
-     of the public is a licensee, and is addressed as "you".  You
-     accept the license if you copy, modify or distribute the work in a
-     way requiring permission under copyright law.
+     of the public is a licensee, and is addressed as "you".  You accept
+     the license if you copy, modify or distribute the work in a way
+     requiring permission under copyright law.
 
      A "Modified Version" of the Document means any work containing the
      Document or a portion of it, either copied verbatim, or with
@@ -953,12 +1009,12 @@ A.1 GNU Free Documentation License
      regarding them.
 
      The "Invariant Sections" are certain Secondary Sections whose
-     titles are designated, as being those of Invariant Sections, in
-     the notice that says that the Document is released under this
-     License.  If a section does not fit the above definition of
-     Secondary then it is not allowed to be designated as Invariant.
-     The Document may contain zero Invariant Sections.  If the Document
-     does not identify any Invariant Sections then there are none.
+     titles are designated, as being those of Invariant Sections, in the
+     notice that says that the Document is released under this License.
+     If a section does not fit the above definition of Secondary then it
+     is not allowed to be designated as Invariant.  The Document may
+     contain zero Invariant Sections.  If the Document does not identify
+     any Invariant Sections then there are none.
 
      The "Cover Texts" are certain short passages of text that are
      listed, as Front-Cover Texts or Back-Cover Texts, in the notice
@@ -969,27 +1025,27 @@ A.1 GNU Free Documentation License
      A "Transparent" copy of the Document means a machine-readable copy,
      represented in a format whose specification is available to the
      general public, that is suitable for revising the document
-     straightforwardly with generic text editors or (for images
-     composed of pixels) generic paint programs or (for drawings) some
-     widely available drawing editor, and that is suitable for input to
-     text formatters or for automatic translation to a variety of
-     formats suitable for input to text formatters.  A copy made in an
-     otherwise Transparent file format whose markup, or absence of
-     markup, has been arranged to thwart or discourage subsequent
-     modification by readers is not Transparent.  An image format is
-     not Transparent if used for any substantial amount of text.  A
-     copy that is not "Transparent" is called "Opaque".
+     straightforwardly with generic text editors or (for images composed
+     of pixels) generic paint programs or (for drawings) some widely
+     available drawing editor, and that is suitable for input to text
+     formatters or for automatic translation to a variety of formats
+     suitable for input to text formatters.  A copy made in an otherwise
+     Transparent file format whose markup, or absence of markup, has
+     been arranged to thwart or discourage subsequent modification by
+     readers is not Transparent.  An image format is not Transparent if
+     used for any substantial amount of text.  A copy that is not
+     "Transparent" is called "Opaque".
 
      Examples of suitable formats for Transparent copies include plain
      ASCII without markup, Texinfo input format, LaTeX input format,
-     SGML or XML using a publicly available DTD, and
-     standard-conforming simple HTML, PostScript or PDF designed for
-     human modification.  Examples of transparent image formats include
-     PNG, XCF and JPG.  Opaque formats include proprietary formats that
-     can be read and edited only by proprietary word processors, SGML or
-     XML for which the DTD and/or processing tools are not generally
-     available, and the machine-generated HTML, PostScript or PDF
-     produced by some word processors for output purposes only.
+     SGML or XML using a publicly available DTD, and standard-conforming
+     simple HTML, PostScript or PDF designed for human modification.
+     Examples of transparent image formats include PNG, XCF and JPG.
+     Opaque formats include proprietary formats that can be read and
+     edited only by proprietary word processors, SGML or XML for which
+     the DTD and/or processing tools are not generally available, and
+     the machine-generated HTML, PostScript or PDF produced by some word
+     processors for output purposes only.
 
      The "Title Page" means, for a printed book, the title page itself,
      plus such following pages as are needed to hold, legibly, the
@@ -1027,8 +1083,8 @@ A.1 GNU Free Documentation License
      may not use technical measures to obstruct or control the reading
      or further copying of the copies you make or distribute.  However,
      you may accept compensation in exchange for copies.  If you
-     distribute a large enough number of copies you must also follow
-     the conditions in section 3.
+     distribute a large enough number of copies you must also follow the
+     conditions in section 3.
 
      You may also lend copies, under the same conditions stated above,
      and you may publicly display copies.
@@ -1042,12 +1098,11 @@ A.1 GNU Free Documentation License
      these Cover Texts: Front-Cover Texts on the front cover, and
      Back-Cover Texts on the back cover.  Both covers must also clearly
      and legibly identify you as the publisher of these copies.  The
-     front cover must present the full title with all words of the
-     title equally prominent and visible.  You may add other material
-     on the covers in addition.  Copying with changes limited to the
-     covers, as long as they preserve the title of the Document and
-     satisfy these conditions, can be treated as verbatim copying in
-     other respects.
+     front cover must present the full title with all words of the title
+     equally prominent and visible.  You may add other material on the
+     covers in addition.  Copying with changes limited to the covers, as
+     long as they preserve the title of the Document and satisfy these
+     conditions, can be treated as verbatim copying in other respects.
 
      If the required texts for either cover are too voluminous to fit
      legibly, you should put the first ones listed (as many as fit
@@ -1055,40 +1110,39 @@ A.1 GNU Free Documentation License
      adjacent pages.
 
      If you publish or distribute Opaque copies of the Document
-     numbering more than 100, you must either include a
-     machine-readable Transparent copy along with each Opaque copy, or
-     state in or with each Opaque copy a computer-network location from
-     which the general network-using public has access to download
-     using public-standard network protocols a complete Transparent
-     copy of the Document, free of added material.  If you use the
-     latter option, you must take reasonably prudent steps, when you
-     begin distribution of Opaque copies in quantity, to ensure that
-     this Transparent copy will remain thus accessible at the stated
-     location until at least one year after the last time you
-     distribute an Opaque copy (directly or through your agents or
-     retailers) of that edition to the public.
+     numbering more than 100, you must either include a machine-readable
+     Transparent copy along with each Opaque copy, or state in or with
+     each Opaque copy a computer-network location from which the general
+     network-using public has access to download using public-standard
+     network protocols a complete Transparent copy of the Document, free
+     of added material.  If you use the latter option, you must take
+     reasonably prudent steps, when you begin distribution of Opaque
+     copies in quantity, to ensure that this Transparent copy will
+     remain thus accessible at the stated location until at least one
+     year after the last time you distribute an Opaque copy (directly or
+     through your agents or retailers) of that edition to the public.
 
      It is requested, but not required, that you contact the authors of
-     the Document well before redistributing any large number of
-     copies, to give them a chance to provide you with an updated
-     version of the Document.
+     the Document well before redistributing any large number of copies,
+     to give them a chance to provide you with an updated version of the
+     Document.
 
   4. MODIFICATIONS
 
      You may copy and distribute a Modified Version of the Document
      under the conditions of sections 2 and 3 above, provided that you
-     release the Modified Version under precisely this License, with
-     the Modified Version filling the role of the Document, thus
-     licensing distribution and modification of the Modified Version to
-     whoever possesses a copy of it.  In addition, you must do these
-     things in the Modified Version:
+     release the Modified Version under precisely this License, with the
+     Modified Version filling the role of the Document, thus licensing
+     distribution and modification of the Modified Version to whoever
+     possesses a copy of it.  In addition, you must do these things in
+     the Modified Version:
 
        A. Use in the Title Page (and on the covers, if any) a title
-          distinct from that of the Document, and from those of
-          previous versions (which should, if there were any, be listed
-          in the History section of the Document).  You may use the
-          same title as a previous version if the original publisher of
-          that version gives permission.
+          distinct from that of the Document, and from those of previous
+          versions (which should, if there were any, be listed in the
+          History section of the Document).  You may use the same title
+          as a previous version if the original publisher of that
+          version gives permission.
 
        B. List on the Title Page, as authors, one or more persons or
           entities responsible for authorship of the modifications in
@@ -1118,31 +1172,30 @@ A.1 GNU Free Documentation License
 
        I. Preserve the section Entitled "History", Preserve its Title,
           and add to it an item stating at least the title, year, new
-          authors, and publisher of the Modified Version as given on
-          the Title Page.  If there is no section Entitled "History" in
-          the Document, create one stating the title, year, authors,
-          and publisher of the Document as given on its Title Page,
-          then add an item describing the Modified Version as stated in
-          the previous sentence.
+          authors, and publisher of the Modified Version as given on the
+          Title Page.  If there is no section Entitled "History" in the
+          Document, create one stating the title, year, authors, and
+          publisher of the Document as given on its Title Page, then add
+          an item describing the Modified Version as stated in the
+          previous sentence.
 
        J. Preserve the network location, if any, given in the Document
           for public access to a Transparent copy of the Document, and
           likewise the network locations given in the Document for
-          previous versions it was based on.  These may be placed in
-          the "History" section.  You may omit a network location for a
-          work that was published at least four years before the
-          Document itself, or if the original publisher of the version
-          it refers to gives permission.
+          previous versions it was based on.  These may be placed in the
+          "History" section.  You may omit a network location for a work
+          that was published at least four years before the Document
+          itself, or if the original publisher of the version it refers
+          to gives permission.
 
        K. For any section Entitled "Acknowledgements" or "Dedications",
-          Preserve the Title of the section, and preserve in the
-          section all the substance and tone of each of the contributor
+          Preserve the Title of the section, and preserve in the section
+          all the substance and tone of each of the contributor
           acknowledgements and/or dedications given therein.
 
-       L. Preserve all the Invariant Sections of the Document,
-          unaltered in their text and in their titles.  Section numbers
-          or the equivalent are not considered part of the section
-          titles.
+       L. Preserve all the Invariant Sections of the Document, unaltered
+          in their text and in their titles.  Section numbers or the
+          equivalent are not considered part of the section titles.
 
        M. Delete any section Entitled "Endorsements".  Such a section
           may not be included in the Modified Version.
@@ -1155,11 +1208,11 @@ A.1 GNU Free Documentation License
 
      If the Modified Version includes new front-matter sections or
      appendices that qualify as Secondary Sections and contain no
-     material copied from the Document, you may at your option
-     designate some or all of these sections as invariant.  To do this,
-     add their titles to the list of Invariant Sections in the Modified
-     Version's license notice.  These titles must be distinct from any
-     other section titles.
+     material copied from the Document, you may at your option designate
+     some or all of these sections as invariant.  To do this, add their
+     titles to the list of Invariant Sections in the Modified Version's
+     license notice.  These titles must be distinct from any other
+     section titles.
 
      You may add a section Entitled "Endorsements", provided it contains
      nothing but endorsements of your Modified Version by various
@@ -1168,15 +1221,15 @@ A.1 GNU Free Documentation License
      definition of a standard.
 
      You may add a passage of up to five words as a Front-Cover Text,
-     and a passage of up to 25 words as a Back-Cover Text, to the end
-     of the list of Cover Texts in the Modified Version.  Only one
-     passage of Front-Cover Text and one of Back-Cover Text may be
-     added by (or through arrangements made by) any one entity.  If the
-     Document already includes a cover text for the same cover,
-     previously added by you or by arrangement made by the same entity
-     you are acting on behalf of, you may not add another; but you may
-     replace the old one, on explicit permission from the previous
-     publisher that added the old one.
+     and a passage of up to 25 words as a Back-Cover Text, to the end of
+     the list of Cover Texts in the Modified Version.  Only one passage
+     of Front-Cover Text and one of Back-Cover Text may be added by (or
+     through arrangements made by) any one entity.  If the Document
+     already includes a cover text for the same cover, previously added
+     by you or by arrangement made by the same entity you are acting on
+     behalf of, you may not add another; but you may replace the old
+     one, on explicit permission from the previous publisher that added
+     the old one.
 
      The author(s) and publisher(s) of the Document do not by this
      License give permission to use their names for publicity for or to
@@ -1186,8 +1239,8 @@ A.1 GNU Free Documentation License
 
      You may combine the Document with other documents released under
      this License, under the terms defined in section 4 above for
-     modified versions, provided that you include in the combination
-     all of the Invariant Sections of all of the original documents,
+     modified versions, provided that you include in the combination all
+     of the Invariant Sections of all of the original documents,
      unmodified, and list them all as Invariant Sections of your
      combined work in its license notice, and that you preserve all
      their Warranty Disclaimers.
@@ -1214,20 +1267,20 @@ A.1 GNU Free Documentation License
      documents released under this License, and replace the individual
      copies of this License in the various documents with a single copy
      that is included in the collection, provided that you follow the
-     rules of this License for verbatim copying of each of the
-     documents in all other respects.
+     rules of this License for verbatim copying of each of the documents
+     in all other respects.
 
      You may extract a single document from such a collection, and
      distribute it individually under this License, provided you insert
-     a copy of this License into the extracted document, and follow
-     this License in all other respects regarding verbatim copying of
-     that document.
+     a copy of this License into the extracted document, and follow this
+     License in all other respects regarding verbatim copying of that
+     document.
 
   7. AGGREGATION WITH INDEPENDENT WORKS
 
      A compilation of the Document or its derivatives with other
-     separate and independent documents or works, in or on a volume of
-     storage or distribution medium, is called an "aggregate" if the
+     separate and independent documents or works, in or on a volume of a
+     storage or distribution medium, is called an "aggregate" if the
      copyright resulting from the compilation is not used to limit the
      legal rights of the compilation's users beyond what the individual
      works permit.  When the Document is included in an aggregate, this
@@ -1272,8 +1325,8 @@ A.1 GNU Free Documentation License
 
      However, if you cease all violation of this License, then your
      license from a particular copyright holder is reinstated (a)
-     provisionally, unless and until the copyright holder explicitly
-     and finally terminates your license, and (b) permanently, if the
+     provisionally, unless and until the copyright holder explicitly and
+     finally terminates your license, and (b) permanently, if the
      copyright holder fails to notify you of the violation by some
      reasonable means prior to 60 days after the cessation.
 
@@ -1285,33 +1338,33 @@ A.1 GNU Free Documentation License
      after your receipt of the notice.
 
      Termination of your rights under this section does not terminate
-     the licenses of parties who have received copies or rights from
-     you under this License.  If your rights have been terminated and
-     not permanently reinstated, receipt of a copy of some or all of
-     the same material does not give you any rights to use it.
+     the licenses of parties who have received copies or rights from you
+     under this License.  If your rights have been terminated and not
+     permanently reinstated, receipt of a copy of some or all of the
+     same material does not give you any rights to use it.
 
- 10. FUTURE REVISIONS OF THIS LICENSE
 10. FUTURE REVISIONS OF THIS LICENSE
 
      The Free Software Foundation may publish new, revised versions of
      the GNU Free Documentation License from time to time.  Such new
      versions will be similar in spirit to the present version, but may
      differ in detail to address new problems or concerns.  See
-     `http://www.gnu.org/copyleft/'.
+     <http://www.gnu.org/copyleft/>.
 
      Each version of the License is given a distinguishing version
      number.  If the Document specifies that a particular numbered
      version of this License "or any later version" applies to it, you
      have the option of following the terms and conditions either of
      that specified version or of any later version that has been
-     published (not as a draft) by the Free Software Foundation.  If
-     the Document does not specify a version number of this License,
-     you may choose any version ever published (not as a draft) by the
-     Free Software Foundation.  If the Document specifies that a proxy
-     can decide which future versions of this License can be used, that
+     published (not as a draft) by the Free Software Foundation.  If the
+     Document does not specify a version number of this License, you may
+     choose any version ever published (not as a draft) by the Free
+     Software Foundation.  If the Document specifies that a proxy can
+     decide which future versions of this License can be used, that
      proxy's public statement of acceptance of a version permanently
      authorizes you to choose that version for the Document.
 
- 11. RELICENSING
 11. RELICENSING
 
      "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
      World Wide Web server that publishes copyrightable works and also
@@ -1341,7 +1394,6 @@ A.1 GNU Free Documentation License
      site under CC-BY-SA on the same site at any time before August 1,
      2009, provided the MMC is eligible for relicensing.
 
-
 ADDENDUM: How to use this License for your documents
 ====================================================
 
@@ -1369,9 +1421,9 @@ combination of the three, merge those two alternatives to suit the
 situation.
 
   If your document contains nontrivial examples of program code, we
-recommend releasing these examples in parallel under your choice of
-free software license, such as the GNU General Public License, to
-permit their use in free software.
+recommend releasing these examples in parallel under your choice of free
+software license, such as the GNU General Public License, to permit
+their use in free software.
 
 \1f
 File: parted.info,  Node: History,  Next: Concept index,  Prev: Copying This Manual,  Up: Top
@@ -1379,9 +1431,9 @@ File: parted.info,  Node: History,  Next: Concept index,  Prev: Copying This Man
 Appendix B This manual's history
 ********************************
 
-This manual was based on the file `USER' included in GNU Parted version
+This manual was based on the file 'USER' included in GNU Parted version
 1.4.22 source distribution.  The GNU Parted source distribution is
-available at `ftp.gnu.org/gnu/parted'.
+available at <ftp.gnu.org/gnu/parted>.
 
   Initial Texinfo formatting by Richard M. Kreuter, 2002.
 
@@ -1389,8 +1441,8 @@ available at `ftp.gnu.org/gnu/parted'.
 Polzer from July 2005 onwards.
 
   This manual is distributed under the GNU Free Documentation License,
-version 1.1 or later, at your discretion, any later version published
-by the Free Software Foundation; with no Invariant Sections, with no
+version 1.1 or later, at your discretion, any later version published by
+the Free Software Foundation; with no Invariant Sections, with no
 Front-Cover Texts, and with no Back-Cover Texts.  *Note Copying This
 Manual::, for details.
 
@@ -1415,6 +1467,7 @@ Index
 * command description, print:            print.                 (line 6)
 * command description, quit:             quit.                  (line 6)
 * command description, rescue:           rescue.                (line 6)
+* command description, resizepart:       resizepart.            (line 6)
 * command description, rm:               rm.                    (line 6)
 * command description, select:           select.                (line 6)
 * command description, set:              set.                   (line 6)
@@ -1456,6 +1509,7 @@ Index
 * reporting bugs:                        Overview.              (line 6)
 * required software:                     Software Required.     (line 6)
 * rescue, command description:           rescue.                (line 6)
+* resizepart, command description:       resizepart.            (line 6)
 * rm, command description:               rm.                    (line 6)
 * select, command description:           select.                (line 6)
 * set, command description:              set.                   (line 6)
@@ -1467,37 +1521,39 @@ Index
 
 \1f
 Tag Table:
-Node: Top\7f766
-Node: Introduction\7f1569
-Node: Overview\7f2025
-Node: Software Required\7f3552
-Node: Supported Platforms\7f4911
-Node: License\7f5365
-Node: Compiling\7f5996
-Node: Using Parted\7f7723
-Node: Partitioning\7f8142
-Node: Running Parted\7f8598
-Node: Invoking Parted\7f10980
-Node: Command explanations\7f11760
-Node: align-check\7f12210
+Node: Top\7f764
+Node: Introduction\7f1567
+Node: Overview\7f2023
+Node: Software Required\7f3550
+Node: Supported Platforms\7f4904
+Node: License\7f5358
+Node: Compiling\7f5989
+Node: Using Parted\7f7715
+Node: Partitioning\7f8134
+Node: Running Parted\7f8590
+Node: Invoking Parted\7f10971
+Node: Command explanations\7f11752
+Node: align-check\7f12217
 Node: disk_set\7f12942
-Node: help\7f13642
-Node: mklabel\7f13924
-Ref: mklabel-Footnote-1\7f14807
-Node: mkpart\7f14936
-Node: name\7f16345
-Node: print\7f16723
-Node: quit\7f17610
-Node: rescue\7f18103
-Node: rm\7f19622
-Node: select\7f20502
-Node: set\7f20971
-Node: unit\7f23406
-Ref: IEC binary units\7f25773
-Node: Related information\7f27867
-Node: Copying This Manual\7f28690
-Node: GNU Free Documentation License\7f28934
-Node: History\7f54064
-Node: Concept index\7f54869
+Node: help\7f13643
+Node: mklabel\7f13926
+Ref: mklabel-Footnote-1\7f14805
+Node: mkpart\7f14935
+Ref: mkpart-Footnote-1\7f17345
+Node: name\7f17603
+Node: print\7f17982
+Node: quit\7f18870
+Node: rescue\7f19364
+Node: resizepart\7f20889
+Node: rm\7f21437
+Node: select\7f22322
+Node: set\7f22792
+Node: unit\7f26249
+Ref: IEC binary units\7f28632
+Node: Related information\7f30725
+Node: Copying This Manual\7f31547
+Node: GNU Free Documentation License\7f31791
+Node: History\7f56901
+Node: Concept index\7f57706
 \1f
 End Tag Table
index 6561d0e4d23646db8d3a327cf20683205edafc5a..07aa70293008c000f0feb3bb676bd7615dab9027 100644 (file)
@@ -14,7 +14,7 @@ and manipulating partition tables.
 @ifnottex @c texi2pdf don't understand copying and insertcopying ???
 @c modifications must also be done in the titlepage
 @copying
-Copyright @copyright{} 1999-2012 Free Software Foundation, Inc.
+Copyright @copyright{} 1999-2014 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -348,7 +348,7 @@ specify the location in ``G''). Use the sector unit ``s'' to specify exact
 locations.  With parted-2.4 and newer,
 IEC binary units like ``MiB'', ``GiB'', ``TiB'', etc., specify
 exact locations as well.
-See @xref{IEC binary units}.
+@xref{IEC binary units}.
 
 If you don't give a parameter to a command, Parted will prompt you for it.
 For example:
@@ -423,6 +423,7 @@ GNU Parted provides the following commands:
 * print::
 * quit::
 * rescue::
+* resizepart::
 * rm::
 * select::
 * set::
@@ -575,17 +576,47 @@ partition table.
 @item NTFS
 @item reiserfs
 @item ufs
+@item btrfs
 @end itemize
 
-Example:
+For example, the following creates a logical partition that will contain
+an ext2 file system.  The partition will start at the beginning of the disk,
+and end 692.1 megabytes into the disk.
 
 @example
 (parted) @kbd{mkpart logical 0.0 692.1}
 @end example
 
-Create a logical partition that will contain an ext2 file system.  The
-partition will start at the beginning of the disk, and end 692.1
-megabytes into the disk.
+Now, we will show how to partition a low-end flash
+device (``low-end'', as of 2011/2012).
+For such devices, you should use 4MiB-aligned partitions@footnote{
+Cheap flash drives will be with us for a long time to
+come, and, for them, 1MiB alignment is not enough.
+Use at least 4MiB-aligned partitions.
+For details, see Arnd Bergman's article,
+@uref{http://http://lwn.net/Articles/428584/} and its many comments.}.
+This command creates a tiny place-holder partition at the beginning, and
+then uses all remaining space to create the partition you'll actually use:
+
+@example
+$ @kbd{parted -s /dev/sdX -- mklabel msdos \}
+@kbd{    mkpart primary fat32 64s 4MiB \}
+@kbd{    mkpart primary fat32 4MiB -1s}
+@end example
+
+Note the use of @samp{--}, to prevent the following @samp{-1s} last-sector
+indicator from being interpreted as an invalid command-line option.
+The above creates two empty partitions.  The first is unaligned and tiny,
+with length less than 4MiB.
+The second partition starts precisely at the 4MiB mark
+and extends to the end of the device.
+
+The next step is typically to create a file system in the second partition:
+
+@example
+$ @kbd{mkfs.vfat /dev/sdX2}
+@end example
+
 
 @end deffn
 
@@ -714,6 +745,21 @@ It's back!  :)
 
 @end deffn
 
+@node resizepart
+@subsection resizepart
+@cindex resizepart, command description
+@cindex command description, resizepart
+
+@deffn Command resizepart @var{number} @var{end}
+
+Moves the @var{end} position of partition @var{number}.  Note that this
+does not modify any filesystem present in the partition.  If you wish to
+do this, you will need to use external tools, such as @command{resize2fs}.
+
+When growing a partition you will want to grow the filesystem afterwards,
+but when shrinking, you need to shrink the filesystem before the partition.
+@end deffn
+
 @node rm
 @subsection rm
 @cindex rm, command description
@@ -793,6 +839,28 @@ on a partition that partition must be bootable.
 For PC98 disk labels, all ext2 partitions must be bootable (this is
 enforced by Parted).
 
+@item msftdata
+(GPT) - This flag identifies partitions that contain Microsoft filesystems
+(NTFS or FAT).  It may optionally be set on Linux filesystems to mimic the
+type of configuration created by parted 3.0 and earlier, in which a
+separate Linux filesystem type code was not available on GPT disks.  This
+flag can only be removed within parted by replacing it with a competing
+flag, such as boot or msftres.
+
+@item msftres
+(GPT) - This flag identifies a "Microsoft Reserved" partition, which is
+used by Windows on GPT disks.  Note that this flag should not normally be
+set on Windows filesystem partitions (those that contain NTFS or FAT
+filesystems).
+
+@item irst
+(MS-DOS, GPT) - this flag identifies an Intel Rapid Start Technology
+partition.
+
+@item esp
+(MS-DOS, GPT) - this flag identifies a UEFI System Partition. On GPT
+it is an alias for boot.
+
 @item lba
 (MS-DOS) - this flag can be enabled to tell MS DOS, MS Windows 9x and
 MS Windows ME based operating systems to use Linear (LBA) mode.
@@ -822,7 +890,7 @@ physical volume.
 by the Linux/PA-RISC boot loader, palo.
 
 @item PREP
-(MS-DOS) - this flag can be enabled so that the partition can be used
+(MS-DOS, GPT) - this flag can be enabled so that the partition can be used
 as a PReP boot partition on PowerPC PReP or IBM RS6K/CHRP hardware.
 
 @item DIAG
@@ -907,7 +975,7 @@ which case this unit apply instead of the default unit for this
 particular number, but CHS and cylinder units are not supported as
 a suffix.  If no suffix is given, then the default unit is assumed.
 Parted will compute sensible ranges for the locations you specify
-(e.g. a range of +/- 500 MB when you specify the location in ``G'',
+(e.g., a range of +/- 500 MB when you specify the location in ``G'',
 and a range of +/- 500 KB when you specify the location in ``M'')
 and will select the nearest location in this range from the one you
 wrote that satisfies constraints from both the operation, the
index b37812118c4f8ee1790c1af9c7390ad29f61dd82..aaf4024ea83d10198485f0f7e79b2e5b2db90027 100644 (file)
@@ -41,13 +41,13 @@ install-man: install-man1 install-man5 install-man8
 
 # For each .po, try to generate the man page
 all-local:
-       for po in `ls -1 $(srcdir)/*.$(lang).po 2>/dev/null`; do \
+       $(AM_V_GEN)for po in `ls -1 $(srcdir)/*.$(lang).po 2>/dev/null`; do \
                $(MAKE) $$(basename $${po%.$(lang).po}); \
        done
 
 # Remove the man pages that were generated from a .po
 clean-local:
-       for po in `ls -1 $(srcdir)/*.$(lang).po 2>/dev/null`; do \
+       $(AM_V_GEN)for po in `ls -1 $(srcdir)/*.$(lang).po 2>/dev/null`; do \
                rm -f $$(basename $${po%.$(lang).po}); \
        done
 
@@ -55,7 +55,7 @@ clean-local:
 # Update the PO in srcdir, according to the POT in C.
 # Based on the gettext po/Makefile.in.in
 updatepo:
-       tmpdir=`pwd`; \
+       $(AM_V_GEN)tmpdir=`pwd`; \
        cd $(srcdir); \
        for po in *.$(lang).po; do \
          case "$$po" in '*'*) continue;; esac; \
@@ -83,7 +83,7 @@ dist-hook: updatepo
 
 # Build the pages
 partprobe.8:
-       for locale in pt_BR ; do \
+       $(AM_V_GEN)for locale in pt_BR ; do \
                po4a-translate -f man -m $(srcdir)/../C/$@ -p $@.$$locale.po -l $@ $(po4a_translate_options) ; \
                if [ -f $(srcdir)/$@.$$locale.po.addendum ]; then \
                        po4a-translate -f man -m $(srcdir)/../C/$@ -p $@.$$locale.po -l $@ -a $(srcdir)/$@.$$locale.po.addendum $(po4a_translate_options) ; \
index f49d89f59840432faf4827ad19943935188944b7..02a868459fef5afacbc32f00a523f6963d6c205a 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 # threshold is 80%), it won't be distributed, and the build won't fail.
 #
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -74,14 +101,14 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-DIST_COMMON = $(dist_man_MANS) $(srcdir)/../po4a.mk \
-       $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/../po4a.mk $(srcdir)/Makefile.in \
+       $(srcdir)/Makefile.am $(dist_man_MANS)
 subdir = doc/pt_BR
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -89,16 +116,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -108,35 +136,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -159,14 +188,26 @@ mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = $(top_builddir)/lib/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
 AM_V_GEN = $(am__v_GEN_@AM_V@)
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
 AM_V_at = $(am__v_at_@AM_V@)
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
+am__v_at_1 = 
 SOURCES =
 DIST_SOURCES =
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 pkglibexecdir = @pkglibexecdir@
 ACLOCAL = @ACLOCAL@
@@ -246,7 +287,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -283,7 +323,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -299,6 +338,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -374,6 +414,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -498,7 +539,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -522,7 +562,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -596,6 +635,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -605,10 +645,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -738,7 +776,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -758,7 +795,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -822,21 +858,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -865,6 +906,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -899,6 +941,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -948,6 +992,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1004,6 +1050,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1061,11 +1108,9 @@ mostlyclean-libtool:
 
 clean-libtool:
        -rm -rf .libs _libs
-tags: TAGS
-TAGS:
+tags TAGS:
 
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
 
 cscope cscopelist:
 
@@ -1204,16 +1249,17 @@ uninstall-am:
 .MAKE: install-am install-strip
 
 .PHONY: all all-am all-local check check-am clean clean-generic \
-       clean-libtool clean-local dist-hook distclean \
-       distclean-generic distclean-libtool distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
+       clean-libtool clean-local cscopelist-am ctags-am dist-hook \
+       distclean distclean-generic distclean-libtool distdir dvi \
+       dvi-am html html-am info info-am install install-am \
+       install-data install-data-am install-dvi install-dvi-am \
+       install-exec install-exec-am install-html install-html-am \
+       install-info install-info-am install-man install-pdf \
+       install-pdf-am install-ps install-ps-am install-strip \
+       installcheck installcheck-am installdirs maintainer-clean \
        maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
+       mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+       uninstall-am
 
 
 # Override the automake's install-man target.
@@ -1224,13 +1270,13 @@ install-man: install-man1 install-man5 install-man8
 
 # For each .po, try to generate the man page
 all-local:
-       for po in `ls -1 $(srcdir)/*.$(lang).po 2>/dev/null`; do \
+       $(AM_V_GEN)for po in `ls -1 $(srcdir)/*.$(lang).po 2>/dev/null`; do \
                $(MAKE) $$(basename $${po%.$(lang).po}); \
        done
 
 # Remove the man pages that were generated from a .po
 clean-local:
-       for po in `ls -1 $(srcdir)/*.$(lang).po 2>/dev/null`; do \
+       $(AM_V_GEN)for po in `ls -1 $(srcdir)/*.$(lang).po 2>/dev/null`; do \
                rm -f $$(basename $${po%.$(lang).po}); \
        done
 
@@ -1238,7 +1284,7 @@ clean-local:
 # Update the PO in srcdir, according to the POT in C.
 # Based on the gettext po/Makefile.in.in
 updatepo:
-       tmpdir=`pwd`; \
+       $(AM_V_GEN)tmpdir=`pwd`; \
        cd $(srcdir); \
        for po in *.$(lang).po; do \
          case "$$po" in '*'*) continue;; esac; \
@@ -1266,7 +1312,7 @@ dist-hook: updatepo
 
 # Build the pages
 partprobe.8:
-       for locale in pt_BR ; do \
+       $(AM_V_GEN)for locale in pt_BR ; do \
                po4a-translate -f man -m $(srcdir)/../C/$@ -p $@.$$locale.po -l $@ $(po4a_translate_options) ; \
                if [ -f $(srcdir)/$@.$$locale.po.addendum ]; then \
                        po4a-translate -f man -m $(srcdir)/../C/$@ -p $@.$$locale.po -l $@ -a $(srcdir)/$@.$$locale.po.addendum $(po4a_translate_options) ; \
index 55295d06cbd3a9c9dcbfaef2621899d22fe40fa5..4fece9dc60c258e0f89d000c76996ec6ea1fb070 100644 (file)
@@ -1,4 +1,4 @@
-@set UPDATED 2 February 2012
-@set UPDATED-MONTH February 2012
-@set EDITION 3.1
-@set VERSION 3.1
+@set UPDATED 15 June 2014
+@set UPDATED-MONTH June 2014
+@set EDITION 3.2
+@set VERSION 3.2
index 55295d06cbd3a9c9dcbfaef2621899d22fe40fa5..4fece9dc60c258e0f89d000c76996ec6ea1fb070 100644 (file)
@@ -1,4 +1,4 @@
-@set UPDATED 2 February 2012
-@set UPDATED-MONTH February 2012
-@set EDITION 3.1
-@set VERSION 3.1
+@set UPDATED 15 June 2014
+@set UPDATED-MONTH June 2014
+@set EDITION 3.2
+@set VERSION 3.2
index 4aed54a26706f72646d3dfe48e5102bdb69f6967..ae53f2e9fdf933cea2e918d2b9578ad25253627e 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
 @SET_MAKE@
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -50,12 +77,12 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = include
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -63,16 +90,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -82,35 +110,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -133,26 +162,58 @@ mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = $(top_builddir)/lib/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
 AM_V_GEN = $(am__v_GEN_@AM_V@)
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
 AM_V_at = $(am__v_at_@AM_V@)
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
+am__v_at_1 = 
 SOURCES =
 DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+       ctags-recursive dvi-recursive html-recursive info-recursive \
+       install-data-recursive install-dvi-recursive \
+       install-exec-recursive install-html-recursive \
+       install-info-recursive install-pdf-recursive \
+       install-ps-recursive install-recursive installcheck-recursive \
+       installdirs-recursive pdf-recursive ps-recursive \
+       tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
   distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+  $(RECURSIVE_TARGETS) \
+  $(RECURSIVE_CLEAN_TARGETS) \
+  $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
        distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DIST_SUBDIRS = $(SUBDIRS)
@@ -260,7 +321,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -297,7 +357,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -313,6 +372,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -388,6 +448,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -512,7 +573,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -536,7 +596,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -610,6 +669,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -619,10 +679,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -752,7 +810,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -772,7 +829,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -836,21 +892,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -879,6 +940,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -913,6 +975,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -962,6 +1026,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1018,6 +1084,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1073,17 +1140,20 @@ clean-libtool:
 # (1) if the variable is set in 'config.status', edit 'config.status'
 #     (which will cause the Makefiles to be regenerated when you run 'make');
 # (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
+$(am__recursive_targets):
+       @fail=; \
+       if $(am__make_keepgoing); then \
+         failcom='fail=yes'; \
+       else \
+         failcom='exit 1'; \
+       fi; \
        dot_seen=no; \
        target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
+       case "$@" in \
+         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+         *) list='$(SUBDIRS)' ;; \
+       esac; \
+       for subdir in $$list; do \
          echo "Making $$target in $$subdir"; \
          if test "$$subdir" = "."; then \
            dot_seen=yes; \
@@ -1098,61 +1168,12 @@ $(RECURSIVE_TARGETS):
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
        fi; test -z "$$fail"
 
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-cscopelist-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
-       done
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -1168,12 +1189,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
          fi; \
        done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1185,15 +1201,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1202,9 +1214,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
 
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1376,23 +1389,20 @@ ps-am:
 
 uninstall-am:
 
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
-       cscopelist-recursive ctags-recursive install-am install-strip \
-       tags-recursive
+.MAKE: $(am__recursive_targets) install-am install-strip
 
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       cscopelist cscopelist-recursive ctags ctags-recursive \
-       distclean distclean-generic distclean-libtool distclean-tags \
-       distdir dvi dvi-am html html-am info info-am install \
-       install-am install-data install-data-am install-dvi \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+       check-am clean clean-generic clean-libtool cscopelist-am ctags \
+       ctags-am distclean distclean-generic distclean-libtool \
+       distclean-tags distdir dvi dvi-am html html-am info info-am \
+       install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
        install-pdf install-pdf-am install-ps install-ps-am \
        install-strip installcheck installcheck-am installdirs \
        installdirs-am maintainer-clean maintainer-clean-generic \
        mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
-       ps ps-am tags tags-recursive uninstall uninstall-am
+       ps ps-am tags tags-am uninstall uninstall-am
 
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
index 19236f0dc079a52b89845b69c048c67c8638753c..6f808c6d25c4b2d5fd12ba93a256f15c6c940e78 100644 (file)
@@ -44,8 +44,7 @@ subst_pure_attr = \
 
 $(BUILT_SOURCES): Makefile.am
 
-SUFFIXES = .in.h .h
-.in.h.h:
+%.h: %.in.h
        $(AM_V_GEN)rm -f $@ $@-t
        $(AM_V_at)perl -p \
            -e '$(subst_const_attr);' \
index 860f8d40426b2c50620ebae0777e2458f9debca5..1a2a9dbc77a31e3d158e637b1111c27aeca80854 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 @SET_MAKE@
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -51,13 +78,13 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = include/parted
-DIST_COMMON = $(am__noinst_HEADERS_DIST) $(partedinclude_HEADERS) \
-       $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+       $(am__noinst_HEADERS_DIST) $(partedinclude_HEADERS)
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -65,16 +92,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -84,35 +112,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -135,14 +164,25 @@ mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = $(top_builddir)/lib/config.h
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
 AM_V_GEN = $(am__v_GEN_@AM_V@)
 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
 AM_V_at = $(am__v_at_@AM_V@)
 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 am__v_at_0 = @
+am__v_at_1 = 
 SOURCES =
 DIST_SOURCES =
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 am__noinst_HEADERS_DIST = crc32.h endian.h fdasd.h vtoc.h
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 am__vpath_adj = case $$p in \
@@ -173,6 +213,23 @@ am__uninstall_files_from_dir = { \
   }
 am__installdirs = "$(DESTDIR)$(partedincludedir)"
 HEADERS = $(noinst_HEADERS) $(partedinclude_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -254,7 +311,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -291,7 +347,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -307,6 +362,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -382,6 +438,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -506,7 +563,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -530,7 +586,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -604,6 +659,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -613,10 +669,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -746,7 +800,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -766,7 +819,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -830,21 +882,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -873,6 +930,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -907,6 +965,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -956,6 +1016,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1012,6 +1074,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1060,13 +1123,11 @@ subst_const_attr = \
 subst_pure_attr = \
   s/ _GL_ATTRIBUTE_PURE\b/$(hash_if)  __attribute ((__pure__))\n\#endif\n/
 
-SUFFIXES = .in.h .h
 MAINTAINERCLEANFILES = $(BUILT_SOURCES)
 all: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) all-am
 
 .SUFFIXES:
-.SUFFIXES: .in.h .h
 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
@@ -1105,8 +1166,11 @@ clean-libtool:
        -rm -rf .libs _libs
 install-partedincludeHEADERS: $(partedinclude_HEADERS)
        @$(NORMAL_INSTALL)
-       test -z "$(partedincludedir)" || $(MKDIR_P) "$(DESTDIR)$(partedincludedir)"
        @list='$(partedinclude_HEADERS)'; test -n "$(partedincludedir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(partedincludedir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(partedincludedir)" || exit 1; \
+       fi; \
        for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          echo "$$d$$p"; \
@@ -1122,26 +1186,15 @@ uninstall-partedincludeHEADERS:
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
        dir='$(DESTDIR)$(partedincludedir)'; $(am__uninstall_files_from_dir)
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1153,15 +1206,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1170,9 +1219,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
 
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1327,22 +1377,24 @@ uninstall-am: uninstall-partedincludeHEADERS
 
 .MAKE: all check install install-am install-strip
 
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libtool cscopelist ctags distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-partedincludeHEADERS \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags uninstall uninstall-am uninstall-partedincludeHEADERS
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
+       clean-libtool cscopelist-am ctags ctags-am distclean \
+       distclean-generic distclean-libtool distclean-tags distdir dvi \
+       dvi-am html html-am info info-am install install-am \
+       install-data install-data-am install-dvi install-dvi-am \
+       install-exec install-exec-am install-html install-html-am \
+       install-info install-info-am install-man \
+       install-partedincludeHEADERS install-pdf install-pdf-am \
+       install-ps install-ps-am install-strip installcheck \
+       installcheck-am installdirs maintainer-clean \
+       maintainer-clean-generic mostlyclean mostlyclean-generic \
+       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+       uninstall-am uninstall-partedincludeHEADERS
 
 
 $(BUILT_SOURCES): Makefile.am
-.in.h.h:
+
+%.h: %.in.h
        $(AM_V_GEN)rm -f $@ $@-t
        $(AM_V_at)perl -p \
            -e '$(subst_const_attr);' \
index 897cb1ede692fc373b9e2f27f564eb6b3155c289..b8ab67141c8e2e2e8f2a644838abbf9e8143a4da 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 5f42fa0af9fa57a58abba06d22b90db71caedee2..4b511a5b5d4f0686da5792d7b126f402aed2029d 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 28a46ec3fdbfa06b9efd4520cf3f58b0a4830fda..f8d669ffbb56b807b4c67771b7836ba8c3c7960c 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     crc32.h
 
index 74941f6aa3673de5bdff930564a696f704dc9c79..62a8a99ceea60e92ce9e2bbc9c17baf9be521320 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     crc32.h
 
index 09b47ab6e268ba4cb2e991fb7db38919b75cc0e0..46328863e6451feeae62439b37b5c3f8df6b8b16 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2000, 2002, 2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 1998-2000, 2002, 2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
index 09b47ab6e268ba4cb2e991fb7db38919b75cc0e0..46328863e6451feeae62439b37b5c3f8df6b8b16 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2000, 2002, 2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 1998-2000, 2002, 2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
index 525033f893201184a56fa1dae3481f86f514ef06..798fb67a03fc30dcc86d72fea959f0710c5b88d3 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2001, 2005, 2007-2008, 2011-2012 Free Software
+    Copyright (C) 1998-2001, 2005, 2007-2008, 2011-2014 Free Software
     Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
index a3d1737938f4d90b3e31bd7bba1470a2069581cc..82d4104ef9220d4a140a9cf741b1a00261a6d3d2 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2001, 2005, 2007-2008, 2011-2012 Free Software
+    Copyright (C) 1998-2001, 2005, 2007-2008, 2011-2014 Free Software
     Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
index 5b71827457795d037388df401b868c4cfdfe24cf..d11622496b67289a079671aacfd1292d2d1b9757 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2002, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2002, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -72,10 +72,13 @@ enum _PedPartitionFlag {
         PED_PARTITION_BIOS_GRUB=12,
         PED_PARTITION_APPLE_TV_RECOVERY=13,
         PED_PARTITION_DIAG=14,
-        PED_PARTITION_LEGACY_BOOT=15
+        PED_PARTITION_LEGACY_BOOT=15,
+        PED_PARTITION_MSFT_DATA=16,
+        PED_PARTITION_IRST=17,
+        PED_PARTITION_ESP=18
 };
 #define PED_PARTITION_FIRST_FLAG        PED_PARTITION_BOOT
-#define PED_PARTITION_LAST_FLAG         PED_PARTITION_LEGACY_BOOT
+#define PED_PARTITION_LAST_FLAG         PED_PARTITION_ESP
 
 enum _PedDiskTypeFeature {
         PED_DISK_TYPE_EXTENDED=1,       /**< supports extended partitions */
index 9734eddc09e5a7c67a4774c4b245cc44cf5dab03..58d49f0028ecda3c1ca41e9fd92e2b5b37d8956a 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2002, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2002, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -72,10 +72,13 @@ enum _PedPartitionFlag {
         PED_PARTITION_BIOS_GRUB=12,
         PED_PARTITION_APPLE_TV_RECOVERY=13,
         PED_PARTITION_DIAG=14,
-        PED_PARTITION_LEGACY_BOOT=15
+        PED_PARTITION_LEGACY_BOOT=15,
+        PED_PARTITION_MSFT_DATA=16,
+        PED_PARTITION_IRST=17,
+        PED_PARTITION_ESP=18
 };
 #define PED_PARTITION_FIRST_FLAG        PED_PARTITION_BOOT
-#define PED_PARTITION_LAST_FLAG         PED_PARTITION_LEGACY_BOOT
+#define PED_PARTITION_LAST_FLAG         PED_PARTITION_ESP
 
 enum _PedDiskTypeFeature {
         PED_DISK_TYPE_EXTENDED=1,       /**< supports extended partitions */
index 0e7c92317e23a8d37c01404c1497fceee16bd6d0..2b0e47bc69a8b0ac41330fd23147dbe035c6b02d 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2002, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2002, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 0e7c92317e23a8d37c01404c1497fceee16bd6d0..2b0e47bc69a8b0ac41330fd23147dbe035c6b02d 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2002, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2002, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index c7ea42f73e2e5b1711eec8cc72695abfa2f5fcba..b6588acd365f2c582ea71e7f382565a7014265d6 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index dd302b8dc235ad6d0552364648a9caa0c1ba83b8..574d915b371ce798ef460ded660e510199840309 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index ac30134e8022e8a35e5a0ca3abd53afd7a9fe38e..6f6a7e0ab8f7bf16c0219f3e56cff6a3c5694aa8 100644 (file)
@@ -74,6 +74,80 @@ typedef struct dasd_information_t {
        char configuration_data[256]; /* from read_configuration_data        */
 } dasd_information_t;
 
+struct dasd_eckd_characteristics {
+       unsigned short cu_type;
+       struct {
+               unsigned char support:2;
+               unsigned char async:1;
+               unsigned char reserved:1;
+               unsigned char cache_info:1;
+               unsigned char model:3;
+       } __attribute__ ((packed)) cu_model;
+       unsigned short dev_type;
+       unsigned char dev_model;
+       struct {
+               unsigned char mult_burst:1;
+               unsigned char RT_in_LR:1;
+               unsigned char reserved1:1;
+               unsigned char RD_IN_LR:1;
+               unsigned char reserved2:4;
+               unsigned char reserved3:8;
+               unsigned char defect_wr:1;
+               unsigned char XRC_supported:1;
+               unsigned char reserved4:1;
+               unsigned char striping:1;
+               unsigned char reserved5:4;
+               unsigned char cfw:1;
+               unsigned char reserved6:2;
+               unsigned char cache:1;
+               unsigned char dual_copy:1;
+               unsigned char dfw:1;
+               unsigned char reset_alleg:1;
+               unsigned char sense_down:1;
+       } __attribute__ ((packed)) facilities;
+       unsigned char dev_class;
+       unsigned char unit_type;
+       unsigned short no_cyl;
+       unsigned short trk_per_cyl;
+       unsigned char sec_per_trk;
+       unsigned char byte_per_track[3];
+       unsigned short home_bytes;
+       unsigned char formula;
+       union {
+               struct {
+                       unsigned char f1;
+                       unsigned short f2;
+                       unsigned short f3;
+               } __attribute__ ((packed)) f_0x01;
+               struct {
+                       unsigned char f1;
+                       unsigned char f2;
+                       unsigned char f3;
+                       unsigned char f4;
+                       unsigned char f5;
+               } __attribute__ ((packed)) f_0x02;
+       } __attribute__ ((packed)) factors;
+       unsigned short first_alt_trk;
+       unsigned short no_alt_trk;
+       unsigned short first_dia_trk;
+       unsigned short no_dia_trk;
+       unsigned short first_sup_trk;
+       unsigned short no_sup_trk;
+       unsigned char MDR_ID;
+       unsigned char OBR_ID;
+       unsigned char director;
+       unsigned char rd_trk_set;
+       unsigned short max_rec_zero;
+       unsigned char reserved1;
+       unsigned char RWANY_in_LR;
+       unsigned char factor6;
+       unsigned char factor7;
+       unsigned char factor8;
+       unsigned char reserved2[3];
+       unsigned char reserved3[6];
+       unsigned int long_no_cyl;
+} __attribute__ ((packed));
+
 /*
  * struct format_data_t
  * represents all data necessary to format a dasd
@@ -116,18 +190,6 @@ typedef struct format_data_t {
 #define BLKRRPART  _IO(0x12,95)
 /* get block device sector size */
 #define BLKSSZGET  _IO(0x12,104)
-
-/*****************************************************************************
- * SECTION: Definition from hdreq.h                                          *
- *****************************************************************************/
-
-struct fdasd_hd_geometry {
-      unsigned char heads;
-      unsigned char sectors;
-      unsigned short cylinders;
-      unsigned long start;
-};
-
 /* get device geometry */
 #define HDIO_GETGEO            0x0301
 
@@ -189,11 +251,17 @@ typedef struct fdasd_anchor {
        format4_label_t  *f4;
        format5_label_t  *f5;
        format7_label_t  *f7;
+       format9_label_t  *f9; /* template for all f9 labels */
        partition_info_t *first;
        partition_info_t *last;
        volume_label_t   *vlabel;
        config_data_t confdata[USABLE_PARTITIONS];
+       u_int32_t hw_cylinders;
+       u_int32_t formatted_cylinders;
        struct fdasd_hd_geometry geo;
+       unsigned int label_block;
+       unsigned int FBA_layout;
+       bool is_file;
 } fdasd_anchor_t;
 
 enum offset {lower, upper};
@@ -221,7 +289,6 @@ void fdasd_get_geometry (const PedDevice *dev, fdasd_anchor_t *anc, int fd);
 void fdasd_check_api_version (fdasd_anchor_t *anc, int fd);
 int fdasd_check_volume (fdasd_anchor_t *anc, int fd);
 int fdasd_write_labels (fdasd_anchor_t *anc, int fd);
-int fdasd_invalid_vtoc_pointer(fdasd_anchor_t *anc);
 void fdasd_recreate_vtoc(fdasd_anchor_t *anc);
 partition_info_t * fdasd_add_partition (fdasd_anchor_t *anc,
                                         unsigned int start, unsigned int stop);
index ac30134e8022e8a35e5a0ca3abd53afd7a9fe38e..6f6a7e0ab8f7bf16c0219f3e56cff6a3c5694aa8 100644 (file)
@@ -74,6 +74,80 @@ typedef struct dasd_information_t {
        char configuration_data[256]; /* from read_configuration_data        */
 } dasd_information_t;
 
+struct dasd_eckd_characteristics {
+       unsigned short cu_type;
+       struct {
+               unsigned char support:2;
+               unsigned char async:1;
+               unsigned char reserved:1;
+               unsigned char cache_info:1;
+               unsigned char model:3;
+       } __attribute__ ((packed)) cu_model;
+       unsigned short dev_type;
+       unsigned char dev_model;
+       struct {
+               unsigned char mult_burst:1;
+               unsigned char RT_in_LR:1;
+               unsigned char reserved1:1;
+               unsigned char RD_IN_LR:1;
+               unsigned char reserved2:4;
+               unsigned char reserved3:8;
+               unsigned char defect_wr:1;
+               unsigned char XRC_supported:1;
+               unsigned char reserved4:1;
+               unsigned char striping:1;
+               unsigned char reserved5:4;
+               unsigned char cfw:1;
+               unsigned char reserved6:2;
+               unsigned char cache:1;
+               unsigned char dual_copy:1;
+               unsigned char dfw:1;
+               unsigned char reset_alleg:1;
+               unsigned char sense_down:1;
+       } __attribute__ ((packed)) facilities;
+       unsigned char dev_class;
+       unsigned char unit_type;
+       unsigned short no_cyl;
+       unsigned short trk_per_cyl;
+       unsigned char sec_per_trk;
+       unsigned char byte_per_track[3];
+       unsigned short home_bytes;
+       unsigned char formula;
+       union {
+               struct {
+                       unsigned char f1;
+                       unsigned short f2;
+                       unsigned short f3;
+               } __attribute__ ((packed)) f_0x01;
+               struct {
+                       unsigned char f1;
+                       unsigned char f2;
+                       unsigned char f3;
+                       unsigned char f4;
+                       unsigned char f5;
+               } __attribute__ ((packed)) f_0x02;
+       } __attribute__ ((packed)) factors;
+       unsigned short first_alt_trk;
+       unsigned short no_alt_trk;
+       unsigned short first_dia_trk;
+       unsigned short no_dia_trk;
+       unsigned short first_sup_trk;
+       unsigned short no_sup_trk;
+       unsigned char MDR_ID;
+       unsigned char OBR_ID;
+       unsigned char director;
+       unsigned char rd_trk_set;
+       unsigned short max_rec_zero;
+       unsigned char reserved1;
+       unsigned char RWANY_in_LR;
+       unsigned char factor6;
+       unsigned char factor7;
+       unsigned char factor8;
+       unsigned char reserved2[3];
+       unsigned char reserved3[6];
+       unsigned int long_no_cyl;
+} __attribute__ ((packed));
+
 /*
  * struct format_data_t
  * represents all data necessary to format a dasd
@@ -116,18 +190,6 @@ typedef struct format_data_t {
 #define BLKRRPART  _IO(0x12,95)
 /* get block device sector size */
 #define BLKSSZGET  _IO(0x12,104)
-
-/*****************************************************************************
- * SECTION: Definition from hdreq.h                                          *
- *****************************************************************************/
-
-struct fdasd_hd_geometry {
-      unsigned char heads;
-      unsigned char sectors;
-      unsigned short cylinders;
-      unsigned long start;
-};
-
 /* get device geometry */
 #define HDIO_GETGEO            0x0301
 
@@ -189,11 +251,17 @@ typedef struct fdasd_anchor {
        format4_label_t  *f4;
        format5_label_t  *f5;
        format7_label_t  *f7;
+       format9_label_t  *f9; /* template for all f9 labels */
        partition_info_t *first;
        partition_info_t *last;
        volume_label_t   *vlabel;
        config_data_t confdata[USABLE_PARTITIONS];
+       u_int32_t hw_cylinders;
+       u_int32_t formatted_cylinders;
        struct fdasd_hd_geometry geo;
+       unsigned int label_block;
+       unsigned int FBA_layout;
+       bool is_file;
 } fdasd_anchor_t;
 
 enum offset {lower, upper};
@@ -221,7 +289,6 @@ void fdasd_get_geometry (const PedDevice *dev, fdasd_anchor_t *anc, int fd);
 void fdasd_check_api_version (fdasd_anchor_t *anc, int fd);
 int fdasd_check_volume (fdasd_anchor_t *anc, int fd);
 int fdasd_write_labels (fdasd_anchor_t *anc, int fd);
-int fdasd_invalid_vtoc_pointer(fdasd_anchor_t *anc);
 void fdasd_recreate_vtoc(fdasd_anchor_t *anc);
 partition_info_t * fdasd_add_partition (fdasd_anchor_t *anc,
                                         unsigned int start, unsigned int stop);
index a7cafad4607b1aa7d43350404a5280d270e24e14..f0a388c0f895b875e3061096837ede8865fe3f33 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2006-2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 1999-2001, 2006-2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
@@ -46,7 +46,6 @@ struct _PedFileSystemOps {
 struct _PedFileSystemType {
        PedFileSystemType*      next;
        const char* const       name;           /**< name of the file system type */
-        const int*              block_sizes;
        PedFileSystemOps* const ops;
 };
 
index c0f72f4d847cf58d19eb7f4a9d9d4df388d65745..a9e23de5a9ae8a2943e4a423eeb0d4f6b44bd10f 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2006-2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 1999-2001, 2006-2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
@@ -46,7 +46,6 @@ struct _PedFileSystemOps {
 struct _PedFileSystemType {
        PedFileSystemType*      next;
        const char* const       name;           /**< name of the file system type */
-        const int*              block_sizes;
        PedFileSystemOps* const ops;
 };
 
index 7b97c2ef06b4537a6448619845781865f24f3a14..c7951c2b1e3d2d18f84ddfa2b1b91814fb9b4765 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2001, 2005, 2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 1998-2001, 2005, 2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
index 15ad017b9419fe1c31547718fcc0805beb383417..c23f79262c94bca128ee53fba708f4b1eb5b0f88 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1998-2001, 2005, 2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 1998-2001, 2005, 2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
index dfc0001176a2c7ebd495df63f82a7bf3d89d3aae..997197ff64afc1239bdb717bf6a85abdb38c8a79 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index e1d09eb9caae94aab4434cd5e22117c557d33717..5cf92e930a9937315a282a55a59590790685505c 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 658ac9e2e120f5706c51e481cc6a69994c486354..4db158819c083ec6f9f35b22ffd48d3fc579ad60 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 856b7aa3ff35ee9de8f711777236fd1763a68438..23e5e4986050025419e64a62e5fae2bf16992964 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 7f25b2e70f12a0782848cf0e3b746145b257b5c5..0f33ce9c71cee33696a936d3a570a0d48beb570d 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2001-2002, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001-2002, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 7f25b2e70f12a0782848cf0e3b746145b257b5c5..0f33ce9c71cee33696a936d3a570a0d48beb570d 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2001-2002, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001-2002, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 994a0e19622b8bc0d5630d7272cf216ab09c546f..89fca93609d238b5c6335cb4a415477f542f96f8 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 584a0c431df97cab9af8552326f765b461586ab0..9d6e06a077f6e1f4e62f19f2c0391d82d9c0116a 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index d79ce390d905f7afdc7a74a4f31b162999af4c38..499c2d3562c66f381698d72d4d3d965917107d68 100644 (file)
 
 #define VOLSER_LENGTH 6
 #define BIG_DISK_SIZE 0x10000
+#define LV_COMPAT_CYL 0xFFFE
+
+/*****************************************************************************
+ * SECTION: Definition from hdreq.h                                          *
+ *****************************************************************************/
+
+struct fdasd_hd_geometry {
+      unsigned char heads;
+      unsigned char sectors;
+      unsigned short cylinders;
+      unsigned long start;
+};
 
 
 typedef struct ttr              ttr_t;
@@ -59,6 +71,7 @@ typedef struct ds5ext           ds5ext_t;
 typedef struct format5_label    format5_label_t;
 typedef struct ds7ext           ds7ext_t;
 typedef struct format7_label    format7_label_t;
+typedef struct format9_label    format9_label_t;
 
 struct __attribute__ ((packed)) ttr {
         u_int16_t tt;
@@ -169,6 +182,10 @@ struct __attribute__ ((packed)) dev_const {
         u_int8_t  DS4DEVDB;     /* number of directory blocks per track */
 };
 
+/*
+ * format 1 and format 8 label have the same layout so we use the following
+ * structure for both.
+ */
 struct __attribute__ ((packed)) format1_label {
        char  DS1DSNAM[44];     /* data set name                           */
        u_int8_t  DS1FMTID;     /* format identifier                       */
@@ -229,7 +246,11 @@ struct __attribute__ ((packed)) format4_label {
        char res2[10];          /* reserved                                */
        u_int8_t DS4EFLVL;      /* extended free-space management level    */
        cchhb_t DS4EFPTR;       /* pointer to extended free-space info     */
-       char res3[9];           /* reserved                                */
+       char res3;              /* reserved */
+       u_int32_t DS4DCYL;      /* number of logical cyls */
+       char res4[2];           /* reserved */
+       u_int8_t DS4DEVF2;      /* device flags */
+       char res5;              /* reserved */
 };
 
 struct __attribute__ ((packed)) ds5ext {
@@ -261,12 +282,28 @@ struct __attribute__ ((packed)) format7_label {
        cchhb_t DS7PTRDS;       /* pointer to next FMT7 DSCB               */
 };
 
+struct __attribute__ ((packed)) format9_label {
+       u_int8_t  DS9KEYID;     /* key code for format 9 labels (0x09) */
+       u_int8_t  DS9SUBTY;     /* subtype (0x01) */
+       u_int8_t  DS9NUMF9;     /* number of F9 datasets  */
+       u_int8_t  res1[41];     /* reserved  */
+       u_int8_t  DS9FMTID;     /* format identifier  */
+       u_int8_t  res2[95];     /* reserved */
+};
+
 char *vtoc_ebcdic_enc (char const *source, char *target, int l);
 char *vtoc_ebcdic_dec (char const *source, char *target, int l);
 void vtoc_set_extent (extent_t *ext, u_int8_t typeind, u_int8_t seqno,
                       cchh_t *lower, cchh_t *upper);
-void vtoc_set_cchh (cchh_t *addr, u_int16_t cc, u_int16_t hh);
-void vtoc_set_cchhb (cchhb_t *addr, u_int16_t cc, u_int16_t hh, u_int8_t b);
+void vtoc_set_cchh (cchh_t *addr, u_int32_t cc, u_int16_t hh);
+u_int32_t vtoc_get_cyl_from_cchh(cchh_t *addr);
+u_int16_t vtoc_get_head_from_cchh(cchh_t *addr);
+void vtoc_set_cchhb (cchhb_t *addr, u_int32_t cc, u_int16_t hh, u_int8_t b);
+u_int32_t vtoc_get_cyl_from_cchhb(cchhb_t *addr);
+u_int16_t vtoc_get_head_from_cchhb(cchhb_t *addr);
+u_int64_t cchhb2blk(cchhb_t *p, struct fdasd_hd_geometry *geo);
+u_int64_t cchh2blk (cchh_t *p, struct fdasd_hd_geometry *geo);
+u_int32_t cchh2trk (cchh_t *p, struct fdasd_hd_geometry *geo);
 void vtoc_set_date (labeldate_t *d, u_int8_t year, u_int16_t day);
 
 void vtoc_volume_label_init (volume_label_t *vlabel);
@@ -295,14 +332,16 @@ void vtoc_write_label (int fd, unsigned long position,
                       format1_label_t const *f1,
                        format4_label_t const *f4,
                       format5_label_t const *f5,
-                       format7_label_t const *f7);
+                       format7_label_t const *f7,
+                       format9_label_t const *f9);
 
 void vtoc_init_format1_label (char *volid, unsigned int blksize,
                               extent_t *part_extent, format1_label_t *f1);
 
 void vtoc_init_format4_label (format4_label_t *f4lbl,
                               unsigned int usable_partitions,
-                              unsigned int cylinders,
+                              unsigned int compat_cylinders,
+                              unsigned int real_cylinders,
                               unsigned int tracks,
                               unsigned int blocks,
                               unsigned int blksize,
@@ -329,8 +368,16 @@ void vtoc_update_format7_label_add (format7_label_t *f7, int verbose,
 void vtoc_update_format7_label_del (format7_label_t *f7, int verbose,
                                     u_int32_t a, u_int32_t b);
 
+void vtoc_init_format8_label (char *volid, unsigned int blksize,
+                              extent_t *part_extent, format1_label_t *f1);
+
+void vtoc_update_format8_label (cchhb_t *associated_f9, format1_label_t *f8);
+
+void vtoc_init_format9_label (format9_label_t *f9);
+
 void vtoc_set_freespace(format4_label_t *f4, format5_label_t *f5,
                         format7_label_t *f7, char ch, int verbose,
-                        u_int32_t start, u_int32_t stop, int cyl, int trk);
+                        u_int32_t start, u_int32_t stop, u_int32_t cyl,
+                        u_int32_t trk);
 
 #endif /* VTOC_H */
index d79ce390d905f7afdc7a74a4f31b162999af4c38..499c2d3562c66f381698d72d4d3d965917107d68 100644 (file)
 
 #define VOLSER_LENGTH 6
 #define BIG_DISK_SIZE 0x10000
+#define LV_COMPAT_CYL 0xFFFE
+
+/*****************************************************************************
+ * SECTION: Definition from hdreq.h                                          *
+ *****************************************************************************/
+
+struct fdasd_hd_geometry {
+      unsigned char heads;
+      unsigned char sectors;
+      unsigned short cylinders;
+      unsigned long start;
+};
 
 
 typedef struct ttr              ttr_t;
@@ -59,6 +71,7 @@ typedef struct ds5ext           ds5ext_t;
 typedef struct format5_label    format5_label_t;
 typedef struct ds7ext           ds7ext_t;
 typedef struct format7_label    format7_label_t;
+typedef struct format9_label    format9_label_t;
 
 struct __attribute__ ((packed)) ttr {
         u_int16_t tt;
@@ -169,6 +182,10 @@ struct __attribute__ ((packed)) dev_const {
         u_int8_t  DS4DEVDB;     /* number of directory blocks per track */
 };
 
+/*
+ * format 1 and format 8 label have the same layout so we use the following
+ * structure for both.
+ */
 struct __attribute__ ((packed)) format1_label {
        char  DS1DSNAM[44];     /* data set name                           */
        u_int8_t  DS1FMTID;     /* format identifier                       */
@@ -229,7 +246,11 @@ struct __attribute__ ((packed)) format4_label {
        char res2[10];          /* reserved                                */
        u_int8_t DS4EFLVL;      /* extended free-space management level    */
        cchhb_t DS4EFPTR;       /* pointer to extended free-space info     */
-       char res3[9];           /* reserved                                */
+       char res3;              /* reserved */
+       u_int32_t DS4DCYL;      /* number of logical cyls */
+       char res4[2];           /* reserved */
+       u_int8_t DS4DEVF2;      /* device flags */
+       char res5;              /* reserved */
 };
 
 struct __attribute__ ((packed)) ds5ext {
@@ -261,12 +282,28 @@ struct __attribute__ ((packed)) format7_label {
        cchhb_t DS7PTRDS;       /* pointer to next FMT7 DSCB               */
 };
 
+struct __attribute__ ((packed)) format9_label {
+       u_int8_t  DS9KEYID;     /* key code for format 9 labels (0x09) */
+       u_int8_t  DS9SUBTY;     /* subtype (0x01) */
+       u_int8_t  DS9NUMF9;     /* number of F9 datasets  */
+       u_int8_t  res1[41];     /* reserved  */
+       u_int8_t  DS9FMTID;     /* format identifier  */
+       u_int8_t  res2[95];     /* reserved */
+};
+
 char *vtoc_ebcdic_enc (char const *source, char *target, int l);
 char *vtoc_ebcdic_dec (char const *source, char *target, int l);
 void vtoc_set_extent (extent_t *ext, u_int8_t typeind, u_int8_t seqno,
                       cchh_t *lower, cchh_t *upper);
-void vtoc_set_cchh (cchh_t *addr, u_int16_t cc, u_int16_t hh);
-void vtoc_set_cchhb (cchhb_t *addr, u_int16_t cc, u_int16_t hh, u_int8_t b);
+void vtoc_set_cchh (cchh_t *addr, u_int32_t cc, u_int16_t hh);
+u_int32_t vtoc_get_cyl_from_cchh(cchh_t *addr);
+u_int16_t vtoc_get_head_from_cchh(cchh_t *addr);
+void vtoc_set_cchhb (cchhb_t *addr, u_int32_t cc, u_int16_t hh, u_int8_t b);
+u_int32_t vtoc_get_cyl_from_cchhb(cchhb_t *addr);
+u_int16_t vtoc_get_head_from_cchhb(cchhb_t *addr);
+u_int64_t cchhb2blk(cchhb_t *p, struct fdasd_hd_geometry *geo);
+u_int64_t cchh2blk (cchh_t *p, struct fdasd_hd_geometry *geo);
+u_int32_t cchh2trk (cchh_t *p, struct fdasd_hd_geometry *geo);
 void vtoc_set_date (labeldate_t *d, u_int8_t year, u_int16_t day);
 
 void vtoc_volume_label_init (volume_label_t *vlabel);
@@ -295,14 +332,16 @@ void vtoc_write_label (int fd, unsigned long position,
                       format1_label_t const *f1,
                        format4_label_t const *f4,
                       format5_label_t const *f5,
-                       format7_label_t const *f7);
+                       format7_label_t const *f7,
+                       format9_label_t const *f9);
 
 void vtoc_init_format1_label (char *volid, unsigned int blksize,
                               extent_t *part_extent, format1_label_t *f1);
 
 void vtoc_init_format4_label (format4_label_t *f4lbl,
                               unsigned int usable_partitions,
-                              unsigned int cylinders,
+                              unsigned int compat_cylinders,
+                              unsigned int real_cylinders,
                               unsigned int tracks,
                               unsigned int blocks,
                               unsigned int blksize,
@@ -329,8 +368,16 @@ void vtoc_update_format7_label_add (format7_label_t *f7, int verbose,
 void vtoc_update_format7_label_del (format7_label_t *f7, int verbose,
                                     u_int32_t a, u_int32_t b);
 
+void vtoc_init_format8_label (char *volid, unsigned int blksize,
+                              extent_t *part_extent, format1_label_t *f1);
+
+void vtoc_update_format8_label (cchhb_t *associated_f9, format1_label_t *f8);
+
+void vtoc_init_format9_label (format9_label_t *f9);
+
 void vtoc_set_freespace(format4_label_t *f4, format5_label_t *f5,
                         format7_label_t *f7, char ch, int verbose,
-                        u_int32_t start, u_int32_t stop, int cyl, int trk);
+                        u_int32_t start, u_int32_t stop, u_int32_t cyl,
+                        u_int32_t trk);
 
 #endif /* VTOC_H */
index 628d822101cc0b3914e35be5f3eb3f42102f79ef..4a5bace3e1e7244dbffca7547349037025cbbd31 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -15,7 +14,7 @@
 
 @SET_MAKE@
 
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgnulib --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --avoid=dummy --makefile-name=gnulib.mk --no-conditional-dependencies --libtool --macro-prefix=gl alloca announce-gen argmatch assert c-ctype c-strcase calloc-gnu canonicalize-lgpl close closeout config-h configmake dirname do-release-commit-and-tag fdl fsync gettext-h git-version-gen gitlog-to-changelog gnu-web-doc-update gnumakefile gnupload inttypes lib-ignore long-options lseek maintainer-makefile malloc-gnu manywarnings mkstemp mktempd progname realloc-gnu rpmatch safe-read stdbool strdup-posix unlink update-copyright useless-if-before-free usleep vc-list-files version-etc-fsf warnings xstrtol xstrtoll
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -73,15 +100,15 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-       $(srcdir)/config.h.in $(srcdir)/gnulib.mk \
-       $(top_srcdir)/build-aux/depcomp alloca.c
+DIST_COMMON = $(srcdir)/gnulib.mk $(srcdir)/Makefile.in \
+       $(srcdir)/Makefile.am $(srcdir)/config.h.in alloca.c \
+       $(top_srcdir)/build-aux/depcomp
 subdir = lib
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -89,16 +116,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -108,35 +136,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -161,21 +190,36 @@ CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
 LTLIBRARIES = $(noinst_LTLIBRARIES)
 am__DEPENDENCIES_1 =
+am__dirstamp = $(am__leading_dot)dirstamp
 am_libgnulib_la_OBJECTS = argmatch.lo c-ctype.lo c-strcasecmp.lo \
        c-strncasecmp.lo close-stream.lo closeout.lo dirname.lo \
        basename.lo dirname-lgpl.lo basename-lgpl.lo stripslash.lo \
-       exitfail.lo fd-hook.lo localcharset.lo long-options.lo \
-       malloca.lo progname.lo quote.lo quotearg.lo safe-read.lo \
-       tempname.lo version-etc.lo version-etc-fsf.lo xmalloc.lo \
+       exitfail.lo fd-hook.lo localcharset.lo glthread/lock.lo \
+       long-options.lo malloca.lo progname.lo quotearg.lo \
+       safe-read.lo tempname.lo glthread/threadlib.lo unistd.lo \
+       version-etc.lo version-etc-fsf.lo wctype-h.lo xmalloc.lo \
        xalloc-die.lo xstrndup.lo xstrtol.lo xstrtoul.lo \
        xstrtol-error.lo
 libgnulib_la_OBJECTS = $(am_libgnulib_la_OBJECTS)
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
+am__v_lt_1 = 
 libgnulib_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(libgnulib_la_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -189,9 +233,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CC = $(am__v_CC_@AM_V@)
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC      " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_1 = 
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -199,11 +241,32 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD    " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_CCLD_1 = 
 SOURCES = $(libgnulib_la_SOURCES) $(EXTRA_libgnulib_la_SOURCES)
 DIST_SOURCES = $(libgnulib_la_SOURCES) $(EXTRA_libgnulib_la_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+       $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -285,7 +348,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -322,7 +384,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -338,6 +399,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -413,6 +475,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -537,7 +600,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -561,7 +623,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -635,6 +696,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -644,10 +706,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -777,7 +837,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -797,7 +856,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -861,21 +919,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -904,6 +967,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -938,6 +1002,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -987,6 +1053,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1043,6 +1111,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1064,10 +1133,10 @@ AM_CPPFLAGS =
 # present in all Makefile.am that need it. This is ensured by the applicability
 # 'all' defined above.
 BUILT_SOURCES = $(ALLOCA_H) configmake.h $(ERRNO_H) fcntl.h \
-       $(GETOPT_H) inttypes.h langinfo.h arg-nonnull.h c++defs.h \
-       warn-on-use.h $(STDARG_H) $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) \
-       stdlib.h string.h strings.h sys/stat.h sys/time.h sys/types.h \
-       time.h unistd.h wchar.h wctype.h
+       $(GETOPT_H) inttypes.h langinfo.h locale.h arg-nonnull.h \
+       c++defs.h warn-on-use.h $(STDARG_H) $(STDBOOL_H) $(STDDEF_H) \
+       $(STDINT_H) stdio.h stdlib.h string.h sys/stat.h sys/time.h \
+       sys/types.h time.h unistd.h wchar.h wctype.h
 CLEANFILES = configmake.h configmake.h-t charset.alias ref-add.sed \
        ref-del.sed
 EXTRA_DIST = alloca.c alloca.in.h $(top_srcdir)/build-aux/announce-gen \
@@ -1083,26 +1152,28 @@ EXTRA_DIST = alloca.c alloca.in.h $(top_srcdir)/build-aux/announce-gen \
        $(top_srcdir)/build-aux/gitlog-to-changelog \
        $(top_srcdir)/build-aux/gnu-web-doc-update \
        $(top_srcdir)/GNUmakefile $(top_srcdir)/build-aux/gnupload \
-       intprops.h inttypes.in.h langinfo.in.h config.charset \
-       ref-add.sin ref-del.sin long-options.h lseek.c lstat.c \
+       $(top_srcdir)/build-aux/config.rpath intprops.h inttypes.in.h \
+       langinfo.in.h config.charset ref-add.sin ref-del.sin \
+       locale.in.h localeconv.c long-options.h lseek.c lstat.c \
        $(top_srcdir)/maint.mk malloc.c malloc.c malloca.h \
        malloca.valgrind mbrtowc.c mbsinit.c mbtowc-impl.h mbtowc.c \
        mkstemp.c $(top_srcdir)/build-aux/mktempd msvc-inval.c \
        msvc-inval.h msvc-nothrow.c msvc-nothrow.h nl_langinfo.c \
-       pathmax.h quote.h quotearg.h read.c readlink.c realloc.c \
-       realloc.c regcomp.c regex.c regex.h regex_internal.c \
-       regex_internal.h regexec.c rpmatch.c safe-read.h sleep.c \
+       pathmax.h quote.h quote.h quotearg.h read.c readlink.c \
+       realloc.c realloc.c regcomp.c regex.c regex.h regex_internal.c \
+       regex_internal.h regexec.c rpmatch.c safe-read.h \
+       secure_getenv.c sleep.c \
        $(top_srcdir)/build-aux/snippet/_Noreturn.h \
        $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
        $(top_srcdir)/build-aux/snippet/c++defs.h \
        $(top_srcdir)/build-aux/snippet/warn-on-use.h stat.c \
-       stdarg.in.h stdbool.in.h stddef.in.h stdint.in.h stdlib.in.h \
-       strcasecmp.c strncasecmp.c strdup.c streq.h strerror.c \
-       strerror-override.c strerror-override.h string.in.h \
-       strings.in.h strndup.c strnlen.c strtol.c strtoll.c strtol.c \
-       strtoul.c strtoull.c sys_stat.in.h sys_time.in.h \
-       sys_types.in.h tempname.h time.in.h unistd.in.h unlink.c \
-       $(top_srcdir)/build-aux/update-copyright \
+       stdarg.in.h stdbool.in.h stddef.in.h stdint.in.h stdio.in.h \
+       stdlib.in.h strdup.c streq.h strerror.c strerror-override.c \
+       strerror-override.h string.in.h strndup.c strnlen.c strtol.c \
+       strtoll.c strtol.c strtoul.c strtoull.c sys_stat.in.h \
+       sys_time.in.h sys_types.in.h tempname.h \
+       $(top_srcdir)/build-aux/config.rpath time.in.h unistd.in.h \
+       unlink.c $(top_srcdir)/build-aux/update-copyright \
        $(top_srcdir)/build-aux/useless-if-before-free usleep.c \
        $(top_srcdir)/build-aux/vc-list-files verify.h wchar.in.h \
        wcrtomb.c wctype.in.h xalloc.h xalloc-oversized.h xstrtol.h \
@@ -1111,11 +1182,11 @@ MAINTAINERCLEANFILES =
 MOSTLYCLEANDIRS = sys
 MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t errno.h \
        errno.h-t fcntl.h fcntl.h-t getopt.h getopt.h-t inttypes.h \
-       inttypes.h-t langinfo.h langinfo.h-t arg-nonnull.h \
-       arg-nonnull.h-t c++defs.h c++defs.h-t warn-on-use.h \
-       warn-on-use.h-t stdarg.h stdarg.h-t stdbool.h stdbool.h-t \
-       stddef.h stddef.h-t stdint.h stdint.h-t stdlib.h stdlib.h-t \
-       string.h string.h-t strings.h strings.h-t sys/stat.h \
+       inttypes.h-t langinfo.h langinfo.h-t locale.h locale.h-t \
+       arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.h-t \
+       warn-on-use.h warn-on-use.h-t stdarg.h stdarg.h-t stdbool.h \
+       stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdio.h \
+       stdio.h-t stdlib.h stdlib.h-t string.h string.h-t sys/stat.h \
        sys/stat.h-t sys/time.h sys/time.h-t sys/types.h sys/types.h-t \
        time.h time.h-t unistd.h unistd.h-t wchar.h wchar.h-t wctype.h \
        wctype.h-t
@@ -1125,24 +1196,31 @@ libgnulib_la_SOURCES = argmatch.c c-ctype.h c-ctype.c c-strcase.h \
        c-strcasecmp.c c-strncasecmp.c close-stream.c closeout.c \
        dirname.c basename.c dirname-lgpl.c basename-lgpl.c \
        stripslash.c exitfail.c fd-hook.c gettext.h localcharset.h \
-       localcharset.c long-options.c malloca.c progname.h progname.c \
-       quote.c quotearg.c safe-read.c tempname.c version-etc.h \
-       version-etc.c version-etc-fsf.c xmalloc.c xalloc-die.c \
-       xstrndup.h xstrndup.c xstrtol.c xstrtoul.c xstrtol-error.c
+       localcharset.c glthread/lock.h glthread/lock.c long-options.c \
+       malloca.c progname.h progname.c quotearg.c safe-read.c \
+       tempname.c glthread/threadlib.c unistd.c version-etc.h \
+       version-etc.c version-etc-fsf.c wctype-h.c xmalloc.c \
+       xalloc-die.c xstrndup.h xstrndup.c xstrtol.c xstrtoul.c \
+       xstrtol-error.c
 libgnulib_la_LIBADD = $(gl_LTLIBOBJS) @LTALLOCA@
 libgnulib_la_DEPENDENCIES = $(gl_LTLIBOBJS) @LTALLOCA@
 EXTRA_libgnulib_la_SOURCES = alloca.c btowc.c calloc.c calloc.c \
        canonicalize-lgpl.c close.c stripslash.c error.c fpending.c \
-       fstat.c fsync.c getopt.c getopt1.c gettimeofday.c lseek.c \
-       lstat.c malloc.c malloc.c mbrtowc.c mbsinit.c mbtowc.c \
+       fstat.c fsync.c getopt.c getopt1.c gettimeofday.c localeconv.c \
+       lseek.c lstat.c malloc.c malloc.c mbrtowc.c mbsinit.c mbtowc.c \
        mkstemp.c msvc-inval.c msvc-nothrow.c nl_langinfo.c read.c \
        readlink.c realloc.c realloc.c regcomp.c regex.c \
-       regex_internal.c regexec.c rpmatch.c sleep.c stat.c \
-       strcasecmp.c strncasecmp.c strdup.c strerror.c \
-       strerror-override.c strndup.c strnlen.c strtol.c strtoll.c \
-       strtol.c strtoul.c strtoull.c unlink.c usleep.c wcrtomb.c \
-       xstrtoll.c xstrtoull.c
-libgnulib_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(LTLIBINTL)
+       regex_internal.c regexec.c rpmatch.c secure_getenv.c sleep.c \
+       stat.c strdup.c strerror.c strerror-override.c strndup.c \
+       strnlen.c strtol.c strtoll.c strtol.c strtoul.c strtoull.c \
+       unlink.c usleep.c wcrtomb.c xstrtoll.c xstrtoull.c
+libgnulib_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(LTLIBINTL) \
+       $(LTLIBTHREAD)
+
+# Use this preprocessor expression to decide whether #include_next works.
+# Do not rely on a 'configure'-time test for this, since the expression
+# might appear in an installed header, which is used by some other compiler.
+HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
 charset_alias = $(DESTDIR)$(libdir)/charset.alias
 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
 
@@ -1191,8 +1269,8 @@ $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 $(am__aclocal_m4_deps):
 
 config.h: stamp-h1
-       @if test ! -f $@; then rm -f stamp-h1; else :; fi
-       @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
+       @test -f $@ || rm -f stamp-h1
+       @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
 
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
        @rm -f stamp-h1
@@ -1215,11 +1293,24 @@ clean-noinstLTLIBRARIES:
          echo rm -f $${locs}; \
          rm -f $${locs}; \
        }
+glthread/$(am__dirstamp):
+       @$(MKDIR_P) glthread
+       @: > glthread/$(am__dirstamp)
+glthread/$(DEPDIR)/$(am__dirstamp):
+       @$(MKDIR_P) glthread/$(DEPDIR)
+       @: > glthread/$(DEPDIR)/$(am__dirstamp)
+glthread/lock.lo: glthread/$(am__dirstamp) \
+       glthread/$(DEPDIR)/$(am__dirstamp)
+glthread/threadlib.lo: glthread/$(am__dirstamp) \
+       glthread/$(DEPDIR)/$(am__dirstamp)
+
 libgnulib.la: $(libgnulib_la_OBJECTS) $(libgnulib_la_DEPENDENCIES) $(EXTRA_libgnulib_la_DEPENDENCIES) 
        $(AM_V_CCLD)$(libgnulib_la_LINK)  $(libgnulib_la_OBJECTS) $(libgnulib_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
+       -rm -f glthread/*.$(OBJEXT)
+       -rm -f glthread/*.lo
 
 distclean-compile:
        -rm -f *.tab.c
@@ -1250,6 +1341,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettimeofday.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localcharset.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localeconv.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/long-options.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lseek.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstat.Plo@am__quote@
@@ -1263,7 +1355,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-nothrow.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nl_langinfo.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/progname.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quote.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quotearg.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/read.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlink.Plo@am__quote@
@@ -1274,14 +1365,13 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regexec.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmatch.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe-read.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/secure_getenv.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sleep.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strcasecmp.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strdup.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror-override.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stripslash.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strncasecmp.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strndup.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strnlen.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtol.Plo@am__quote@
@@ -1289,11 +1379,13 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtoul.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtoull.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tempname.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unistd.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlink.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usleep.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version-etc-fsf.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version-etc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wcrtomb.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wctype-h.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xalloc-die.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstrndup.Plo@am__quote@
@@ -1302,24 +1394,29 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstrtoll.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstrtoul.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstrtoull.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@glthread/$(DEPDIR)/lock.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@glthread/$(DEPDIR)/threadlib.Plo@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
 
 .c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
@@ -1329,27 +1426,17 @@ mostlyclean-libtool:
 
 clean-libtool:
        -rm -rf .libs _libs
+       -rm -rf glthread/.libs glthread/_libs
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1361,15 +1448,11 @@ TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1378,9 +1461,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
 
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1460,6 +1544,8 @@ clean-generic:
 distclean-generic:
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+       -rm -f glthread/$(DEPDIR)/$(am__dirstamp)
+       -rm -f glthread/$(am__dirstamp)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
@@ -1472,7 +1558,7 @@ clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
        mostlyclean-am
 
 distclean: distclean-am
-       -rm -rf $(DEPDIR) ./$(DEPDIR)
+       -rm -rf $(DEPDIR) ./$(DEPDIR) glthread/$(DEPDIR)
        -rm -f Makefile
 distclean-am: clean-am distclean-compile distclean-generic \
        distclean-hdr distclean-local distclean-tags
@@ -1518,7 +1604,7 @@ install-ps-am:
 installcheck-am:
 
 maintainer-clean: maintainer-clean-am
-       -rm -rf $(DEPDIR) ./$(DEPDIR)
+       -rm -rf $(DEPDIR) ./$(DEPDIR) glthread/$(DEPDIR)
        -rm -f Makefile
 maintainer-clean-am: distclean-am maintainer-clean-generic
 
@@ -1539,20 +1625,21 @@ uninstall-am: uninstall-local
 
 .MAKE: all check install install-am install-strip
 
-.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
-       clean-generic clean-libtool clean-noinstLTLIBRARIES cscopelist \
-       ctags distclean distclean-compile distclean-generic \
-       distclean-hdr distclean-libtool distclean-local distclean-tags \
-       distdir dvi dvi-am html html-am info info-am install \
-       install-am install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-exec-local \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool mostlyclean-local pdf pdf-am ps ps-am tags \
-       uninstall uninstall-am uninstall-local
+.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
+       clean-generic clean-libtool clean-noinstLTLIBRARIES \
+       cscopelist-am ctags ctags-am distclean distclean-compile \
+       distclean-generic distclean-hdr distclean-libtool \
+       distclean-local distclean-tags distdir dvi dvi-am html html-am \
+       info info-am install install-am install-data install-data-am \
+       install-dvi install-dvi-am install-exec install-exec-am \
+       install-exec-local install-html install-html-am install-info \
+       install-info-am install-man install-pdf install-pdf-am \
+       install-ps install-ps-am install-strip installcheck \
+       installcheck-am installdirs maintainer-clean \
+       maintainer-clean-generic mostlyclean mostlyclean-compile \
+       mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
+       pdf-am ps ps-am tags tags-am uninstall uninstall-am \
+       uninstall-local
 
 
 # We need the following in order to create <alloca.h> when the system
@@ -1567,7 +1654,7 @@ uninstall-am: uninstall-local
 @GL_GENERATE_ALLOCA_H_FALSE@   rm -f $@
 
 # Listed in the same order as the GNU makefile conventions, and
-# provided by autoconf 2.59c+.
+# provided by autoconf 2.59c+ or 2.70.
 # The Automake-defined pkg* macros are appended, in the order
 # listed in the Automake 1.10a+ documentation.
 configmake.h: Makefile
@@ -1583,6 +1670,7 @@ configmake.h: Makefile
          echo '#define SYSCONFDIR "$(sysconfdir)"'; \
          echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
          echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
+         echo '#define RUNSTATEDIR "$(runstatedir)"'; \
          echo '#define INCLUDEDIR "$(includedir)"'; \
          echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
          echo '#define DOCDIR "$(docdir)"'; \
@@ -1600,7 +1688,7 @@ configmake.h: Makefile
          echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
          echo '#define PKGLIBDIR "$(pkglibdir)"'; \
          echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
-       } | sed '/""/d' > $@-t
+       } | sed '/""/d' > $@-t && \
        mv -f $@-t $@
 
 # We need the following in order to create <errno.h> when the system
@@ -1669,7 +1757,7 @@ getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
 
 distclean-local: clean-GNUmakefile
 clean-GNUmakefile:
-       test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
+       test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
 
 # We need the following in order to create <inttypes.h> when the system
 # doesn't have one that works with the given compiler.
@@ -1695,6 +1783,7 @@ inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_U
              -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
              -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
              -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
+             -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
              -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
              -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
              -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
@@ -1788,6 +1877,32 @@ charset.alias: config.charset
        $(AM_V_GEN)rm -f t-$@ $@ && \
        sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
        mv t-$@ $@
+
+# We need the following in order to create <locale.h> when the system
+# doesn't have one that provides all definitions.
+locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
+       $(AM_V_GEN)rm -f $@-t $@ && \
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
+         sed -e 's|@''GUARD_PREFIX''@|GL|g' \
+             -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+             -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
+             -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
+             -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
+             -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
+             -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
+             -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
+             -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
+             -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
+             -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
+             -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
+             -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
+             < $(srcdir)/locale.in.h; \
+       } > $@-t && \
+       mv $@-t $@
 # The arg-nonnull.h that gets inserted into generated .h files is the same as
 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
 # off.
@@ -1898,6 +2013,125 @@ warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
 @GL_GENERATE_STDINT_H_FALSE@stdint.h: $(top_builddir)/config.status
 @GL_GENERATE_STDINT_H_FALSE@   rm -f $@
 
+# We need the following in order to create <stdio.h> when the system
+# doesn't have one that works with the given compiler.
+stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
+       $(AM_V_GEN)rm -f $@-t $@ && \
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
+         sed -e 's|@''GUARD_PREFIX''@|GL|g' \
+             -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+             -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
+             -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
+             -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
+             -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
+             -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
+             -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
+             -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
+             -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
+             -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
+             -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
+             -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
+             -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
+             -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
+             -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
+             -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
+             -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
+             -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
+             -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
+             -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
+             -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
+             -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
+             -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
+             -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
+             -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
+             -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
+             -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
+             -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
+             -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
+             -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
+             -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
+             -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
+             -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
+             -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
+             -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
+             -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
+             -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
+             -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
+             -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
+             -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
+             -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
+             -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
+             -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
+             -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
+             -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
+             -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
+             -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
+             -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
+             -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
+             < $(srcdir)/stdio.in.h | \
+         sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
+             -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
+             -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
+             -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
+             -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
+             -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
+             -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
+             -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
+             -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
+             -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
+             -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
+             -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
+             -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
+             -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
+             -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
+             -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
+             -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
+             -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
+             -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
+             -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
+             -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
+             -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
+             -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
+             -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
+             -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
+             -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
+             -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
+             -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
+             -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
+             -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
+             -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
+             -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
+             -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
+             -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
+             -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
+             -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
+             -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
+             -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
+             -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
+             -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
+             -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
+             -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
+             -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
+             -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
+             -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
+             -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
+             -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
+             -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
+             -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
+             -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
+       } > $@-t && \
+       mv $@-t $@
+
 # We need the following in order to create <stdlib.h> when the system
 # doesn't have one that works with the given compiler.
 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
@@ -1932,6 +2166,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
              -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
              -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
              -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
+             -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
              -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
              -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
              -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
@@ -1960,6 +2195,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
              -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
              -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
              -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
+             -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
              -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
              -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
              -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
@@ -1973,6 +2209,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
              -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
              -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
              -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
+             -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
              -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
              -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
              -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
@@ -2080,28 +2317,6 @@ string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
        } > $@-t && \
        mv $@-t $@
 
-# We need the following in order to create <strings.h> when the system
-# doesn't have one that works with the given compiler.
-strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
-       $(AM_V_GEN)rm -f $@-t $@ && \
-       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
-         sed -e 's|@''GUARD_PREFIX''@|GL|g' \
-             -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
-             -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
-             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
-             -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
-             -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \
-             -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
-             -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
-             -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
-             -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
-             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
-             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
-             < $(srcdir)/strings.in.h; \
-       } > $@-t && \
-       mv $@-t $@
-
 # We need the following in order to create <sys/stat.h> when the system
 # has one that is incomplete.
 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
@@ -2113,6 +2328,7 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
+             -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
              -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
              -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
              -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
@@ -2189,6 +2405,7 @@ sys/types.h: sys_types.in.h $(top_builddir)/config.status
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
+             -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
              < $(srcdir)/sys_types.in.h; \
        } > $@-t && \
        mv $@-t $@
@@ -2203,6 +2420,7 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
+             -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
              -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
              -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
              -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
@@ -2212,6 +2430,8 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
              -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
              -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
              -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
+             -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
+             -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
              -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
              -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
              -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
@@ -2237,6 +2457,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
+             -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
              -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
              -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
              -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
@@ -2335,8 +2556,10 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
              -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
              -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
              -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
+             -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
              -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
              -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
+             -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
              -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
              -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
              -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
index e94eb68c3c82c991afb1f339366ee186da8a7979..5de9aaabc494b7c26a46422d893fd024d889a630 100644 (file)
@@ -1,6 +1,6 @@
 /* Memory allocation on the stack.
 
-   Copyright (C) 1995, 1999, 2001-2004, 2006-2012 Free Software Foundation,
+   Copyright (C) 1995, 1999, 2001-2004, 2006-2014 Free Software Foundation,
    Inc.
 
    This program is free software; you can redistribute it and/or modify it
 #  define alloca _alloca
 # elif defined __DECC && defined __VMS
 #  define alloca __ALLOCA
+# elif defined __TANDEM && defined _TNS_E_TARGET
+#  ifdef  __cplusplus
+extern "C"
+#  endif
+void *_alloca (unsigned short);
+#  pragma intrinsic (_alloca)
+#  define alloca _alloca
 # else
 #  include <stddef.h>
 #  ifdef  __cplusplus
index a7133642213ee3c1c675c3a0d77796ae0c29f4da..f56ab55f727cf04575f1348a2523530387b0ee0f 100644 (file)
@@ -1,6 +1,6 @@
 /* argmatch.c -- find a match for a string in an array
 
-   Copyright (C) 1990, 1998-1999, 2001-2007, 2009-2012 Free Software
+   Copyright (C) 1990, 1998-1999, 2001-2007, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 7e88696a4a39461a6318dfef4b24d422ba76bfbd..09645db65762c33c55fbd9fa77ed00f37e9e2b47 100644 (file)
@@ -1,6 +1,6 @@
 /* argmatch.h -- definitions and prototypes for argmatch.c
 
-   Copyright (C) 1990, 1998-1999, 2001-2002, 2004-2005, 2009-2012 Free Software
+   Copyright (C) 1990, 1998-1999, 2001-2002, 2004-2005, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
 
 # include "verify.h"
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 # define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
 
 /* Assert there are as many real arguments as there are values
@@ -100,4 +104,8 @@ char const *argmatch_to_argument (char const *value,
   argmatch_to_argument (Value, Arglist,                                 \
                         (char const *) (Vallist), sizeof *(Vallist))
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* ARGMATCH_H_ */
index 43ef8c211b80cccdd4662f15d50feadaea0e7898..cec50e935aa41c3678d99076ec1c92a2e6e446b7 100644 (file)
@@ -1,6 +1,6 @@
 /* basename.c -- return the last element in a file name
 
-   Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2012 Free Software
+   Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 5f18ffdace65cd82b9c543b37bed2dd8566c106a..67d9420a6d9d1a5e1e18f589cc9dba152b66ca4c 100644 (file)
@@ -1,6 +1,6 @@
 /* basename.c -- return the last element in a file name
 
-   Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2012 Free Software
+   Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index cec9eca5642509412be8a1e5f5f3e994eb4a06c0..b06ca2e4a507499d0d4bd7256488d335f3160a09 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert unibyte character to wide character.
-   Copyright (C) 2008, 2010-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2010-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2008.
 
    This program is free software: you can redistribute it and/or modify
index 952d7a851f305f10e1ec1cde6c5c9771e1746127..48c6478378742f5da190b1b4fdf27ad4ced413f5 100644 (file)
@@ -1,6 +1,6 @@
 /* Character handling in C locale.
 
-   Copyright 2000-2003, 2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright 2000-2003, 2006, 2009-2014 Free Software Foundation, Inc.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
index 0b31309e9606620c97397d6b7429f3aa06c227ff..b465277619c2c990f1955be543d2e39bc069312a 100644 (file)
@@ -5,7 +5,7 @@
    <ctype.h> functions' behaviour depends on the current locale set via
    setlocale.
 
-   Copyright (C) 2000-2003, 2006, 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2000-2003, 2006, 2008-2014 Free Software Foundation, Inc.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -136,7 +136,8 @@ extern int c_tolower (int c) _GL_ATTRIBUTE_CONST;
 extern int c_toupper (int c) _GL_ATTRIBUTE_CONST;
 
 
-#if defined __GNUC__ && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ && !defined NO_C_CTYPE_MACROS
+#if (defined __GNUC__ && !defined __STRICT_ANSI__ && defined __OPTIMIZE__ \
+     && !defined __OPTIMIZE_SIZE__ && !defined NO_C_CTYPE_MACROS)
 
 /* ASCII optimizations. */
 
index fdef2385eaf1d947264a79bb474abf24081de17a..8e660441d082dcc4979ad8807c2ebb5dc5f8e541 100644 (file)
@@ -1,5 +1,5 @@
 /* Case-insensitive string comparison functions in C locale.
-   Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2012 Free Software
+   Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
index d8332caf839dd7b30dd564f6cc46da49d4acfe82..b9b26a4ce8382eca95a026fbbe8a40ac3387ca76 100644 (file)
@@ -1,5 +1,5 @@
 /* c-strcasecmp.c -- case insensitive string comparator in C locale
-   Copyright (C) 1998-1999, 2005-2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1998-1999, 2005-2006, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 5c4bdffecb3728988f3ee201fb244061aa976982..5139a30b9d5e0f83530e4b44b08a9fa429604f5b 100644 (file)
@@ -1,5 +1,5 @@
 /* Optimized case-insensitive string comparison in C locale.
-   Copyright (C) 2001-2002, 2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2001-2002, 2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
index 47fb5fdb6789fa136305ced06ee2d5bd08907155..972eb80079532fef5be995a640327760ed65beed 100644 (file)
@@ -1,5 +1,5 @@
 /* c-strncasecmp.c -- case insensitive string comparator in C locale
-   Copyright (C) 1998-1999, 2005-2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1998-1999, 2005-2006, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 93da14dd7f80a793a565fde55b69aad6773a0975..6fbca8b92a49fe5c9e482a3d800d682a2169939c 100644 (file)
@@ -1,6 +1,6 @@
 /* calloc() function that is glibc compatible.
    This wrapper function is required at least on Tru64 UNIX 5.1 and mingw.
-   Copyright (C) 2004-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2004-2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 7aa2d92cfdc71a03d841a8c83d4c000733fc16b4..902380fd92d8f835a153260d65f0aa548fda1967 100644 (file)
@@ -1,5 +1,5 @@
 /* Return the canonical absolute name of a given file.
-   Copyright (C) 1996-2012 Free Software Foundation, Inc.
+   Copyright (C) 1996-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    This program is free software: you can redistribute it and/or modify
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #ifndef _LIBC
+/* Don't use __attribute__ __nonnull__ in this compilation unit.  Otherwise gcc
+   optimizes away the name == NULL test below.  */
+# define _GL_ARG_NONNULL(params)
+
 # define _GL_USE_STDLIB_ALLOC 1
 # include <config.h>
 #endif
 
 #if !HAVE_CANONICALIZE_FILE_NAME || !FUNC_REALPATH_WORKS || defined _LIBC
 
-/* Don't use __attribute__ __nonnull__ in this compilation unit.  Otherwise gcc
-   optimizes away the name == NULL test below.  */
-#define _GL_ARG_NONNULL(params)
-
 /* Specification.  */
 #include <stdlib.h>
 
@@ -51,6 +51,7 @@
 # define __realpath realpath
 # include "pathmax.h"
 # include "malloca.h"
+# include "dosname.h"
 # if HAVE_GETCWD
 #  if IN_RELOCWRAPPER
     /* When building the relocatable program wrapper, use the system's getcwd
@@ -101,6 +102,7 @@ __realpath (const char *name, char *resolved)
   const char *start, *end, *rpath_limit;
   long int path_max;
   int num_links = 0;
+  size_t prefix_len;
 
   if (name == NULL)
     {
@@ -143,7 +145,11 @@ __realpath (const char *name, char *resolved)
     rpath = resolved;
   rpath_limit = rpath + path_max;
 
-  if (name[0] != '/')
+  /* This is always zero for Posix hosts, but can be 2 for MS-Windows
+     and MS-DOS X:/foo/bar file names.  */
+  prefix_len = FILE_SYSTEM_PREFIX_LEN (name);
+
+  if (!IS_ABSOLUTE_FILE_NAME (name))
     {
       if (!__getcwd (rpath, path_max))
         {
@@ -151,20 +157,28 @@ __realpath (const char *name, char *resolved)
           goto error;
         }
       dest = strchr (rpath, '\0');
+      start = name;
+      prefix_len = FILE_SYSTEM_PREFIX_LEN (rpath);
     }
   else
     {
-      rpath[0] = '/';
-      dest = rpath + 1;
+      dest = rpath;
+      if (prefix_len)
+        {
+          memcpy (rpath, name, prefix_len);
+          dest += prefix_len;
+        }
+      *dest++ = '/';
       if (DOUBLE_SLASH_IS_DISTINCT_ROOT)
         {
-          if (name[1] == '/' && name[2] != '/')
+          if (ISSLASH (name[1]) && !ISSLASH (name[2]) && !prefix_len)
             *dest++ = '/';
           *dest = '\0';
         }
+      start = name + prefix_len;
     }
 
-  for (start = end = name; *start; start = end)
+  for (end = start; *start; start = end)
     {
 #ifdef _LIBC
       struct stat64 st;
@@ -174,11 +188,11 @@ __realpath (const char *name, char *resolved)
       int n;
 
       /* Skip sequence of multiple path-separators.  */
-      while (*start == '/')
+      while (ISSLASH (*start))
         ++start;
 
       /* Find end of path component.  */
-      for (end = start; *end && *end != '/'; ++end)
+      for (end = start; *end && !ISSLASH (*end); ++end)
         /* Nothing.  */;
 
       if (end - start == 0)
@@ -188,17 +202,19 @@ __realpath (const char *name, char *resolved)
       else if (end - start == 2 && start[0] == '.' && start[1] == '.')
         {
           /* Back up to previous component, ignore if at root already.  */
-          if (dest > rpath + 1)
-            while ((--dest)[-1] != '/');
-          if (DOUBLE_SLASH_IS_DISTINCT_ROOT && dest == rpath + 1
-              && *dest == '/' && dest[1] != '/')
+          if (dest > rpath + prefix_len + 1)
+            for (--dest; dest > rpath && !ISSLASH (dest[-1]); --dest)
+              continue;
+          if (DOUBLE_SLASH_IS_DISTINCT_ROOT
+              && dest == rpath + 1 && !prefix_len
+              && ISSLASH (*dest) && !ISSLASH (dest[1]))
             dest++;
         }
       else
         {
           size_t new_size;
 
-          if (dest[-1] != '/')
+          if (!ISSLASH (dest[-1]))
             *dest++ = '/';
 
           if (dest + (end - start) >= rpath_limit)
@@ -209,7 +225,7 @@ __realpath (const char *name, char *resolved)
               if (resolved)
                 {
                   __set_errno (ENAMETOOLONG);
-                  if (dest > rpath + 1)
+                  if (dest > rpath + prefix_len + 1)
                     dest--;
                   *dest = '\0';
                   goto error;
@@ -299,24 +315,32 @@ __realpath (const char *name, char *resolved)
               memmove (&extra_buf[n], end, len + 1);
               name = end = memcpy (extra_buf, buf, n);
 
-              if (buf[0] == '/')
+              if (IS_ABSOLUTE_FILE_NAME (buf))
                 {
-                  dest = rpath + 1;     /* It's an absolute symlink */
+                  size_t pfxlen = FILE_SYSTEM_PREFIX_LEN (buf);
+
+                  if (pfxlen)
+                    memcpy (rpath, buf, pfxlen);
+                  dest = rpath + pfxlen;
+                  *dest++ = '/'; /* It's an absolute symlink */
                   if (DOUBLE_SLASH_IS_DISTINCT_ROOT)
                     {
-                      if (buf[1] == '/' && buf[2] != '/')
+                      if (ISSLASH (buf[1]) && !ISSLASH (buf[2]) && !pfxlen)
                         *dest++ = '/';
                       *dest = '\0';
                     }
+                  /* Install the new prefix to be in effect hereafter.  */
+                  prefix_len = pfxlen;
                 }
               else
                 {
                   /* Back up to previous component, ignore if at root
                      already: */
-                  if (dest > rpath + 1)
-                    while ((--dest)[-1] != '/');
+                  if (dest > rpath + prefix_len + 1)
+                    for (--dest; dest > rpath && !ISSLASH (dest[-1]); --dest)
+                      continue;
                   if (DOUBLE_SLASH_IS_DISTINCT_ROOT && dest == rpath + 1
-                      && *dest == '/' && dest[1] != '/')
+                      && ISSLASH (*dest) && !ISSLASH (dest[1]) && !prefix_len)
                     dest++;
                 }
             }
@@ -327,10 +351,10 @@ __realpath (const char *name, char *resolved)
             }
         }
     }
-  if (dest > rpath + 1 && dest[-1] == '/')
+  if (dest > rpath + prefix_len + 1 && ISSLASH (dest[-1]))
     --dest;
-  if (DOUBLE_SLASH_IS_DISTINCT_ROOT && dest == rpath + 1
-      && *dest == '/' && dest[1] != '/')
+  if (DOUBLE_SLASH_IS_DISTINCT_ROOT && dest == rpath + 1 && !prefix_len
+      && ISSLASH (*dest) && !ISSLASH (dest[1]))
     dest++;
   *dest = '\0';
 
index 04fa5ece09d77267af8afb8bcc85c7a9edd246dd..87921d42938bab2dc4ec4507cfb9e43ff87acc6b 100644 (file)
@@ -1,6 +1,6 @@
 /* Close a stream, with nicer error checking than fclose's.
 
-   Copyright (C) 1998-2002, 2004, 2006-2012 Free Software Foundation, Inc.
+   Copyright (C) 1998-2002, 2004, 2006-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 4b7accbc966ded91c5919240578f71ee1a2293a7..d7dcb3f15762ab9d730edcea7b626df6f5807870 100644 (file)
@@ -1,5 +1,5 @@
 /* close replacement.
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index eea402473cb4718814b979b1db5c9c5ed12a28eb..674db787eab6404eb129baf099ad57fc88b64761 100644 (file)
@@ -1,6 +1,6 @@
 /* Close standard output and standard error, exiting with a diagnostic on error.
 
-   Copyright (C) 1998-2002, 2004, 2006, 2008-2012 Free Software Foundation,
+   Copyright (C) 1998-2002, 2004, 2006, 2008-2014 Free Software Foundation,
    Inc.
 
    This program is free software: you can redistribute it and/or modify
index 5310b28627173f0c54c92e6819c214613fb7ac39..28d80ea5f2bd1232e37ded0ec08b8828b6ee3d8a 100644 (file)
@@ -1,6 +1,6 @@
 /* Close standard output and standard error.
 
-   Copyright (C) 1998, 2000, 2003-2004, 2006, 2008-2012 Free Software
+   Copyright (C) 1998, 2000, 2003-2004, 2006, 2008-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 89b3017b4ec53a5bf574875b2e7a701fe8fcbdb7..289bc44ea98d4327ae7a852f94f9d8088e5fbc58 100644 (file)
@@ -1,7 +1,7 @@
 #! /bin/sh
 # Output a system dependent table of character encoding aliases.
 #
-#   Copyright (C) 2000-2004, 2006-2012 Free Software Foundation, Inc.
+#   Copyright (C) 2000-2004, 2006-2014 Free Software Foundation, Inc.
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@
 # The current list of GNU canonical charset names is as follows.
 #
 #       name              MIME?             used by which systems
-#                                    (darwin = MacOS X, woe32 = native Windows)
+#                                    (darwin = Mac OS X, woe32 = native Windows)
 #
 #   ASCII, ANSI_X3.4-1968       glibc solaris freebsd netbsd darwin cygwin
 #   ISO-8859-1              Y   glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin
index 529e93b14b5399d1f45b9e5675e1374272cafd4e..2edf095d87a318bd3dbf7fce6ad841c4354e1ddb 100644 (file)
 /* Define to the number of bits in type 'wint_t'. */
 #undef BITSIZEOF_WINT_T
 
-/* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP
-   systems. This function is required for 'alloca.c' support on those systems.
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+   systems. This function is required for `alloca.c' support on those systems.
    */
 #undef CRAY_STACKSEG_END
 
-/* Define to 1 if using 'alloca.c'. */
+/* Define to 1 if using `alloca.c'. */
 #undef C_ALLOCA
 
 /* Enable assertions, etc. */
    whether the gnulib module dirname shall be considered present. */
 #undef GNULIB_DIRNAME
 
+/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
+   whether the gnulib module fscanf shall be considered present. */
+#undef GNULIB_FSCANF
+
+/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
+   whether the gnulib module lock shall be considered present. */
+#undef GNULIB_LOCK
+
 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
    whether the gnulib module malloc-gnu shall be considered present. */
 #undef GNULIB_MALLOC_GNU
    whether the gnulib module realloc-gnu shall be considered present. */
 #undef GNULIB_REALLOC_GNU
 
+/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
+   whether the gnulib module scanf shall be considered present. */
+#undef GNULIB_SCANF
+
 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
    whether the gnulib module strerror shall be considered present. */
 #undef GNULIB_STRERROR
 /* Define to 1 when the gnulib module getcwd should be tested. */
 #undef GNULIB_TEST_GETCWD
 
+/* Define to 1 when the gnulib module getdtablesize should be tested. */
+#undef GNULIB_TEST_GETDTABLESIZE
+
 /* Define to 1 when the gnulib module getopt-gnu should be tested. */
 #undef GNULIB_TEST_GETOPT_GNU
 
 /* Define to 1 when the gnulib module gettimeofday should be tested. */
 #undef GNULIB_TEST_GETTIMEOFDAY
 
+/* Define to 1 when the gnulib module localeconv should be tested. */
+#undef GNULIB_TEST_LOCALECONV
+
 /* Define to 1 when the gnulib module lseek should be tested. */
 #undef GNULIB_TEST_LSEEK
 
 /* Define to 1 when the gnulib module rpmatch should be tested. */
 #undef GNULIB_TEST_RPMATCH
 
+/* Define to 1 when the gnulib module secure_getenv should be tested. */
+#undef GNULIB_TEST_SECURE_GETENV
+
 /* Define to 1 when the gnulib module setenv should be tested. */
 #undef GNULIB_TEST_SETENV
 
 /* Define to 1 if you have the `canonicalize_file_name' function. */
 #undef HAVE_CANONICALIZE_FILE_NAME
 
-/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
+/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
    CoreFoundation framework. */
 #undef HAVE_CFLOCALECOPYCURRENT
 
-/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
+/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
    the CoreFoundation framework. */
 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
 
    don't. */
 #undef HAVE_DECL_STRERROR_R
 
-/* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you
-   don't. */
-#undef HAVE_DECL_STRNCASECMP
-
 /* Define to 1 if you have the declaration of `strndup', and to 0 if you
    don't. */
 #undef HAVE_DECL_STRNDUP
    */
 #undef HAVE_DECL_WCTOB
 
+/* Define to 1 if you have the declaration of `_putenv', and to 0 if you
+   don't. */
+#undef HAVE_DECL__PUTENV
+
 /* Define to 1 if you have the declaration of `__fpending', and to 0 if you
    don't. */
 #undef HAVE_DECL___FPENDING
 /* Define if you have the declaration of environ. */
 #undef HAVE_ENVIRON_DECL
 
-/* Define to 1 if you have the `fchdir' function. */
-#undef HAVE_FCHDIR
-
 /* Define to 1 if you have the <features.h> header file. */
 #undef HAVE_FEATURES_H
 
 /* Define to 1 if you have the `getcwd' function. */
 #undef HAVE_GETCWD
 
+/* Define to 1 if you have the `getdtablesize' function. */
+#undef HAVE_GETDTABLESIZE
+
 /* Define to 1 if you have the <getopt.h> header file. */
 #undef HAVE_GETOPT_H
 
 /* Define if you have the iconv() function and it works. */
 #undef HAVE_ICONV
 
-/* Define to 1 if the compiler supports one of the keywords 'inline',
-   '__inline__', '__inline' and effectively inlines functions marked as such.
-   */
-#undef HAVE_INLINE
-
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
 /* Define to 1 if you have the `isblank' function. */
 #undef HAVE_ISBLANK
 
+/* Define to 1 if you have the `issetugid' function. */
+#undef HAVE_ISSETUGID
+
 /* Define to 1 if you have the `iswcntrl' function. */
 #undef HAVE_ISWCNTRL
 
    to 0 otherwise. */
 #undef HAVE_MALLOC_GNU
 
+/* Define to 1 if you have the <malloc.h> header file. */
+#undef HAVE_MALLOC_H
+
 /* Define if the 'malloc' function is POSIX compliant. */
 #undef HAVE_MALLOC_POSIX
 
 /* Define to 1 if fdatasync is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_FDATASYNC
 
-/* Define to 1 if ffs is declared even after undefining macros. */
-#undef HAVE_RAW_DECL_FFS
-
 /* Define to 1 if ffsl is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_FFSL
 
 /* Define to 1 if getpagesize is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_GETPAGESIZE
 
+/* Define to 1 if gets is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_GETS
+
 /* Define to 1 if getsubopt is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_GETSUBOPT
 
 /* Define to 1 if rpmatch is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_RPMATCH
 
+/* Define to 1 if secure_getenv is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SECURE_GETENV
+
 /* Define to 1 if setenv is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_SETENV
 
 /* Define to 1 if stpncpy is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_STPNCPY
 
-/* Define to 1 if strcasecmp is declared even after undefining macros. */
-#undef HAVE_RAW_DECL_STRCASECMP
-
 /* Define to 1 if strcasestr is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_STRCASESTR
 
 /* Define to 1 if strerror_r is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_STRERROR_R
 
-/* Define to 1 if strncasecmp is declared even after undefining macros. */
-#undef HAVE_RAW_DECL_STRNCASECMP
-
 /* Define to 1 if strncat is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_STRNCAT
 
 /* Define to 1 if you have the <search.h> header file. */
 #undef HAVE_SEARCH_H
 
+/* Define to 1 if you have the `secure_getenv' function. */
+#undef HAVE_SECURE_GETENV
+
+/* Define to 1 if you have the `setdtablesize' function. */
+#undef HAVE_SETDTABLESIZE
+
 /* Define to 1 if you have the `setenv' function. */
 #undef HAVE_SETENV
 
 /* Define to 1 if you have the <stdlib.h> header file. */
 #undef HAVE_STDLIB_H
 
-/* Define to 1 if you have the `strcasecmp' function. */
-#undef HAVE_STRCASECMP
-
 /* Define to 1 if you have the `strdup' function. */
 #undef HAVE_STRDUP
 
 /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H
 
-/* Define to 1 if you have the `strncasecmp' function. */
-#undef HAVE_STRNCASECMP
-
 /* Define to 1 if you have the `strndup' function. */
 #undef HAVE_STRNDUP
 
 /* Define to 1 if you have the `strtoull' function. */
 #undef HAVE_STRTOULL
 
+/* Define to 1 if `decimal_point' is a member of `struct lconv'. */
+#undef HAVE_STRUCT_LCONV_DECIMAL_POINT
+
 /* Define to 1 if you have the `symlink' function. */
 #undef HAVE_SYMLINK
 
 /* Define to 1 if you have the `wcrtomb' function. */
 #undef HAVE_WCRTOMB
 
-/* Define to 1 if you have the `wcscoll' function. */
-#undef HAVE_WCSCOLL
-
 /* Define to 1 if you have the `wctob' function. */
 #undef HAVE_WCTOB
 
 /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
 #undef HAVE__SET_INVALID_PARAMETER_HANDLER
 
-/* Define to 1 if you have the `__fpending' function. */
-#undef HAVE___FPENDING
-
-/* Define to 1 if you have the `__xpg_strerror_r' function. */
-#undef HAVE___XPG_STRERROR_R
+/* Define to 1 if you have the `__secure_getenv' function. */
+#undef HAVE___SECURE_GETENV
 
 /* Extract low level special HFS(+) files for debugging purposes when using
    the "check" command (NOT FOR PACKAGING) */
 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
 #undef MAP_ANONYMOUS
 
+/* Define if the mbrtowc function does not return (size_t) -2 for empty input.
+   */
+#undef MBRTOWC_EMPTY_INPUT_BUG
+
 /* Define if the mbrtowc function has the NULL pwc argument bug. */
 #undef MBRTOWC_NULL_ARG1_BUG
 
 /* Define to 1 if assertions should be disabled. */
 #undef NDEBUG
 
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */
-#undef NO_MINUS_C_MINUS_O
-
 /* Define to 1 if open() fails to recognize a trailing slash. */
 #undef OPEN_TRAILING_SLASH_BUG
 
 /* If using the C implementation of alloca, define if you know the
    direction of stack growth for your system; otherwise it will be
    automatically deduced at runtime.
-        STACK_DIRECTION > 0 => grows toward higher addresses
-        STACK_DIRECTION < 0 => grows toward lower addresses
-        STACK_DIRECTION = 0 => direction of growth unknown */
+       STACK_DIRECTION > 0 => grows toward higher addresses
+       STACK_DIRECTION < 0 => grows toward lower addresses
+       STACK_DIRECTION = 0 => direction of growth unknown */
 #undef STACK_DIRECTION
 
 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
    made weak. */
 #undef USE_SOLARIS_THREADS_WEAK
 
+/* Enable extensions on AIX 3, Interix.  */
+#ifndef _ALL_SOURCE
+# undef _ALL_SOURCE
+#endif
+/* Enable general extensions on OS X.  */
+#ifndef _DARWIN_C_SOURCE
+# undef _DARWIN_C_SOURCE
+#endif
+/* Enable GNU extensions on systems that have them.  */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif
+/* Enable threading extensions on Solaris.  */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# undef _POSIX_PTHREAD_SEMANTICS
+#endif
+/* Enable extensions on HP NonStop.  */
+#ifndef _TANDEM_SOURCE
+# undef _TANDEM_SOURCE
+#endif
+/* Enable X/Open extensions if necessary.  HP-UX 11.11 defines
+   mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of
+   whether compiling with -Ae or -D_HPUX_SOURCE=1.  */
+#ifndef _XOPEN_SOURCE
+# undef _XOPEN_SOURCE
+#endif
+/* Enable general extensions on Solaris.  */
+#ifndef __EXTENSIONS__
+# undef __EXTENSIONS__
+#endif
+
+
 /* Define if the native Windows multithreading API can be used. */
 #undef USE_WINDOWS_THREADS
 
 # endif
 #endif
 
-/* Enable large inode numbers on Mac OS X.  */
-#ifndef _DARWIN_USE_64_BIT_INODE
-# define _DARWIN_USE_64_BIT_INODE 1
-#endif
+/* Enable large inode numbers on Mac OS X 10.5. */
+#undef _DARWIN_USE_64_BIT_INODE
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 #undef _FILE_OFFSET_BITS
 /* enable compile-time and run-time bounds-checking, and some warnings */
 #undef _FORTIFY_SOURCE
 
+/* Define to 1 if Gnulib overrides 'struct stat' on Windows so that struct
+   stat.st_size becomes 64-bit. */
+#undef _GL_WINDOWS_64_BIT_ST_SIZE
+
 /* Define for large files, on AIX-style hosts. */
 #undef _LARGE_FILES
 
+/* Define to 1 on Solaris. */
+#undef _LCONV_C99
+
 /* Define to 1 if on MINIX. */
 #undef _MINIX
 
+/* Define to 1 to make NetBSD features available. MINIX 3 needs this. */
+#undef _NETBSD_SOURCE
+
 /* The _Noreturn keyword of C11.  */
-#ifndef _Noreturn
+#if ! (defined _Noreturn \
+       || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
 # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
       || 0x5110 <= __SUNPRO_C)
 #  define _Noreturn __attribute__ ((__noreturn__))
 /* Define to 1 if you need to in order for 'stat' and other things to work. */
 #undef _POSIX_SOURCE
 
+/* Define if you want <regex.h> to include <limits.h>, so that it consistently
+   overrides <limits.h>'s RE_DUP_MAX. */
+#undef _REGEX_INCLUDE_LIMITS_H
+
 /* Define if you want regoff_t to be at least as wide POSIX requires. */
 #undef _REGEX_LARGE_OFFSETS
 
-/* Define to 500 only on HP-UX. */
-#undef _XOPEN_SOURCE
-
-/* Enable extensions on AIX 3, Interix.  */
-#ifndef _ALL_SOURCE
-# undef _ALL_SOURCE
-#endif
-/* Enable general extensions on MacOS X.  */
-#ifndef _DARWIN_C_SOURCE
-# undef _DARWIN_C_SOURCE
-#endif
-/* Enable GNU extensions on systems that have them.  */
-#ifndef _GNU_SOURCE
-# undef _GNU_SOURCE
-#endif
-/* Enable threading extensions on Solaris.  */
-#ifndef _POSIX_PTHREAD_SEMANTICS
-# undef _POSIX_PTHREAD_SEMANTICS
-#endif
-/* Enable extensions on HP NonStop.  */
-#ifndef _TANDEM_SOURCE
-# undef _TANDEM_SOURCE
-#endif
-/* Enable general extensions on Solaris.  */
-#ifndef __EXTENSIONS__
-# undef __EXTENSIONS__
-#endif
-
-
 /* Define to rpl_ if the getopt replacement functions and variables should be
    used. */
 #undef __GETOPT_PREFIX
 /* Define to empty if `const' does not conform to ANSI C. */
 #undef const
 
+/* Please see the Gnulib manual for how to use these macros.
+
+   Suppress extern inline with HP-UX cc, as it appears to be broken; see
+   <http://lists.gnu.org/archive/html/bug-texinfo/2013-02/msg00030.html>.
+
+   Suppress extern inline with Sun C in standards-conformance mode, as it
+   mishandles inline functions that call each other.  E.g., for 'inline void f
+   (void) { } inline void g (void) { f (); }', c99 incorrectly complains
+   'reference to static identifier "f" in extern inline function'.
+   This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
+
+   Suppress the use of extern inline on problematic Apple configurations.
+   OS X 10.8 and earlier mishandle it; see, e.g.,
+   <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>.
+   OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
+   for clang but remains for g++; see <http://trac.macports.org/ticket/41033>.
+   Perhaps Apple will fix this some day.  */
+#if (defined __APPLE__ \
+     && (defined __header_inline \
+         ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
+            && ! defined __clang__) \
+         : ((! defined _DONT_USE_CTYPE_INLINE_ \
+             && (defined __GNUC__ || defined __cplusplus)) \
+            || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
+                && defined __GNUC__ && ! defined __cplusplus))))
+# define _GL_EXTERN_INLINE_APPLE_BUG
+#endif
+#if ((__GNUC__ \
+      ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
+      : (199901L <= __STDC_VERSION__ \
+         && !defined __HP_cc \
+         && !(defined __SUNPRO_C && __STDC__))) \
+     && !defined _GL_EXTERN_INLINE_APPLE_BUG)
+# define _GL_INLINE inline
+# define _GL_EXTERN_INLINE extern inline
+# define _GL_EXTERN_INLINE_IN_USE
+#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
+       && !defined _GL_EXTERN_INLINE_APPLE_BUG)
+# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
+   /* __gnu_inline__ suppresses a GCC 4.2 diagnostic.  */
+#  define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
+# else
+#  define _GL_INLINE extern inline
+# endif
+# define _GL_EXTERN_INLINE extern
+# define _GL_EXTERN_INLINE_IN_USE
+#else
+# define _GL_INLINE static _GL_UNUSED
+# define _GL_EXTERN_INLINE static _GL_UNUSED
+#endif
+
+#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
+# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
+#  define _GL_INLINE_HEADER_CONST_PRAGMA
+# else
+#  define _GL_INLINE_HEADER_CONST_PRAGMA \
+     _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
+# endif
+  /* Suppress GCC's bogus "no previous prototype for 'FOO'"
+     and "no previous declaration for 'FOO'"  diagnostics,
+     when FOO is an inline function in the header; see
+     <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>.  */
+# define _GL_INLINE_HEADER_BEGIN \
+    _Pragma ("GCC diagnostic push") \
+    _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
+    _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
+    _GL_INLINE_HEADER_CONST_PRAGMA
+# define _GL_INLINE_HEADER_END \
+    _Pragma ("GCC diagnostic pop")
+#else
+# define _GL_INLINE_HEADER_BEGIN
+# define _GL_INLINE_HEADER_END
+#endif
+
 /* A replacement for va_copy, if needed.  */
 #define gl_va_copy(a,b) ((a) = (b))
 
-/* Define to rpl_gmtime if the replacement function should be used. */
-#undef gmtime
-
 /* Define to `__inline__' or `__inline' if that's what the C compiler
    calls it, or to nothing if 'inline' is not supported under any name.  */
 #ifndef __cplusplus
 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
    the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
    earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
-   __APPLE__ && __MACH__ test for MacOS X.
+   __APPLE__ && __MACH__ test for Mac OS X.
    __APPLE_CC__ tests for the Apple compiler and its version.
    __STDC_VERSION__ tests for the C99 mode.  */
 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
 /* Define to 1 if the compiler is checking for lint. */
 #undef lint
 
-/* Define to rpl_localtime if the replacement function should be used. */
-#undef localtime
-
 /* Define to a type if <wchar.h> does not define. */
 #undef mbstate_t
 
index 2895cbcb280d55d95e734ad5615ac96ef4bd908b..d4a69730e5bbf1e303f54b191c9d67641e88ad3d 100644 (file)
@@ -1,6 +1,6 @@
 /* dirname.c -- return all but the last element in a file name
 
-   Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2012 Free Software
+   Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 627c164c291ec5e0bc1954097998523e0c160df3..94f1a36a1afc3b35246b427251b96f171a3d278b 100644 (file)
@@ -1,6 +1,6 @@
 /* dirname.c -- return all but the last element in a file name
 
-   Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2012 Free Software
+   Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 51a685c3a415af110371023a4ed8bb549c2c2681..a1b700932674b9bc3bb30885fb0ebf2898fc46d7 100644 (file)
@@ -1,6 +1,6 @@
 /*  Take file names apart into directory and base names.
 
-    Copyright (C) 1998, 2001, 2003-2006, 2009-2012 Free Software Foundation,
+    Copyright (C) 1998, 2001, 2003-2006, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software: you can redistribute it and/or modify
index 0468ce4dc810baec2abdfb6f8ee04beda60ef069..b92adfac2eca838b231436bc63a7cedf56648840 100644 (file)
@@ -1,6 +1,6 @@
 /* File names on MS-DOS/Windows systems.
 
-   Copyright (C) 2000-2001, 2004-2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2000-2001, 2004-2006, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 2f426121dadc7068794ab803e5b2397737c4bb03..832afc8f85381a2d96cc6cc40437354f6690ec70 100644 (file)
@@ -1,6 +1,6 @@
 /* A POSIX-like <errno.h>.
 
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #   define GNULIB_defined_ECANCELED 1
 #  endif
 
+#  ifndef EOWNERDEAD
+#   define EOWNERDEAD 133
+#   define GNULIB_defined_EOWNERDEAD 1
+#  endif
+
+#  ifndef ENOTRECOVERABLE
+#   define ENOTRECOVERABLE 127
+#   define GNULIB_defined_ENOTRECOVERABLE 1
+#  endif
+
 #  ifndef EINPROGRESS
 #   define EINPROGRESS     112
 #   define EALREADY        103
 #   define ELOOP           114
 #   define EHOSTUNREACH    110
 #   define EWOULDBLOCK     140
+#   define GNULIB_defined_ESOCK 1
+#  endif
+
+#  ifndef ETXTBSY
 #   define ETXTBSY         139
 #   define ENODATA         120  /* not required by POSIX */
 #   define ENOSR           124  /* not required by POSIX */
 #   define ENOSTR          125  /* not required by POSIX */
-#   define ENOTRECOVERABLE 127  /* not required by POSIX */
-#   define EOWNERDEAD      133  /* not required by POSIX */
 #   define ETIME           137  /* not required by POSIX */
 #   define EOTHER          131  /* not required by POSIX */
-#   define GNULIB_defined_ESOCK 1
+#   define GNULIB_defined_ESTREAMS 1
 #  endif
 
 /* These are intentionally the same values as the WSA* error numbers, defined
 #  define GNULIB_defined_ECANCELED 1
 # endif
 
+/* On many platforms, the macros EOWNERDEAD and ENOTRECOVERABLE are not
+   defined.  */
+
+# ifndef EOWNERDEAD
+#  if defined __sun
+    /* Use the same values as defined for Solaris >= 8, for
+       interoperability.  */
+#   define EOWNERDEAD      58
+#   define ENOTRECOVERABLE 59
+#  elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+    /* We have a conflict here: pthreads-win32 defines these values
+       differently than MSVC 10.  It's hairy to decide which one to use.  */
+#   if defined __MINGW32__ && !defined USE_WINDOWS_THREADS
+     /* Use the same values as defined by pthreads-win32, for
+        interoperability.  */
+#    define EOWNERDEAD      43
+#    define ENOTRECOVERABLE 44
+#   else
+     /* Use the same values as defined by MSVC 10, for
+        interoperability.  */
+#    define EOWNERDEAD      133
+#    define ENOTRECOVERABLE 127
+#   endif
+#  else
+#   define EOWNERDEAD      2013
+#   define ENOTRECOVERABLE 2014
+#  endif
+#  define GNULIB_defined_EOWNERDEAD 1
+#  define GNULIB_defined_ENOTRECOVERABLE 1
+# endif
+
+# ifndef EILSEQ
+#  define EILSEQ 2015
+#  define GNULIB_defined_EILSEQ 1
+# endif
 
 #endif /* _@GUARD_PREFIX@_ERRNO_H */
 #endif /* _@GUARD_PREFIX@_ERRNO_H */
index dc8c65fa7f9899551519d08615ec373a34a8cbe2..31109df3b5fcf5ba6f7bec6d00d63d5bea87b489 100644 (file)
@@ -1,5 +1,5 @@
 /* Error handler for noninteractive utilities
-   Copyright (C) 1990-1998, 2000-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1990-1998, 2000-2007, 2009-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    This program is free software: you can redistribute it and/or modify
@@ -121,7 +121,7 @@ extern char *program_name;
 
 #if !_LIBC
 /* Return non-zero if FD is open.  */
-static inline int
+static int
 is_open (int fd)
 {
 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
@@ -139,7 +139,7 @@ is_open (int fd)
 }
 #endif
 
-static inline void
+static void
 flush_stdout (void)
 {
 #if !_LIBC
@@ -195,7 +195,7 @@ print_errno_message (int errnum)
 #endif
 }
 
-static void
+static void _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) _GL_ARG_NONNULL ((3))
 error_tail (int status, int errnum, const char *message, va_list args)
 {
 #if _LIBC
index 9c2cb8bc6ae19fc4ce0a84fbf08f614792e424cb..4aaafb362603ba075e6ba21092bf50a49be5f4fd 100644 (file)
@@ -1,5 +1,5 @@
 /* Declaration for error-reporting function
-   Copyright (C) 1995-1997, 2003, 2006, 2008-2012 Free Software Foundation,
+   Copyright (C) 1995-1997, 2003, 2006, 2008-2014 Free Software Foundation,
    Inc.
    This file is part of the GNU C Library.
 
index fdd674c11b6096adf3b9456243b56c2a89662295..609afc5af7e09ab9c89e86f5328e8fb87128cc1a 100644 (file)
@@ -1,6 +1,6 @@
 /* Failure exit status
 
-   Copyright (C) 2002-2003, 2005-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2003, 2005-2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 074f212192994f7719e2eaf007ffaaab81c48624..66807d511fa6d3a4d95ca41fc1348a77c87aaeab 100644 (file)
@@ -1,6 +1,6 @@
 /* Failure exit status
 
-   Copyright (C) 2002, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 344bbe4d3d93c87689637bee900cbe3e702c20bf..99f75e60fd4100ca239d1f68273ab13cfe28c626 100644 (file)
@@ -1,6 +1,6 @@
 /* Like <fcntl.h>, but with non-working flags defined to 0.
 
-   Copyright (C) 2006-2012 Free Software Foundation, Inc.
+   Copyright (C) 2006-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -25,6 +25,8 @@
 #if defined __need_system_fcntl_h
 /* Special invocation convention.  */
 
+/* Needed before <sys/stat.h>.
+   May also define off_t to a 64-bit type on native Windows.  */
 #include <sys/types.h>
 /* On some systems other than glibc, <sys/stat.h> is a prerequisite of
    <fcntl.h>.  On glibc systems, we would like to avoid namespace pollution.
@@ -42,6 +44,8 @@
 
 #ifndef _@GUARD_PREFIX@_FCNTL_H
 
+/* Needed before <sys/stat.h>.
+   May also define off_t to a 64-bit type on native Windows.  */
 #include <sys/types.h>
 /* On some systems other than glibc, <sys/stat.h> is a prerequisite of
    <fcntl.h>.  On glibc systems, we would like to avoid namespace pollution.
@@ -212,6 +216,10 @@ _GL_WARN_ON_USE (openat, "openat is not portable - "
 # define O_EXEC O_RDONLY /* This is often close enough in older systems.  */
 #endif
 
+#ifndef O_IGNORE_CTTY
+# define O_IGNORE_CTTY 0
+#endif
+
 #ifndef O_NDELAY
 # define O_NDELAY 0
 #endif
@@ -245,10 +253,18 @@ _GL_WARN_ON_USE (openat, "openat is not portable - "
 # define O_NOFOLLOW 0
 #endif
 
+#ifndef O_NOLINK
+# define O_NOLINK 0
+#endif
+
 #ifndef O_NOLINKS
 # define O_NOLINKS 0
 #endif
 
+#ifndef O_NOTRANS
+# define O_NOTRANS 0
+#endif
+
 #ifndef O_RSYNC
 # define O_RSYNC 0
 #endif
@@ -265,7 +281,7 @@ _GL_WARN_ON_USE (openat, "openat is not portable - "
 # define O_TTY_INIT 0
 #endif
 
-#if O_ACCMODE != (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
+#if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
 # undef O_ACCMODE
 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
 #endif
index 8f4ffe2a8de5eaeca45e4e08eaa20d4fb4812e0c..0171cc6028cdf606cc04af4925dda0f212f91dca 100644 (file)
@@ -1,5 +1,5 @@
 /* Hook for making making file descriptor functions close(), ioctl() extensible.
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2009.
 
    This program is free software: you can redistribute it and/or modify it
index 721e9ad931f6b70695dce01ab9f8d46327a5deb2..1aa264eb745d28c0ec27f3a79a8cd10ded544b8a 100644 (file)
@@ -1,5 +1,5 @@
 /* Hook for making making file descriptor functions close(), ioctl() extensible.
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
index 2591d53437748c4387ee45a391a8f271c2c3bc00..31aba1ada3d746767080737f3fd50f3161616dd0 100644 (file)
@@ -1,5 +1,5 @@
 /* fpending.c -- return the number of pending output bytes on a stream
-   Copyright (C) 2000, 2004, 2006-2007, 2009-2012 Free Software Foundation,
+   Copyright (C) 2000, 2004, 2006-2007, 2009-2014 Free Software Foundation,
    Inc.
 
    This program is free software: you can redistribute it and/or modify
index 5b5d71c0240f0a683ad0963e972b883783df6657..dd607fe20c177df0a53584faafaca73a747c904c 100644 (file)
@@ -1,6 +1,6 @@
 /* Declare __fpending.
 
-   Copyright (C) 2000, 2003, 2005-2006, 2009-2012 Free Software Foundation,
+   Copyright (C) 2000, 2003, 2005-2006, 2009-2014 Free Software Foundation,
    Inc.
 
    This program is free software: you can redistribute it and/or modify
 
 #include <stddef.h>
 #include <stdio.h>
-
-#ifndef HAVE_DECL___FPENDING
-"this configure-time declaration test was not run"
+#if HAVE_STDIO_EXT_H
+# include <stdio_ext.h>
 #endif
 
-#if HAVE_DECL___FPENDING
-# if HAVE_STDIO_EXT_H
-#  include <stdio_ext.h>
-# endif
-#else
-size_t __fpending (FILE *);
+#if !HAVE_DECL___FPENDING
+size_t __fpending (FILE *) _GL_ATTRIBUTE_PURE;
 #endif
index 4918495bc7f70ca17690fefe207f3ba1cde0fa31..ffcda9f5718c808a613e894e3d9c543096eb0d54 100644 (file)
@@ -1,5 +1,5 @@
 /* fstat() replacement.
-   Copyright (C) 2011-2012 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 /* Get the original definition of fstat.  It might be defined as a macro.  */
 #include <sys/types.h>
 #include <sys/stat.h>
+#if _GL_WINDOWS_64_BIT_ST_SIZE
+# undef stat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */
+# define stat _stati64
+# undef fstat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */
+# define fstat _fstati64
+#endif
 #undef __need_system_sys_stat_h
 
-static inline int
+static int
 orig_fstat (int fd, struct stat *buf)
 {
   return fstat (fd, buf);
@@ -45,7 +51,7 @@ orig_fstat (int fd, struct stat *buf)
 #endif
 
 #if HAVE_MSVC_INVALID_PARAMETER_HANDLER
-static inline int
+static int
 fstat_nothrow (int fd, struct stat *buf)
 {
   int result;
index 0ee55add52ae38ada75be7f8e7bf4d7f90e65803..b09a8e64949c129608d70d8d31c69e67ba50b949 100644 (file)
@@ -7,7 +7,7 @@
 
    Written by Richard W.M. Jones <rjones.at.redhat.com>
 
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public
index 4342a34104c392c253d80fab6af534e3640e0855..7d950af1a5f2d4cb867fbc6d7a0d1cf74bf5f653 100644 (file)
@@ -2,7 +2,7 @@
    NOTE: getopt is part of the C library, so if you don't know what
    "Keep this file name-space clean" means, talk to drepper@gnu.org
    before changing it!
-   Copyright (C) 1987-1996, 1998-2004, 2006, 2008-2012 Free Software
+   Copyright (C) 1987-1996, 1998-2004, 2006, 2008-2014 Free Software
    Foundation, Inc.
    This file is part of the GNU C Library.
 
index 06b6dfc50c2dbf2f9011ada0a28099e42d27595f..7ab99fb83236da963b2efb53c0baeaa9f99acd62 100644 (file)
@@ -1,5 +1,5 @@
 /* Declarations for getopt.
-   Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2007, 2009-2012 Free Software
+   Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2007, 2009-2014 Free Software
    Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -49,7 +49,9 @@
    linkers.  */
 #if defined __GETOPT_PREFIX && !defined __need_getopt
 # if !@HAVE_GETOPT_H@
+#  define __need_system_stdlib_h
 #  include <stdlib.h>
+#  undef __need_system_stdlib_h
 #  include <stdio.h>
 #  include <unistd.h>
 # endif
index fb2a8f5a7b1a7b874c0b6eefe95eafb8b936589e..a184865ea6373354e719bf03842b0ad2bb039a5b 100644 (file)
@@ -1,5 +1,5 @@
 /* getopt_long and getopt_long_only entry points for GNU getopt.
-   Copyright (C) 1987-1994, 1996-1998, 2004, 2006, 2009-2012 Free Software
+   Copyright (C) 1987-1994, 1996-1998, 2004, 2006, 2009-2014 Free Software
    Foundation, Inc.
    This file is part of the GNU C Library.
 
index 2da020c995a12d2437d7aab417a126a56170381c..24ed672e2eb72e560df84b526a80b8709950013d 100644 (file)
@@ -1,5 +1,5 @@
 /* Internal declarations for getopt.
-   Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2012 Free Software
+   Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2014 Free Software
    Foundation, Inc.
    This file is part of the GNU C Library.
 
index 75875cdb0fb5cfa42fcbdf7df52828c1748a8d63..c7d6fd345ceac949162abe03a8727f0935948eee 100644 (file)
@@ -1,5 +1,5 @@
 /* Convenience header for conditional use of GNU <libintl.h>.
-   Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2012 Free Software
+   Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -183,9 +183,12 @@ npgettext_aux (const char *domain,
 
 #include <string.h>
 
-#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS \
-  (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \
-   /* || __STDC_VERSION__ >= 199901L */ )
+#if (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \
+     /* || __STDC_VERSION__ >= 199901L */ )
+# define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1
+#else
+# define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0
+#endif
 
 #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
 #include <stdlib.h>
index 5d35060950a32e51ffd8fd5e333a3b14be2d49b4..8b2058e8c87fc4b6bcb82039b04c9293d8b64fe0 100644 (file)
@@ -1,6 +1,6 @@
 /* Provide gettimeofday for systems that don't have it or for which it's broken.
 
-   Copyright (C) 2001-2003, 2005-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2005-2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
diff --git a/lib/glthread/lock.c b/lib/glthread/lock.c
new file mode 100644 (file)
index 0000000..33c15a0
--- /dev/null
@@ -0,0 +1,1057 @@
+/* Locking in multithreaded situations.
+   Copyright (C) 2005-2014 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2005.
+   Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-solaris.h,
+   gthr-win32.h.  */
+
+#include <config.h>
+
+#include "glthread/lock.h"
+
+/* ========================================================================= */
+
+#if USE_POSIX_THREADS
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+# if HAVE_PTHREAD_RWLOCK
+
+#  if !defined PTHREAD_RWLOCK_INITIALIZER
+
+int
+glthread_rwlock_init_multithreaded (gl_rwlock_t *lock)
+{
+  int err;
+
+  err = pthread_rwlock_init (&lock->rwlock, NULL);
+  if (err != 0)
+    return err;
+  lock->initialized = 1;
+  return 0;
+}
+
+int
+glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock)
+{
+  if (!lock->initialized)
+    {
+      int err;
+
+      err = pthread_mutex_lock (&lock->guard);
+      if (err != 0)
+        return err;
+      if (!lock->initialized)
+        {
+          err = glthread_rwlock_init_multithreaded (lock);
+          if (err != 0)
+            {
+              pthread_mutex_unlock (&lock->guard);
+              return err;
+            }
+        }
+      err = pthread_mutex_unlock (&lock->guard);
+      if (err != 0)
+        return err;
+    }
+  return pthread_rwlock_rdlock (&lock->rwlock);
+}
+
+int
+glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock)
+{
+  if (!lock->initialized)
+    {
+      int err;
+
+      err = pthread_mutex_lock (&lock->guard);
+      if (err != 0)
+        return err;
+      if (!lock->initialized)
+        {
+          err = glthread_rwlock_init_multithreaded (lock);
+          if (err != 0)
+            {
+              pthread_mutex_unlock (&lock->guard);
+              return err;
+            }
+        }
+      err = pthread_mutex_unlock (&lock->guard);
+      if (err != 0)
+        return err;
+    }
+  return pthread_rwlock_wrlock (&lock->rwlock);
+}
+
+int
+glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock)
+{
+  if (!lock->initialized)
+    return EINVAL;
+  return pthread_rwlock_unlock (&lock->rwlock);
+}
+
+int
+glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock)
+{
+  int err;
+
+  if (!lock->initialized)
+    return EINVAL;
+  err = pthread_rwlock_destroy (&lock->rwlock);
+  if (err != 0)
+    return err;
+  lock->initialized = 0;
+  return 0;
+}
+
+#  endif
+
+# else
+
+int
+glthread_rwlock_init_multithreaded (gl_rwlock_t *lock)
+{
+  int err;
+
+  err = pthread_mutex_init (&lock->lock, NULL);
+  if (err != 0)
+    return err;
+  err = pthread_cond_init (&lock->waiting_readers, NULL);
+  if (err != 0)
+    return err;
+  err = pthread_cond_init (&lock->waiting_writers, NULL);
+  if (err != 0)
+    return err;
+  lock->waiting_writers_count = 0;
+  lock->runcount = 0;
+  return 0;
+}
+
+int
+glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock)
+{
+  int err;
+
+  err = pthread_mutex_lock (&lock->lock);
+  if (err != 0)
+    return err;
+  /* Test whether only readers are currently running, and whether the runcount
+     field will not overflow.  */
+  /* POSIX says: "It is implementation-defined whether the calling thread
+     acquires the lock when a writer does not hold the lock and there are
+     writers blocked on the lock."  Let's say, no: give the writers a higher
+     priority.  */
+  while (!(lock->runcount + 1 > 0 && lock->waiting_writers_count == 0))
+    {
+      /* This thread has to wait for a while.  Enqueue it among the
+         waiting_readers.  */
+      err = pthread_cond_wait (&lock->waiting_readers, &lock->lock);
+      if (err != 0)
+        {
+          pthread_mutex_unlock (&lock->lock);
+          return err;
+        }
+    }
+  lock->runcount++;
+  return pthread_mutex_unlock (&lock->lock);
+}
+
+int
+glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock)
+{
+  int err;
+
+  err = pthread_mutex_lock (&lock->lock);
+  if (err != 0)
+    return err;
+  /* Test whether no readers or writers are currently running.  */
+  while (!(lock->runcount == 0))
+    {
+      /* This thread has to wait for a while.  Enqueue it among the
+         waiting_writers.  */
+      lock->waiting_writers_count++;
+      err = pthread_cond_wait (&lock->waiting_writers, &lock->lock);
+      if (err != 0)
+        {
+          lock->waiting_writers_count--;
+          pthread_mutex_unlock (&lock->lock);
+          return err;
+        }
+      lock->waiting_writers_count--;
+    }
+  lock->runcount--; /* runcount becomes -1 */
+  return pthread_mutex_unlock (&lock->lock);
+}
+
+int
+glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock)
+{
+  int err;
+
+  err = pthread_mutex_lock (&lock->lock);
+  if (err != 0)
+    return err;
+  if (lock->runcount < 0)
+    {
+      /* Drop a writer lock.  */
+      if (!(lock->runcount == -1))
+        {
+          pthread_mutex_unlock (&lock->lock);
+          return EINVAL;
+        }
+      lock->runcount = 0;
+    }
+  else
+    {
+      /* Drop a reader lock.  */
+      if (!(lock->runcount > 0))
+        {
+          pthread_mutex_unlock (&lock->lock);
+          return EINVAL;
+        }
+      lock->runcount--;
+    }
+  if (lock->runcount == 0)
+    {
+      /* POSIX recommends that "write locks shall take precedence over read
+         locks", to avoid "writer starvation".  */
+      if (lock->waiting_writers_count > 0)
+        {
+          /* Wake up one of the waiting writers.  */
+          err = pthread_cond_signal (&lock->waiting_writers);
+          if (err != 0)
+            {
+              pthread_mutex_unlock (&lock->lock);
+              return err;
+            }
+        }
+      else
+        {
+          /* Wake up all waiting readers.  */
+          err = pthread_cond_broadcast (&lock->waiting_readers);
+          if (err != 0)
+            {
+              pthread_mutex_unlock (&lock->lock);
+              return err;
+            }
+        }
+    }
+  return pthread_mutex_unlock (&lock->lock);
+}
+
+int
+glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock)
+{
+  int err;
+
+  err = pthread_mutex_destroy (&lock->lock);
+  if (err != 0)
+    return err;
+  err = pthread_cond_destroy (&lock->waiting_readers);
+  if (err != 0)
+    return err;
+  err = pthread_cond_destroy (&lock->waiting_writers);
+  if (err != 0)
+    return err;
+  return 0;
+}
+
+# endif
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+# if HAVE_PTHREAD_MUTEX_RECURSIVE
+
+#  if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
+
+int
+glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock)
+{
+  pthread_mutexattr_t attributes;
+  int err;
+
+  err = pthread_mutexattr_init (&attributes);
+  if (err != 0)
+    return err;
+  err = pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE);
+  if (err != 0)
+    {
+      pthread_mutexattr_destroy (&attributes);
+      return err;
+    }
+  err = pthread_mutex_init (lock, &attributes);
+  if (err != 0)
+    {
+      pthread_mutexattr_destroy (&attributes);
+      return err;
+    }
+  err = pthread_mutexattr_destroy (&attributes);
+  if (err != 0)
+    return err;
+  return 0;
+}
+
+#  else
+
+int
+glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock)
+{
+  pthread_mutexattr_t attributes;
+  int err;
+
+  err = pthread_mutexattr_init (&attributes);
+  if (err != 0)
+    return err;
+  err = pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE);
+  if (err != 0)
+    {
+      pthread_mutexattr_destroy (&attributes);
+      return err;
+    }
+  err = pthread_mutex_init (&lock->recmutex, &attributes);
+  if (err != 0)
+    {
+      pthread_mutexattr_destroy (&attributes);
+      return err;
+    }
+  err = pthread_mutexattr_destroy (&attributes);
+  if (err != 0)
+    return err;
+  lock->initialized = 1;
+  return 0;
+}
+
+int
+glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock)
+{
+  if (!lock->initialized)
+    {
+      int err;
+
+      err = pthread_mutex_lock (&lock->guard);
+      if (err != 0)
+        return err;
+      if (!lock->initialized)
+        {
+          err = glthread_recursive_lock_init_multithreaded (lock);
+          if (err != 0)
+            {
+              pthread_mutex_unlock (&lock->guard);
+              return err;
+            }
+        }
+      err = pthread_mutex_unlock (&lock->guard);
+      if (err != 0)
+        return err;
+    }
+  return pthread_mutex_lock (&lock->recmutex);
+}
+
+int
+glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock)
+{
+  if (!lock->initialized)
+    return EINVAL;
+  return pthread_mutex_unlock (&lock->recmutex);
+}
+
+int
+glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock)
+{
+  int err;
+
+  if (!lock->initialized)
+    return EINVAL;
+  err = pthread_mutex_destroy (&lock->recmutex);
+  if (err != 0)
+    return err;
+  lock->initialized = 0;
+  return 0;
+}
+
+#  endif
+
+# else
+
+int
+glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock)
+{
+  int err;
+
+  err = pthread_mutex_init (&lock->mutex, NULL);
+  if (err != 0)
+    return err;
+  lock->owner = (pthread_t) 0;
+  lock->depth = 0;
+  return 0;
+}
+
+int
+glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock)
+{
+  pthread_t self = pthread_self ();
+  if (lock->owner != self)
+    {
+      int err;
+
+      err = pthread_mutex_lock (&lock->mutex);
+      if (err != 0)
+        return err;
+      lock->owner = self;
+    }
+  if (++(lock->depth) == 0) /* wraparound? */
+    {
+      lock->depth--;
+      return EAGAIN;
+    }
+  return 0;
+}
+
+int
+glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock)
+{
+  if (lock->owner != pthread_self ())
+    return EPERM;
+  if (lock->depth == 0)
+    return EINVAL;
+  if (--(lock->depth) == 0)
+    {
+      lock->owner = (pthread_t) 0;
+      return pthread_mutex_unlock (&lock->mutex);
+    }
+  else
+    return 0;
+}
+
+int
+glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock)
+{
+  if (lock->owner != (pthread_t) 0)
+    return EBUSY;
+  return pthread_mutex_destroy (&lock->mutex);
+}
+
+# endif
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+static const pthread_once_t fresh_once = PTHREAD_ONCE_INIT;
+
+int
+glthread_once_singlethreaded (pthread_once_t *once_control)
+{
+  /* We don't know whether pthread_once_t is an integer type, a floating-point
+     type, a pointer type, or a structure type.  */
+  char *firstbyte = (char *)once_control;
+  if (*firstbyte == *(const char *)&fresh_once)
+    {
+      /* First time use of once_control.  Invert the first byte.  */
+      *firstbyte = ~ *(const char *)&fresh_once;
+      return 1;
+    }
+  else
+    return 0;
+}
+
+#endif
+
+/* ========================================================================= */
+
+#if USE_PTH_THREADS
+
+/* Use the GNU Pth threads library.  */
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+static void
+glthread_once_call (void *arg)
+{
+  void (**gl_once_temp_addr) (void) = (void (**) (void)) arg;
+  void (*initfunction) (void) = *gl_once_temp_addr;
+  initfunction ();
+}
+
+int
+glthread_once_multithreaded (pth_once_t *once_control, void (*initfunction) (void))
+{
+  void (*temp) (void) = initfunction;
+  return (!pth_once (once_control, glthread_once_call, &temp) ? errno : 0);
+}
+
+int
+glthread_once_singlethreaded (pth_once_t *once_control)
+{
+  /* We know that pth_once_t is an integer type.  */
+  if (*once_control == PTH_ONCE_INIT)
+    {
+      /* First time use of once_control.  Invert the marker.  */
+      *once_control = ~ PTH_ONCE_INIT;
+      return 1;
+    }
+  else
+    return 0;
+}
+
+#endif
+
+/* ========================================================================= */
+
+#if USE_SOLARIS_THREADS
+
+/* Use the old Solaris threads library.  */
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+int
+glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock)
+{
+  int err;
+
+  err = mutex_init (&lock->mutex, USYNC_THREAD, NULL);
+  if (err != 0)
+    return err;
+  lock->owner = (thread_t) 0;
+  lock->depth = 0;
+  return 0;
+}
+
+int
+glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock)
+{
+  thread_t self = thr_self ();
+  if (lock->owner != self)
+    {
+      int err;
+
+      err = mutex_lock (&lock->mutex);
+      if (err != 0)
+        return err;
+      lock->owner = self;
+    }
+  if (++(lock->depth) == 0) /* wraparound? */
+    {
+      lock->depth--;
+      return EAGAIN;
+    }
+  return 0;
+}
+
+int
+glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock)
+{
+  if (lock->owner != thr_self ())
+    return EPERM;
+  if (lock->depth == 0)
+    return EINVAL;
+  if (--(lock->depth) == 0)
+    {
+      lock->owner = (thread_t) 0;
+      return mutex_unlock (&lock->mutex);
+    }
+  else
+    return 0;
+}
+
+int
+glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock)
+{
+  if (lock->owner != (thread_t) 0)
+    return EBUSY;
+  return mutex_destroy (&lock->mutex);
+}
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+int
+glthread_once_multithreaded (gl_once_t *once_control, void (*initfunction) (void))
+{
+  if (!once_control->inited)
+    {
+      int err;
+
+      /* Use the mutex to guarantee that if another thread is already calling
+         the initfunction, this thread waits until it's finished.  */
+      err = mutex_lock (&once_control->mutex);
+      if (err != 0)
+        return err;
+      if (!once_control->inited)
+        {
+          once_control->inited = 1;
+          initfunction ();
+        }
+      return mutex_unlock (&once_control->mutex);
+    }
+  else
+    return 0;
+}
+
+int
+glthread_once_singlethreaded (gl_once_t *once_control)
+{
+  /* We know that gl_once_t contains an integer type.  */
+  if (!once_control->inited)
+    {
+      /* First time use of once_control.  Invert the marker.  */
+      once_control->inited = ~ 0;
+      return 1;
+    }
+  else
+    return 0;
+}
+
+#endif
+
+/* ========================================================================= */
+
+#if USE_WINDOWS_THREADS
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+void
+glthread_lock_init_func (gl_lock_t *lock)
+{
+  InitializeCriticalSection (&lock->lock);
+  lock->guard.done = 1;
+}
+
+int
+glthread_lock_lock_func (gl_lock_t *lock)
+{
+  if (!lock->guard.done)
+    {
+      if (InterlockedIncrement (&lock->guard.started) == 0)
+        /* This thread is the first one to need this lock.  Initialize it.  */
+        glthread_lock_init (lock);
+      else
+        /* Yield the CPU while waiting for another thread to finish
+           initializing this lock.  */
+        while (!lock->guard.done)
+          Sleep (0);
+    }
+  EnterCriticalSection (&lock->lock);
+  return 0;
+}
+
+int
+glthread_lock_unlock_func (gl_lock_t *lock)
+{
+  if (!lock->guard.done)
+    return EINVAL;
+  LeaveCriticalSection (&lock->lock);
+  return 0;
+}
+
+int
+glthread_lock_destroy_func (gl_lock_t *lock)
+{
+  if (!lock->guard.done)
+    return EINVAL;
+  DeleteCriticalSection (&lock->lock);
+  lock->guard.done = 0;
+  return 0;
+}
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+/* In this file, the waitqueues are implemented as circular arrays.  */
+#define gl_waitqueue_t gl_carray_waitqueue_t
+
+static void
+gl_waitqueue_init (gl_waitqueue_t *wq)
+{
+  wq->array = NULL;
+  wq->count = 0;
+  wq->alloc = 0;
+  wq->offset = 0;
+}
+
+/* Enqueues the current thread, represented by an event, in a wait queue.
+   Returns INVALID_HANDLE_VALUE if an allocation failure occurs.  */
+static HANDLE
+gl_waitqueue_add (gl_waitqueue_t *wq)
+{
+  HANDLE event;
+  unsigned int index;
+
+  if (wq->count == wq->alloc)
+    {
+      unsigned int new_alloc = 2 * wq->alloc + 1;
+      HANDLE *new_array =
+        (HANDLE *) realloc (wq->array, new_alloc * sizeof (HANDLE));
+      if (new_array == NULL)
+        /* No more memory.  */
+        return INVALID_HANDLE_VALUE;
+      /* Now is a good opportunity to rotate the array so that its contents
+         starts at offset 0.  */
+      if (wq->offset > 0)
+        {
+          unsigned int old_count = wq->count;
+          unsigned int old_alloc = wq->alloc;
+          unsigned int old_offset = wq->offset;
+          unsigned int i;
+          if (old_offset + old_count > old_alloc)
+            {
+              unsigned int limit = old_offset + old_count - old_alloc;
+              for (i = 0; i < limit; i++)
+                new_array[old_alloc + i] = new_array[i];
+            }
+          for (i = 0; i < old_count; i++)
+            new_array[i] = new_array[old_offset + i];
+          wq->offset = 0;
+        }
+      wq->array = new_array;
+      wq->alloc = new_alloc;
+    }
+  /* Whether the created event is a manual-reset one or an auto-reset one,
+     does not matter, since we will wait on it only once.  */
+  event = CreateEvent (NULL, TRUE, FALSE, NULL);
+  if (event == INVALID_HANDLE_VALUE)
+    /* No way to allocate an event.  */
+    return INVALID_HANDLE_VALUE;
+  index = wq->offset + wq->count;
+  if (index >= wq->alloc)
+    index -= wq->alloc;
+  wq->array[index] = event;
+  wq->count++;
+  return event;
+}
+
+/* Notifies the first thread from a wait queue and dequeues it.  */
+static void
+gl_waitqueue_notify_first (gl_waitqueue_t *wq)
+{
+  SetEvent (wq->array[wq->offset + 0]);
+  wq->offset++;
+  wq->count--;
+  if (wq->count == 0 || wq->offset == wq->alloc)
+    wq->offset = 0;
+}
+
+/* Notifies all threads from a wait queue and dequeues them all.  */
+static void
+gl_waitqueue_notify_all (gl_waitqueue_t *wq)
+{
+  unsigned int i;
+
+  for (i = 0; i < wq->count; i++)
+    {
+      unsigned int index = wq->offset + i;
+      if (index >= wq->alloc)
+        index -= wq->alloc;
+      SetEvent (wq->array[index]);
+    }
+  wq->count = 0;
+  wq->offset = 0;
+}
+
+void
+glthread_rwlock_init_func (gl_rwlock_t *lock)
+{
+  InitializeCriticalSection (&lock->lock);
+  gl_waitqueue_init (&lock->waiting_readers);
+  gl_waitqueue_init (&lock->waiting_writers);
+  lock->runcount = 0;
+  lock->guard.done = 1;
+}
+
+int
+glthread_rwlock_rdlock_func (gl_rwlock_t *lock)
+{
+  if (!lock->guard.done)
+    {
+      if (InterlockedIncrement (&lock->guard.started) == 0)
+        /* This thread is the first one to need this lock.  Initialize it.  */
+        glthread_rwlock_init (lock);
+      else
+        /* Yield the CPU while waiting for another thread to finish
+           initializing this lock.  */
+        while (!lock->guard.done)
+          Sleep (0);
+    }
+  EnterCriticalSection (&lock->lock);
+  /* Test whether only readers are currently running, and whether the runcount
+     field will not overflow.  */
+  if (!(lock->runcount + 1 > 0))
+    {
+      /* This thread has to wait for a while.  Enqueue it among the
+         waiting_readers.  */
+      HANDLE event = gl_waitqueue_add (&lock->waiting_readers);
+      if (event != INVALID_HANDLE_VALUE)
+        {
+          DWORD result;
+          LeaveCriticalSection (&lock->lock);
+          /* Wait until another thread signals this event.  */
+          result = WaitForSingleObject (event, INFINITE);
+          if (result == WAIT_FAILED || result == WAIT_TIMEOUT)
+            abort ();
+          CloseHandle (event);
+          /* The thread which signalled the event already did the bookkeeping:
+             removed us from the waiting_readers, incremented lock->runcount.  */
+          if (!(lock->runcount > 0))
+            abort ();
+          return 0;
+        }
+      else
+        {
+          /* Allocation failure.  Weird.  */
+          do
+            {
+              LeaveCriticalSection (&lock->lock);
+              Sleep (1);
+              EnterCriticalSection (&lock->lock);
+            }
+          while (!(lock->runcount + 1 > 0));
+        }
+    }
+  lock->runcount++;
+  LeaveCriticalSection (&lock->lock);
+  return 0;
+}
+
+int
+glthread_rwlock_wrlock_func (gl_rwlock_t *lock)
+{
+  if (!lock->guard.done)
+    {
+      if (InterlockedIncrement (&lock->guard.started) == 0)
+        /* This thread is the first one to need this lock.  Initialize it.  */
+        glthread_rwlock_init (lock);
+      else
+        /* Yield the CPU while waiting for another thread to finish
+           initializing this lock.  */
+        while (!lock->guard.done)
+          Sleep (0);
+    }
+  EnterCriticalSection (&lock->lock);
+  /* Test whether no readers or writers are currently running.  */
+  if (!(lock->runcount == 0))
+    {
+      /* This thread has to wait for a while.  Enqueue it among the
+         waiting_writers.  */
+      HANDLE event = gl_waitqueue_add (&lock->waiting_writers);
+      if (event != INVALID_HANDLE_VALUE)
+        {
+          DWORD result;
+          LeaveCriticalSection (&lock->lock);
+          /* Wait until another thread signals this event.  */
+          result = WaitForSingleObject (event, INFINITE);
+          if (result == WAIT_FAILED || result == WAIT_TIMEOUT)
+            abort ();
+          CloseHandle (event);
+          /* The thread which signalled the event already did the bookkeeping:
+             removed us from the waiting_writers, set lock->runcount = -1.  */
+          if (!(lock->runcount == -1))
+            abort ();
+          return 0;
+        }
+      else
+        {
+          /* Allocation failure.  Weird.  */
+          do
+            {
+              LeaveCriticalSection (&lock->lock);
+              Sleep (1);
+              EnterCriticalSection (&lock->lock);
+            }
+          while (!(lock->runcount == 0));
+        }
+    }
+  lock->runcount--; /* runcount becomes -1 */
+  LeaveCriticalSection (&lock->lock);
+  return 0;
+}
+
+int
+glthread_rwlock_unlock_func (gl_rwlock_t *lock)
+{
+  if (!lock->guard.done)
+    return EINVAL;
+  EnterCriticalSection (&lock->lock);
+  if (lock->runcount < 0)
+    {
+      /* Drop a writer lock.  */
+      if (!(lock->runcount == -1))
+        abort ();
+      lock->runcount = 0;
+    }
+  else
+    {
+      /* Drop a reader lock.  */
+      if (!(lock->runcount > 0))
+        {
+          LeaveCriticalSection (&lock->lock);
+          return EPERM;
+        }
+      lock->runcount--;
+    }
+  if (lock->runcount == 0)
+    {
+      /* POSIX recommends that "write locks shall take precedence over read
+         locks", to avoid "writer starvation".  */
+      if (lock->waiting_writers.count > 0)
+        {
+          /* Wake up one of the waiting writers.  */
+          lock->runcount--;
+          gl_waitqueue_notify_first (&lock->waiting_writers);
+        }
+      else
+        {
+          /* Wake up all waiting readers.  */
+          lock->runcount += lock->waiting_readers.count;
+          gl_waitqueue_notify_all (&lock->waiting_readers);
+        }
+    }
+  LeaveCriticalSection (&lock->lock);
+  return 0;
+}
+
+int
+glthread_rwlock_destroy_func (gl_rwlock_t *lock)
+{
+  if (!lock->guard.done)
+    return EINVAL;
+  if (lock->runcount != 0)
+    return EBUSY;
+  DeleteCriticalSection (&lock->lock);
+  if (lock->waiting_readers.array != NULL)
+    free (lock->waiting_readers.array);
+  if (lock->waiting_writers.array != NULL)
+    free (lock->waiting_writers.array);
+  lock->guard.done = 0;
+  return 0;
+}
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+void
+glthread_recursive_lock_init_func (gl_recursive_lock_t *lock)
+{
+  lock->owner = 0;
+  lock->depth = 0;
+  InitializeCriticalSection (&lock->lock);
+  lock->guard.done = 1;
+}
+
+int
+glthread_recursive_lock_lock_func (gl_recursive_lock_t *lock)
+{
+  if (!lock->guard.done)
+    {
+      if (InterlockedIncrement (&lock->guard.started) == 0)
+        /* This thread is the first one to need this lock.  Initialize it.  */
+        glthread_recursive_lock_init (lock);
+      else
+        /* Yield the CPU while waiting for another thread to finish
+           initializing this lock.  */
+        while (!lock->guard.done)
+          Sleep (0);
+    }
+  {
+    DWORD self = GetCurrentThreadId ();
+    if (lock->owner != self)
+      {
+        EnterCriticalSection (&lock->lock);
+        lock->owner = self;
+      }
+    if (++(lock->depth) == 0) /* wraparound? */
+      {
+        lock->depth--;
+        return EAGAIN;
+      }
+  }
+  return 0;
+}
+
+int
+glthread_recursive_lock_unlock_func (gl_recursive_lock_t *lock)
+{
+  if (lock->owner != GetCurrentThreadId ())
+    return EPERM;
+  if (lock->depth == 0)
+    return EINVAL;
+  if (--(lock->depth) == 0)
+    {
+      lock->owner = 0;
+      LeaveCriticalSection (&lock->lock);
+    }
+  return 0;
+}
+
+int
+glthread_recursive_lock_destroy_func (gl_recursive_lock_t *lock)
+{
+  if (lock->owner != 0)
+    return EBUSY;
+  DeleteCriticalSection (&lock->lock);
+  lock->guard.done = 0;
+  return 0;
+}
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+void
+glthread_once_func (gl_once_t *once_control, void (*initfunction) (void))
+{
+  if (once_control->inited <= 0)
+    {
+      if (InterlockedIncrement (&once_control->started) == 0)
+        {
+          /* This thread is the first one to come to this once_control.  */
+          InitializeCriticalSection (&once_control->lock);
+          EnterCriticalSection (&once_control->lock);
+          once_control->inited = 0;
+          initfunction ();
+          once_control->inited = 1;
+          LeaveCriticalSection (&once_control->lock);
+        }
+      else
+        {
+          /* Undo last operation.  */
+          InterlockedDecrement (&once_control->started);
+          /* Some other thread has already started the initialization.
+             Yield the CPU while waiting for the other thread to finish
+             initializing and taking the lock.  */
+          while (once_control->inited < 0)
+            Sleep (0);
+          if (once_control->inited <= 0)
+            {
+              /* Take the lock.  This blocks until the other thread has
+                 finished calling the initfunction.  */
+              EnterCriticalSection (&once_control->lock);
+              LeaveCriticalSection (&once_control->lock);
+              if (!(once_control->inited > 0))
+                abort ();
+            }
+        }
+    }
+}
+
+#endif
+
+/* ========================================================================= */
diff --git a/lib/glthread/lock.h b/lib/glthread/lock.h
new file mode 100644 (file)
index 0000000..36096c4
--- /dev/null
@@ -0,0 +1,927 @@
+/* Locking in multithreaded situations.
+   Copyright (C) 2005-2014 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2005.
+   Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-solaris.h,
+   gthr-win32.h.  */
+
+/* This file contains locking primitives for use with a given thread library.
+   It does not contain primitives for creating threads or for other
+   synchronization primitives.
+
+   Normal (non-recursive) locks:
+     Type:                gl_lock_t
+     Declaration:         gl_lock_define(extern, name)
+     Initializer:         gl_lock_define_initialized(, name)
+     Initialization:      gl_lock_init (name);
+     Taking the lock:     gl_lock_lock (name);
+     Releasing the lock:  gl_lock_unlock (name);
+     De-initialization:   gl_lock_destroy (name);
+   Equivalent functions with control of error handling:
+     Initialization:      err = glthread_lock_init (&name);
+     Taking the lock:     err = glthread_lock_lock (&name);
+     Releasing the lock:  err = glthread_lock_unlock (&name);
+     De-initialization:   err = glthread_lock_destroy (&name);
+
+   Read-Write (non-recursive) locks:
+     Type:                gl_rwlock_t
+     Declaration:         gl_rwlock_define(extern, name)
+     Initializer:         gl_rwlock_define_initialized(, name)
+     Initialization:      gl_rwlock_init (name);
+     Taking the lock:     gl_rwlock_rdlock (name);
+                          gl_rwlock_wrlock (name);
+     Releasing the lock:  gl_rwlock_unlock (name);
+     De-initialization:   gl_rwlock_destroy (name);
+   Equivalent functions with control of error handling:
+     Initialization:      err = glthread_rwlock_init (&name);
+     Taking the lock:     err = glthread_rwlock_rdlock (&name);
+                          err = glthread_rwlock_wrlock (&name);
+     Releasing the lock:  err = glthread_rwlock_unlock (&name);
+     De-initialization:   err = glthread_rwlock_destroy (&name);
+
+   Recursive locks:
+     Type:                gl_recursive_lock_t
+     Declaration:         gl_recursive_lock_define(extern, name)
+     Initializer:         gl_recursive_lock_define_initialized(, name)
+     Initialization:      gl_recursive_lock_init (name);
+     Taking the lock:     gl_recursive_lock_lock (name);
+     Releasing the lock:  gl_recursive_lock_unlock (name);
+     De-initialization:   gl_recursive_lock_destroy (name);
+   Equivalent functions with control of error handling:
+     Initialization:      err = glthread_recursive_lock_init (&name);
+     Taking the lock:     err = glthread_recursive_lock_lock (&name);
+     Releasing the lock:  err = glthread_recursive_lock_unlock (&name);
+     De-initialization:   err = glthread_recursive_lock_destroy (&name);
+
+  Once-only execution:
+     Type:                gl_once_t
+     Initializer:         gl_once_define(extern, name)
+     Execution:           gl_once (name, initfunction);
+   Equivalent functions with control of error handling:
+     Execution:           err = glthread_once (&name, initfunction);
+*/
+
+
+#ifndef _LOCK_H
+#define _LOCK_H
+
+#include <errno.h>
+#include <stdlib.h>
+
+/* ========================================================================= */
+
+#if USE_POSIX_THREADS
+
+/* Use the POSIX threads library.  */
+
+# include <pthread.h>
+
+# ifdef __cplusplus
+extern "C" {
+# endif
+
+# if PTHREAD_IN_USE_DETECTION_HARD
+
+/* The pthread_in_use() detection needs to be done at runtime.  */
+#  define pthread_in_use() \
+     glthread_in_use ()
+extern int glthread_in_use (void);
+
+# endif
+
+# if USE_POSIX_THREADS_WEAK
+
+/* Use weak references to the POSIX threads library.  */
+
+/* Weak references avoid dragging in external libraries if the other parts
+   of the program don't use them.  Here we use them, because we don't want
+   every program that uses libintl to depend on libpthread.  This assumes
+   that libpthread would not be loaded after libintl; i.e. if libintl is
+   loaded first, by an executable that does not depend on libpthread, and
+   then a module is dynamically loaded that depends on libpthread, libintl
+   will not be multithread-safe.  */
+
+/* The way to test at runtime whether libpthread is present is to test
+   whether a function pointer's value, such as &pthread_mutex_init, is
+   non-NULL.  However, some versions of GCC have a bug through which, in
+   PIC mode, &foo != NULL always evaluates to true if there is a direct
+   call to foo(...) in the same function.  To avoid this, we test the
+   address of a function in libpthread that we don't use.  */
+
+#  pragma weak pthread_mutex_init
+#  pragma weak pthread_mutex_lock
+#  pragma weak pthread_mutex_unlock
+#  pragma weak pthread_mutex_destroy
+#  pragma weak pthread_rwlock_init
+#  pragma weak pthread_rwlock_rdlock
+#  pragma weak pthread_rwlock_wrlock
+#  pragma weak pthread_rwlock_unlock
+#  pragma weak pthread_rwlock_destroy
+#  pragma weak pthread_once
+#  pragma weak pthread_cond_init
+#  pragma weak pthread_cond_wait
+#  pragma weak pthread_cond_signal
+#  pragma weak pthread_cond_broadcast
+#  pragma weak pthread_cond_destroy
+#  pragma weak pthread_mutexattr_init
+#  pragma weak pthread_mutexattr_settype
+#  pragma weak pthread_mutexattr_destroy
+#  ifndef pthread_self
+#   pragma weak pthread_self
+#  endif
+
+#  if !PTHREAD_IN_USE_DETECTION_HARD
+#   pragma weak pthread_cancel
+#   define pthread_in_use() (pthread_cancel != NULL)
+#  endif
+
+# else
+
+#  if !PTHREAD_IN_USE_DETECTION_HARD
+#   define pthread_in_use() 1
+#  endif
+
+# endif
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+typedef pthread_mutex_t gl_lock_t;
+# define gl_lock_define(STORAGECLASS, NAME) \
+    STORAGECLASS pthread_mutex_t NAME;
+# define gl_lock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS pthread_mutex_t NAME = gl_lock_initializer;
+# define gl_lock_initializer \
+    PTHREAD_MUTEX_INITIALIZER
+# define glthread_lock_init(LOCK) \
+    (pthread_in_use () ? pthread_mutex_init (LOCK, NULL) : 0)
+# define glthread_lock_lock(LOCK) \
+    (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0)
+# define glthread_lock_unlock(LOCK) \
+    (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0)
+# define glthread_lock_destroy(LOCK) \
+    (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0)
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+# if HAVE_PTHREAD_RWLOCK
+
+#  ifdef PTHREAD_RWLOCK_INITIALIZER
+
+typedef pthread_rwlock_t gl_rwlock_t;
+#   define gl_rwlock_define(STORAGECLASS, NAME) \
+      STORAGECLASS pthread_rwlock_t NAME;
+#   define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
+      STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer;
+#   define gl_rwlock_initializer \
+      PTHREAD_RWLOCK_INITIALIZER
+#   define glthread_rwlock_init(LOCK) \
+      (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0)
+#   define glthread_rwlock_rdlock(LOCK) \
+      (pthread_in_use () ? pthread_rwlock_rdlock (LOCK) : 0)
+#   define glthread_rwlock_wrlock(LOCK) \
+      (pthread_in_use () ? pthread_rwlock_wrlock (LOCK) : 0)
+#   define glthread_rwlock_unlock(LOCK) \
+      (pthread_in_use () ? pthread_rwlock_unlock (LOCK) : 0)
+#   define glthread_rwlock_destroy(LOCK) \
+      (pthread_in_use () ? pthread_rwlock_destroy (LOCK) : 0)
+
+#  else
+
+typedef struct
+        {
+          int initialized;
+          pthread_mutex_t guard;   /* protects the initialization */
+          pthread_rwlock_t rwlock; /* read-write lock */
+        }
+        gl_rwlock_t;
+#   define gl_rwlock_define(STORAGECLASS, NAME) \
+      STORAGECLASS gl_rwlock_t NAME;
+#   define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
+      STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
+#   define gl_rwlock_initializer \
+      { 0, PTHREAD_MUTEX_INITIALIZER }
+#   define glthread_rwlock_init(LOCK) \
+      (pthread_in_use () ? glthread_rwlock_init_multithreaded (LOCK) : 0)
+#   define glthread_rwlock_rdlock(LOCK) \
+      (pthread_in_use () ? glthread_rwlock_rdlock_multithreaded (LOCK) : 0)
+#   define glthread_rwlock_wrlock(LOCK) \
+      (pthread_in_use () ? glthread_rwlock_wrlock_multithreaded (LOCK) : 0)
+#   define glthread_rwlock_unlock(LOCK) \
+      (pthread_in_use () ? glthread_rwlock_unlock_multithreaded (LOCK) : 0)
+#   define glthread_rwlock_destroy(LOCK) \
+      (pthread_in_use () ? glthread_rwlock_destroy_multithreaded (LOCK) : 0)
+extern int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock);
+extern int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock);
+extern int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock);
+extern int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock);
+extern int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock);
+
+#  endif
+
+# else
+
+typedef struct
+        {
+          pthread_mutex_t lock; /* protects the remaining fields */
+          pthread_cond_t waiting_readers; /* waiting readers */
+          pthread_cond_t waiting_writers; /* waiting writers */
+          unsigned int waiting_writers_count; /* number of waiting writers */
+          int runcount; /* number of readers running, or -1 when a writer runs */
+        }
+        gl_rwlock_t;
+# define gl_rwlock_define(STORAGECLASS, NAME) \
+    STORAGECLASS gl_rwlock_t NAME;
+# define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
+# define gl_rwlock_initializer \
+    { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, 0 }
+# define glthread_rwlock_init(LOCK) \
+    (pthread_in_use () ? glthread_rwlock_init_multithreaded (LOCK) : 0)
+# define glthread_rwlock_rdlock(LOCK) \
+    (pthread_in_use () ? glthread_rwlock_rdlock_multithreaded (LOCK) : 0)
+# define glthread_rwlock_wrlock(LOCK) \
+    (pthread_in_use () ? glthread_rwlock_wrlock_multithreaded (LOCK) : 0)
+# define glthread_rwlock_unlock(LOCK) \
+    (pthread_in_use () ? glthread_rwlock_unlock_multithreaded (LOCK) : 0)
+# define glthread_rwlock_destroy(LOCK) \
+    (pthread_in_use () ? glthread_rwlock_destroy_multithreaded (LOCK) : 0)
+extern int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock);
+extern int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock);
+extern int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock);
+extern int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock);
+extern int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock);
+
+# endif
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+# if HAVE_PTHREAD_MUTEX_RECURSIVE
+
+#  if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
+
+typedef pthread_mutex_t gl_recursive_lock_t;
+#   define gl_recursive_lock_define(STORAGECLASS, NAME) \
+      STORAGECLASS pthread_mutex_t NAME;
+#   define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
+      STORAGECLASS pthread_mutex_t NAME = gl_recursive_lock_initializer;
+#   ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER
+#    define gl_recursive_lock_initializer \
+       PTHREAD_RECURSIVE_MUTEX_INITIALIZER
+#   else
+#    define gl_recursive_lock_initializer \
+       PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
+#   endif
+#   define glthread_recursive_lock_init(LOCK) \
+      (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0)
+#   define glthread_recursive_lock_lock(LOCK) \
+      (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0)
+#   define glthread_recursive_lock_unlock(LOCK) \
+      (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0)
+#   define glthread_recursive_lock_destroy(LOCK) \
+      (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0)
+extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock);
+
+#  else
+
+typedef struct
+        {
+          pthread_mutex_t recmutex; /* recursive mutex */
+          pthread_mutex_t guard;    /* protects the initialization */
+          int initialized;
+        }
+        gl_recursive_lock_t;
+#   define gl_recursive_lock_define(STORAGECLASS, NAME) \
+      STORAGECLASS gl_recursive_lock_t NAME;
+#   define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
+      STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
+#   define gl_recursive_lock_initializer \
+      { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, 0 }
+#   define glthread_recursive_lock_init(LOCK) \
+      (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0)
+#   define glthread_recursive_lock_lock(LOCK) \
+      (pthread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0)
+#   define glthread_recursive_lock_unlock(LOCK) \
+      (pthread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0)
+#   define glthread_recursive_lock_destroy(LOCK) \
+      (pthread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0)
+extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock);
+
+#  endif
+
+# else
+
+/* Old versions of POSIX threads on Solaris did not have recursive locks.
+   We have to implement them ourselves.  */
+
+typedef struct
+        {
+          pthread_mutex_t mutex;
+          pthread_t owner;
+          unsigned long depth;
+        }
+        gl_recursive_lock_t;
+#  define gl_recursive_lock_define(STORAGECLASS, NAME) \
+     STORAGECLASS gl_recursive_lock_t NAME;
+#  define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
+     STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
+#  define gl_recursive_lock_initializer \
+     { PTHREAD_MUTEX_INITIALIZER, (pthread_t) 0, 0 }
+#  define glthread_recursive_lock_init(LOCK) \
+     (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0)
+#  define glthread_recursive_lock_lock(LOCK) \
+     (pthread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0)
+#  define glthread_recursive_lock_unlock(LOCK) \
+     (pthread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0)
+#  define glthread_recursive_lock_destroy(LOCK) \
+     (pthread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0)
+extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock);
+
+# endif
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+typedef pthread_once_t gl_once_t;
+# define gl_once_define(STORAGECLASS, NAME) \
+    STORAGECLASS pthread_once_t NAME = PTHREAD_ONCE_INIT;
+# define glthread_once(ONCE_CONTROL, INITFUNCTION) \
+    (pthread_in_use ()                                                         \
+     ? pthread_once (ONCE_CONTROL, INITFUNCTION)                               \
+     : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0))
+extern int glthread_once_singlethreaded (pthread_once_t *once_control);
+
+# ifdef __cplusplus
+}
+# endif
+
+#endif
+
+/* ========================================================================= */
+
+#if USE_PTH_THREADS
+
+/* Use the GNU Pth threads library.  */
+
+# include <pth.h>
+
+# ifdef __cplusplus
+extern "C" {
+# endif
+
+# if USE_PTH_THREADS_WEAK
+
+/* Use weak references to the GNU Pth threads library.  */
+
+#  pragma weak pth_mutex_init
+#  pragma weak pth_mutex_acquire
+#  pragma weak pth_mutex_release
+#  pragma weak pth_rwlock_init
+#  pragma weak pth_rwlock_acquire
+#  pragma weak pth_rwlock_release
+#  pragma weak pth_once
+
+#  pragma weak pth_cancel
+#  define pth_in_use() (pth_cancel != NULL)
+
+# else
+
+#  define pth_in_use() 1
+
+# endif
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+typedef pth_mutex_t gl_lock_t;
+# define gl_lock_define(STORAGECLASS, NAME) \
+    STORAGECLASS pth_mutex_t NAME;
+# define gl_lock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS pth_mutex_t NAME = gl_lock_initializer;
+# define gl_lock_initializer \
+    PTH_MUTEX_INIT
+# define glthread_lock_init(LOCK) \
+    (pth_in_use () && !pth_mutex_init (LOCK) ? errno : 0)
+# define glthread_lock_lock(LOCK) \
+    (pth_in_use () && !pth_mutex_acquire (LOCK, 0, NULL) ? errno : 0)
+# define glthread_lock_unlock(LOCK) \
+    (pth_in_use () && !pth_mutex_release (LOCK) ? errno : 0)
+# define glthread_lock_destroy(LOCK) \
+    ((void)(LOCK), 0)
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+typedef pth_rwlock_t gl_rwlock_t;
+#  define gl_rwlock_define(STORAGECLASS, NAME) \
+     STORAGECLASS pth_rwlock_t NAME;
+#  define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
+     STORAGECLASS pth_rwlock_t NAME = gl_rwlock_initializer;
+#  define gl_rwlock_initializer \
+     PTH_RWLOCK_INIT
+#  define glthread_rwlock_init(LOCK) \
+     (pth_in_use () && !pth_rwlock_init (LOCK) ? errno : 0)
+#  define glthread_rwlock_rdlock(LOCK) \
+     (pth_in_use () && !pth_rwlock_acquire (LOCK, PTH_RWLOCK_RD, 0, NULL) ? errno : 0)
+#  define glthread_rwlock_wrlock(LOCK) \
+     (pth_in_use () && !pth_rwlock_acquire (LOCK, PTH_RWLOCK_RW, 0, NULL) ? errno : 0)
+#  define glthread_rwlock_unlock(LOCK) \
+     (pth_in_use () && !pth_rwlock_release (LOCK) ? errno : 0)
+#  define glthread_rwlock_destroy(LOCK) \
+     ((void)(LOCK), 0)
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+/* In Pth, mutexes are recursive by default.  */
+typedef pth_mutex_t gl_recursive_lock_t;
+#  define gl_recursive_lock_define(STORAGECLASS, NAME) \
+     STORAGECLASS pth_mutex_t NAME;
+#  define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
+     STORAGECLASS pth_mutex_t NAME = gl_recursive_lock_initializer;
+#  define gl_recursive_lock_initializer \
+     PTH_MUTEX_INIT
+#  define glthread_recursive_lock_init(LOCK) \
+     (pth_in_use () && !pth_mutex_init (LOCK) ? errno : 0)
+#  define glthread_recursive_lock_lock(LOCK) \
+     (pth_in_use () && !pth_mutex_acquire (LOCK, 0, NULL) ? errno : 0)
+#  define glthread_recursive_lock_unlock(LOCK) \
+     (pth_in_use () && !pth_mutex_release (LOCK) ? errno : 0)
+#  define glthread_recursive_lock_destroy(LOCK) \
+     ((void)(LOCK), 0)
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+typedef pth_once_t gl_once_t;
+# define gl_once_define(STORAGECLASS, NAME) \
+    STORAGECLASS pth_once_t NAME = PTH_ONCE_INIT;
+# define glthread_once(ONCE_CONTROL, INITFUNCTION) \
+    (pth_in_use ()                                                             \
+     ? glthread_once_multithreaded (ONCE_CONTROL, INITFUNCTION)                \
+     : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0))
+extern int glthread_once_multithreaded (pth_once_t *once_control, void (*initfunction) (void));
+extern int glthread_once_singlethreaded (pth_once_t *once_control);
+
+# ifdef __cplusplus
+}
+# endif
+
+#endif
+
+/* ========================================================================= */
+
+#if USE_SOLARIS_THREADS
+
+/* Use the old Solaris threads library.  */
+
+# include <thread.h>
+# include <synch.h>
+
+# ifdef __cplusplus
+extern "C" {
+# endif
+
+# if USE_SOLARIS_THREADS_WEAK
+
+/* Use weak references to the old Solaris threads library.  */
+
+#  pragma weak mutex_init
+#  pragma weak mutex_lock
+#  pragma weak mutex_unlock
+#  pragma weak mutex_destroy
+#  pragma weak rwlock_init
+#  pragma weak rw_rdlock
+#  pragma weak rw_wrlock
+#  pragma weak rw_unlock
+#  pragma weak rwlock_destroy
+#  pragma weak thr_self
+
+#  pragma weak thr_suspend
+#  define thread_in_use() (thr_suspend != NULL)
+
+# else
+
+#  define thread_in_use() 1
+
+# endif
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+typedef mutex_t gl_lock_t;
+# define gl_lock_define(STORAGECLASS, NAME) \
+    STORAGECLASS mutex_t NAME;
+# define gl_lock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS mutex_t NAME = gl_lock_initializer;
+# define gl_lock_initializer \
+    DEFAULTMUTEX
+# define glthread_lock_init(LOCK) \
+    (thread_in_use () ? mutex_init (LOCK, USYNC_THREAD, NULL) : 0)
+# define glthread_lock_lock(LOCK) \
+    (thread_in_use () ? mutex_lock (LOCK) : 0)
+# define glthread_lock_unlock(LOCK) \
+    (thread_in_use () ? mutex_unlock (LOCK) : 0)
+# define glthread_lock_destroy(LOCK) \
+    (thread_in_use () ? mutex_destroy (LOCK) : 0)
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+typedef rwlock_t gl_rwlock_t;
+# define gl_rwlock_define(STORAGECLASS, NAME) \
+    STORAGECLASS rwlock_t NAME;
+# define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS rwlock_t NAME = gl_rwlock_initializer;
+# define gl_rwlock_initializer \
+    DEFAULTRWLOCK
+# define glthread_rwlock_init(LOCK) \
+    (thread_in_use () ? rwlock_init (LOCK, USYNC_THREAD, NULL) : 0)
+# define glthread_rwlock_rdlock(LOCK) \
+    (thread_in_use () ? rw_rdlock (LOCK) : 0)
+# define glthread_rwlock_wrlock(LOCK) \
+    (thread_in_use () ? rw_wrlock (LOCK) : 0)
+# define glthread_rwlock_unlock(LOCK) \
+    (thread_in_use () ? rw_unlock (LOCK) : 0)
+# define glthread_rwlock_destroy(LOCK) \
+    (thread_in_use () ? rwlock_destroy (LOCK) : 0)
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+/* Old Solaris threads did not have recursive locks.
+   We have to implement them ourselves.  */
+
+typedef struct
+        {
+          mutex_t mutex;
+          thread_t owner;
+          unsigned long depth;
+        }
+        gl_recursive_lock_t;
+# define gl_recursive_lock_define(STORAGECLASS, NAME) \
+    STORAGECLASS gl_recursive_lock_t NAME;
+# define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
+# define gl_recursive_lock_initializer \
+    { DEFAULTMUTEX, (thread_t) 0, 0 }
+# define glthread_recursive_lock_init(LOCK) \
+    (thread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0)
+# define glthread_recursive_lock_lock(LOCK) \
+    (thread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0)
+# define glthread_recursive_lock_unlock(LOCK) \
+    (thread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0)
+# define glthread_recursive_lock_destroy(LOCK) \
+    (thread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0)
+extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock);
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+typedef struct
+        {
+          volatile int inited;
+          mutex_t mutex;
+        }
+        gl_once_t;
+# define gl_once_define(STORAGECLASS, NAME) \
+    STORAGECLASS gl_once_t NAME = { 0, DEFAULTMUTEX };
+# define glthread_once(ONCE_CONTROL, INITFUNCTION) \
+    (thread_in_use ()                                                          \
+     ? glthread_once_multithreaded (ONCE_CONTROL, INITFUNCTION)                \
+     : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0))
+extern int glthread_once_multithreaded (gl_once_t *once_control, void (*initfunction) (void));
+extern int glthread_once_singlethreaded (gl_once_t *once_control);
+
+# ifdef __cplusplus
+}
+# endif
+
+#endif
+
+/* ========================================================================= */
+
+#if USE_WINDOWS_THREADS
+
+# define WIN32_LEAN_AND_MEAN  /* avoid including junk */
+# include <windows.h>
+
+# ifdef __cplusplus
+extern "C" {
+# endif
+
+/* We can use CRITICAL_SECTION directly, rather than the native Windows Event,
+   Mutex, Semaphore types, because
+     - we need only to synchronize inside a single process (address space),
+       not inter-process locking,
+     - we don't need to support trylock operations.  (TryEnterCriticalSection
+       does not work on Windows 95/98/ME.  Packages that need trylock usually
+       define their own mutex type.)  */
+
+/* There is no way to statically initialize a CRITICAL_SECTION.  It needs
+   to be done lazily, once only.  For this we need spinlocks.  */
+
+typedef struct { volatile int done; volatile long started; } gl_spinlock_t;
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+typedef struct
+        {
+          gl_spinlock_t guard; /* protects the initialization */
+          CRITICAL_SECTION lock;
+        }
+        gl_lock_t;
+# define gl_lock_define(STORAGECLASS, NAME) \
+    STORAGECLASS gl_lock_t NAME;
+# define gl_lock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS gl_lock_t NAME = gl_lock_initializer;
+# define gl_lock_initializer \
+    { { 0, -1 } }
+# define glthread_lock_init(LOCK) \
+    (glthread_lock_init_func (LOCK), 0)
+# define glthread_lock_lock(LOCK) \
+    glthread_lock_lock_func (LOCK)
+# define glthread_lock_unlock(LOCK) \
+    glthread_lock_unlock_func (LOCK)
+# define glthread_lock_destroy(LOCK) \
+    glthread_lock_destroy_func (LOCK)
+extern void glthread_lock_init_func (gl_lock_t *lock);
+extern int glthread_lock_lock_func (gl_lock_t *lock);
+extern int glthread_lock_unlock_func (gl_lock_t *lock);
+extern int glthread_lock_destroy_func (gl_lock_t *lock);
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+/* It is impossible to implement read-write locks using plain locks, without
+   introducing an extra thread dedicated to managing read-write locks.
+   Therefore here we need to use the low-level Event type.  */
+
+typedef struct
+        {
+          HANDLE *array; /* array of waiting threads, each represented by an event */
+          unsigned int count; /* number of waiting threads */
+          unsigned int alloc; /* length of allocated array */
+          unsigned int offset; /* index of first waiting thread in array */
+        }
+        gl_carray_waitqueue_t;
+typedef struct
+        {
+          gl_spinlock_t guard; /* protects the initialization */
+          CRITICAL_SECTION lock; /* protects the remaining fields */
+          gl_carray_waitqueue_t waiting_readers; /* waiting readers */
+          gl_carray_waitqueue_t waiting_writers; /* waiting writers */
+          int runcount; /* number of readers running, or -1 when a writer runs */
+        }
+        gl_rwlock_t;
+# define gl_rwlock_define(STORAGECLASS, NAME) \
+    STORAGECLASS gl_rwlock_t NAME;
+# define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
+# define gl_rwlock_initializer \
+    { { 0, -1 } }
+# define glthread_rwlock_init(LOCK) \
+    (glthread_rwlock_init_func (LOCK), 0)
+# define glthread_rwlock_rdlock(LOCK) \
+    glthread_rwlock_rdlock_func (LOCK)
+# define glthread_rwlock_wrlock(LOCK) \
+    glthread_rwlock_wrlock_func (LOCK)
+# define glthread_rwlock_unlock(LOCK) \
+    glthread_rwlock_unlock_func (LOCK)
+# define glthread_rwlock_destroy(LOCK) \
+    glthread_rwlock_destroy_func (LOCK)
+extern void glthread_rwlock_init_func (gl_rwlock_t *lock);
+extern int glthread_rwlock_rdlock_func (gl_rwlock_t *lock);
+extern int glthread_rwlock_wrlock_func (gl_rwlock_t *lock);
+extern int glthread_rwlock_unlock_func (gl_rwlock_t *lock);
+extern int glthread_rwlock_destroy_func (gl_rwlock_t *lock);
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+/* The native Windows documentation says that CRITICAL_SECTION already
+   implements a recursive lock.  But we need not rely on it: It's easy to
+   implement a recursive lock without this assumption.  */
+
+typedef struct
+        {
+          gl_spinlock_t guard; /* protects the initialization */
+          DWORD owner;
+          unsigned long depth;
+          CRITICAL_SECTION lock;
+        }
+        gl_recursive_lock_t;
+# define gl_recursive_lock_define(STORAGECLASS, NAME) \
+    STORAGECLASS gl_recursive_lock_t NAME;
+# define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
+    STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
+# define gl_recursive_lock_initializer \
+    { { 0, -1 }, 0, 0 }
+# define glthread_recursive_lock_init(LOCK) \
+    (glthread_recursive_lock_init_func (LOCK), 0)
+# define glthread_recursive_lock_lock(LOCK) \
+    glthread_recursive_lock_lock_func (LOCK)
+# define glthread_recursive_lock_unlock(LOCK) \
+    glthread_recursive_lock_unlock_func (LOCK)
+# define glthread_recursive_lock_destroy(LOCK) \
+    glthread_recursive_lock_destroy_func (LOCK)
+extern void glthread_recursive_lock_init_func (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_lock_func (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_unlock_func (gl_recursive_lock_t *lock);
+extern int glthread_recursive_lock_destroy_func (gl_recursive_lock_t *lock);
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+typedef struct
+        {
+          volatile int inited;
+          volatile long started;
+          CRITICAL_SECTION lock;
+        }
+        gl_once_t;
+# define gl_once_define(STORAGECLASS, NAME) \
+    STORAGECLASS gl_once_t NAME = { -1, -1 };
+# define glthread_once(ONCE_CONTROL, INITFUNCTION) \
+    (glthread_once_func (ONCE_CONTROL, INITFUNCTION), 0)
+extern void glthread_once_func (gl_once_t *once_control, void (*initfunction) (void));
+
+# ifdef __cplusplus
+}
+# endif
+
+#endif
+
+/* ========================================================================= */
+
+#if !(USE_POSIX_THREADS || USE_PTH_THREADS || USE_SOLARIS_THREADS || USE_WINDOWS_THREADS)
+
+/* Provide dummy implementation if threads are not supported.  */
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+typedef int gl_lock_t;
+# define gl_lock_define(STORAGECLASS, NAME)
+# define gl_lock_define_initialized(STORAGECLASS, NAME)
+# define glthread_lock_init(NAME) 0
+# define glthread_lock_lock(NAME) 0
+# define glthread_lock_unlock(NAME) 0
+# define glthread_lock_destroy(NAME) 0
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+typedef int gl_rwlock_t;
+# define gl_rwlock_define(STORAGECLASS, NAME)
+# define gl_rwlock_define_initialized(STORAGECLASS, NAME)
+# define glthread_rwlock_init(NAME) 0
+# define glthread_rwlock_rdlock(NAME) 0
+# define glthread_rwlock_wrlock(NAME) 0
+# define glthread_rwlock_unlock(NAME) 0
+# define glthread_rwlock_destroy(NAME) 0
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+typedef int gl_recursive_lock_t;
+# define gl_recursive_lock_define(STORAGECLASS, NAME)
+# define gl_recursive_lock_define_initialized(STORAGECLASS, NAME)
+# define glthread_recursive_lock_init(NAME) 0
+# define glthread_recursive_lock_lock(NAME) 0
+# define glthread_recursive_lock_unlock(NAME) 0
+# define glthread_recursive_lock_destroy(NAME) 0
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+typedef int gl_once_t;
+# define gl_once_define(STORAGECLASS, NAME) \
+    STORAGECLASS gl_once_t NAME = 0;
+# define glthread_once(ONCE_CONTROL, INITFUNCTION) \
+    (*(ONCE_CONTROL) == 0 ? (*(ONCE_CONTROL) = ~ 0, INITFUNCTION (), 0) : 0)
+
+#endif
+
+/* ========================================================================= */
+
+/* Macros with built-in error handling.  */
+
+/* -------------------------- gl_lock_t datatype -------------------------- */
+
+#define gl_lock_init(NAME) \
+   do                                  \
+     {                                 \
+       if (glthread_lock_init (&NAME)) \
+         abort ();                     \
+     }                                 \
+   while (0)
+#define gl_lock_lock(NAME) \
+   do                                  \
+     {                                 \
+       if (glthread_lock_lock (&NAME)) \
+         abort ();                     \
+     }                                 \
+   while (0)
+#define gl_lock_unlock(NAME) \
+   do                                    \
+     {                                   \
+       if (glthread_lock_unlock (&NAME)) \
+         abort ();                       \
+     }                                   \
+   while (0)
+#define gl_lock_destroy(NAME) \
+   do                                     \
+     {                                    \
+       if (glthread_lock_destroy (&NAME)) \
+         abort ();                        \
+     }                                    \
+   while (0)
+
+/* ------------------------- gl_rwlock_t datatype ------------------------- */
+
+#define gl_rwlock_init(NAME) \
+   do                                    \
+     {                                   \
+       if (glthread_rwlock_init (&NAME)) \
+         abort ();                       \
+     }                                   \
+   while (0)
+#define gl_rwlock_rdlock(NAME) \
+   do                                      \
+     {                                     \
+       if (glthread_rwlock_rdlock (&NAME)) \
+         abort ();                         \
+     }                                     \
+   while (0)
+#define gl_rwlock_wrlock(NAME) \
+   do                                      \
+     {                                     \
+       if (glthread_rwlock_wrlock (&NAME)) \
+         abort ();                         \
+     }                                     \
+   while (0)
+#define gl_rwlock_unlock(NAME) \
+   do                                      \
+     {                                     \
+       if (glthread_rwlock_unlock (&NAME)) \
+         abort ();                         \
+     }                                     \
+   while (0)
+#define gl_rwlock_destroy(NAME) \
+   do                                       \
+     {                                      \
+       if (glthread_rwlock_destroy (&NAME)) \
+         abort ();                          \
+     }                                      \
+   while (0)
+
+/* --------------------- gl_recursive_lock_t datatype --------------------- */
+
+#define gl_recursive_lock_init(NAME) \
+   do                                            \
+     {                                           \
+       if (glthread_recursive_lock_init (&NAME)) \
+         abort ();                               \
+     }                                           \
+   while (0)
+#define gl_recursive_lock_lock(NAME) \
+   do                                            \
+     {                                           \
+       if (glthread_recursive_lock_lock (&NAME)) \
+         abort ();                               \
+     }                                           \
+   while (0)
+#define gl_recursive_lock_unlock(NAME) \
+   do                                              \
+     {                                             \
+       if (glthread_recursive_lock_unlock (&NAME)) \
+         abort ();                                 \
+     }                                             \
+   while (0)
+#define gl_recursive_lock_destroy(NAME) \
+   do                                               \
+     {                                              \
+       if (glthread_recursive_lock_destroy (&NAME)) \
+         abort ();                                  \
+     }                                              \
+   while (0)
+
+/* -------------------------- gl_once_t datatype -------------------------- */
+
+#define gl_once(NAME, INITFUNCTION) \
+   do                                           \
+     {                                          \
+       if (glthread_once (&NAME, INITFUNCTION)) \
+         abort ();                              \
+     }                                          \
+   while (0)
+
+/* ========================================================================= */
+
+#endif /* _LOCK_H */
diff --git a/lib/glthread/threadlib.c b/lib/glthread/threadlib.c
new file mode 100644 (file)
index 0000000..26870de
--- /dev/null
@@ -0,0 +1,73 @@
+/* Multithreading primitives.
+   Copyright (C) 2005-2014 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2005.  */
+
+#include <config.h>
+
+/* ========================================================================= */
+
+#if USE_POSIX_THREADS
+
+/* Use the POSIX threads library.  */
+
+# include <pthread.h>
+# include <stdlib.h>
+
+# if PTHREAD_IN_USE_DETECTION_HARD
+
+/* The function to be executed by a dummy thread.  */
+static void *
+dummy_thread_func (void *arg)
+{
+  return arg;
+}
+
+int
+glthread_in_use (void)
+{
+  static int tested;
+  static int result; /* 1: linked with -lpthread, 0: only with libc */
+
+  if (!tested)
+    {
+      pthread_t thread;
+
+      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
+        /* Thread creation failed.  */
+        result = 0;
+      else
+        {
+          /* Thread creation works.  */
+          void *retval;
+          if (pthread_join (thread, &retval) != 0)
+            abort ();
+          result = 1;
+        }
+      tested = 1;
+    }
+  return result;
+}
+
+# endif
+
+#endif
+
+/* ========================================================================= */
+
+/* This declaration is solely to ensure that after preprocessing
+   this file is never empty.  */
+typedef int dummy;
index af469651dbe13b826ff6f0439cec6c95bc9dbf29..bbc592a6db1962dae96786f5df8d38ca9bfa87aa 100644 (file)
@@ -1,6 +1,6 @@
 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
 ## Process this file with automake to produce Makefile.in.
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -35,6 +35,16 @@ EXTRA_libgnulib_la_SOURCES =
 libgnulib_la_LDFLAGS = $(AM_LDFLAGS)
 libgnulib_la_LDFLAGS += -no-undefined
 libgnulib_la_LDFLAGS += $(LTLIBINTL)
+libgnulib_la_LDFLAGS += $(LTLIBTHREAD)
+
+## begin gnulib module absolute-header
+
+# Use this preprocessor expression to decide whether #include_next works.
+# Do not rely on a 'configure'-time test for this, since the expression
+# might appear in an installed header, which is used by some other compiler.
+HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
+
+## end   gnulib module absolute-header
 
 ## begin gnulib module alloca
 
@@ -168,7 +178,7 @@ EXTRA_DIST += closeout.h
 ## begin gnulib module configmake
 
 # Listed in the same order as the GNU makefile conventions, and
-# provided by autoconf 2.59c+.
+# provided by autoconf 2.59c+ or 2.70.
 # The Automake-defined pkg* macros are appended, in the order
 # listed in the Automake 1.10a+ documentation.
 configmake.h: Makefile
@@ -184,6 +194,7 @@ configmake.h: Makefile
          echo '#define SYSCONFDIR "$(sysconfdir)"'; \
          echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
          echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
+         echo '#define RUNSTATEDIR "$(runstatedir)"'; \
          echo '#define INCLUDEDIR "$(includedir)"'; \
          echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
          echo '#define DOCDIR "$(docdir)"'; \
@@ -201,7 +212,7 @@ configmake.h: Makefile
          echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
          echo '#define PKGLIBDIR "$(pkglibdir)"'; \
          echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
-       } | sed '/""/d' > $@-t
+       } | sed '/""/d' > $@-t && \
        mv -f $@-t $@
 
 BUILT_SOURCES += configmake.h
@@ -436,7 +447,7 @@ EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
 
 distclean-local: clean-GNUmakefile
 clean-GNUmakefile:
-       test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
+       test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
 
 EXTRA_DIST += $(top_srcdir)/GNUmakefile
 
@@ -449,6 +460,13 @@ EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
 
 ## end   gnulib module gnupload
 
+## begin gnulib module havelib
+
+
+EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
+
+## end   gnulib module havelib
+
 ## begin gnulib module intprops
 
 
@@ -484,6 +502,7 @@ inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_U
              -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
              -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
              -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
+             -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
              -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
              -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
              -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
@@ -607,6 +626,56 @@ EXTRA_DIST += config.charset ref-add.sin ref-del.sin
 
 ## end   gnulib module localcharset
 
+## begin gnulib module locale
+
+BUILT_SOURCES += locale.h
+
+# We need the following in order to create <locale.h> when the system
+# doesn't have one that provides all definitions.
+locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
+       $(AM_V_GEN)rm -f $@-t $@ && \
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
+         sed -e 's|@''GUARD_PREFIX''@|GL|g' \
+             -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+             -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
+             -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
+             -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
+             -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
+             -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
+             -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
+             -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
+             -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
+             -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
+             -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
+             -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
+             < $(srcdir)/locale.in.h; \
+       } > $@-t && \
+       mv $@-t $@
+MOSTLYCLEANFILES += locale.h locale.h-t
+
+EXTRA_DIST += locale.in.h
+
+## end   gnulib module locale
+
+## begin gnulib module localeconv
+
+
+EXTRA_DIST += localeconv.c
+
+EXTRA_libgnulib_la_SOURCES += localeconv.c
+
+## end   gnulib module localeconv
+
+## begin gnulib module lock
+
+libgnulib_la_SOURCES += glthread/lock.h glthread/lock.c
+
+## end   gnulib module lock
+
 ## begin gnulib module long-options
 
 libgnulib_la_SOURCES += long-options.c
@@ -750,7 +819,6 @@ libgnulib_la_SOURCES += progname.h progname.c
 
 ## begin gnulib module quote
 
-libgnulib_la_SOURCES += quote.c
 
 EXTRA_DIST += quote.h
 
@@ -760,7 +828,7 @@ EXTRA_DIST += quote.h
 
 libgnulib_la_SOURCES += quotearg.c
 
-EXTRA_DIST += quotearg.h
+EXTRA_DIST += quote.h quotearg.h
 
 ## end   gnulib module quotearg
 
@@ -826,6 +894,15 @@ EXTRA_DIST += safe-read.h
 
 ## end   gnulib module safe-read
 
+## begin gnulib module secure_getenv
+
+
+EXTRA_DIST += secure_getenv.c
+
+EXTRA_libgnulib_la_SOURCES += secure_getenv.c
+
+## end   gnulib module secure_getenv
+
 ## begin gnulib module sleep
 
 
@@ -1056,6 +1133,134 @@ EXTRA_DIST += stdint.in.h
 
 ## end   gnulib module stdint
 
+## begin gnulib module stdio
+
+BUILT_SOURCES += stdio.h
+
+# We need the following in order to create <stdio.h> when the system
+# doesn't have one that works with the given compiler.
+stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
+       $(AM_V_GEN)rm -f $@-t $@ && \
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
+         sed -e 's|@''GUARD_PREFIX''@|GL|g' \
+             -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+             -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
+             -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
+             -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
+             -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
+             -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
+             -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
+             -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
+             -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
+             -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
+             -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
+             -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
+             -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
+             -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
+             -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
+             -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
+             -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
+             -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
+             -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
+             -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
+             -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
+             -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
+             -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
+             -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
+             -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
+             -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
+             -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
+             -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
+             -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
+             -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
+             -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
+             -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
+             -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
+             -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
+             -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
+             -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
+             -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
+             -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
+             -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
+             -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
+             -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
+             -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
+             -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
+             -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
+             -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
+             -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
+             -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
+             -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
+             -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
+             -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
+             < $(srcdir)/stdio.in.h | \
+         sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
+             -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
+             -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
+             -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
+             -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
+             -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
+             -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
+             -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
+             -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
+             -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
+             -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
+             -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
+             -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
+             -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
+             -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
+             -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
+             -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
+             -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
+             -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
+             -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
+             -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
+             -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
+             -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
+             -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
+             -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
+             -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
+             -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
+             -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
+             -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
+             -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
+             -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
+             -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
+             -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
+             -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
+             -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
+             -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
+             -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
+             -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
+             -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
+             -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
+             -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
+             -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
+             -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
+             -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
+             -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
+             -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
+             -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
+             -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
+             -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
+             -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
+             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
+       } > $@-t && \
+       mv $@-t $@
+MOSTLYCLEANFILES += stdio.h stdio.h-t
+
+EXTRA_DIST += stdio.in.h
+
+## end   gnulib module stdio
+
 ## begin gnulib module stdlib
 
 BUILT_SOURCES += stdlib.h
@@ -1094,6 +1299,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
              -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
              -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
              -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
+             -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
              -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
              -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
              -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
@@ -1122,6 +1328,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
              -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
              -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
              -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
+             -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
              -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
              -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
              -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
@@ -1135,6 +1342,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
              -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
              -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
              -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
+             -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
              -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
              -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
              -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
@@ -1156,15 +1364,6 @@ EXTRA_DIST += stdlib.in.h
 
 ## end   gnulib module stdlib
 
-## begin gnulib module strcase
-
-
-EXTRA_DIST += strcasecmp.c strncasecmp.c
-
-EXTRA_libgnulib_la_SOURCES += strcasecmp.c strncasecmp.c
-
-## end   gnulib module strcase
-
 ## begin gnulib module strdup-posix
 
 
@@ -1299,37 +1498,6 @@ EXTRA_DIST += string.in.h
 
 ## end   gnulib module string
 
-## begin gnulib module strings
-
-BUILT_SOURCES += strings.h
-
-# We need the following in order to create <strings.h> when the system
-# doesn't have one that works with the given compiler.
-strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
-       $(AM_V_GEN)rm -f $@-t $@ && \
-       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
-         sed -e 's|@''GUARD_PREFIX''@|GL|g' \
-             -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
-             -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
-             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
-             -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
-             -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \
-             -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
-             -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
-             -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
-             -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
-             -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
-             -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
-             < $(srcdir)/strings.in.h; \
-       } > $@-t && \
-       mv $@-t $@
-MOSTLYCLEANFILES += strings.h strings.h-t
-
-EXTRA_DIST += strings.in.h
-
-## end   gnulib module strings
-
 ## begin gnulib module strndup
 
 
@@ -1381,6 +1549,7 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
+             -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
              -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
              -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
              -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
@@ -1476,6 +1645,7 @@ sys/types.h: sys_types.in.h $(top_builddir)/config.status
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
+             -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
              < $(srcdir)/sys_types.in.h; \
        } > $@-t && \
        mv $@-t $@
@@ -1493,6 +1663,14 @@ EXTRA_DIST += tempname.h
 
 ## end   gnulib module tempname
 
+## begin gnulib module threadlib
+
+libgnulib_la_SOURCES += glthread/threadlib.c
+
+EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
+
+## end   gnulib module threadlib
+
 ## begin gnulib module time
 
 BUILT_SOURCES += time.h
@@ -1507,6 +1685,7 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
+             -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
              -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
              -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
              -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
@@ -1516,6 +1695,8 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
              -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
              -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
              -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
+             -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
+             -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
              -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
              -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
              -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
@@ -1538,6 +1719,7 @@ EXTRA_DIST += time.in.h
 ## begin gnulib module unistd
 
 BUILT_SOURCES += unistd.h
+libgnulib_la_SOURCES += unistd.c
 
 # We need the following in order to create an empty placeholder for
 # <unistd.h> when the system doesn't have one.
@@ -1550,6 +1732,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
+             -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
              -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
              -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
              -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
@@ -1648,8 +1831,10 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
              -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
              -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
              -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
+             -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
              -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
              -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
+             -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
              -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
              -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
              -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
@@ -1874,6 +2059,7 @@ EXTRA_libgnulib_la_SOURCES += wcrtomb.c
 ## begin gnulib module wctype-h
 
 BUILT_SOURCES += wctype.h
+libgnulib_la_SOURCES += wctype-h.c
 
 # We need the following in order to create <wctype.h> when the system
 # doesn't have one that works with the given compiler.
index 2485c78d4ba9555f37914541ca9ff128d0bcbf59..d0bb7a6f57734e15e535cfc6b287a555dc6ccbb3 100644 (file)
@@ -1,6 +1,6 @@
 /* intprops.h -- properties of integer types
 
-   Copyright (C) 2001-2005, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2001-2005, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -89,7 +89,8 @@
 
 /* Return 1 if the __typeof__ keyword works.  This could be done by
    'configure', but for now it's easier to do it by hand.  */
-#if 2 <= __GNUC__ || 0x5110 <= __SUNPRO_C
+#if (2 <= __GNUC__ || defined __IBM__TYPEOF__ \
+     || (0x5110 <= __SUNPRO_C && !__STDC__))
 # define _GL_HAVE___TYPEOF__ 1
 #else
 # define _GL_HAVE___TYPEOF__ 0
index b9da2b5b0917ca5c19b51fab816a032eddc0ae24..4b2a13be1dad1fc21d0777fb8286ab2dc27f822a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006-2012 Free Software Foundation, Inc.
+/* Copyright (C) 2006-2014 Free Software Foundation, Inc.
    Written by Paul Eggert, Bruno Haible, Derek Price.
    This file is part of gnulib.
 
@@ -1105,12 +1105,22 @@ _GL_WARN_ON_USE (strtoimax, "strtoimax is unportable - "
 #endif
 
 #if @GNULIB_STRTOUMAX@
-# if !@HAVE_DECL_STRTOUMAX@
-#  undef strtoumax
+# if @REPLACE_STRTOUMAX@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef strtoumax
+#   define strtoumax rpl_strtoumax
+#  endif
+_GL_FUNCDECL_RPL (strtoumax, uintmax_t,
+                  (const char *, char **, int) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (strtoumax, uintmax_t, (const char *, char **, int));
+# else
+#  if !@HAVE_DECL_STRTOUMAX@
+#   undef strtoumax
 _GL_FUNCDECL_SYS (strtoumax, uintmax_t,
                   (const char *, char **, int) _GL_ARG_NONNULL ((1)));
-# endif
+#  endif
 _GL_CXXALIAS_SYS (strtoumax, uintmax_t, (const char *, char **, int));
+# endif
 _GL_CXXALIASWARN (strtoumax);
 #elif defined GNULIB_POSIXCHECK
 # undef strtoumax
index 605c9f70e2cb9467a39b928482b337b841bd4c0e..6f0e093b10d01f142bfc250de4cac9d541041955 100644 (file)
@@ -1,5 +1,5 @@
 /* Substitute for and wrapper around <langinfo.h>.
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 113205dea41503209ddf71412dbc1ca5282c8bf0..a9288673b7a18f1b29bad834cf12332305dab9ea 100644 (file)
@@ -1,6 +1,6 @@
 /* Determine a canonical name for the current locale's character encoding.
 
-   Copyright (C) 2000-2006, 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2000-2006, 2008-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@
 #include <stdlib.h>
 
 #if defined __APPLE__ && defined __MACH__ && HAVE_LANGINFO_CODESET
-# define DARWIN7 /* Darwin 7 or newer, i.e. MacOS X 10.3 or newer */
+# define DARWIN7 /* Darwin 7 or newer, i.e. Mac OS X 10.3 or newer */
 #endif
 
 #if defined _WIN32 || defined __WIN32__
 # include <os2.h>
 #endif
 
+/* For MB_CUR_MAX_L */
+#if defined DARWIN7
+# include <xlocale.h>
+#endif
+
 #if ENABLE_RELOCATABLE
 # include "relocatable.h"
 #else
@@ -542,5 +547,12 @@ locale_charset (void)
   if (codeset[0] == '\0')
     codeset = "ASCII";
 
+#ifdef DARWIN7
+  /* Mac OS X sets MB_CUR_MAX to 1 when LC_ALL=C, and "UTF-8"
+     (the default codeset) does not work when MB_CUR_MAX is 1.  */
+  if (strcmp (codeset, "UTF-8") == 0 && MB_CUR_MAX_L (uselocale (NULL)) <= 1)
+    codeset = "ASCII";
+#endif
+
   return codeset;
 }
index 39dc59399519850fa1e15265ed3c5d64e8324414..9011d5805d5de2dd6d4145efa5678e26a45a6c5b 100644 (file)
@@ -1,5 +1,5 @@
 /* Determine a canonical name for the current locale's character encoding.
-   Copyright (C) 2000-2003, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2000-2003, 2009-2014 Free Software Foundation, Inc.
    This file is part of the GNU CHARSET Library.
 
    This program is free software; you can redistribute it and/or modify
diff --git a/lib/locale.in.h b/lib/locale.in.h
new file mode 100644 (file)
index 0000000..10cc44b
--- /dev/null
@@ -0,0 +1,216 @@
+/* A POSIX <locale.h>.
+   Copyright (C) 2007-2014 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#if __GNUC__ >= 3
+@PRAGMA_SYSTEM_HEADER@
+#endif
+@PRAGMA_COLUMNS@
+
+#ifdef _GL_ALREADY_INCLUDING_LOCALE_H
+
+/* Special invocation conventions to handle Solaris header files
+   (through Solaris 10) when combined with gettext's libintl.h.  */
+
+#@INCLUDE_NEXT@ @NEXT_LOCALE_H@
+
+#else
+/* Normal invocation convention.  */
+
+#ifndef _@GUARD_PREFIX@_LOCALE_H
+
+#define _GL_ALREADY_INCLUDING_LOCALE_H
+
+/* The include_next requires a split double-inclusion guard.  */
+#@INCLUDE_NEXT@ @NEXT_LOCALE_H@
+
+#undef _GL_ALREADY_INCLUDING_LOCALE_H
+
+#ifndef _@GUARD_PREFIX@_LOCALE_H
+#define _@GUARD_PREFIX@_LOCALE_H
+
+/* NetBSD 5.0 mis-defines NULL.  */
+#include <stddef.h>
+
+/* Mac OS X 10.5 defines the locale_t type in <xlocale.h>.  */
+#if @HAVE_XLOCALE_H@
+# include <xlocale.h>
+#endif
+
+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
+
+/* The definition of _GL_ARG_NONNULL is copied here.  */
+
+/* The definition of _GL_WARN_ON_USE is copied here.  */
+
+/* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C.
+   On systems that don't define it, use the same value as GNU libintl.  */
+#if !defined LC_MESSAGES
+# define LC_MESSAGES 1729
+#endif
+
+/* Bionic libc's 'struct lconv' is just a dummy.  */
+#if @REPLACE_STRUCT_LCONV@
+# define lconv rpl_lconv
+struct lconv
+{
+  /* All 'char *' are actually 'const char *'.  */
+
+  /* Members that depend on the LC_NUMERIC category of the locale.  See
+     <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html#tag_07_03_04> */
+
+  /* Symbol used as decimal point.  */
+  char *decimal_point;
+  /* Symbol used to separate groups of digits to the left of the decimal
+     point.  */
+  char *thousands_sep;
+  /* Definition of the size of groups of digits to the left of the decimal
+     point.  */
+  char *grouping;
+
+  /* Members that depend on the LC_MONETARY category of the locale.  See
+     <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html#tag_07_03_03> */
+
+  /* Symbol used as decimal point.  */
+  char *mon_decimal_point;
+  /* Symbol used to separate groups of digits to the left of the decimal
+     point.  */
+  char *mon_thousands_sep;
+  /* Definition of the size of groups of digits to the left of the decimal
+     point.  */
+  char *mon_grouping;
+  /* Sign used to indicate a value >= 0.  */
+  char *positive_sign;
+  /* Sign used to indicate a value < 0.  */
+  char *negative_sign;
+
+  /* For formatting local currency.  */
+  /* Currency symbol (3 characters) followed by separator (1 character).  */
+  char *currency_symbol;
+  /* Number of digits after the decimal point.  */
+  char frac_digits;
+  /* For values >= 0: 1 if the currency symbol precedes the number, 0 if it
+     comes after the number.  */
+  char p_cs_precedes;
+  /* For values >= 0: Position of the sign.  */
+  char p_sign_posn;
+  /* For values >= 0: Placement of spaces between currency symbol, sign, and
+     number.  */
+  char p_sep_by_space;
+  /* For values < 0: 1 if the currency symbol precedes the number, 0 if it
+     comes after the number.  */
+  char n_cs_precedes;
+  /* For values < 0: Position of the sign.  */
+  char n_sign_posn;
+  /* For values < 0: Placement of spaces between currency symbol, sign, and
+     number.  */
+  char n_sep_by_space;
+
+  /* For formatting international currency.  */
+  /* Currency symbol (3 characters) followed by separator (1 character).  */
+  char *int_curr_symbol;
+  /* Number of digits after the decimal point.  */
+  char int_frac_digits;
+  /* For values >= 0: 1 if the currency symbol precedes the number, 0 if it
+     comes after the number.  */
+  char int_p_cs_precedes;
+  /* For values >= 0: Position of the sign.  */
+  char int_p_sign_posn;
+  /* For values >= 0: Placement of spaces between currency symbol, sign, and
+     number.  */
+  char int_p_sep_by_space;
+  /* For values < 0: 1 if the currency symbol precedes the number, 0 if it
+     comes after the number.  */
+  char int_n_cs_precedes;
+  /* For values < 0: Position of the sign.  */
+  char int_n_sign_posn;
+  /* For values < 0: Placement of spaces between currency symbol, sign, and
+     number.  */
+  char int_n_sep_by_space;
+};
+#endif
+
+#if @GNULIB_LOCALECONV@
+# if @REPLACE_LOCALECONV@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef localeconv
+#   define localeconv rpl_localeconv
+#  endif
+_GL_FUNCDECL_RPL (localeconv, struct lconv *, (void));
+_GL_CXXALIAS_RPL (localeconv, struct lconv *, (void));
+# else
+_GL_CXXALIAS_SYS (localeconv, struct lconv *, (void));
+# endif
+_GL_CXXALIASWARN (localeconv);
+#elif @REPLACE_STRUCT_LCONV@
+# undef localeconv
+# define localeconv localeconv_used_without_requesting_gnulib_module_localeconv
+#elif defined GNULIB_POSIXCHECK
+# undef localeconv
+# if HAVE_RAW_DECL_LOCALECONV
+_GL_WARN_ON_USE (localeconv,
+                 "localeconv returns too few information on some platforms - "
+                 "use gnulib module localeconv for portability");
+# endif
+#endif
+
+#if @GNULIB_SETLOCALE@
+# if @REPLACE_SETLOCALE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef setlocale
+#   define setlocale rpl_setlocale
+#   define GNULIB_defined_setlocale 1
+#  endif
+_GL_FUNCDECL_RPL (setlocale, char *, (int category, const char *locale));
+_GL_CXXALIAS_RPL (setlocale, char *, (int category, const char *locale));
+# else
+_GL_CXXALIAS_SYS (setlocale, char *, (int category, const char *locale));
+# endif
+_GL_CXXALIASWARN (setlocale);
+#elif defined GNULIB_POSIXCHECK
+# undef setlocale
+# if HAVE_RAW_DECL_SETLOCALE
+_GL_WARN_ON_USE (setlocale, "setlocale works differently on native Windows - "
+                 "use gnulib module setlocale for portability");
+# endif
+#endif
+
+#if @GNULIB_DUPLOCALE@
+# if @REPLACE_DUPLOCALE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef duplocale
+#   define duplocale rpl_duplocale
+#  endif
+_GL_FUNCDECL_RPL (duplocale, locale_t, (locale_t locale) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (duplocale, locale_t, (locale_t locale));
+# else
+#  if @HAVE_DUPLOCALE@
+_GL_CXXALIAS_SYS (duplocale, locale_t, (locale_t locale));
+#  endif
+# endif
+# if @HAVE_DUPLOCALE@
+_GL_CXXALIASWARN (duplocale);
+# endif
+#elif defined GNULIB_POSIXCHECK
+# undef duplocale
+# if HAVE_RAW_DECL_DUPLOCALE
+_GL_WARN_ON_USE (duplocale, "duplocale is buggy on some glibc systems - "
+                 "use gnulib module duplocale for portability");
+# endif
+#endif
+
+#endif /* _@GUARD_PREFIX@_LOCALE_H */
+#endif /* ! _GL_ALREADY_INCLUDING_LOCALE_H */
+#endif /* _@GUARD_PREFIX@_LOCALE_H */
diff --git a/lib/localeconv.c b/lib/localeconv.c
new file mode 100644 (file)
index 0000000..014e739
--- /dev/null
@@ -0,0 +1,103 @@
+/* Query locale dependent information for formatting numbers.
+   Copyright (C) 2012-2014 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#include <config.h>
+
+/* Specification.  */
+#include <locale.h>
+
+#if HAVE_STRUCT_LCONV_DECIMAL_POINT
+
+/* Override for platforms where 'struct lconv' lacks the int_p_*, int_n_*
+   members.  */
+
+struct lconv *
+localeconv (void)
+{
+  static struct lconv result;
+# undef lconv
+# undef localeconv
+  struct lconv *sys_result = localeconv ();
+
+  result.decimal_point = sys_result->decimal_point;
+  result.thousands_sep = sys_result->thousands_sep;
+  result.grouping = sys_result->grouping;
+  result.mon_decimal_point = sys_result->mon_decimal_point;
+  result.mon_thousands_sep = sys_result->mon_thousands_sep;
+  result.mon_grouping = sys_result->mon_grouping;
+  result.positive_sign = sys_result->positive_sign;
+  result.negative_sign = sys_result->negative_sign;
+  result.currency_symbol = sys_result->currency_symbol;
+  result.frac_digits = sys_result->frac_digits;
+  result.p_cs_precedes = sys_result->p_cs_precedes;
+  result.p_sign_posn = sys_result->p_sign_posn;
+  result.p_sep_by_space = sys_result->p_sep_by_space;
+  result.n_cs_precedes = sys_result->n_cs_precedes;
+  result.n_sign_posn = sys_result->n_sign_posn;
+  result.n_sep_by_space = sys_result->n_sep_by_space;
+  result.int_curr_symbol = sys_result->int_curr_symbol;
+  result.int_frac_digits = sys_result->int_frac_digits;
+  result.int_p_cs_precedes = sys_result->p_cs_precedes;
+  result.int_p_sign_posn = sys_result->p_sign_posn;
+  result.int_p_sep_by_space = sys_result->p_sep_by_space;
+  result.int_n_cs_precedes = sys_result->n_cs_precedes;
+  result.int_n_sign_posn = sys_result->n_sign_posn;
+  result.int_n_sep_by_space = sys_result->n_sep_by_space;
+
+  return &result;
+}
+
+#else
+
+/* Override for platforms where 'struct lconv' is a dummy.  */
+
+# include <limits.h>
+
+struct lconv *
+localeconv (void)
+{
+  static /*const*/ struct lconv result =
+    {
+      /* decimal_point */ ".",
+      /* thousands_sep */ "",
+      /* grouping */ "",
+      /* mon_decimal_point */ "",
+      /* mon_thousands_sep */ "",
+      /* mon_grouping */ "",
+      /* positive_sign */ "",
+      /* negative_sign */ "",
+      /* currency_symbol */ "",
+      /* frac_digits */ CHAR_MAX,
+      /* p_cs_precedes */ CHAR_MAX,
+      /* p_sign_posn */ CHAR_MAX,
+      /* p_sep_by_space */ CHAR_MAX,
+      /* n_cs_precedes */ CHAR_MAX,
+      /* n_sign_posn */ CHAR_MAX,
+      /* n_sep_by_space */ CHAR_MAX,
+      /* int_curr_symbol */ "",
+      /* int_frac_digits */ CHAR_MAX,
+      /* int_p_cs_precedes */ CHAR_MAX,
+      /* int_p_sign_posn */ CHAR_MAX,
+      /* int_p_sep_by_space */ CHAR_MAX,
+      /* int_n_cs_precedes */ CHAR_MAX,
+      /* int_n_sign_posn */ CHAR_MAX,
+      /* int_n_sep_by_space */ CHAR_MAX
+    };
+
+  return &result;
+}
+
+#endif
index 450947d8b3afd70e906b14da687079808057a713..fa7d1cd74cd3893e71147b34dc93013c3447027f 100644 (file)
@@ -1,6 +1,6 @@
 /* Utility to accept --help and --version options as unobtrusively as possible.
 
-   Copyright (C) 1993-1994, 1998-2000, 2002-2006, 2009-2012 Free Software
+   Copyright (C) 1993-1994, 1998-2000, 2002-2006, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 2c62c14398c0ac36a223fa4b38014bf4b1f0e62c..a44ae2e83cf64c4a0ce26b30dbdff09112866a19 100644 (file)
@@ -1,5 +1,5 @@
 /* long-options.h -- declaration for --help- and --version-handling function.
-   Copyright (C) 1993-1994, 1998-1999, 2003, 2009-2012 Free Software
+   Copyright (C) 1993-1994, 1998-1999, 2003, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index cd7e2d62c42c350d028d3d73754c135da266b409..f19b41b154e5230302865763947dc9e8c64f0dc5 100644 (file)
@@ -1,5 +1,5 @@
 /* An lseek() function that detects pipes.
-   Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -59,5 +59,9 @@ rpl_lseek (int fd, off_t offset, int whence)
       return -1;
     }
 #endif
+#if _GL_WINDOWS_64_BIT_OFF_T
+  return _lseeki64 (fd, offset, whence);
+#else
   return lseek (fd, offset, whence);
+#endif
 }
index db119a10d3f48db6f760dab5953696eb6b49902b..f70fd435c03047f2f52e53d8900c2a4cf1b56f78 100644 (file)
@@ -1,6 +1,6 @@
 /* Work around a bug of lstat on some systems
 
-   Copyright (C) 1997-2006, 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 1997-2006, 2008-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -35,7 +35,7 @@ typedef int dummy;
 # include <sys/stat.h>
 # undef __need_system_sys_stat_h
 
-static inline int
+static int
 orig_lstat (const char *filename, struct stat *buf)
 {
   return lstat (filename, buf);
index e0d5c89d189acf2393fe48da2de88f2ab364a962..bc81c54dcc67f3aa4ad04b3b7f8886402ddee35e 100644 (file)
@@ -1,6 +1,6 @@
 /* malloc() function that is glibc compatible.
 
-   Copyright (C) 1997-1998, 2006-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1997-1998, 2006-2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 1f7533a7d33665caebe228386caf8a01a64def89..370551c534cbd79e51bcb9778c9230d2bda0c421 100644 (file)
@@ -1,5 +1,5 @@
 /* Safe automatic memory allocation.
-   Copyright (C) 2003, 2006-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2006-2007, 2009-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2003.
 
    This program is free software; you can redistribute it and/or modify
 #define MAGIC_SIZE sizeof (int)
 /* This is how the header info would look like without any alignment
    considerations.  */
-struct preliminary_header { void *next; char room[MAGIC_SIZE]; };
+struct preliminary_header { void *next; int magic; };
 /* But the header's size must be a multiple of sa_alignment_max.  */
 #define HEADER_SIZE \
   (((sizeof (struct preliminary_header) + sa_alignment_max - 1) / sa_alignment_max) * sa_alignment_max)
-struct header { void *next; char room[HEADER_SIZE - sizeof (struct preliminary_header) + MAGIC_SIZE]; };
-verify (HEADER_SIZE == sizeof (struct header));
+union header {
+  void *next;
+  struct {
+    char room[HEADER_SIZE - MAGIC_SIZE];
+    int word;
+  } magic;
+};
+verify (HEADER_SIZE == sizeof (union header));
 /* We make the hash table quite big, so that during lookups the probability
    of empty hash buckets is quite high.  There is no need to make the hash
    table resizable, because when the hash table gets filled so much that the
@@ -74,20 +80,21 @@ mmalloca (size_t n)
 
   if (nplus >= n)
     {
-      char *p = (char *) malloc (nplus);
+      void *p = malloc (nplus);
 
       if (p != NULL)
         {
           size_t slot;
+          union header *h = p;
 
-          p += HEADER_SIZE;
+          p = h + 1;
 
           /* Put a magic number into the indicator word.  */
-          ((int *) p)[-1] = MAGIC_NUMBER;
+          h->magic.word = MAGIC_NUMBER;
 
           /* Enter p into the hash table.  */
           slot = (uintptr_t) p % HASH_TABLE_SIZE;
-          ((struct header *) (p - HEADER_SIZE))->next = mmalloca_results[slot];
+          h->next = mmalloca_results[slot];
           mmalloca_results[slot] = p;
 
           return p;
@@ -123,15 +130,17 @@ freea (void *p)
           void **chain = &mmalloca_results[slot];
           for (; *chain != NULL;)
             {
+              union header *h = p;
               if (*chain == p)
                 {
                   /* Found it.  Remove it from the hash table and free it.  */
-                  char *p_begin = (char *) p - HEADER_SIZE;
-                  *chain = ((struct header *) p_begin)->next;
+                  union header *p_begin = h - 1;
+                  *chain = p_begin->next;
                   free (p_begin);
                   return;
                 }
-              chain = &((struct header *) ((char *) *chain - HEADER_SIZE))->next;
+              h = *chain;
+              chain = &h[-1].next;
             }
         }
       /* At this point, we know it was not a mmalloca() result.  */
index 0cedf5f633c63dfc4a645198d4e7121a0f62a84a..5071e46f9ee1cc79f160620eb8c794a5716bbc17 100644 (file)
@@ -1,5 +1,5 @@
 /* Safe automatic memory allocation.
-   Copyright (C) 2003-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2003-2007, 2009-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2003.
 
    This program is free software; you can redistribute it and/or modify
@@ -42,7 +42,7 @@ extern "C" {
    and a page size can be as small as 4096 bytes.  So we cannot safely
    allocate anything larger than 4096 bytes.  Also care for the possibility
    of a few compiler-allocated temporary stack slots.
-   This must be a macro, not an inline function.  */
+   This must be a macro, not a function.  */
 # define safe_alloca(N) ((N) < 4032 ? alloca (N) : NULL)
 #else
 # define safe_alloca(N) ((void) (N), NULL)
@@ -92,7 +92,7 @@ extern void * nmalloca (size_t n, size_t s);
 /* ------------------- Auxiliary, non-public definitions ------------------- */
 
 /* Determine the alignment of a type at compile time.  */
-#if defined __GNUC__
+#if defined __GNUC__ || defined __IBM__ALIGNOF__
 # define sa_alignof __alignof__
 #elif defined __cplusplus
   template <class type> struct sa_alignof_helper { char __slot1; type __slot2; };
index a60e56d6ae9341d8a8424aa58f6c522ffdfa205c..5743f437f6a2585670d078f51689f442f6344e9b 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert multibyte character to wide character.
-   Copyright (C) 1999-2002, 2005-2012 Free Software Foundation, Inc.
+   Copyright (C) 1999-2002, 2005-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2008.
 
    This program is free software: you can redistribute it and/or modify
@@ -128,7 +128,7 @@ mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
       {
         const char *encoding = locale_charset ();
 
-        if (STREQ (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0))
+        if (STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0))
           {
             /* Cf. unistr/u8-mblen.c.  */
             unsigned char c = (unsigned char) p[0];
@@ -185,7 +185,8 @@ mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
         /* As a reference for this code, you can use the GNU libiconv
            implementation.  Look for uses of the RET_TOOFEW macro.  */
 
-        if (STREQ (encoding, "EUC-JP", 'E', 'U', 'C', '-', 'J', 'P', 0, 0, 0))
+        if (STREQ_OPT (encoding,
+                       "EUC-JP", 'E', 'U', 'C', '-', 'J', 'P', 0, 0, 0))
           {
             if (m == 1)
               {
@@ -208,9 +209,12 @@ mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
               }
             goto invalid;
           }
-        if (STREQ (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0)
-            || STREQ (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0)
-            || STREQ (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0))
+        if (STREQ_OPT (encoding,
+                       "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0)
+            || STREQ_OPT (encoding,
+                          "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0)
+            || STREQ_OPT (encoding,
+                          "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0))
           {
             if (m == 1)
               {
@@ -221,7 +225,8 @@ mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
               }
             goto invalid;
           }
-        if (STREQ (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0))
+        if (STREQ_OPT (encoding,
+                       "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0))
           {
             if (m == 1)
               {
@@ -239,7 +244,8 @@ mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
               }
             goto invalid;
           }
-        if (STREQ (encoding, "GB18030", 'G', 'B', '1', '8', '0', '3', '0', 0, 0))
+        if (STREQ_OPT (encoding,
+                       "GB18030", 'G', 'B', '1', '8', '0', '3', '0', 0, 0))
           {
             if (m == 1)
               {
@@ -272,7 +278,7 @@ mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
               }
             goto invalid;
           }
-        if (STREQ (encoding, "SJIS", 'S', 'J', 'I', 'S', 0, 0, 0, 0, 0))
+        if (STREQ_OPT (encoding, "SJIS", 'S', 'J', 'I', 'S', 0, 0, 0, 0, 0))
           {
             if (m == 1)
               {
@@ -322,7 +328,7 @@ mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
 size_t
 rpl_mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
 {
-# if MBRTOWC_NULL_ARG2_BUG || MBRTOWC_RETVAL_BUG
+# if MBRTOWC_NULL_ARG2_BUG || MBRTOWC_RETVAL_BUG || MBRTOWC_EMPTY_INPUT_BUG
   if (s == NULL)
     {
       pwc = NULL;
@@ -331,6 +337,11 @@ rpl_mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
     }
 # endif
 
+# if MBRTOWC_EMPTY_INPUT_BUG
+  if (n == 0)
+    return (size_t) -2;
+# endif
+
 # if MBRTOWC_RETVAL_BUG
   {
     static mbstate_t internal_state;
index 638142e8baf2c6d4211bd0e8f8be594f18842d1c..df4bcd182ac98961845bf6bd2acd6f25d1f699e3 100644 (file)
@@ -1,5 +1,5 @@
 /* Test for initial conversion state.
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2008.
 
    This program is free software: you can redistribute it and/or modify
index bb75ed292d75895d81383c92239850c1698b8536..3cc70b0e2d7a22faf45a642039a239e9f0225ec4 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert multibyte character to wide character.
-   Copyright (C) 2011-2012 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2011.
 
    This program is free software: you can redistribute it and/or modify
index 97eab4e91fa0ce2a261ec90bc52d79ed4ea52c14..93a7445440fe14836e03ee510787852d4ffcda22 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert multibyte character to wide character.
-   Copyright (C) 2011-2012 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2011.
 
    This program is free software: you can redistribute it and/or modify
index 20486378c4f80353d172edee215a6348a9b198fd..ce9c6db8b4c8de2ff5cf691465c9f7a9991b3a84 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-1999, 2001, 2005-2007, 2009-2012 Free Software
+/* Copyright (C) 1998-1999, 2001, 2005-2007, 2009-2014 Free Software
    Foundation, Inc.
    This file is derived from the one in the GNU C Library.
 
index ba76a7ea662bc4e81e7228e5f9e781e087ddb00d..f83827fb4d92ccb5bd61214f5dccafc626d6e7fc 100644 (file)
@@ -1,5 +1,5 @@
 /* Invalid parameter handler for MSVC runtime libraries.
-   Copyright (C) 2011-2012 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@
 
 # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,
@@ -45,7 +45,7 @@ gl_msvc_invalid_parameter_handler (const wchar_t *expression,
 
 #  if defined _MSC_VER
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,
@@ -94,7 +94,7 @@ gl_msvc_inval_current (void)
     }
 }
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,
index eb6930b1c686466f3fdc90754ac9be1bf4016954..a0ef540fc50f2a6112877788be622fe15b2665a5 100644 (file)
@@ -1,5 +1,5 @@
 /* Invalid parameter handler for MSVC runtime libraries.
-   Copyright (C) 2011-2012 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index e5cf181a046c48a7d139799ac87e8acc3bf0e35f..b1e5f0c97f4c6103a0a118414ed10c45538fc868 100644 (file)
@@ -1,6 +1,6 @@
 /* Wrappers that don't throw invalid parameter notifications
    with MSVC runtime libraries.
-   Copyright (C) 2011-2012 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 2b71945b0ba8d175149da0f7cb0467d0bb4f1974..0d4dea584b83582762b83f7bc771995db953c0ec 100644 (file)
@@ -1,6 +1,6 @@
 /* Wrappers that don't throw invalid parameter notifications
    with MSVC runtime libraries.
-   Copyright (C) 2011-2012 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index c73c76982c07512016521903205559f87f039489..287abfd0362b7b65b4640e48dab67b097155d8cc 100644 (file)
@@ -1,6 +1,6 @@
 /* nl_langinfo() replacement: query locale dependent information.
 
-   Copyright (C) 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 03db7cb519b44c97a905e68b4cc42de620cd512e..33fc3553d7563f4529fff97ece10d96c84a66546 100644 (file)
@@ -1,5 +1,5 @@
 /* Define PATH_MAX somehow.  Requires sys/types.h.
-   Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2012 Free Software
+   Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
index bdd4dd74d4b9020bbdeae8ee05bbcd755ca6133e..2919be999a9e85f6627dcb54de62d1c1f335d12f 100644 (file)
@@ -1,5 +1,5 @@
 /* Program name management.
-   Copyright (C) 2001-2003, 2005-2012 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2005-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
index a75a02e6dac0dcf8d258df96095de888cb96a0b1..fa15871df55872f32042606e41d58b608591d858 100644 (file)
@@ -1,5 +1,5 @@
 /* Program name management.
-   Copyright (C) 2001-2004, 2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2001-2004, 2006, 2009-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
diff --git a/lib/quote.c b/lib/quote.c
deleted file mode 100644 (file)
index b46fd83..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/* quote.c - quote arguments for output
-
-   Copyright (C) 1998-2001, 2003, 2005-2006, 2009-2012 Free Software
-   Foundation, Inc.
-
-   This program is free software: you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
-
-/* Written by Paul Eggert <eggert@twinsun.com> */
-
-#include <config.h>
-
-#include "quotearg.h"
-#include "quote.h"
-
-/* Return an unambiguous printable representation of NAME,
-   allocated in slot N, suitable for diagnostics.  */
-char const *
-quote_n (int n, char const *name)
-{
-  return quotearg_n_style (n, locale_quoting_style, name);
-}
-
-/* Return an unambiguous printable representation of NAME,
-   suitable for diagnostics.  */
-char const *
-quote (char const *name)
-{
-  return quote_n (0, name);
-}
index 140908b0d8328c26b9c2a785367f9d23ba224dde..fb338a77a10491ddaca61a7eb5951a3a1a3d18ff 100644 (file)
@@ -1,6 +1,6 @@
 /* quote.h - prototypes for quote.c
 
-   Copyright (C) 1998-2001, 2003, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1998-2001, 2003, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef QUOTE_H_
+# define QUOTE_H_ 1
 
-char const *quote_n (int n, char const *name);
-char const *quote (char const *name);
+# include <stddef.h>
+
+/* The quoting options used by quote_n and quote.  Its type is incomplete,
+   so it's useful only in expressions like '&quote_quoting_options'.  */
+extern struct quoting_options quote_quoting_options;
+
+/* Return an unambiguous printable representation of ARG (of size
+   ARGSIZE), allocated in slot N, suitable for diagnostics.  If
+   ARGSIZE is SIZE_MAX, use the string length of the argument for
+   ARGSIZE.  */
+char const *quote_n_mem (int n, char const *arg, size_t argsize);
+
+/* Return an unambiguous printable representation of ARG (of size
+   ARGSIZE), suitable for diagnostics.  If ARGSIZE is SIZE_MAX, use
+   the string length of the argument for ARGSIZE.  */
+char const *quote_mem (char const *arg, size_t argsize);
+
+/* Return an unambiguous printable representation of ARG, allocated in
+   slot N, suitable for diagnostics.  */
+char const *quote_n (int n, char const *arg);
+
+/* Return an unambiguous printable representation of ARG, suitable for
+   diagnostics.  */
+char const *quote (char const *arg);
+
+#endif /* !QUOTE_H_ */
index c37aa358be48473313d2642b2ac91ecd942775a2..bef7b98b8be8418835cb30ff4878a2ad39cdb3a9 100644 (file)
@@ -1,6 +1,6 @@
 /* quotearg.c - quote arguments for output
 
-   Copyright (C) 1998-2002, 2004-2012 Free Software Foundation, Inc.
+   Copyright (C) 1998-2002, 2004-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -27,6 +27,7 @@
 #include <config.h>
 
 #include "quotearg.h"
+#include "quote.h"
 
 #include "xalloc.h"
 #include "c-strcaseeq.h"
@@ -177,7 +178,7 @@ set_custom_quoting (struct quoting_options *o,
 static struct quoting_options /* NOT PURE!! */
 quoting_options_from_style (enum quoting_style style)
 {
-  struct quoting_options o = { 0 };
+  struct quoting_options o = { literal_quoting_style, 0, { 0 }, NULL, NULL };
   if (style == custom_quoting_style)
     abort ();
   o.style = style;
@@ -347,7 +348,12 @@ quotearg_buffer_restyled (char *buffer, size_t buffersize,
 
       if (backslash_escapes
           && quote_string_len
-          && i + quote_string_len <= argsize
+          && (i + quote_string_len
+              <= (argsize == SIZE_MAX && 1 < quote_string_len
+                  /* Use strlen only if we must: when argsize is SIZE_MAX,
+                     and when the quote string is more than 1 byte long.
+                     If we do call strlen, save the result.  */
+                  ? (argsize = strlen (arg)) : argsize))
           && memcmp (arg + i, quote_string, quote_string_len) == 0)
         {
           if (elide_outer_quotes)
@@ -620,7 +626,7 @@ quotearg_buffer_restyled (char *buffer, size_t buffersize,
 
       if (! ((backslash_escapes || elide_outer_quotes)
              && quote_these_too
-             && quote_these_too[c / INT_BITS] & (1 << (c % INT_BITS)))
+             && quote_these_too[c / INT_BITS] >> (c % INT_BITS) & 1)
           && !is_right_quote)
         goto store_c;
 
@@ -926,3 +932,37 @@ quotearg_custom_mem (char const *left_quote, char const *right_quote,
   return quotearg_n_custom_mem (0, left_quote, right_quote, arg,
                                 argsize);
 }
+
+
+/* The quoting option used by the functions of quote.h.  */
+struct quoting_options quote_quoting_options =
+  {
+    locale_quoting_style,
+    0,
+    { 0 },
+    NULL, NULL
+  };
+
+char const *
+quote_n_mem (int n, char const *arg, size_t argsize)
+{
+  return quotearg_n_options (n, arg, argsize, &quote_quoting_options);
+}
+
+char const *
+quote_mem (char const *arg, size_t argsize)
+{
+  return quote_n_mem (0, arg, argsize);
+}
+
+char const *
+quote_n (int n, char const *arg)
+{
+  return quote_n_mem (n, arg, SIZE_MAX);
+}
+
+char const *
+quote (char const *arg)
+{
+  return quote_n (0, arg);
+}
index e6b08ab2307e1b87d55dd7d730a0b7125e70c5c1..da29d7b5fc2fa38300b19c2cfb0c7d56f8ce9e05 100644 (file)
@@ -1,6 +1,6 @@
 /* quotearg.h - quote arguments for output
 
-   Copyright (C) 1998-2002, 2004, 2006, 2008-2012 Free Software Foundation,
+   Copyright (C) 1998-2002, 2004, 2006, 2008-2014 Free Software Foundation,
    Inc.
 
    This program is free software: you can redistribute it and/or modify
index d130e311ceefeb7bfb170e1ada5a2d2259d6d339..d125b51a5e39584f11c845656b82e3a9a5ed9bc9 100644 (file)
@@ -1,5 +1,5 @@
 /* POSIX compatible read() function.
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2011.
 
    This program is free software: you can redistribute it and/or modify
@@ -34,7 +34,7 @@
 # undef read
 
 # if HAVE_MSVC_INVALID_PARAMETER_HANDLER
-static inline ssize_t
+static ssize_t
 read_nothrow (int fd, void *buf, size_t count)
 {
   ssize_t result;
index baac1322442a244a03bb79233591acefe2773cbc..4c49639517640a30dcfc4c57795f95287cf0f103 100644 (file)
@@ -1,5 +1,5 @@
 /* Stub for readlink().
-   Copyright (C) 2003-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2003-2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 99556ccf9c32fb72a9fcf49535d7d1a88f7481bb..8dfcfbe5a58360fccb53184080b36c908e1f1f58 100644 (file)
@@ -1,6 +1,6 @@
 /* realloc() function that is glibc compatible.
 
-   Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2012 Free Software
+   Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 4ec043f87d0a72d118cd0b4c82551374135a6f60..0e140229650b08da2d218838e330d99cf27d8173 100644 (file)
@@ -1,6 +1,6 @@
 # Add this package to a list of references stored in a text file.
 #
-#   Copyright (C) 2000, 2009-2012 Free Software Foundation, Inc.
+#   Copyright (C) 2000, 2009-2014 Free Software Foundation, Inc.
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
index eb0388117b6b54873360982ba0d170a6b95a7444..2dbcf7b2c1278b7f20ded9443b69706741d3c8bb 100644 (file)
@@ -1,6 +1,6 @@
 # Remove this package from a list of references stored in a text file.
 #
-#   Copyright (C) 2000, 2009-2012 Free Software Foundation, Inc.
+#   Copyright (C) 2000, 2009-2014 Free Software Foundation, Inc.
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
index 76128a57aa8b20f4a6a8b18deda9b5a49e08caf5..249d757a870445432539d4f580f68743da933b5a 100644 (file)
@@ -1,20 +1,21 @@
 /* Extended regular expression matching and search library.
-   Copyright (C) 2002-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
 
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
 
-   This program is distributed in the hope that it will be useful,
+   The GNU C Library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
 
-   You should have received a copy of the GNU General Public License along
-   with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
                                          size_t length, reg_syntax_t syntax);
@@ -93,20 +94,20 @@ static reg_errcode_t build_charclass (RE_TRANSLATE_TYPE trans,
                                      bitset_t sbcset,
                                      re_charset_t *mbcset,
                                      Idx *char_class_alloc,
-                                     const unsigned char *class_name,
+                                     const char *class_name,
                                      reg_syntax_t syntax);
 #else  /* not RE_ENABLE_I18N */
 static reg_errcode_t build_equiv_class (bitset_t sbcset,
                                        const unsigned char *name);
 static reg_errcode_t build_charclass (RE_TRANSLATE_TYPE trans,
                                      bitset_t sbcset,
-                                     const unsigned char *class_name,
+                                     const char *class_name,
                                      reg_syntax_t syntax);
 #endif /* not RE_ENABLE_I18N */
 static bin_tree_t *build_charclass_op (re_dfa_t *dfa,
                                       RE_TRANSLATE_TYPE trans,
-                                      const unsigned char *class_name,
-                                      const unsigned char *extra,
+                                      const char *class_name,
+                                      const char *extra,
                                       bool non_match, reg_errcode_t *err);
 static bin_tree_t *create_tree (re_dfa_t *dfa,
                                bin_tree_t *left, bin_tree_t *right,
@@ -272,7 +273,7 @@ int
 re_compile_fastmap (bufp)
     struct re_pattern_buffer *bufp;
 {
-  re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
+  re_dfa_t *dfa = bufp->buffer;
   char *fastmap = bufp->fastmap;
 
   memset (fastmap, '\0', sizeof (char) * SBC_MAX);
@@ -291,7 +292,7 @@ weak_alias (__re_compile_fastmap, re_compile_fastmap)
 #endif
 
 static inline void
-__attribute ((always_inline))
+__attribute__ ((always_inline))
 re_set_fastmap (char *fastmap, bool icase, int ch)
 {
   fastmap[ch] = 1;
@@ -306,7 +307,7 @@ static void
 re_compile_fastmap_iter (regex_t *bufp, const re_dfastate_t *init_state,
                         char *fastmap)
 {
-  re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
+  re_dfa_t *dfa = bufp->buffer;
   Idx node_cnt;
   bool icase = (dfa->mb_cur_max == 1 && (bufp->syntax & RE_ICASE));
   for (node_cnt = 0; node_cnt < init_state->nodes.nelem; ++node_cnt)
@@ -585,7 +586,7 @@ weak_alias (__regerror, regerror)
 static const bitset_t utf8_sb_map =
 {
   /* Set the first 128 bits.  */
-# ifdef __GNUC__
+# if defined __GNUC__ && !defined __STRICT_ANSI__
   [0 ... 0x80 / BITSET_WORD_BITS - 1] = BITSET_WORD_MAX
 # else
 #  if 4 * BITSET_WORD_BITS < ASCII_CHARS
@@ -660,9 +661,12 @@ void
 regfree (preg)
     regex_t *preg;
 {
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   if (BE (dfa != NULL, 1))
-    free_dfa_content (dfa);
+    {
+      lock_fini (dfa->lock);
+      free_dfa_content (dfa);
+    }
   preg->buffer = NULL;
   preg->allocated = 0;
 
@@ -767,7 +771,7 @@ re_compile_internal (regex_t *preg, const char * pattern, size_t length,
   preg->regs_allocated = REGS_UNALLOCATED;
 
   /* Initialize the dfa.  */
-  dfa = (re_dfa_t *) preg->buffer;
+  dfa = preg->buffer;
   if (BE (preg->allocated < sizeof (re_dfa_t), 0))
     {
       /* If zero allocated, but buffer is non-null, try to realloc
@@ -778,11 +782,13 @@ re_compile_internal (regex_t *preg, const char * pattern, size_t length,
       if (dfa == NULL)
        return REG_ESPACE;
       preg->allocated = sizeof (re_dfa_t);
-      preg->buffer = (unsigned char *) dfa;
+      preg->buffer = dfa;
     }
   preg->used = sizeof (re_dfa_t);
 
   err = init_dfa (dfa, length);
+  if (BE (err == REG_NOERROR && lock_init (dfa->lock) != 0, 0))
+    err = REG_ESPACE;
   if (BE (err != REG_NOERROR, 0))
     {
       free_dfa_content (dfa);
@@ -796,8 +802,6 @@ re_compile_internal (regex_t *preg, const char * pattern, size_t length,
   strncpy (dfa->re_str, pattern, length + 1);
 #endif
 
-  __libc_lock_init (dfa->lock);
-
   err = re_string_construct (&regexp, pattern, length, preg->translate,
                             (syntax & RE_ICASE) != 0, dfa);
   if (BE (err != REG_NOERROR, 0))
@@ -805,6 +809,7 @@ re_compile_internal (regex_t *preg, const char * pattern, size_t length,
     re_compile_internal_free_return:
       free_workarea_compile (preg);
       re_string_destruct (&regexp);
+      lock_fini (dfa->lock);
       free_dfa_content (dfa);
       preg->buffer = NULL;
       preg->allocated = 0;
@@ -837,6 +842,7 @@ re_compile_internal (regex_t *preg, const char * pattern, size_t length,
 
   if (BE (err != REG_NOERROR, 0))
     {
+      lock_fini (dfa->lock);
       free_dfa_content (dfa);
       preg->buffer = NULL;
       preg->allocated = 0;
@@ -853,7 +859,7 @@ init_dfa (re_dfa_t *dfa, size_t pat_len)
 {
   __re_size_t table_size;
 #ifndef _LIBC
-  char *codeset_name;
+  const char *codeset_name;
 #endif
 #ifdef RE_ENABLE_I18N
   size_t max_i18n_object_size = MAX (sizeof (wchar_t), sizeof (wctype_t));
@@ -899,8 +905,10 @@ init_dfa (re_dfa_t *dfa, size_t pat_len)
                       != 0);
 #else
   codeset_name = nl_langinfo (CODESET);
-  if (strcasecmp (codeset_name, "UTF-8") == 0
-      || strcasecmp (codeset_name, "UTF8") == 0)
+  if ((codeset_name[0] == 'U' || codeset_name[0] == 'u')
+      && (codeset_name[1] == 'T' || codeset_name[1] == 't')
+      && (codeset_name[2] == 'F' || codeset_name[2] == 'f')
+      && strcmp (codeset_name + 3 + (codeset_name[3] == '-'), "8") == 0)
     dfa->is_utf8 = 1;
 
   /* We check exhaustively in the loop below if this charset is a
@@ -950,24 +958,28 @@ static void
 internal_function
 init_word_char (re_dfa_t *dfa)
 {
-  dfa->word_ops_used = 1;
   int i = 0;
   int j;
   int ch = 0;
+  dfa->word_ops_used = 1;
   if (BE (dfa->map_notascii == 0, 1))
     {
+      bitset_word_t bits0 = 0x00000000;
+      bitset_word_t bits1 = 0x03ff0000;
+      bitset_word_t bits2 = 0x87fffffe;
+      bitset_word_t bits3 = 0x07fffffe;
       if (BITSET_WORD_BITS == 64)
        {
-         dfa->word_char[0] = UINT64_C (0x03ff000000000000);
-         dfa->word_char[1] = UINT64_C (0x07fffffe87fffffe);
+         dfa->word_char[0] = bits1 << 31 << 1 | bits0;
+         dfa->word_char[1] = bits3 << 31 << 1 | bits2;
          i = 2;
        }
       else if (BITSET_WORD_BITS == 32)
        {
-         dfa->word_char[0] = UINT32_C (0x00000000);
-         dfa->word_char[1] = UINT32_C (0x03ff0000);
-         dfa->word_char[2] = UINT32_C (0x87fffffe);
-         dfa->word_char[3] = UINT32_C (0x07fffffe);
+         dfa->word_char[0] = bits0;
+         dfa->word_char[1] = bits1;
+         dfa->word_char[2] = bits2;
+         dfa->word_char[3] = bits3;
          i = 4;
        }
       else
@@ -993,7 +1005,7 @@ init_word_char (re_dfa_t *dfa)
 static void
 free_workarea_compile (regex_t *preg)
 {
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   bin_tree_storage_t *storage, *next;
   for (storage = dfa->str_tree_storage; storage; storage = next)
     {
@@ -1177,7 +1189,7 @@ optimize_utf8 (re_dfa_t *dfa)
 static reg_errcode_t
 analyze (regex_t *preg)
 {
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   reg_errcode_t ret;
 
   /* Allocate arrays.  */
@@ -1358,7 +1370,7 @@ lower_subexps (void *extra, bin_tree_t *node)
 static bin_tree_t *
 lower_subexp (reg_errcode_t *err, regex_t *preg, bin_tree_t *node)
 {
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   bin_tree_t *body = node->left;
   bin_tree_t *op, *cls, *tree1, *tree;
 
@@ -2139,7 +2151,7 @@ static bin_tree_t *
 parse (re_string_t *regexp, regex_t *preg, reg_syntax_t syntax,
        reg_errcode_t *err)
 {
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   bin_tree_t *tree, *eor, *root;
   re_token_t current_token;
   dfa->syntax = syntax;
@@ -2173,7 +2185,7 @@ static bin_tree_t *
 parse_reg_exp (re_string_t *regexp, regex_t *preg, re_token_t *token,
               reg_syntax_t syntax, Idx nest, reg_errcode_t *err)
 {
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   bin_tree_t *tree, *branch = NULL;
   tree = parse_branch (regexp, preg, token, syntax, nest, err);
   if (BE (*err != REG_NOERROR && tree == NULL, 0))
@@ -2215,7 +2227,7 @@ parse_branch (re_string_t *regexp, regex_t *preg, re_token_t *token,
              reg_syntax_t syntax, Idx nest, reg_errcode_t *err)
 {
   bin_tree_t *tree, *expr;
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   tree = parse_expression (regexp, preg, token, syntax, nest, err);
   if (BE (*err != REG_NOERROR && tree == NULL, 0))
     return NULL;
@@ -2259,7 +2271,7 @@ static bin_tree_t *
 parse_expression (re_string_t *regexp, regex_t *preg, re_token_t *token,
                  reg_syntax_t syntax, Idx nest, reg_errcode_t *err)
 {
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   bin_tree_t *tree;
   switch (token->type)
     {
@@ -2415,8 +2427,8 @@ parse_expression (re_string_t *regexp, regex_t *preg, re_token_t *token,
     case OP_WORD:
     case OP_NOTWORD:
       tree = build_charclass_op (dfa, regexp->trans,
-                                (const unsigned char *) "alnum",
-                                (const unsigned char *) "_",
+                                "alnum",
+                                "_",
                                 token->type == OP_NOTWORD, err);
       if (BE (*err != REG_NOERROR && tree == NULL, 0))
        return NULL;
@@ -2424,8 +2436,8 @@ parse_expression (re_string_t *regexp, regex_t *preg, re_token_t *token,
     case OP_SPACE:
     case OP_NOTSPACE:
       tree = build_charclass_op (dfa, regexp->trans,
-                                (const unsigned char *) "space",
-                                (const unsigned char *) "",
+                                "space",
+                                "",
                                 token->type == OP_NOTSPACE, err);
       if (BE (*err != REG_NOERROR && tree == NULL, 0))
        return NULL;
@@ -2475,7 +2487,7 @@ static bin_tree_t *
 parse_sub_exp (re_string_t *regexp, regex_t *preg, re_token_t *token,
               reg_syntax_t syntax, Idx nest, reg_errcode_t *err)
 {
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
+  re_dfa_t *dfa = preg->buffer;
   bin_tree_t *tree;
   size_t cur_nsub;
   cur_nsub = preg->re_nsub++;
@@ -2571,6 +2583,12 @@ parse_dup_op (bin_tree_t *elem, re_string_t *regexp, re_dfa_t *dfa,
          *err = REG_BADBR;
          return NULL;
        }
+
+      if (BE (RE_DUP_MAX < (end == REG_MISSING ? start : end), 0))
+       {
+         *err = REG_ESIZE;
+         return NULL;
+       }
     }
   else
     {
@@ -2611,7 +2629,10 @@ parse_dup_op (bin_tree_t *elem, re_string_t *regexp, re_dfa_t *dfa,
     old_tree = NULL;
 
   if (elem->token.type == SUBEXP)
-    postorder (elem, mark_opt_subexp, (void *) (long) elem->token.opr.idx);
+    {
+      uintptr_t subidx = elem->token.opr.idx;
+      postorder (elem, mark_opt_subexp, (void *) subidx);
+    }
 
   tree = create_tree (dfa, elem, NULL,
                      (end == REG_MISSING ? OP_DUP_ASTERISK : OP_ALT));
@@ -2696,7 +2717,6 @@ build_range_exp (const reg_syntax_t syntax,
     wchar_t wc;
     wint_t start_wc;
     wint_t end_wc;
-    wchar_t cmp_buf[6] = {L'\0', L'\0', L'\0', L'\0', L'\0', L'\0'};
 
     start_ch = ((start_elem->type == SB_CHAR) ? start_elem->opr.ch
                : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0]
@@ -2710,11 +2730,7 @@ build_range_exp (const reg_syntax_t syntax,
              ? __btowc (end_ch) : end_elem->opr.wch);
     if (start_wc == WEOF || end_wc == WEOF)
       return REG_ECOLLATE;
-    cmp_buf[0] = start_wc;
-    cmp_buf[4] = end_wc;
-
-    if (BE ((syntax & RE_NO_EMPTY_RANGES)
-            && wcscoll (cmp_buf, cmp_buf + 4) > 0, 0))
+    else if (BE ((syntax & RE_NO_EMPTY_RANGES) && start_wc > end_wc, 0))
       return REG_ERANGE;
 
     /* Got valid collation sequence values, add them as a new entry.
@@ -2755,9 +2771,7 @@ build_range_exp (const reg_syntax_t syntax,
     /* Build the table for single byte characters.  */
     for (wc = 0; wc < SBC_MAX; ++wc)
       {
-       cmp_buf[2] = wc;
-       if (wcscoll (cmp_buf, cmp_buf + 2) <= 0
-           && wcscoll (cmp_buf + 2, cmp_buf + 4) <= 0)
+       if (start_wc <= wc && wc <= end_wc)
          bitset_set (sbcset, wc);
       }
   }
@@ -2826,40 +2840,29 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
 
   /* Local function for parse_bracket_exp used in _LIBC environment.
      Seek the collating symbol entry corresponding to NAME.
-     Return the index of the symbol in the SYMB_TABLE.  */
+     Return the index of the symbol in the SYMB_TABLE,
+     or -1 if not found.  */
 
   auto inline int32_t
-  __attribute ((always_inline))
-  seek_collating_symbol_entry (name, name_len)
-        const unsigned char *name;
-        size_t name_len;
+  __attribute__ ((always_inline))
+  seek_collating_symbol_entry (const unsigned char *name, size_t name_len)
     {
-      int32_t hash = elem_hash ((const char *) name, name_len);
-      int32_t elem = hash % table_size;
-      if (symb_table[2 * elem] != 0)
-       {
-         int32_t second = hash % (table_size - 2) + 1;
+      int32_t elem;
 
-         do
-           {
-             /* First compare the hashing value.  */
-             if (symb_table[2 * elem] == hash
-                 /* Compare the length of the name.  */
-                 && name_len == extra[symb_table[2 * elem + 1]]
-                 /* Compare the name.  */
-                 && memcmp (name, &extra[symb_table[2 * elem + 1] + 1],
-                            name_len) == 0)
-               {
-                 /* Yep, this is the entry.  */
-                 break;
-               }
-
-             /* Next entry.  */
-             elem += second;
-           }
-         while (symb_table[2 * elem] != 0);
-       }
-      return elem;
+      for (elem = 0; elem < table_size; elem++)
+       if (symb_table[2 * elem] != 0)
+         {
+           int32_t idx = symb_table[2 * elem + 1];
+           /* Skip the name of collating element name.  */
+           idx += 1 + extra[idx];
+           if (/* Compare the length of the name.  */
+               name_len == extra[idx]
+               /* Compare the name.  */
+               && memcmp (name, &extra[idx + 1], name_len) == 0)
+             /* Yep, this is the entry.  */
+             return elem;
+         }
+      return -1;
     }
 
   /* Local function for parse_bracket_exp used in _LIBC environment.
@@ -2867,9 +2870,8 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
      Return the value if succeeded, UINT_MAX otherwise.  */
 
   auto inline unsigned int
-  __attribute ((always_inline))
-  lookup_collation_sequence_value (br_elem)
-        bracket_elem_t *br_elem;
+  __attribute__ ((always_inline))
+  lookup_collation_sequence_value (bracket_elem_t *br_elem)
     {
       if (br_elem->type == SB_CHAR)
        {
@@ -2897,7 +2899,7 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
              int32_t elem, idx;
              elem = seek_collating_symbol_entry (br_elem->opr.name,
                                                  sym_name_len);
-             if (symb_table[2 * elem] != 0)
+             if (elem != -1)
                {
                  /* We found the entry.  */
                  idx = symb_table[2 * elem + 1];
@@ -2915,7 +2917,7 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
                  /* Return the collation sequence value.  */
                  return *(unsigned int *) (extra + idx);
                }
-             else if (symb_table[2 * elem] == 0 && sym_name_len == 1)
+             else if (sym_name_len == 1)
                {
                  /* No valid character.  Match it as a single byte
                     character.  */
@@ -2936,12 +2938,9 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
      update it.  */
 
   auto inline reg_errcode_t
-  __attribute ((always_inline))
-  build_range_exp (sbcset, mbcset, range_alloc, start_elem, end_elem)
-        re_charset_t *mbcset;
-        Idx *range_alloc;
-        bitset_t sbcset;
-        bracket_elem_t *start_elem, *end_elem;
+  __attribute__ ((always_inline))
+  build_range_exp (bitset_t sbcset, re_charset_t *mbcset, int *range_alloc,
+                  bracket_elem_t *start_elem, bracket_elem_t *end_elem)
     {
       unsigned int ch;
       uint32_t start_collseq;
@@ -2954,6 +2953,7 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
              0))
        return REG_ERANGE;
 
+      /* FIXME: Implement rational ranges here, too.  */
       start_collseq = lookup_collation_sequence_value (start_elem);
       end_collseq = lookup_collation_sequence_value (end_elem);
       /* Check start/end collation sequence values.  */
@@ -3019,26 +3019,23 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
      pointer argument since we may update it.  */
 
   auto inline reg_errcode_t
-  __attribute ((always_inline))
-  build_collating_symbol (sbcset, mbcset, coll_sym_alloc, name)
-        re_charset_t *mbcset;
-        Idx *coll_sym_alloc;
-        bitset_t sbcset;
-        const unsigned char *name;
+  __attribute__ ((always_inline))
+  build_collating_symbol (bitset_t sbcset, re_charset_t *mbcset,
+                         Idx *coll_sym_alloc, const unsigned char *name)
     {
       int32_t elem, idx;
       size_t name_len = strlen ((const char *) name);
       if (nrules != 0)
        {
          elem = seek_collating_symbol_entry (name, name_len);
-         if (symb_table[2 * elem] != 0)
+         if (elem != -1)
            {
              /* We found the entry.  */
              idx = symb_table[2 * elem + 1];
              /* Skip the name of collating element name.  */
              idx += 1 + extra[idx];
            }
-         else if (symb_table[2 * elem] == 0 && name_len == 1)
+         else if (name_len == 1)
            {
              /* No valid character, treat it as a normal
                 character.  */
@@ -3281,7 +3278,8 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
 #ifdef RE_ENABLE_I18N
                                      mbcset, &char_class_alloc,
 #endif /* RE_ENABLE_I18N */
-                                     start_elem.opr.name, syntax);
+                                     (const char *) start_elem.opr.name,
+                                     syntax);
              if (BE (*err != REG_NOERROR, 0))
               goto parse_bracket_exp_free_return;
              break;
@@ -3561,14 +3559,14 @@ static reg_errcode_t
 #ifdef RE_ENABLE_I18N
 build_charclass (RE_TRANSLATE_TYPE trans, bitset_t sbcset,
                 re_charset_t *mbcset, Idx *char_class_alloc,
-                const unsigned char *class_name, reg_syntax_t syntax)
+                const char *class_name, reg_syntax_t syntax)
 #else /* not RE_ENABLE_I18N */
 build_charclass (RE_TRANSLATE_TYPE trans, bitset_t sbcset,
-                const unsigned char *class_name, reg_syntax_t syntax)
+                const char *class_name, reg_syntax_t syntax)
 #endif /* not RE_ENABLE_I18N */
 {
   int i;
-  const char *name = (const char *) class_name;
+  const char *name = class_name;
 
   /* In case of REG_ICASE "upper" and "lower" match the both of
      upper and lower cases.  */
@@ -3642,8 +3640,8 @@ build_charclass (RE_TRANSLATE_TYPE trans, bitset_t sbcset,
 
 static bin_tree_t *
 build_charclass_op (re_dfa_t *dfa, RE_TRANSLATE_TYPE trans,
-                   const unsigned char *class_name,
-                   const unsigned char *extra, bool non_match,
+                   const char *class_name,
+                   const char *extra, bool non_match,
                    reg_errcode_t *err)
 {
   re_bitset_ptr_t sbcset;
@@ -3751,6 +3749,7 @@ build_charclass_op (re_dfa_t *dfa, RE_TRANSLATE_TYPE trans,
 /* This is intended for the expressions like "a{1,3}".
    Fetch a number from 'input', and return the number.
    Return REG_MISSING if the number field is empty like "{,1}".
+   Return RE_DUP_MAX + 1 if the number field is too large.
    Return REG_ERROR if an error occurred.  */
 
 static Idx
@@ -3769,8 +3768,9 @@ fetch_number (re_string_t *input, re_token_t *token, reg_syntax_t syntax)
       num = ((token->type != CHARACTER || c < '0' || '9' < c
              || num == REG_ERROR)
             ? REG_ERROR
-            : ((num == REG_MISSING) ? c - '0' : num * 10 + c - '0'));
-      num = (num > RE_DUP_MAX) ? REG_ERROR : num;
+            : num == REG_MISSING
+            ? c - '0'
+            : MIN (RE_DUP_MAX + 1, num * 10 + c - '0'));
     }
   return num;
 }
@@ -3844,7 +3844,7 @@ create_token_tree (re_dfa_t *dfa, bin_tree_t *left, bin_tree_t *right,
 static reg_errcode_t
 mark_opt_subexp (void *extra, bin_tree_t *node)
 {
-  Idx idx = (Idx) (long) extra;
+  Idx idx = (uintptr_t) extra;
   if (node->token.type == SUBEXP && node->token.opr.idx == idx)
     node->token.opt_subexp = 1;
 
index bf952543a1ae6dffc3dddc6ac22357c852d8035d..95beb6fba3b5ff123c5aec32ed57a95e113ff3c8 100644 (file)
@@ -1,26 +1,30 @@
 /* Extended regular expression matching and search library.
-   Copyright (C) 2002-2003, 2005-2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
 
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
 
-   This program is distributed in the hope that it will be useful,
+   The GNU C Library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
 
-   You should have received a copy of the GNU General Public License along
-   with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _LIBC
 # include <config.h>
 
-# if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__
+# if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
 #  pragma GCC diagnostic ignored "-Wsuggest-attribute=pure"
+# endif
+# if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__
+#  pragma GCC diagnostic ignored "-Wold-style-definition"
 #  pragma GCC diagnostic ignored "-Wtype-limits"
 # endif
 #endif
index 89f6fbeda77c6b6ba629615c564867a839cae2c2..a3ac7a9e9eefb0b56092300230bb3c15c9dc9c5e 100644 (file)
@@ -1,21 +1,22 @@
 /* Definitions for data structures and routines for the regular
    expression library.
-   Copyright (C) 1985, 1989-1993, 1995-1998, 2000-2003, 2005-2012
-   Free Software Foundation, Inc.
+   Copyright (C) 1985, 1989-1993, 1995-1998, 2000-2003, 2005-2014 Free Software
+   Foundation, Inc.
    This file is part of the GNU C Library.
 
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
 
-   This program is distributed in the hope that it will be useful,
+   The GNU C Library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
 
-   You should have received a copy of the GNU General Public License along
-   with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _REGEX_H
 #define _REGEX_H 1
@@ -294,6 +295,9 @@ extern reg_syntax_t re_syntax_options;
 /* Maximum number of duplicates an interval can allow.  POSIX-conforming
    systems might define this in <limits.h>, but we want our
    value, so remove any previous define.  */
+# ifdef _REGEX_INCLUDE_LIMITS_H
+#  include <limits.h>
+# endif
 # ifdef RE_DUP_MAX
 #  undef RE_DUP_MAX
 # endif
@@ -301,7 +305,7 @@ extern reg_syntax_t re_syntax_options;
 /* RE_DUP_MAX is 2**15 - 1 because an earlier implementation stored
    the counter as a 2-byte signed integer.  This is no longer true, so
    RE_DUP_MAX could be increased to (INT_MAX / 10 - 1), or to
-   ((SIZE_MAX - 2) / 10 - 1) if _REGEX_LARGE_OFFSETS is defined.
+   ((SIZE_MAX - 9) / 10) if _REGEX_LARGE_OFFSETS is defined.
    However, there would be a huge performance problem if someone
    actually used a pattern like a\{214748363\}, so RE_DUP_MAX retains
    its historical value.  */
@@ -372,7 +376,7 @@ typedef enum
 
   /* Error codes we've added.  */
   _REG_EEND,           /* Premature end.  */
-  _REG_ESIZE,          /* Compiled pattern bigger than 2^16 bytes.  */
+  _REG_ESIZE,          /* Too large (e.g., repeat count too large).  */
   _REG_ERPAREN         /* Unmatched ) or \); not returned from regcomp.  */
 } reg_errcode_t;
 
@@ -418,10 +422,9 @@ typedef enum
 
 struct re_pattern_buffer
 {
-  /* Space that holds the compiled pattern.  It is declared as
-     'unsigned char *' because its elements are sometimes used as
-     array indexes.  */
-  unsigned char *__REPB_PREFIX(buffer);
+  /* Space that holds the compiled pattern.  The type
+     'struct re_dfa_t' is private and is not declared here.  */
+  struct re_dfa_t *__REPB_PREFIX(buffer);
 
   /* Number of bytes to which 'buffer' points.  */
   __re_long_size_t __REPB_PREFIX(allocated);
index 56e7f384447227e9de4a52effd481a3d9df0f208..c5bb0122187eb03b7acc93c1a17e892921c41cf8 100644 (file)
@@ -1,20 +1,21 @@
 /* Extended regular expression matching and search library.
-   Copyright (C) 2002-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
 
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
 
-   This program is distributed in the hope that it will be useful,
+   The GNU C Library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
 
-   You should have received a copy of the GNU General Public License along
-   with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 static void re_string_construct_common (const char *str, Idx len,
                                        re_string_t *pstr,
@@ -310,12 +311,11 @@ build_wcs_upper_buffer (re_string_t *pstr)
                               + byte_idx), remain_len, &pstr->cur_state);
          if (BE (mbclen < (size_t) -2, 1))
            {
-             wchar_t wcu = wc;
-             if (iswlower (wc))
+             wchar_t wcu = towupper (wc);
+             if (wcu != wc)
                {
                  size_t mbcdlen;
 
-                 wcu = towupper (wc);
                  mbcdlen = wcrtomb (buf, wcu, &prev_st);
                  if (BE (mbclen == mbcdlen, 1))
                    memcpy (pstr->mbs + byte_idx, buf, mbclen);
@@ -380,12 +380,11 @@ build_wcs_upper_buffer (re_string_t *pstr)
        mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state);
        if (BE (mbclen < (size_t) -2, 1))
          {
-           wchar_t wcu = wc;
-           if (iswlower (wc))
+           wchar_t wcu = towupper (wc);
+           if (wcu != wc)
              {
                size_t mbcdlen;
 
-               wcu = towupper (wc);
                mbcdlen = wcrtomb ((char *) buf, wcu, &prev_st);
                if (BE (mbclen == mbcdlen, 1))
                  memcpy (pstr->mbs + byte_idx, buf, mbclen);
@@ -498,7 +497,7 @@ re_string_skip_chars (re_string_t *pstr, Idx new_raw_idx, wint_t *last_wc)
        rawbuf_idx < new_raw_idx;)
     {
       wchar_t wc2;
-      Idx remain_len = pstr->len - rawbuf_idx;
+      Idx remain_len = pstr->raw_len - rawbuf_idx;
       prev_st = pstr->cur_state;
       mbclen = __mbrtowc (&wc2, (const char *) pstr->raw_mbs + rawbuf_idx,
                          remain_len, &pstr->cur_state);
@@ -537,10 +536,7 @@ build_upper_buffer (re_string_t *pstr)
       int ch = pstr->raw_mbs[pstr->raw_mbs_idx + char_idx];
       if (BE (pstr->trans != NULL, 0))
        ch = pstr->trans[ch];
-      if (islower (ch))
-       pstr->mbs[char_idx] = toupper (ch);
-      else
-       pstr->mbs[char_idx] = ch;
+      pstr->mbs[char_idx] = toupper (ch);
     }
   pstr->valid_len = char_idx;
   pstr->valid_raw_len = char_idx;
@@ -833,7 +829,7 @@ re_string_reconstruct (re_string_t *pstr, Idx idx, int eflags)
 }
 
 static unsigned char
-internal_function __attribute ((pure))
+internal_function __attribute__ ((pure))
 re_string_peek_byte_case (const re_string_t *pstr, Idx idx)
 {
   int ch;
@@ -973,7 +969,7 @@ re_node_set_alloc (re_node_set *set, Idx size)
   set->alloc = size;
   set->nelem = 0;
   set->elems = re_malloc (Idx, size);
-  if (BE (set->elems == NULL, 0))
+  if (BE (set->elems == NULL, 0) && (MALLOC_0_IS_NONNULL || size != 0))
     return REG_ESPACE;
   return REG_NOERROR;
 }
@@ -1353,7 +1349,7 @@ re_node_set_insert_last (re_node_set *set, Idx elem)
    Return true if SET1 and SET2 are equivalent.  */
 
 static bool
-internal_function __attribute ((pure))
+internal_function __attribute__ ((pure))
 re_node_set_compare (const re_node_set *set1, const re_node_set *set2)
 {
   Idx i;
@@ -1368,7 +1364,7 @@ re_node_set_compare (const re_node_set *set1, const re_node_set *set2)
 /* Return (idx + 1) if SET contains the element ELEM, return 0 otherwise.  */
 
 static Idx
-internal_function __attribute ((pure))
+internal_function __attribute__ ((pure))
 re_node_set_contains (const re_node_set *set, Idx elem)
 {
   __re_size_t idx, right, mid;
@@ -1442,11 +1438,9 @@ re_dfa_add_node (re_dfa_t *dfa, re_token_t token)
   dfa->nodes[dfa->nodes_len] = token;
   dfa->nodes[dfa->nodes_len].constraint = 0;
 #ifdef RE_ENABLE_I18N
-  {
-  int type = token.type;
   dfa->nodes[dfa->nodes_len].accept_mb =
-    (type == OP_PERIOD && dfa->mb_cur_max > 1) || type == COMPLEX_BRACKET;
-  }
+    ((token.type == OP_PERIOD && dfa->mb_cur_max > 1)
+     || token.type == COMPLEX_BRACKET);
 #endif
   dfa->nexts[dfa->nodes_len] = REG_MISSING;
   re_node_set_init_empty (dfa->edests + dfa->nodes_len);
@@ -1454,7 +1448,7 @@ re_dfa_add_node (re_dfa_t *dfa, re_token_t token)
   return dfa->nodes_len++;
 }
 
-static inline re_hashval_t
+static re_hashval_t
 internal_function
 calc_state_hash (const re_node_set *nodes, unsigned int context)
 {
index aa1dcb37d0ba7542d9c3ae6f5b796fcf35f34bf4..f44551b6778008cf8162ec1d29ab5caee861e4c6 100644 (file)
@@ -1,20 +1,21 @@
 /* Extended regular expression matching and search library.
-   Copyright (C) 2002-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
 
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
 
-   This program is distributed in the hope that it will be useful,
+   The GNU C Library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
 
-   You should have received a copy of the GNU General Public License along
-   with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _REGEX_INTERNAL_H
 #define _REGEX_INTERNAL_H 1
 #include <string.h>
 
 #include <langinfo.h>
-#ifndef _LIBC
-# include "localcharset.h"
-#endif
 #include <locale.h>
 #include <wchar.h>
 #include <wctype.h>
 #include <stdbool.h>
 #include <stdint.h>
-#if defined _LIBC
+
+#ifdef _LIBC
 # include <bits/libc-lock.h>
+# define lock_define(name) __libc_lock_define (, name)
+# define lock_init(lock) (__libc_lock_init (lock), 0)
+# define lock_fini(lock) 0
+# define lock_lock(lock) __libc_lock_lock (lock)
+# define lock_unlock(lock) __libc_lock_unlock (lock)
+#elif defined GNULIB_LOCK
+# include "glthread/lock.h"
+  /* Use gl_lock_define if empty macro arguments are known to work.
+     Otherwise, fall back on less-portable substitutes.  */
+# if ((defined __GNUC__ && !defined __STRICT_ANSI__) \
+      || (defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__))
+#  define lock_define(name) gl_lock_define (, name)
+# elif USE_POSIX_THREADS
+#  define lock_define(name) pthread_mutex_t name;
+# elif USE_PTH_THREADS
+#  define lock_define(name) pth_mutex_t name;
+# elif USE_SOLARIS_THREADS
+#  define lock_define(name) mutex_t name;
+# elif USE_WINDOWS_THREADS
+#  define lock_define(name) gl_lock_t name;
+# else
+#  define lock_define(name)
+# endif
+# define lock_init(lock) glthread_lock_init (&(lock))
+# define lock_fini(lock) glthread_lock_destroy (&(lock))
+# define lock_lock(lock) glthread_lock_lock (&(lock))
+# define lock_unlock(lock) glthread_lock_unlock (&(lock))
+#elif defined GNULIB_PTHREAD
+# include <pthread.h>
+# define lock_define(name) pthread_mutex_t name;
+# define lock_init(lock) pthread_mutex_init (&(lock), 0)
+# define lock_fini(lock) pthread_mutex_destroy (&(lock))
+# define lock_lock(lock) pthread_mutex_lock (&(lock))
+# define lock_unlock(lock) pthread_mutex_unlock (&(lock))
 #else
-# define __libc_lock_define(CLASS,NAME)
-# define __libc_lock_init(NAME) do { } while (0)
-# define __libc_lock_lock(NAME) do { } while (0)
-# define __libc_lock_unlock(NAME) do { } while (0)
+# define lock_define(name)
+# define lock_init(lock) 0
+# define lock_fini(lock) ((void) 0)
+  /* The 'dfa' avoids an "unused variable 'dfa'" warning from GCC.  */
+# define lock_lock(lock) ((void) dfa)
+# define lock_unlock(lock) ((void) 0)
 #endif
 
 /* In case that the system doesn't have isblank().  */
@@ -63,7 +98,7 @@
 # ifdef _LIBC
 #  undef gettext
 #  define gettext(msgid) \
-  INTUSE(__dcgettext) (_libc_intl_domainname, msgid, LC_MESSAGES)
+  __dcgettext (_libc_intl_domainname, msgid, LC_MESSAGES)
 # endif
 #else
 # define gettext(msgid) (msgid)
 # define gettext_noop(String) String
 #endif
 
-#if (defined MB_CUR_MAX && HAVE_WCTYPE_H && HAVE_ISWCTYPE && HAVE_WCSCOLL) || _LIBC
+#if (defined MB_CUR_MAX && HAVE_WCTYPE_H && HAVE_ISWCTYPE) || _LIBC
 # define RE_ENABLE_I18N
 #endif
 
 # define BE(expr, val) __builtin_expect (expr, val)
 #else
 # define BE(expr, val) (expr)
-# ifdef _LIBC
-#  define inline
-# endif
 #endif
 
 /* Number of ASCII characters.  */
 
 /* Rename to standard API for using out of glibc.  */
 #ifndef _LIBC
+# undef __wctype
+# undef __iswctype
 # define __wctype wctype
 # define __iswctype iswctype
 # define __btowc btowc
 # define attribute_hidden
 #endif /* not _LIBC */
 
-#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
-# define __attribute(arg) __attribute__ (arg)
-#else
-# define __attribute(arg)
+#if __GNUC__ < 3 + (__GNUC_MINOR__ < 1)
+# define __attribute__(arg)
 #endif
 
 typedef __re_idx_t Idx;
@@ -430,7 +462,7 @@ static void build_upper_buffer (re_string_t *pstr) internal_function;
 static void re_string_translate_buffer (re_string_t *pstr) internal_function;
 static unsigned int re_string_context_at (const re_string_t *input, Idx idx,
                                          int eflags)
-     internal_function __attribute ((pure));
+     internal_function __attribute__ ((pure));
 #endif
 #define re_string_peek_byte(pstr, offset) \
   ((pstr)->mbs[(pstr)->cur_idx + offset])
@@ -449,7 +481,9 @@ static unsigned int re_string_context_at (const re_string_t *input, Idx idx,
 #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
 #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
 
-#include <alloca.h>
+#if defined _LIBC || HAVE_ALLOCA
+# include <alloca.h>
+#endif
 
 #ifndef _LIBC
 # if HAVE_ALLOCA
@@ -466,11 +500,17 @@ static unsigned int re_string_context_at (const re_string_t *input, Idx idx,
 # endif
 #endif
 
+#ifdef _LIBC
+# define MALLOC_0_IS_NONNULL 1
+#elif !defined MALLOC_0_IS_NONNULL
+# define MALLOC_0_IS_NONNULL 0
+#endif
+
 #ifndef MAX
 # define MAX(a,b) ((a) < (b) ? (b) : (a))
 #endif
 #ifndef MIN
-# define MIN(a,b) ((a) < (b) ? (b) : (a))
+# define MIN(a,b) ((a) < (b) ? (a) : (b))
 #endif
 
 #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t)))
@@ -696,7 +736,7 @@ struct re_dfa_t
 #ifdef DEBUG
   char* re_str;
 #endif
-  __libc_lock_define (, lock)
+  lock_define (lock)
 };
 
 #define re_node_set_init_empty(set) memset (set, '\0', sizeof (re_node_set))
@@ -727,33 +767,33 @@ typedef struct
 } bracket_elem_t;
 
 
-/* Inline functions for bitset_t operation.  */
+/* Functions for bitset_t operation.  */
 
-static inline void
+static void
 bitset_set (bitset_t set, Idx i)
 {
   set[i / BITSET_WORD_BITS] |= (bitset_word_t) 1 << i % BITSET_WORD_BITS;
 }
 
-static inline void
+static void
 bitset_clear (bitset_t set, Idx i)
 {
   set[i / BITSET_WORD_BITS] &= ~ ((bitset_word_t) 1 << i % BITSET_WORD_BITS);
 }
 
-static inline bool
+static bool
 bitset_contain (const bitset_t set, Idx i)
 {
   return (set[i / BITSET_WORD_BITS] >> i % BITSET_WORD_BITS) & 1;
 }
 
-static inline void
+static void
 bitset_empty (bitset_t set)
 {
   memset (set, '\0', sizeof (bitset_t));
 }
 
-static inline void
+static void
 bitset_set_all (bitset_t set)
 {
   memset (set, -1, sizeof (bitset_word_t) * (SBC_MAX / BITSET_WORD_BITS));
@@ -762,13 +802,13 @@ bitset_set_all (bitset_t set)
       ((bitset_word_t) 1 << SBC_MAX % BITSET_WORD_BITS) - 1;
 }
 
-static inline void
+static void
 bitset_copy (bitset_t dest, const bitset_t src)
 {
   memcpy (dest, src, sizeof (bitset_t));
 }
 
-static inline void
+static void __attribute__ ((unused))
 bitset_not (bitset_t set)
 {
   int bitset_i;
@@ -780,7 +820,7 @@ bitset_not (bitset_t set)
        & ~set[BITSET_WORDS - 1]);
 }
 
-static inline void
+static void __attribute__ ((unused))
 bitset_merge (bitset_t dest, const bitset_t src)
 {
   int bitset_i;
@@ -788,7 +828,7 @@ bitset_merge (bitset_t dest, const bitset_t src)
     dest[bitset_i] |= src[bitset_i];
 }
 
-static inline void
+static void __attribute__ ((unused))
 bitset_mask (bitset_t dest, const bitset_t src)
 {
   int bitset_i;
@@ -797,9 +837,9 @@ bitset_mask (bitset_t dest, const bitset_t src)
 }
 
 #ifdef RE_ENABLE_I18N
-/* Inline functions for re_string.  */
-static inline int
-internal_function __attribute ((pure))
+/* Functions for re_string.  */
+static int
+internal_function __attribute__ ((pure, unused))
 re_string_char_size_at (const re_string_t *pstr, Idx idx)
 {
   int byte_idx;
@@ -811,8 +851,8 @@ re_string_char_size_at (const re_string_t *pstr, Idx idx)
   return byte_idx;
 }
 
-static inline wint_t
-internal_function __attribute ((pure))
+static wint_t
+internal_function __attribute__ ((pure, unused))
 re_string_wchar_at (const re_string_t *pstr, Idx idx)
 {
   if (pstr->mb_cur_max == 1)
@@ -822,7 +862,7 @@ re_string_wchar_at (const re_string_t *pstr, Idx idx)
 
 # ifndef NOT_IN_libc
 static int
-internal_function __attribute ((pure))
+internal_function __attribute__ ((pure, unused))
 re_string_elem_size_at (const re_string_t *pstr, Idx idx)
 {
 #  ifdef _LIBC
index 05576bb319dc9a8a2ed4ed7e826e3670d498abc3..7c91449a1909329a4af4bb3737a8c810f65eef44 100644 (file)
@@ -1,20 +1,21 @@
 /* Extended regular expression matching and search library.
-   Copyright (C) 2002-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
 
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
 
-   This program is distributed in the hope that it will be useful,
+   The GNU C Library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
 
-   You should have received a copy of the GNU General Public License along
-   with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags,
                                     Idx n) internal_function;
@@ -198,7 +199,7 @@ static Idx group_nodes_into_DFAstates (const re_dfa_t *dfa,
 static bool check_node_accept (const re_match_context_t *mctx,
                               const re_token_t *node, Idx idx)
      internal_function;
-static reg_errcode_t extend_buffers (re_match_context_t *mctx)
+static reg_errcode_t extend_buffers (re_match_context_t *mctx, int min_len)
      internal_function;
 \f
 /* Entry point for POSIX code.  */
@@ -227,9 +228,7 @@ regexec (preg, string, nmatch, pmatch, eflags)
 {
   reg_errcode_t err;
   Idx start, length;
-#ifdef _LIBC
-  re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
-#endif
+  re_dfa_t *dfa = preg->buffer;
 
   if (eflags & ~(REG_NOTBOL | REG_NOTEOL | REG_STARTEND))
     return REG_BADPAT;
@@ -245,14 +244,14 @@ regexec (preg, string, nmatch, pmatch, eflags)
       length = strlen (string);
     }
 
-  __libc_lock_lock (dfa->lock);
+  lock_lock (dfa->lock);
   if (preg->no_sub)
     err = re_search_internal (preg, string, length, start, length,
                              length, 0, NULL, eflags);
   else
     err = re_search_internal (preg, string, length, start, length,
                              length, nmatch, pmatch, eflags);
-  __libc_lock_unlock (dfa->lock);
+  lock_unlock (dfa->lock);
   return err != REG_NOERROR;
 }
 
@@ -420,9 +419,7 @@ re_search_stub (struct re_pattern_buffer *bufp,
   Idx nregs;
   regoff_t rval;
   int eflags = 0;
-#ifdef _LIBC
-  re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
-#endif
+  re_dfa_t *dfa = bufp->buffer;
   Idx last_start = start + range;
 
   /* Check for out-of-range.  */
@@ -433,7 +430,7 @@ re_search_stub (struct re_pattern_buffer *bufp,
   else if (BE (last_start < 0 || (range < 0 && start <= last_start), 0))
     last_start = 0;
 
-  __libc_lock_lock (dfa->lock);
+  lock_lock (dfa->lock);
 
   eflags |= (bufp->not_bol) ? REG_NOTBOL : 0;
   eflags |= (bufp->not_eol) ? REG_NOTEOL : 0;
@@ -473,9 +470,9 @@ re_search_stub (struct re_pattern_buffer *bufp,
 
   rval = 0;
 
-  /* I hope we needn't fill ther regs with -1's when no match was found.  */
+  /* I hope we needn't fill their regs with -1's when no match was found.  */
   if (result != REG_NOERROR)
-    rval = -1;
+    rval = result == REG_NOMATCH ? -1 : -2;
   else if (regs != NULL)
     {
       /* If caller wants register contents data back, copy them.  */
@@ -497,7 +494,7 @@ re_search_stub (struct re_pattern_buffer *bufp,
     }
   re_free (pmatch);
  out:
-  __libc_lock_unlock (dfa->lock);
+  lock_unlock (dfa->lock);
   return rval;
 }
 
@@ -639,7 +636,7 @@ re_search_internal (const regex_t *preg,
                    int eflags)
 {
   reg_errcode_t err;
-  const re_dfa_t *dfa = (const re_dfa_t *) preg->buffer;
+  const re_dfa_t *dfa = preg->buffer;
   Idx left_lim, right_lim;
   int incr;
   bool fl_longest_match;
@@ -735,7 +732,7 @@ re_search_internal (const regex_t *preg,
   mctx.input.tip_context = (eflags & REG_NOTBOL) ? CONTEXT_BEGBUF
                           : CONTEXT_NEWLINE | CONTEXT_BEGBUF;
 
-  /* Check incrementally whether of not the input string match.  */
+  /* Check incrementally whether the input string matches.  */
   incr = (last_start < start) ? -1 : 1;
   left_lim = (last_start < start) ? last_start : start;
   right_lim = (last_start < start) ? start : last_start;
@@ -1063,7 +1060,7 @@ prune_impossible_nodes (re_match_context_t *mctx)
    since initial states may have constraints like "\<", "^", etc..  */
 
 static inline re_dfastate_t *
-__attribute ((always_inline)) internal_function
+__attribute__ ((always_inline)) internal_function
 acquire_init_state_context (reg_errcode_t *err, const re_match_context_t *mctx,
                            Idx idx)
 {
@@ -1175,7 +1172,7 @@ check_matching (re_match_context_t *mctx, bool fl_longest_match,
          || (BE (next_char_idx >= mctx->input.valid_len, 0)
              && mctx->input.valid_len < mctx->input.len))
        {
-         err = extend_buffers (mctx);
+         err = extend_buffers (mctx, next_char_idx + 1);
          if (BE (err != REG_NOERROR, 0))
            {
              assert (err == REG_ESPACE);
@@ -1432,7 +1429,7 @@ internal_function __attribute_warn_unused_result__
 set_regs (const regex_t *preg, const re_match_context_t *mctx, size_t nmatch,
          regmatch_t *pmatch, bool fl_backtrack)
 {
-  const re_dfa_t *dfa = (const re_dfa_t *) preg->buffer;
+  const re_dfa_t *dfa = preg->buffer;
   Idx idx, cur_node;
   re_node_set eps_via_nodes;
   struct re_fail_stack_t *fs;
@@ -1755,7 +1752,7 @@ clean_state_log_if_needed (re_match_context_t *mctx, Idx next_state_log_idx)
          && mctx->input.valid_len < mctx->input.len))
     {
       reg_errcode_t err;
-      err = extend_buffers (mctx);
+      err = extend_buffers (mctx, next_state_log_idx + 1);
       if (BE (err != REG_NOERROR, 0))
        return err;
     }
@@ -2812,7 +2809,7 @@ get_subexp (re_match_context_t *mctx, Idx bkref_node, Idx bkref_str_idx)
                  if (bkref_str_off >= mctx->input.len)
                    break;
 
-                 err = extend_buffers (mctx);
+                 err = extend_buffers (mctx, bkref_str_off + 1);
                  if (BE (err != REG_NOERROR, 0))
                    return err;
 
@@ -3935,6 +3932,7 @@ check_node_accept_bytes (const re_dfa_t *dfa, Idx node_idx,
                in_collseq = find_collation_sequence_value (pin, elem_len);
            }
          /* match with range expression?  */
+         /* FIXME: Implement rational ranges here, too.  */
          for (i = 0; i < cset->nranges; ++i)
            if (cset->range_starts[i] <= in_collseq
                && in_collseq <= cset->range_ends[i])
@@ -3986,18 +3984,9 @@ check_node_accept_bytes (const re_dfa_t *dfa, Idx node_idx,
 # endif /* _LIBC */
        {
          /* match with range expression?  */
-#if __GNUC__ >= 2 && ! (__STDC_VERSION__ < 199901L && defined __STRICT_ANSI__)
-         wchar_t cmp_buf[] = {L'\0', L'\0', wc, L'\0', L'\0', L'\0'};
-#else
-         wchar_t cmp_buf[] = {L'\0', L'\0', L'\0', L'\0', L'\0', L'\0'};
-         cmp_buf[2] = wc;
-#endif
          for (i = 0; i < cset->nranges; ++i)
            {
-             cmp_buf[0] = cset->range_starts[i];
-             cmp_buf[4] = cset->range_ends[i];
-             if (wcscoll (cmp_buf, cmp_buf + 2) <= 0
-                 && wcscoll (cmp_buf + 2, cmp_buf + 4) <= 0)
+             if (cset->range_starts[i] <= wc && wc <= cset->range_ends[i])
                {
                  match_len = char_len;
                  goto check_node_accept_bytes_match;
@@ -4135,7 +4124,7 @@ check_node_accept (const re_match_context_t *mctx, const re_token_t *node,
 
 static reg_errcode_t
 internal_function __attribute_warn_unused_result__
-extend_buffers (re_match_context_t *mctx)
+extend_buffers (re_match_context_t *mctx, int min_len)
 {
   reg_errcode_t ret;
   re_string_t *pstr = &mctx->input;
@@ -4145,8 +4134,10 @@ extend_buffers (re_match_context_t *mctx)
           <= pstr->bufs_len, 0))
     return REG_ESPACE;
 
-  /* Double the lengths of the buffers.  */
-  ret = re_string_realloc_buffers (pstr, MIN (pstr->len, pstr->bufs_len * 2));
+  /* Double the lengths of the buffers, but allocate at least MIN_LEN.  */
+  ret = re_string_realloc_buffers (pstr,
+                                  MAX (min_len,
+                                       MIN (pstr->len, pstr->bufs_len * 2)));
   if (BE (ret != REG_NOERROR, 0))
     return ret;
 
index f065036b84cc97370ec7dca5a3b5cedd5a232e87..448108203cc5b7f9a51f472c9e81f8936a5458a0 100644 (file)
@@ -1,7 +1,7 @@
 /* Determine whether string value is affirmation or negative response
    according to current locale's data.
 
-   Copyright (C) 1996, 1998, 2000, 2002-2003, 2006-2012 Free Software
+   Copyright (C) 1996, 1998, 2000, 2002-2003, 2006-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
@@ -110,7 +110,10 @@ try (const char *response, const char *pattern, char **lastp, regex_t *re)
         return -1;
       /* Compile the pattern and cache it for future runs.  */
       if (regcomp (re, safe_pattern, REG_EXTENDED) != 0)
-        return -1;
+        {
+          free (safe_pattern);
+          return -1;
+        }
       *lastp = safe_pattern;
     }
 
index 25a4e2f39b24179bb1cc54c64f1f9c7126426cc0..c9b8828a18b035031d0c9dd1dbb85413a77bb65e 100644 (file)
@@ -1,6 +1,6 @@
 /* An interface to read and write that retries after interrupts.
 
-   Copyright (C) 1993-1994, 1998, 2002-2006, 2009-2012 Free Software
+   Copyright (C) 1993-1994, 1998, 2002-2006, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 0946814776a9de8b2136f7d15d85b87c2ebaa360..aba8bdb341f32ef96cc5d6fdf51c78291ff12826 100644 (file)
@@ -1,5 +1,5 @@
 /* An interface to read() that retries after interrupts.
-   Copyright (C) 2002, 2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2006, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
 /* Some system calls may be interrupted and fail with errno = EINTR in the
    following situations:
      - The process is stopped and restarted (signal SIGSTOP and SIGCONT, user
-       types Ctrl-Z) on some platforms: MacOS X.
+       types Ctrl-Z) on some platforms: Mac OS X.
      - The process receives a signal for which a signal handler was installed
        with sigaction() with an sa_flags field that does not contain
        SA_RESTART.
diff --git a/lib/secure_getenv.c b/lib/secure_getenv.c
new file mode 100644 (file)
index 0000000..32819e6
--- /dev/null
@@ -0,0 +1,41 @@
+/* Look up an environment variable more securely.
+
+   Copyright 2013-2014 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify it
+   under the terms of the GNU General Public License as published
+   by the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#include <config.h>
+
+#include <stdlib.h>
+
+#if !HAVE___SECURE_GETENV
+# if HAVE_ISSETUGID
+#  include <unistd.h>
+# else
+#  undef issetugid
+#  define issetugid() 1
+# endif
+#endif
+
+char *
+secure_getenv (char const *name)
+{
+#if HAVE___SECURE_GETENV
+  return __secure_getenv (name);
+#else
+  if (issetugid ())
+    return 0;
+  return getenv (name);
+#endif
+}
index 9a4b9400cc195e9ae2cc1f999e8fc4d66be875e3..2d86b7e03faad61f7eae15f801561995f33eaaee 100644 (file)
@@ -1,5 +1,5 @@
 /* Pausing execution of the current thread.
-   Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2007.
 
    This program is free software: you can redistribute it and/or modify
index 9ea53c1c0cd5b4f9ed8a776a1ab434f59b88dd29..35f4b0b1a51bec9c6a9231d6a70dd571bb63fa27 100644 (file)
@@ -1,5 +1,5 @@
 /* Work around platform bugs in stat.
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include <sys/stat.h>
 #undef __need_system_sys_stat_h
 
-static inline int
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+# if _GL_WINDOWS_64_BIT_ST_SIZE
+#  undef stat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */
+#  define stat _stati64
+#  define REPLACE_FUNC_STAT_DIR 1
+#  undef REPLACE_FUNC_STAT_FILE
+# elif REPLACE_FUNC_STAT_FILE
+/* mingw64 has a broken stat() function, based on _stat(), in libmingwex.a.
+   Bypass it.  */
+#  define stat _stat
+#  define REPLACE_FUNC_STAT_DIR 1
+#  undef REPLACE_FUNC_STAT_FILE
+# endif
+#endif
+
+static int
 orig_stat (const char *filename, struct stat *buf)
 {
   return stat (filename, buf);
index 53104a61923410218637faa61155531f39932d8b..5b37dd3601a9f10aef13ed1ee0ad5394b0d3aabc 100644 (file)
@@ -1,5 +1,5 @@
 /* Substitute for and wrapper around <stdarg.h>.
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index ed1f9aa488b1329a039aad50df316dc24d3a5653..651e8dffdb34ba935e729e4f4b3581c0de69ee9a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2003, 2006-2012 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2003, 2006-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software; you can redistribute it and/or modify
 # undef true
 #endif
 
-/* For the sake of symbolic names in gdb, we define true and false as
-   enum constants, not only as macros.
-   It is tempting to write
-      typedef enum { false = 0, true = 1 } _Bool;
-   so that gdb prints values of type 'bool' symbolically. But if we do
-   this, values of type '_Bool' may promote to 'int' or 'unsigned int'
-   (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int'
-   (see ISO C 99 6.3.1.1.(2)).  So we add a negative value to the
-   enum; this ensures that '_Bool' promotes to 'int'.  */
-#if defined __cplusplus || (defined __BEOS__ && !defined __HAIKU__)
+#ifdef __cplusplus
+# define _Bool bool
+# define bool bool
+#else
+# if defined __BEOS__ && !defined __HAIKU__
   /* A compiler known to have 'bool'.  */
   /* If the compiler already has both 'bool' and '_Bool', we can assume they
      are the same types.  */
-# if !@HAVE__BOOL@
+#  if !@HAVE__BOOL@
 typedef bool _Bool;
-# endif
-#else
-# if !defined __GNUC__
+#  endif
+# else
+#  if !defined __GNUC__
    /* If @HAVE__BOOL@:
         Some HP-UX cc and AIX IBM C compiler versions have compiler bugs when
         the built-in _Bool type is used.  See
@@ -103,19 +98,35 @@ typedef bool _Bool;
           "Invalid enumerator. (badenum)" with HP-UX cc on Tru64.
         The only benefit of the enum, debuggability, is not important
         with these compilers.  So use 'signed char' and no enum.  */
-#  define _Bool signed char
-# else
+#   define _Bool signed char
+#  else
    /* With this compiler, trust the _Bool type if the compiler has it.  */
-#  if !@HAVE__BOOL@
+#   if !@HAVE__BOOL@
+   /* For the sake of symbolic names in gdb, define true and false as
+      enum constants, not only as macros.
+      It is tempting to write
+         typedef enum { false = 0, true = 1 } _Bool;
+      so that gdb prints values of type 'bool' symbolically.  But then
+      values of type '_Bool' might promote to 'int' or 'unsigned int'
+      (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int'
+      (see ISO C 99 6.3.1.1.(2)).  So add a negative value to the
+      enum; this ensures that '_Bool' promotes to 'int'.  */
 typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool;
+#   endif
 #  endif
 # endif
+# define bool _Bool
 #endif
-#define bool _Bool
 
 /* The other macros must be usable in preprocessor directives.  */
-#define false 0
-#define true 1
+#ifdef __cplusplus
+# define false false
+# define true true
+#else
+# define false 0
+# define true 1
+#endif
+
 #define __bool_true_false_are_defined 1
 
 #endif /* _GL_STDBOOL_H */
index 17fcaea2bfe6df6afb1e8f8561e55a709c082682..f5c0e0565541d9f384d6abe2d4db900d5fbe7ddc 100644 (file)
@@ -1,6 +1,6 @@
 /* A substitute for POSIX 2008 <stddef.h>, for platforms that have issues.
 
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 8e4c8228cac552e7e03e126cba70121d7bf72db8..247f0d89619fd5f69f5e8f97ae3aa42a6c07f319 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2002, 2004-2012 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2002, 2004-2014 Free Software Foundation, Inc.
    Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood.
    This file is part of gnulib.
 
@@ -38,8 +38,7 @@
    other system header files; just include the system's <stdint.h>.
    Ideally we should test __BIONIC__ here, but it is only defined after
    <sys/cdefs.h> has been included; hence test __ANDROID__ instead.  */
-#if defined __ANDROID__ \
-    && defined _SYS_TYPES_H_ && !defined _SSIZE_T_DEFINED_
+#if defined __ANDROID__ && defined _GL_INCLUDING_SYS_TYPES_H
 # @INCLUDE_NEXT@ @NEXT_STDINT_H@
 #else
 
 /* <sys/types.h> defines some of the stdint.h types as well, on glibc,
    IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>).
    AIX 5.2 <sys/types.h> isn't needed and causes troubles.
-   MacOS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
+   Mac OS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
    relies on the system <stdint.h> definitions, so include
    <sys/types.h> after @NEXT_STDINT_H@.  */
 #if @HAVE_SYS_TYPES_H@ && ! defined _AIX
 # include <sys/types.h>
 #endif
 
-/* Get LONG_MIN, LONG_MAX, ULONG_MAX.  */
+/* Get SCHAR_MIN, SCHAR_MAX, UCHAR_MAX, INT_MIN, INT_MAX,
+   LONG_MIN, LONG_MAX, ULONG_MAX.  */
 #include <limits.h>
 
 #if @HAVE_INTTYPES_H@
@@ -246,8 +246,9 @@ typedef unsigned long long int gl_uint64_t;
 
 /* Here we assume a standard architecture where the hardware integer
    types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types
-   are taken from the same list of types.  Assume that 'long int'
-   is fast enough for all narrower integers.  */
+   are taken from the same list of types.  The following code normally
+   uses types consistent with glibc, as that lessens the chance of
+   incompatibility with older GNU hosts.  */
 
 #undef int_fast8_t
 #undef uint_fast8_t
@@ -257,12 +258,21 @@ typedef unsigned long long int gl_uint64_t;
 #undef uint_fast32_t
 #undef int_fast64_t
 #undef uint_fast64_t
-typedef long int gl_int_fast8_t;
-typedef unsigned long int gl_uint_fast8_t;
-typedef long int gl_int_fast16_t;
-typedef unsigned long int gl_uint_fast16_t;
+typedef signed char gl_int_fast8_t;
+typedef unsigned char gl_uint_fast8_t;
+
+#ifdef __sun
+/* Define types compatible with SunOS 5.10, so that code compiled under
+   earlier SunOS versions works with code compiled under SunOS 5.10.  */
+typedef int gl_int_fast32_t;
+typedef unsigned int gl_uint_fast32_t;
+#else
 typedef long int gl_int_fast32_t;
 typedef unsigned long int gl_uint_fast32_t;
+#endif
+typedef gl_int_fast32_t gl_int_fast16_t;
+typedef gl_uint_fast32_t gl_uint_fast16_t;
+
 #define int_fast8_t gl_int_fast8_t
 #define uint_fast8_t gl_uint_fast8_t
 #define int_fast16_t gl_int_fast16_t
@@ -418,23 +428,29 @@ typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t)
 #undef INT_FAST8_MIN
 #undef INT_FAST8_MAX
 #undef UINT_FAST8_MAX
-#define INT_FAST8_MIN  LONG_MIN
-#define INT_FAST8_MAX  LONG_MAX
-#define UINT_FAST8_MAX  ULONG_MAX
+#define INT_FAST8_MIN  SCHAR_MIN
+#define INT_FAST8_MAX  SCHAR_MAX
+#define UINT_FAST8_MAX  UCHAR_MAX
 
 #undef INT_FAST16_MIN
 #undef INT_FAST16_MAX
 #undef UINT_FAST16_MAX
-#define INT_FAST16_MIN  LONG_MIN
-#define INT_FAST16_MAX  LONG_MAX
-#define UINT_FAST16_MAX  ULONG_MAX
+#define INT_FAST16_MIN  INT_FAST32_MIN
+#define INT_FAST16_MAX  INT_FAST32_MAX
+#define UINT_FAST16_MAX  UINT_FAST32_MAX
 
 #undef INT_FAST32_MIN
 #undef INT_FAST32_MAX
 #undef UINT_FAST32_MAX
-#define INT_FAST32_MIN  LONG_MIN
-#define INT_FAST32_MAX  LONG_MAX
-#define UINT_FAST32_MAX  ULONG_MAX
+#ifdef __sun
+# define INT_FAST32_MIN  INT_MIN
+# define INT_FAST32_MAX  INT_MAX
+# define UINT_FAST32_MAX  UINT_MAX
+#else
+# define INT_FAST32_MIN  LONG_MIN
+# define INT_FAST32_MAX  LONG_MAX
+# define UINT_FAST32_MAX  ULONG_MAX
+#endif
 
 #undef INT_FAST64_MIN
 #undef INT_FAST64_MAX
diff --git a/lib/stdio.in.h b/lib/stdio.in.h
new file mode 100644 (file)
index 0000000..1e1fe84
--- /dev/null
@@ -0,0 +1,1353 @@
+/* A GNU-like <stdio.h>.
+
+   Copyright (C) 2004, 2007-2014 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+
+#if __GNUC__ >= 3
+@PRAGMA_SYSTEM_HEADER@
+#endif
+@PRAGMA_COLUMNS@
+
+#if defined __need_FILE || defined __need___FILE || defined _GL_ALREADY_INCLUDING_STDIO_H
+/* Special invocation convention:
+   - Inside glibc header files.
+   - On OSF/1 5.1 we have a sequence of nested includes
+     <stdio.h> -> <getopt.h> -> <ctype.h> -> <sys/localedef.h> ->
+     <sys/lc_core.h> -> <nl_types.h> -> <mesg.h> -> <stdio.h>.
+     In this situation, the functions are not yet declared, therefore we cannot
+     provide the C++ aliases.  */
+
+#@INCLUDE_NEXT@ @NEXT_STDIO_H@
+
+#else
+/* Normal invocation convention.  */
+
+#ifndef _@GUARD_PREFIX@_STDIO_H
+
+#define _GL_ALREADY_INCLUDING_STDIO_H
+
+/* The include_next requires a split double-inclusion guard.  */
+#@INCLUDE_NEXT@ @NEXT_STDIO_H@
+
+#undef _GL_ALREADY_INCLUDING_STDIO_H
+
+#ifndef _@GUARD_PREFIX@_STDIO_H
+#define _@GUARD_PREFIX@_STDIO_H
+
+/* Get va_list.  Needed on many systems, including glibc 2.8.  */
+#include <stdarg.h>
+
+#include <stddef.h>
+
+/* Get off_t and ssize_t.  Needed on many systems, including glibc 2.8
+   and eglibc 2.11.2.
+   May also define off_t to a 64-bit type on native Windows.  */
+#include <sys/types.h>
+
+/* The __attribute__ feature is available in gcc versions 2.5 and later.
+   The __-protected variants of the attributes 'format' and 'printf' are
+   accepted by gcc versions 2.6.4 (effectively 2.7) and later.
+   We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because
+   gnulib and libintl do '#define printf __printf__' when they override
+   the 'printf' function.  */
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
+# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
+#else
+# define _GL_ATTRIBUTE_FORMAT(spec) /* empty */
+#endif
+
+/* _GL_ATTRIBUTE_FORMAT_PRINTF
+   indicates to GCC that the function takes a format string and arguments,
+   where the format string directives are the ones standardized by ISO C99
+   and POSIX.  */
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
+# define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
+   _GL_ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument))
+#else
+# define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
+   _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
+#endif
+
+/* _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_PRINTF,
+   except that it indicates to GCC that the supported format string directives
+   are the ones of the system printf(), rather than the ones standardized by
+   ISO C99 and POSIX.  */
+#define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \
+  _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
+
+/* _GL_ATTRIBUTE_FORMAT_SCANF
+   indicates to GCC that the function takes a format string and arguments,
+   where the format string directives are the ones standardized by ISO C99
+   and POSIX.  */
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
+# define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \
+   _GL_ATTRIBUTE_FORMAT ((__gnu_scanf__, formatstring_parameter, first_argument))
+#else
+# define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \
+   _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument))
+#endif
+
+/* _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_SCANF,
+   except that it indicates to GCC that the supported format string directives
+   are the ones of the system scanf(), rather than the ones standardized by
+   ISO C99 and POSIX.  */
+#define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter, first_argument) \
+  _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument))
+
+/* Solaris 10 declares renameat in <unistd.h>, not in <stdio.h>.  */
+/* But in any case avoid namespace pollution on glibc systems.  */
+#if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && defined __sun \
+    && ! defined __GLIBC__
+# include <unistd.h>
+#endif
+
+
+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
+
+/* The definition of _GL_ARG_NONNULL is copied here.  */
+
+/* The definition of _GL_WARN_ON_USE is copied here.  */
+
+/* Macros for stringification.  */
+#define _GL_STDIO_STRINGIZE(token) #token
+#define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token)
+
+/* When also using extern inline, suppress the use of static inline in
+   standard headers of problematic Apple configurations, as Libc at
+   least through Libc-825.26 (2013-04-09) mishandles it; see, e.g.,
+   <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>.
+   Perhaps Apple will fix this some day.  */
+#if (defined _GL_EXTERN_INLINE_IN_USE && defined __APPLE__ \
+     && defined __GNUC__ && defined __STDC__)
+# undef putc_unlocked
+#endif
+
+#if @GNULIB_DPRINTF@
+# if @REPLACE_DPRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define dprintf rpl_dprintf
+#  endif
+_GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...)
+                                _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3)
+                                _GL_ARG_NONNULL ((2)));
+_GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...));
+# else
+#  if !@HAVE_DPRINTF@
+_GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...)
+                                _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3)
+                                _GL_ARG_NONNULL ((2)));
+#  endif
+_GL_CXXALIAS_SYS (dprintf, int, (int fd, const char *format, ...));
+# endif
+_GL_CXXALIASWARN (dprintf);
+#elif defined GNULIB_POSIXCHECK
+# undef dprintf
+# if HAVE_RAW_DECL_DPRINTF
+_GL_WARN_ON_USE (dprintf, "dprintf is unportable - "
+                 "use gnulib module dprintf for portability");
+# endif
+#endif
+
+#if @GNULIB_FCLOSE@
+/* Close STREAM and its underlying file descriptor.  */
+# if @REPLACE_FCLOSE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define fclose rpl_fclose
+#  endif
+_GL_FUNCDECL_RPL (fclose, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (fclose, int, (FILE *stream));
+# else
+_GL_CXXALIAS_SYS (fclose, int, (FILE *stream));
+# endif
+_GL_CXXALIASWARN (fclose);
+#elif defined GNULIB_POSIXCHECK
+# undef fclose
+/* Assume fclose is always declared.  */
+_GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - "
+                 "use gnulib module fclose for portable POSIX compliance");
+#endif
+
+#if @GNULIB_FDOPEN@
+# if @REPLACE_FDOPEN@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fdopen
+#   define fdopen rpl_fdopen
+#  endif
+_GL_FUNCDECL_RPL (fdopen, FILE *, (int fd, const char *mode)
+                                  _GL_ARG_NONNULL ((2)));
+_GL_CXXALIAS_RPL (fdopen, FILE *, (int fd, const char *mode));
+# else
+_GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode));
+# endif
+_GL_CXXALIASWARN (fdopen);
+#elif defined GNULIB_POSIXCHECK
+# undef fdopen
+/* Assume fdopen is always declared.  */
+_GL_WARN_ON_USE (fdopen, "fdopen on native Windows platforms is not POSIX compliant - "
+                 "use gnulib module fdopen for portability");
+#endif
+
+#if @GNULIB_FFLUSH@
+/* Flush all pending data on STREAM according to POSIX rules.  Both
+   output and seekable input streams are supported.
+   Note! LOSS OF DATA can occur if fflush is applied on an input stream
+   that is _not_seekable_ or on an update stream that is _not_seekable_
+   and in which the most recent operation was input.  Seekability can
+   be tested with lseek(fileno(fp),0,SEEK_CUR).  */
+# if @REPLACE_FFLUSH@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define fflush rpl_fflush
+#  endif
+_GL_FUNCDECL_RPL (fflush, int, (FILE *gl_stream));
+_GL_CXXALIAS_RPL (fflush, int, (FILE *gl_stream));
+# else
+_GL_CXXALIAS_SYS (fflush, int, (FILE *gl_stream));
+# endif
+_GL_CXXALIASWARN (fflush);
+#elif defined GNULIB_POSIXCHECK
+# undef fflush
+/* Assume fflush is always declared.  */
+_GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - "
+                 "use gnulib module fflush for portable POSIX compliance");
+#endif
+
+#if @GNULIB_FGETC@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fgetc
+#   define fgetc rpl_fgetc
+#  endif
+_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (fgetc, int, (FILE *stream));
+# else
+_GL_CXXALIAS_SYS (fgetc, int, (FILE *stream));
+# endif
+_GL_CXXALIASWARN (fgetc);
+#endif
+
+#if @GNULIB_FGETS@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fgets
+#   define fgets rpl_fgets
+#  endif
+_GL_FUNCDECL_RPL (fgets, char *, (char *s, int n, FILE *stream)
+                                 _GL_ARG_NONNULL ((1, 3)));
+_GL_CXXALIAS_RPL (fgets, char *, (char *s, int n, FILE *stream));
+# else
+_GL_CXXALIAS_SYS (fgets, char *, (char *s, int n, FILE *stream));
+# endif
+_GL_CXXALIASWARN (fgets);
+#endif
+
+#if @GNULIB_FOPEN@
+# if @REPLACE_FOPEN@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fopen
+#   define fopen rpl_fopen
+#  endif
+_GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode)
+                                 _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode));
+# else
+_GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode));
+# endif
+_GL_CXXALIASWARN (fopen);
+#elif defined GNULIB_POSIXCHECK
+# undef fopen
+/* Assume fopen is always declared.  */
+_GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - "
+                 "use gnulib module fopen for portability");
+#endif
+
+#if @GNULIB_FPRINTF_POSIX@ || @GNULIB_FPRINTF@
+# if (@GNULIB_FPRINTF_POSIX@ && @REPLACE_FPRINTF@) \
+     || (@GNULIB_FPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@))
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define fprintf rpl_fprintf
+#  endif
+#  define GNULIB_overrides_fprintf 1
+#  if @GNULIB_FPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@
+_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...)
+                                _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3)
+                                _GL_ARG_NONNULL ((1, 2)));
+#  else
+_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...)
+                                _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 3)
+                                _GL_ARG_NONNULL ((1, 2)));
+#  endif
+_GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...));
+# else
+_GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...));
+# endif
+_GL_CXXALIASWARN (fprintf);
+#endif
+#if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK
+# if !GNULIB_overrides_fprintf
+#  undef fprintf
+# endif
+/* Assume fprintf is always declared.  */
+_GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - "
+                 "use gnulib module fprintf-posix for portable "
+                 "POSIX compliance");
+#endif
+
+#if @GNULIB_FPURGE@
+/* Discard all pending buffered I/O data on STREAM.
+   STREAM must not be wide-character oriented.
+   When discarding pending output, the file position is set back to where it
+   was before the write calls.  When discarding pending input, the file
+   position is advanced to match the end of the previously read input.
+   Return 0 if successful.  Upon error, return -1 and set errno.  */
+# if @REPLACE_FPURGE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define fpurge rpl_fpurge
+#  endif
+_GL_FUNCDECL_RPL (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (fpurge, int, (FILE *gl_stream));
+# else
+#  if !@HAVE_DECL_FPURGE@
+_GL_FUNCDECL_SYS (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1)));
+#  endif
+_GL_CXXALIAS_SYS (fpurge, int, (FILE *gl_stream));
+# endif
+_GL_CXXALIASWARN (fpurge);
+#elif defined GNULIB_POSIXCHECK
+# undef fpurge
+# if HAVE_RAW_DECL_FPURGE
+_GL_WARN_ON_USE (fpurge, "fpurge is not always present - "
+                 "use gnulib module fpurge for portability");
+# endif
+#endif
+
+#if @GNULIB_FPUTC@
+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fputc
+#   define fputc rpl_fputc
+#  endif
+_GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2)));
+_GL_CXXALIAS_RPL (fputc, int, (int c, FILE *stream));
+# else
+_GL_CXXALIAS_SYS (fputc, int, (int c, FILE *stream));
+# endif
+_GL_CXXALIASWARN (fputc);
+#endif
+
+#if @GNULIB_FPUTS@
+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fputs
+#   define fputs rpl_fputs
+#  endif
+_GL_FUNCDECL_RPL (fputs, int, (const char *string, FILE *stream)
+                              _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (fputs, int, (const char *string, FILE *stream));
+# else
+_GL_CXXALIAS_SYS (fputs, int, (const char *string, FILE *stream));
+# endif
+_GL_CXXALIASWARN (fputs);
+#endif
+
+#if @GNULIB_FREAD@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fread
+#   define fread rpl_fread
+#  endif
+_GL_FUNCDECL_RPL (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream)
+                                 _GL_ARG_NONNULL ((4)));
+_GL_CXXALIAS_RPL (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream));
+# else
+_GL_CXXALIAS_SYS (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream));
+# endif
+_GL_CXXALIASWARN (fread);
+#endif
+
+#if @GNULIB_FREOPEN@
+# if @REPLACE_FREOPEN@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef freopen
+#   define freopen rpl_freopen
+#  endif
+_GL_FUNCDECL_RPL (freopen, FILE *,
+                  (const char *filename, const char *mode, FILE *stream)
+                  _GL_ARG_NONNULL ((2, 3)));
+_GL_CXXALIAS_RPL (freopen, FILE *,
+                  (const char *filename, const char *mode, FILE *stream));
+# else
+_GL_CXXALIAS_SYS (freopen, FILE *,
+                  (const char *filename, const char *mode, FILE *stream));
+# endif
+_GL_CXXALIASWARN (freopen);
+#elif defined GNULIB_POSIXCHECK
+# undef freopen
+/* Assume freopen is always declared.  */
+_GL_WARN_ON_USE (freopen,
+                 "freopen on native Windows platforms is not POSIX compliant - "
+                 "use gnulib module freopen for portability");
+#endif
+
+#if @GNULIB_FSCANF@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fscanf
+#   define fscanf rpl_fscanf
+#  endif
+_GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...)
+                               _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 3)
+                               _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...));
+# else
+_GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...));
+# endif
+_GL_CXXALIASWARN (fscanf);
+#endif
+
+
+/* Set up the following warnings, based on which modules are in use.
+   GNU Coding Standards discourage the use of fseek, since it imposes
+   an arbitrary limitation on some 32-bit hosts.  Remember that the
+   fseek module depends on the fseeko module, so we only have three
+   cases to consider:
+
+   1. The developer is not using either module.  Issue a warning under
+   GNULIB_POSIXCHECK for both functions, to remind them that both
+   functions have bugs on some systems.  _GL_NO_LARGE_FILES has no
+   impact on this warning.
+
+   2. The developer is using both modules.  They may be unaware of the
+   arbitrary limitations of fseek, so issue a warning under
+   GNULIB_POSIXCHECK.  On the other hand, they may be using both
+   modules intentionally, so the developer can define
+   _GL_NO_LARGE_FILES in the compilation units where the use of fseek
+   is safe, to silence the warning.
+
+   3. The developer is using the fseeko module, but not fseek.  Gnulib
+   guarantees that fseek will still work around platform bugs in that
+   case, but we presume that the developer is aware of the pitfalls of
+   fseek and was trying to avoid it, so issue a warning even when
+   GNULIB_POSIXCHECK is undefined.  Again, _GL_NO_LARGE_FILES can be
+   defined to silence the warning in particular compilation units.
+   In C++ compilations with GNULIB_NAMESPACE, in order to avoid that
+   fseek gets defined as a macro, it is recommended that the developer
+   uses the fseek module, even if he is not calling the fseek function.
+
+   Most gnulib clients that perform stream operations should fall into
+   category 3.  */
+
+#if @GNULIB_FSEEK@
+# if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES
+#  define _GL_FSEEK_WARN /* Category 2, above.  */
+#  undef fseek
+# endif
+# if @REPLACE_FSEEK@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fseek
+#   define fseek rpl_fseek
+#  endif
+_GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence)
+                              _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence));
+# else
+_GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence));
+# endif
+_GL_CXXALIASWARN (fseek);
+#endif
+
+#if @GNULIB_FSEEKO@
+# if !@GNULIB_FSEEK@ && !defined _GL_NO_LARGE_FILES
+#  define _GL_FSEEK_WARN /* Category 3, above.  */
+#  undef fseek
+# endif
+# if @REPLACE_FSEEKO@
+/* Provide an fseeko function that is aware of a preceding fflush(), and which
+   detects pipes.  */
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fseeko
+#   define fseeko rpl_fseeko
+#  endif
+_GL_FUNCDECL_RPL (fseeko, int, (FILE *fp, off_t offset, int whence)
+                               _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (fseeko, int, (FILE *fp, off_t offset, int whence));
+# else
+#  if ! @HAVE_DECL_FSEEKO@
+_GL_FUNCDECL_SYS (fseeko, int, (FILE *fp, off_t offset, int whence)
+                               _GL_ARG_NONNULL ((1)));
+#  endif
+_GL_CXXALIAS_SYS (fseeko, int, (FILE *fp, off_t offset, int whence));
+# endif
+_GL_CXXALIASWARN (fseeko);
+#elif defined GNULIB_POSIXCHECK
+# define _GL_FSEEK_WARN /* Category 1, above.  */
+# undef fseek
+# undef fseeko
+# if HAVE_RAW_DECL_FSEEKO
+_GL_WARN_ON_USE (fseeko, "fseeko is unportable - "
+                 "use gnulib module fseeko for portability");
+# endif
+#endif
+
+#ifdef _GL_FSEEK_WARN
+# undef _GL_FSEEK_WARN
+/* Here, either fseek is undefined (but C89 guarantees that it is
+   declared), or it is defined as rpl_fseek (declared above).  */
+_GL_WARN_ON_USE (fseek, "fseek cannot handle files larger than 4 GB "
+                 "on 32-bit platforms - "
+                 "use fseeko function for handling of large files");
+#endif
+
+
+/* ftell, ftello.  See the comments on fseek/fseeko.  */
+
+#if @GNULIB_FTELL@
+# if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES
+#  define _GL_FTELL_WARN /* Category 2, above.  */
+#  undef ftell
+# endif
+# if @REPLACE_FTELL@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef ftell
+#   define ftell rpl_ftell
+#  endif
+_GL_FUNCDECL_RPL (ftell, long, (FILE *fp) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (ftell, long, (FILE *fp));
+# else
+_GL_CXXALIAS_SYS (ftell, long, (FILE *fp));
+# endif
+_GL_CXXALIASWARN (ftell);
+#endif
+
+#if @GNULIB_FTELLO@
+# if !@GNULIB_FTELL@ && !defined _GL_NO_LARGE_FILES
+#  define _GL_FTELL_WARN /* Category 3, above.  */
+#  undef ftell
+# endif
+# if @REPLACE_FTELLO@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef ftello
+#   define ftello rpl_ftello
+#  endif
+_GL_FUNCDECL_RPL (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (ftello, off_t, (FILE *fp));
+# else
+#  if ! @HAVE_DECL_FTELLO@
+_GL_FUNCDECL_SYS (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1)));
+#  endif
+_GL_CXXALIAS_SYS (ftello, off_t, (FILE *fp));
+# endif
+_GL_CXXALIASWARN (ftello);
+#elif defined GNULIB_POSIXCHECK
+# define _GL_FTELL_WARN /* Category 1, above.  */
+# undef ftell
+# undef ftello
+# if HAVE_RAW_DECL_FTELLO
+_GL_WARN_ON_USE (ftello, "ftello is unportable - "
+                 "use gnulib module ftello for portability");
+# endif
+#endif
+
+#ifdef _GL_FTELL_WARN
+# undef _GL_FTELL_WARN
+/* Here, either ftell is undefined (but C89 guarantees that it is
+   declared), or it is defined as rpl_ftell (declared above).  */
+_GL_WARN_ON_USE (ftell, "ftell cannot handle files larger than 4 GB "
+                 "on 32-bit platforms - "
+                 "use ftello function for handling of large files");
+#endif
+
+
+#if @GNULIB_FWRITE@
+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef fwrite
+#   define fwrite rpl_fwrite
+#  endif
+_GL_FUNCDECL_RPL (fwrite, size_t,
+                  (const void *ptr, size_t s, size_t n, FILE *stream)
+                  _GL_ARG_NONNULL ((1, 4)));
+_GL_CXXALIAS_RPL (fwrite, size_t,
+                  (const void *ptr, size_t s, size_t n, FILE *stream));
+# else
+_GL_CXXALIAS_SYS (fwrite, size_t,
+                  (const void *ptr, size_t s, size_t n, FILE *stream));
+
+/* Work around bug 11959 when fortifying glibc 2.4 through 2.15
+   <http://sources.redhat.com/bugzilla/show_bug.cgi?id=11959>,
+   which sometimes causes an unwanted diagnostic for fwrite calls.
+   This affects only function declaration attributes under certain
+   versions of gcc and clang, and is not needed for C++.  */
+#  if (0 < __USE_FORTIFY_LEVEL                                          \
+       && __GLIBC__ == 2 && 4 <= __GLIBC_MINOR__ && __GLIBC_MINOR__ <= 15 \
+       && 3 < __GNUC__ + (4 <= __GNUC_MINOR__)                          \
+       && !defined __cplusplus)
+#   undef fwrite
+#   undef fwrite_unlocked
+extern size_t __REDIRECT (rpl_fwrite,
+                          (const void *__restrict, size_t, size_t,
+                           FILE *__restrict),
+                          fwrite);
+extern size_t __REDIRECT (rpl_fwrite_unlocked,
+                          (const void *__restrict, size_t, size_t,
+                           FILE *__restrict),
+                          fwrite_unlocked);
+#   define fwrite rpl_fwrite
+#   define fwrite_unlocked rpl_fwrite_unlocked
+#  endif
+# endif
+_GL_CXXALIASWARN (fwrite);
+#endif
+
+#if @GNULIB_GETC@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef getc
+#   define getc rpl_fgetc
+#  endif
+_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream));
+# else
+_GL_CXXALIAS_SYS (getc, int, (FILE *stream));
+# endif
+_GL_CXXALIASWARN (getc);
+#endif
+
+#if @GNULIB_GETCHAR@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef getchar
+#   define getchar rpl_getchar
+#  endif
+_GL_FUNCDECL_RPL (getchar, int, (void));
+_GL_CXXALIAS_RPL (getchar, int, (void));
+# else
+_GL_CXXALIAS_SYS (getchar, int, (void));
+# endif
+_GL_CXXALIASWARN (getchar);
+#endif
+
+#if @GNULIB_GETDELIM@
+/* Read input, up to (and including) the next occurrence of DELIMITER, from
+   STREAM, store it in *LINEPTR (and NUL-terminate it).
+   *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE
+   bytes of space.  It is realloc'd as necessary.
+   Return the number of bytes read and stored at *LINEPTR (not including the
+   NUL terminator), or -1 on error or EOF.  */
+# if @REPLACE_GETDELIM@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef getdelim
+#   define getdelim rpl_getdelim
+#  endif
+_GL_FUNCDECL_RPL (getdelim, ssize_t,
+                  (char **lineptr, size_t *linesize, int delimiter,
+                   FILE *stream)
+                  _GL_ARG_NONNULL ((1, 2, 4)));
+_GL_CXXALIAS_RPL (getdelim, ssize_t,
+                  (char **lineptr, size_t *linesize, int delimiter,
+                   FILE *stream));
+# else
+#  if !@HAVE_DECL_GETDELIM@
+_GL_FUNCDECL_SYS (getdelim, ssize_t,
+                  (char **lineptr, size_t *linesize, int delimiter,
+                   FILE *stream)
+                  _GL_ARG_NONNULL ((1, 2, 4)));
+#  endif
+_GL_CXXALIAS_SYS (getdelim, ssize_t,
+                  (char **lineptr, size_t *linesize, int delimiter,
+                   FILE *stream));
+# endif
+_GL_CXXALIASWARN (getdelim);
+#elif defined GNULIB_POSIXCHECK
+# undef getdelim
+# if HAVE_RAW_DECL_GETDELIM
+_GL_WARN_ON_USE (getdelim, "getdelim is unportable - "
+                 "use gnulib module getdelim for portability");
+# endif
+#endif
+
+#if @GNULIB_GETLINE@
+/* Read a line, up to (and including) the next newline, from STREAM, store it
+   in *LINEPTR (and NUL-terminate it).
+   *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE
+   bytes of space.  It is realloc'd as necessary.
+   Return the number of bytes read and stored at *LINEPTR (not including the
+   NUL terminator), or -1 on error or EOF.  */
+# if @REPLACE_GETLINE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef getline
+#   define getline rpl_getline
+#  endif
+_GL_FUNCDECL_RPL (getline, ssize_t,
+                  (char **lineptr, size_t *linesize, FILE *stream)
+                  _GL_ARG_NONNULL ((1, 2, 3)));
+_GL_CXXALIAS_RPL (getline, ssize_t,
+                  (char **lineptr, size_t *linesize, FILE *stream));
+# else
+#  if !@HAVE_DECL_GETLINE@
+_GL_FUNCDECL_SYS (getline, ssize_t,
+                  (char **lineptr, size_t *linesize, FILE *stream)
+                  _GL_ARG_NONNULL ((1, 2, 3)));
+#  endif
+_GL_CXXALIAS_SYS (getline, ssize_t,
+                  (char **lineptr, size_t *linesize, FILE *stream));
+# endif
+# if @HAVE_DECL_GETLINE@
+_GL_CXXALIASWARN (getline);
+# endif
+#elif defined GNULIB_POSIXCHECK
+# undef getline
+# if HAVE_RAW_DECL_GETLINE
+_GL_WARN_ON_USE (getline, "getline is unportable - "
+                 "use gnulib module getline for portability");
+# endif
+#endif
+
+/* It is very rare that the developer ever has full control of stdin,
+   so any use of gets warrants an unconditional warning; besides, C11
+   removed it.  */
+#undef gets
+#if HAVE_RAW_DECL_GETS
+_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
+
+
+#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
+struct obstack;
+/* Grow an obstack with formatted output.  Return the number of
+   bytes added to OBS.  No trailing nul byte is added, and the
+   object should be closed with obstack_finish before use.  Upon
+   memory allocation error, call obstack_alloc_failed_handler.  Upon
+   other error, return -1.  */
+# if @REPLACE_OBSTACK_PRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define obstack_printf rpl_obstack_printf
+#  endif
+_GL_FUNCDECL_RPL (obstack_printf, int,
+                  (struct obstack *obs, const char *format, ...)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3)
+                  _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (obstack_printf, int,
+                  (struct obstack *obs, const char *format, ...));
+# else
+#  if !@HAVE_DECL_OBSTACK_PRINTF@
+_GL_FUNCDECL_SYS (obstack_printf, int,
+                  (struct obstack *obs, const char *format, ...)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3)
+                  _GL_ARG_NONNULL ((1, 2)));
+#  endif
+_GL_CXXALIAS_SYS (obstack_printf, int,
+                  (struct obstack *obs, const char *format, ...));
+# endif
+_GL_CXXALIASWARN (obstack_printf);
+# if @REPLACE_OBSTACK_PRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define obstack_vprintf rpl_obstack_vprintf
+#  endif
+_GL_FUNCDECL_RPL (obstack_vprintf, int,
+                  (struct obstack *obs, const char *format, va_list args)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0)
+                  _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (obstack_vprintf, int,
+                  (struct obstack *obs, const char *format, va_list args));
+# else
+#  if !@HAVE_DECL_OBSTACK_PRINTF@
+_GL_FUNCDECL_SYS (obstack_vprintf, int,
+                  (struct obstack *obs, const char *format, va_list args)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0)
+                  _GL_ARG_NONNULL ((1, 2)));
+#  endif
+_GL_CXXALIAS_SYS (obstack_vprintf, int,
+                  (struct obstack *obs, const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (obstack_vprintf);
+#endif
+
+#if @GNULIB_PCLOSE@
+# if !@HAVE_PCLOSE@
+_GL_FUNCDECL_SYS (pclose, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
+# endif
+_GL_CXXALIAS_SYS (pclose, int, (FILE *stream));
+_GL_CXXALIASWARN (pclose);
+#elif defined GNULIB_POSIXCHECK
+# undef pclose
+# if HAVE_RAW_DECL_PCLOSE
+_GL_WARN_ON_USE (pclose, "pclose is unportable - "
+                 "use gnulib module pclose for more portability");
+# endif
+#endif
+
+#if @GNULIB_PERROR@
+/* Print a message to standard error, describing the value of ERRNO,
+   (if STRING is not NULL and not empty) prefixed with STRING and ": ",
+   and terminated with a newline.  */
+# if @REPLACE_PERROR@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define perror rpl_perror
+#  endif
+_GL_FUNCDECL_RPL (perror, void, (const char *string));
+_GL_CXXALIAS_RPL (perror, void, (const char *string));
+# else
+_GL_CXXALIAS_SYS (perror, void, (const char *string));
+# endif
+_GL_CXXALIASWARN (perror);
+#elif defined GNULIB_POSIXCHECK
+# undef perror
+/* Assume perror is always declared.  */
+_GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - "
+                 "use gnulib module perror for portability");
+#endif
+
+#if @GNULIB_POPEN@
+# if @REPLACE_POPEN@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef popen
+#   define popen rpl_popen
+#  endif
+_GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode)
+                                 _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode));
+# else
+#  if !@HAVE_POPEN@
+_GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode)
+                                 _GL_ARG_NONNULL ((1, 2)));
+#  endif
+_GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode));
+# endif
+_GL_CXXALIASWARN (popen);
+#elif defined GNULIB_POSIXCHECK
+# undef popen
+# if HAVE_RAW_DECL_POPEN
+_GL_WARN_ON_USE (popen, "popen is buggy on some platforms - "
+                 "use gnulib module popen or pipe for more portability");
+# endif
+#endif
+
+#if @GNULIB_PRINTF_POSIX@ || @GNULIB_PRINTF@
+# if (@GNULIB_PRINTF_POSIX@ && @REPLACE_PRINTF@) \
+     || (@GNULIB_PRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@))
+#  if defined __GNUC__
+#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+/* Don't break __attribute__((format(printf,M,N))).  */
+#    define printf __printf__
+#   endif
+#   if @GNULIB_PRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@
+_GL_FUNCDECL_RPL_1 (__printf__, int,
+                    (const char *format, ...)
+                    __asm__ (@ASM_SYMBOL_PREFIX@
+                             _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf))
+                    _GL_ATTRIBUTE_FORMAT_PRINTF (1, 2)
+                    _GL_ARG_NONNULL ((1)));
+#   else
+_GL_FUNCDECL_RPL_1 (__printf__, int,
+                    (const char *format, ...)
+                    __asm__ (@ASM_SYMBOL_PREFIX@
+                             _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf))
+                    _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 2)
+                    _GL_ARG_NONNULL ((1)));
+#   endif
+_GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...));
+#  else
+#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#    define printf rpl_printf
+#   endif
+_GL_FUNCDECL_RPL (printf, int,
+                  (const char *format, ...)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (1, 2)
+                  _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (printf, int, (const char *format, ...));
+#  endif
+#  define GNULIB_overrides_printf 1
+# else
+_GL_CXXALIAS_SYS (printf, int, (const char *format, ...));
+# endif
+_GL_CXXALIASWARN (printf);
+#endif
+#if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK
+# if !GNULIB_overrides_printf
+#  undef printf
+# endif
+/* Assume printf is always declared.  */
+_GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - "
+                 "use gnulib module printf-posix for portable "
+                 "POSIX compliance");
+#endif
+
+#if @GNULIB_PUTC@
+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef putc
+#   define putc rpl_fputc
+#  endif
+_GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2)));
+_GL_CXXALIAS_RPL_1 (putc, rpl_fputc, int, (int c, FILE *stream));
+# else
+_GL_CXXALIAS_SYS (putc, int, (int c, FILE *stream));
+# endif
+_GL_CXXALIASWARN (putc);
+#endif
+
+#if @GNULIB_PUTCHAR@
+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef putchar
+#   define putchar rpl_putchar
+#  endif
+_GL_FUNCDECL_RPL (putchar, int, (int c));
+_GL_CXXALIAS_RPL (putchar, int, (int c));
+# else
+_GL_CXXALIAS_SYS (putchar, int, (int c));
+# endif
+_GL_CXXALIASWARN (putchar);
+#endif
+
+#if @GNULIB_PUTS@
+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef puts
+#   define puts rpl_puts
+#  endif
+_GL_FUNCDECL_RPL (puts, int, (const char *string) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (puts, int, (const char *string));
+# else
+_GL_CXXALIAS_SYS (puts, int, (const char *string));
+# endif
+_GL_CXXALIASWARN (puts);
+#endif
+
+#if @GNULIB_REMOVE@
+# if @REPLACE_REMOVE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef remove
+#   define remove rpl_remove
+#  endif
+_GL_FUNCDECL_RPL (remove, int, (const char *name) _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (remove, int, (const char *name));
+# else
+_GL_CXXALIAS_SYS (remove, int, (const char *name));
+# endif
+_GL_CXXALIASWARN (remove);
+#elif defined GNULIB_POSIXCHECK
+# undef remove
+/* Assume remove is always declared.  */
+_GL_WARN_ON_USE (remove, "remove cannot handle directories on some platforms - "
+                 "use gnulib module remove for more portability");
+#endif
+
+#if @GNULIB_RENAME@
+# if @REPLACE_RENAME@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef rename
+#   define rename rpl_rename
+#  endif
+_GL_FUNCDECL_RPL (rename, int,
+                  (const char *old_filename, const char *new_filename)
+                  _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (rename, int,
+                  (const char *old_filename, const char *new_filename));
+# else
+_GL_CXXALIAS_SYS (rename, int,
+                  (const char *old_filename, const char *new_filename));
+# endif
+_GL_CXXALIASWARN (rename);
+#elif defined GNULIB_POSIXCHECK
+# undef rename
+/* Assume rename is always declared.  */
+_GL_WARN_ON_USE (rename, "rename is buggy on some platforms - "
+                 "use gnulib module rename for more portability");
+#endif
+
+#if @GNULIB_RENAMEAT@
+# if @REPLACE_RENAMEAT@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef renameat
+#   define renameat rpl_renameat
+#  endif
+_GL_FUNCDECL_RPL (renameat, int,
+                  (int fd1, char const *file1, int fd2, char const *file2)
+                  _GL_ARG_NONNULL ((2, 4)));
+_GL_CXXALIAS_RPL (renameat, int,
+                  (int fd1, char const *file1, int fd2, char const *file2));
+# else
+#  if !@HAVE_RENAMEAT@
+_GL_FUNCDECL_SYS (renameat, int,
+                  (int fd1, char const *file1, int fd2, char const *file2)
+                  _GL_ARG_NONNULL ((2, 4)));
+#  endif
+_GL_CXXALIAS_SYS (renameat, int,
+                  (int fd1, char const *file1, int fd2, char const *file2));
+# endif
+_GL_CXXALIASWARN (renameat);
+#elif defined GNULIB_POSIXCHECK
+# undef renameat
+# if HAVE_RAW_DECL_RENAMEAT
+_GL_WARN_ON_USE (renameat, "renameat is not portable - "
+                 "use gnulib module renameat for portability");
+# endif
+#endif
+
+#if @GNULIB_SCANF@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if defined __GNUC__
+#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#    undef scanf
+/* Don't break __attribute__((format(scanf,M,N))).  */
+#    define scanf __scanf__
+#   endif
+_GL_FUNCDECL_RPL_1 (__scanf__, int,
+                    (const char *format, ...)
+                    __asm__ (@ASM_SYMBOL_PREFIX@
+                             _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_scanf))
+                    _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2)
+                    _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *format, ...));
+#  else
+#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#    undef scanf
+#    define scanf rpl_scanf
+#   endif
+_GL_FUNCDECL_RPL (scanf, int, (const char *format, ...)
+                              _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2)
+                              _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (scanf, int, (const char *format, ...));
+#  endif
+# else
+_GL_CXXALIAS_SYS (scanf, int, (const char *format, ...));
+# endif
+_GL_CXXALIASWARN (scanf);
+#endif
+
+#if @GNULIB_SNPRINTF@
+# if @REPLACE_SNPRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define snprintf rpl_snprintf
+#  endif
+_GL_FUNCDECL_RPL (snprintf, int,
+                  (char *str, size_t size, const char *format, ...)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (3, 4)
+                  _GL_ARG_NONNULL ((3)));
+_GL_CXXALIAS_RPL (snprintf, int,
+                  (char *str, size_t size, const char *format, ...));
+# else
+#  if !@HAVE_DECL_SNPRINTF@
+_GL_FUNCDECL_SYS (snprintf, int,
+                  (char *str, size_t size, const char *format, ...)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (3, 4)
+                  _GL_ARG_NONNULL ((3)));
+#  endif
+_GL_CXXALIAS_SYS (snprintf, int,
+                  (char *str, size_t size, const char *format, ...));
+# endif
+_GL_CXXALIASWARN (snprintf);
+#elif defined GNULIB_POSIXCHECK
+# undef snprintf
+# if HAVE_RAW_DECL_SNPRINTF
+_GL_WARN_ON_USE (snprintf, "snprintf is unportable - "
+                 "use gnulib module snprintf for portability");
+# endif
+#endif
+
+/* Some people would argue that all sprintf uses should be warned about
+   (for example, OpenBSD issues a link warning for it),
+   since it can cause security holes due to buffer overruns.
+   However, we believe that sprintf can be used safely, and is more
+   efficient than snprintf in those safe cases; and as proof of our
+   belief, we use sprintf in several gnulib modules.  So this header
+   intentionally avoids adding a warning to sprintf except when
+   GNULIB_POSIXCHECK is defined.  */
+
+#if @GNULIB_SPRINTF_POSIX@
+# if @REPLACE_SPRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define sprintf rpl_sprintf
+#  endif
+_GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...)
+                                _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3)
+                                _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...));
+# else
+_GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...));
+# endif
+_GL_CXXALIASWARN (sprintf);
+#elif defined GNULIB_POSIXCHECK
+# undef sprintf
+/* Assume sprintf is always declared.  */
+_GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - "
+                 "use gnulib module sprintf-posix for portable "
+                 "POSIX compliance");
+#endif
+
+#if @GNULIB_TMPFILE@
+# if @REPLACE_TMPFILE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define tmpfile rpl_tmpfile
+#  endif
+_GL_FUNCDECL_RPL (tmpfile, FILE *, (void));
+_GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
+# else
+_GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
+# endif
+_GL_CXXALIASWARN (tmpfile);
+#elif defined GNULIB_POSIXCHECK
+# undef tmpfile
+# if HAVE_RAW_DECL_TMPFILE
+_GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - "
+                 "use gnulib module tmpfile for portability");
+# endif
+#endif
+
+#if @GNULIB_VASPRINTF@
+/* Write formatted output to a string dynamically allocated with malloc().
+   If the memory allocation succeeds, store the address of the string in
+   *RESULT and return the number of resulting bytes, excluding the trailing
+   NUL.  Upon memory allocation error, or some other error, return -1.  */
+# if @REPLACE_VASPRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define asprintf rpl_asprintf
+#  endif
+_GL_FUNCDECL_RPL (asprintf, int,
+                  (char **result, const char *format, ...)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3)
+                  _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (asprintf, int,
+                  (char **result, const char *format, ...));
+# else
+#  if !@HAVE_VASPRINTF@
+_GL_FUNCDECL_SYS (asprintf, int,
+                  (char **result, const char *format, ...)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3)
+                  _GL_ARG_NONNULL ((1, 2)));
+#  endif
+_GL_CXXALIAS_SYS (asprintf, int,
+                  (char **result, const char *format, ...));
+# endif
+_GL_CXXALIASWARN (asprintf);
+# if @REPLACE_VASPRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define vasprintf rpl_vasprintf
+#  endif
+_GL_FUNCDECL_RPL (vasprintf, int,
+                  (char **result, const char *format, va_list args)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0)
+                  _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (vasprintf, int,
+                  (char **result, const char *format, va_list args));
+# else
+#  if !@HAVE_VASPRINTF@
+_GL_FUNCDECL_SYS (vasprintf, int,
+                  (char **result, const char *format, va_list args)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0)
+                  _GL_ARG_NONNULL ((1, 2)));
+#  endif
+_GL_CXXALIAS_SYS (vasprintf, int,
+                  (char **result, const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (vasprintf);
+#endif
+
+#if @GNULIB_VDPRINTF@
+# if @REPLACE_VDPRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define vdprintf rpl_vdprintf
+#  endif
+_GL_FUNCDECL_RPL (vdprintf, int, (int fd, const char *format, va_list args)
+                                 _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0)
+                                 _GL_ARG_NONNULL ((2)));
+_GL_CXXALIAS_RPL (vdprintf, int, (int fd, const char *format, va_list args));
+# else
+#  if !@HAVE_VDPRINTF@
+_GL_FUNCDECL_SYS (vdprintf, int, (int fd, const char *format, va_list args)
+                                 _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0)
+                                 _GL_ARG_NONNULL ((2)));
+#  endif
+/* Need to cast, because on Solaris, the third parameter will likely be
+                                                    __va_list args.  */
+_GL_CXXALIAS_SYS_CAST (vdprintf, int,
+                       (int fd, const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (vdprintf);
+#elif defined GNULIB_POSIXCHECK
+# undef vdprintf
+# if HAVE_RAW_DECL_VDPRINTF
+_GL_WARN_ON_USE (vdprintf, "vdprintf is unportable - "
+                 "use gnulib module vdprintf for portability");
+# endif
+#endif
+
+#if @GNULIB_VFPRINTF_POSIX@ || @GNULIB_VFPRINTF@
+# if (@GNULIB_VFPRINTF_POSIX@ && @REPLACE_VFPRINTF@) \
+     || (@GNULIB_VFPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@))
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define vfprintf rpl_vfprintf
+#  endif
+#  define GNULIB_overrides_vfprintf 1
+#  if @GNULIB_VFPRINTF_POSIX@
+_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)
+                                 _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0)
+                                 _GL_ARG_NONNULL ((1, 2)));
+#  else
+_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)
+                                 _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 0)
+                                 _GL_ARG_NONNULL ((1, 2)));
+#  endif
+_GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args));
+# else
+/* Need to cast, because on Solaris, the third parameter is
+                                                      __va_list args
+   and GCC's fixincludes did not change this to __gnuc_va_list.  */
+_GL_CXXALIAS_SYS_CAST (vfprintf, int,
+                       (FILE *fp, const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (vfprintf);
+#endif
+#if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK
+# if !GNULIB_overrides_vfprintf
+#  undef vfprintf
+# endif
+/* Assume vfprintf is always declared.  */
+_GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - "
+                 "use gnulib module vfprintf-posix for portable "
+                      "POSIX compliance");
+#endif
+
+#if @GNULIB_VFSCANF@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef vfscanf
+#   define vfscanf rpl_vfscanf
+#  endif
+_GL_FUNCDECL_RPL (vfscanf, int,
+                  (FILE *stream, const char *format, va_list args)
+                  _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 0)
+                  _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (vfscanf, int,
+                  (FILE *stream, const char *format, va_list args));
+# else
+_GL_CXXALIAS_SYS (vfscanf, int,
+                  (FILE *stream, const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (vfscanf);
+#endif
+
+#if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VPRINTF@
+# if (@GNULIB_VPRINTF_POSIX@ && @REPLACE_VPRINTF@) \
+     || (@GNULIB_VPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@))
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define vprintf rpl_vprintf
+#  endif
+#  define GNULIB_overrides_vprintf 1
+#  if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@
+_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args)
+                                _GL_ATTRIBUTE_FORMAT_PRINTF (1, 0)
+                                _GL_ARG_NONNULL ((1)));
+#  else
+_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args)
+                                _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 0)
+                                _GL_ARG_NONNULL ((1)));
+#  endif
+_GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args));
+# else
+/* Need to cast, because on Solaris, the second parameter is
+                                                          __va_list args
+   and GCC's fixincludes did not change this to __gnuc_va_list.  */
+_GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (vprintf);
+#endif
+#if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK
+# if !GNULIB_overrides_vprintf
+#  undef vprintf
+# endif
+/* Assume vprintf is always declared.  */
+_GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - "
+                 "use gnulib module vprintf-posix for portable "
+                 "POSIX compliance");
+#endif
+
+#if @GNULIB_VSCANF@
+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef vscanf
+#   define vscanf rpl_vscanf
+#  endif
+_GL_FUNCDECL_RPL (vscanf, int, (const char *format, va_list args)
+                               _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 0)
+                               _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (vscanf, int, (const char *format, va_list args));
+# else
+_GL_CXXALIAS_SYS (vscanf, int, (const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (vscanf);
+#endif
+
+#if @GNULIB_VSNPRINTF@
+# if @REPLACE_VSNPRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define vsnprintf rpl_vsnprintf
+#  endif
+_GL_FUNCDECL_RPL (vsnprintf, int,
+                  (char *str, size_t size, const char *format, va_list args)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0)
+                  _GL_ARG_NONNULL ((3)));
+_GL_CXXALIAS_RPL (vsnprintf, int,
+                  (char *str, size_t size, const char *format, va_list args));
+# else
+#  if !@HAVE_DECL_VSNPRINTF@
+_GL_FUNCDECL_SYS (vsnprintf, int,
+                  (char *str, size_t size, const char *format, va_list args)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0)
+                  _GL_ARG_NONNULL ((3)));
+#  endif
+_GL_CXXALIAS_SYS (vsnprintf, int,
+                  (char *str, size_t size, const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (vsnprintf);
+#elif defined GNULIB_POSIXCHECK
+# undef vsnprintf
+# if HAVE_RAW_DECL_VSNPRINTF
+_GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - "
+                 "use gnulib module vsnprintf for portability");
+# endif
+#endif
+
+#if @GNULIB_VSPRINTF_POSIX@
+# if @REPLACE_VSPRINTF@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   define vsprintf rpl_vsprintf
+#  endif
+_GL_FUNCDECL_RPL (vsprintf, int,
+                  (char *str, const char *format, va_list args)
+                  _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0)
+                  _GL_ARG_NONNULL ((1, 2)));
+_GL_CXXALIAS_RPL (vsprintf, int,
+                  (char *str, const char *format, va_list args));
+# else
+/* Need to cast, because on Solaris, the third parameter is
+                                                       __va_list args
+   and GCC's fixincludes did not change this to __gnuc_va_list.  */
+_GL_CXXALIAS_SYS_CAST (vsprintf, int,
+                       (char *str, const char *format, va_list args));
+# endif
+_GL_CXXALIASWARN (vsprintf);
+#elif defined GNULIB_POSIXCHECK
+# undef vsprintf
+/* Assume vsprintf is always declared.  */
+_GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - "
+                 "use gnulib module vsprintf-posix for portable "
+                      "POSIX compliance");
+#endif
+
+#endif /* _@GUARD_PREFIX@_STDIO_H */
+#endif /* _@GUARD_PREFIX@_STDIO_H */
+#endif
index e92a614cc2a4a5dbd9c5c9739a199cf284338d97..46e10dba972ff3e7c9dc0612c728f249d7f6da43 100644 (file)
@@ -1,6 +1,6 @@
 /* A GNU-like <stdlib.h>.
 
-   Copyright (C) 1995, 2001-2004, 2006-2012 Free Software Foundation, Inc.
+   Copyright (C) 1995, 2001-2004, 2006-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,8 +20,9 @@
 #endif
 @PRAGMA_COLUMNS@
 
-#if defined __need_malloc_and_calloc
-/* Special invocation convention inside glibc header files.  */
+#if defined __need_system_stdlib_h || defined __need_malloc_and_calloc
+/* Special invocation conventions inside some gnulib header files,
+   and inside some glibc header files, respectively.  */
 
 #@INCLUDE_NEXT@ @NEXT_STDLIB_H@
 
@@ -87,13 +88,21 @@ struct random_data
 #endif
 
 #if (@GNULIB_MKSTEMP@ || @GNULIB_MKSTEMPS@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)
-/* On MacOS X 10.3, only <unistd.h> declares mkstemp.  */
-/* On MacOS X 10.5, only <unistd.h> declares mkstemps.  */
+/* On Mac OS X 10.3, only <unistd.h> declares mkstemp.  */
+/* On Mac OS X 10.5, only <unistd.h> declares mkstemps.  */
 /* On Cygwin 1.7.1, only <unistd.h> declares getsubopt.  */
 /* But avoid namespace pollution on glibc systems and native Windows.  */
 # include <unistd.h>
 #endif
 
+/* The __attribute__ feature is available in gcc versions 2.5 and later.
+   The attribute __pure__ was added in gcc 2.96.  */
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
+#else
+# define _GL_ATTRIBUTE_PURE /* empty */
+#endif
+
 /* The definition of _Noreturn is copied here.  */
 
 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
@@ -138,7 +147,9 @@ _GL_WARN_ON_USE (_Exit, "_Exit is unportable - "
 /* Parse a signed decimal integer.
    Returns the value of the integer.  Errors are not detected.  */
 # if !@HAVE_ATOLL@
-_GL_FUNCDECL_SYS (atoll, long long, (const char *string) _GL_ARG_NONNULL ((1)));
+_GL_FUNCDECL_SYS (atoll, long long, (const char *string)
+                                    _GL_ATTRIBUTE_PURE
+                                    _GL_ARG_NONNULL ((1)));
 # endif
 _GL_CXXALIAS_SYS (atoll, long long, (const char *string));
 _GL_CXXALIASWARN (atoll);
@@ -447,10 +458,19 @@ _GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - "
 #if @GNULIB_PTSNAME@
 /* Return the pathname of the pseudo-terminal slave associated with
    the master FD is open on, or NULL on errors.  */
-# if !@HAVE_PTSNAME@
+# if @REPLACE_PTSNAME@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef ptsname
+#   define ptsname rpl_ptsname
+#  endif
+_GL_FUNCDECL_RPL (ptsname, char *, (int fd));
+_GL_CXXALIAS_RPL (ptsname, char *, (int fd));
+# else
+#  if !@HAVE_PTSNAME@
 _GL_FUNCDECL_SYS (ptsname, char *, (int fd));
-# endif
+#  endif
 _GL_CXXALIAS_SYS (ptsname, char *, (int fd));
+# endif
 _GL_CXXALIASWARN (ptsname);
 #elif defined GNULIB_POSIXCHECK
 # undef ptsname
@@ -747,6 +767,22 @@ _GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - "
 # endif
 #endif
 
+#if @GNULIB_SECURE_GETENV@
+/* Look up NAME in the environment, returning 0 in insecure situations.  */
+# if !@HAVE_SECURE_GETENV@
+_GL_FUNCDECL_SYS (secure_getenv, char *,
+                  (char const *name) _GL_ARG_NONNULL ((1)));
+# endif
+_GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name));
+_GL_CXXALIASWARN (secure_getenv);
+#elif defined GNULIB_POSIXCHECK
+# undef secure_getenv
+# if HAVE_RAW_DECL_SECURE_GETENV
+_GL_WARN_ON_USE (secure_getenv, "secure_getenv is unportable - "
+                 "use gnulib module secure_getenv for portability");
+# endif
+#endif
+
 #if @GNULIB_SETENV@
 /* Set NAME to VALUE in the environment.
    If REPLACE is nonzero, overwrite an existing value.  */
diff --git a/lib/strcasecmp.c b/lib/strcasecmp.c
deleted file mode 100644 (file)
index 77ca288..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/* Case-insensitive string comparison function.
-   Copyright (C) 1998-1999, 2005-2007, 2009-2012 Free Software Foundation, Inc.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
-
-#include <config.h>
-
-/* Specification.  */
-#include <string.h>
-
-#include <ctype.h>
-#include <limits.h>
-
-#define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch))
-
-/* Compare strings S1 and S2, ignoring case, returning less than, equal to or
-   greater than zero if S1 is lexicographically less than, equal to or greater
-   than S2.
-   Note: This function does not work with multibyte strings!  */
-
-int
-strcasecmp (const char *s1, const char *s2)
-{
-  const unsigned char *p1 = (const unsigned char *) s1;
-  const unsigned char *p2 = (const unsigned char *) s2;
-  unsigned char c1, c2;
-
-  if (p1 == p2)
-    return 0;
-
-  do
-    {
-      c1 = TOLOWER (*p1);
-      c2 = TOLOWER (*p2);
-
-      if (c1 == '\0')
-        break;
-
-      ++p1;
-      ++p2;
-    }
-  while (c1 == c2);
-
-  if (UCHAR_MAX <= INT_MAX)
-    return c1 - c2;
-  else
-    /* On machines where 'char' and 'int' are types of the same size, the
-       difference of two 'unsigned char' values - including the sign bit -
-       doesn't fit in an 'int'.  */
-    return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0);
-}
index a3f8c863f38c10d77e6355948a6a80e58626a352..14cb1266f7569f737c31727a52656cfaf356bcce 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996-1998, 2002-2004, 2006-2007, 2009-2012 Free Software
+/* Copyright (C) 1991, 1996-1998, 2002-2004, 2006-2007, 2009-2014 Free Software
    Foundation, Inc.
 
    This file is part of the GNU C Library.
index 57784e66ec6cb49b896b18dcc672f0a118ea59f2..0e62fb939a7a06d24ba73f60e8220e5080362e1d 100644 (file)
@@ -1,5 +1,5 @@
 /* Optimized string comparison.
-   Copyright (C) 2001-2002, 2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2001-2002, 2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
@@ -21,8 +21,8 @@
 
 #include <string.h>
 
-/* STREQ allows to optimize string comparison with a small literal string.
-     STREQ (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0)
+/* STREQ_OPT allows to optimize string comparison with a small literal string.
+     STREQ_OPT (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0)
    is semantically equivalent to
      strcmp (s, "EUC-KR") == 0
    just faster.  */
@@ -163,12 +163,12 @@ streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23,
     return 0;
 }
 
-#define STREQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \
+#define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \
   streq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28)
 
 #else
 
-#define STREQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \
+#define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \
   (strcmp (s1, s2) == 0)
 
 #endif
index 9ca6523490f7ba395f163dcac2c6c02466a15ab2..255d933346fbe43579f3fddbb9834c13cce06597 100644 (file)
@@ -1,6 +1,6 @@
 /* strerror-override.c --- POSIX compatible system error routine
 
-   Copyright (C) 2010-2012 Free Software Foundation, Inc.
+   Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -89,6 +89,8 @@ strerror_override (int errnum)
       return "No route to host";
     case EWOULDBLOCK:
       return "Operation would block";
+#endif
+#if GNULIB_defined_ESTREAMS /* native Windows platforms with older <errno.h> */
     case ETXTBSY:
       return "Text file busy";
     case ENODATA:
@@ -97,10 +99,6 @@ strerror_override (int errnum)
       return "Out of streams resources";
     case ENOSTR:
       return "Device not a stream";
-    case ENOTRECOVERABLE:
-      return "State not recoverable";
-    case EOWNERDEAD:
-      return "Owner died";
     case ETIME:
       return "Timer expired";
     case EOTHER:
@@ -283,6 +281,21 @@ strerror_override (int errnum)
       return "Operation canceled";
 #endif
 
+#if GNULIB_defined_EOWNERDEAD
+    case EOWNERDEAD:
+      return "Owner died";
+#endif
+
+#if GNULIB_defined_ENOTRECOVERABLE
+    case ENOTRECOVERABLE:
+      return "State not recoverable";
+#endif
+
+#if GNULIB_defined_EILSEQ
+    case EILSEQ:
+      return "Invalid or incomplete multibyte or wide character";
+#endif
+
     default:
       return NULL;
     }
index 09526ea91a4a43cc63aab8b24cc783c0362d6522..e98c1c16bc6bcb6c07ad2a1873cefd010a26f498 100644 (file)
@@ -1,6 +1,6 @@
 /* strerror-override.h --- POSIX compatible system error routine
 
-   Copyright (C) 2010-2012 Free Software Foundation, Inc.
+   Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -30,6 +30,7 @@
    describing the error.  Otherwise return NULL.  */
 # if REPLACE_STRERROR_0 \
      || GNULIB_defined_ESOCK \
+     || GNULIB_defined_ESTREAMS \
      || GNULIB_defined_EWINSOCK \
      || GNULIB_defined_ENOMSG \
      || GNULIB_defined_EIDRM \
      || GNULIB_defined_ECONNABORTED \
      || GNULIB_defined_ESTALE \
      || GNULIB_defined_EDQUOT \
-     || GNULIB_defined_ECANCELED
-extern const char *strerror_override (int errnum);
+     || GNULIB_defined_ECANCELED \
+     || GNULIB_defined_EOWNERDEAD \
+     || GNULIB_defined_ENOTRECOVERABLE \
+     || GNULIB_defined_EILSEQ
+extern const char *strerror_override (int errnum) _GL_ATTRIBUTE_CONST;
 # else
 #  define strerror_override(ignored) NULL
 # endif
index 587bd21a6c6a34ab3d2b745b2dee03f26c70e587..e54f0cc906bc2ff50879c34c9133b28c343e8e6f 100644 (file)
@@ -1,6 +1,6 @@
 /* strerror.c --- POSIX compatible system error routine
 
-   Copyright (C) 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index cad18dbec44cb5f91756763491a80e7619d30c63..906214205985b8f8a014f1c659b09f0c52362e8c 100644 (file)
@@ -1,6 +1,6 @@
 /* A GNU-like <string.h>.
 
-   Copyright (C) 1995-1996, 2001-2012 Free Software Foundation, Inc.
+   Copyright (C) 1995-1996, 2001-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -724,10 +724,14 @@ _GL_WARN_ON_USE (strtok_r, "strtok_r is unportable - "
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #   define mbslen rpl_mbslen
 #  endif
-_GL_FUNCDECL_RPL (mbslen, size_t, (const char *string) _GL_ARG_NONNULL ((1)));
+_GL_FUNCDECL_RPL (mbslen, size_t, (const char *string)
+                                  _GL_ATTRIBUTE_PURE
+                                  _GL_ARG_NONNULL ((1)));
 _GL_CXXALIAS_RPL (mbslen, size_t, (const char *string));
 # else
-_GL_FUNCDECL_SYS (mbslen, size_t, (const char *string) _GL_ARG_NONNULL ((1)));
+_GL_FUNCDECL_SYS (mbslen, size_t, (const char *string)
+                                  _GL_ATTRIBUTE_PURE
+                                  _GL_ARG_NONNULL ((1)));
 _GL_CXXALIAS_SYS (mbslen, size_t, (const char *string));
 # endif
 _GL_CXXALIASWARN (mbslen);
@@ -737,6 +741,7 @@ _GL_CXXALIASWARN (mbslen);
 /* Return the number of multibyte characters in the character string starting
    at STRING and ending at STRING + LEN.  */
 _GL_EXTERN_C size_t mbsnlen (const char *string, size_t len)
+     _GL_ATTRIBUTE_PURE
      _GL_ARG_NONNULL ((1));
 #endif
 
@@ -750,10 +755,12 @@ _GL_EXTERN_C size_t mbsnlen (const char *string, size_t len)
 #   define mbschr rpl_mbschr /* avoid collision with HP-UX function */
 #  endif
 _GL_FUNCDECL_RPL (mbschr, char *, (const char *string, int c)
+                                  _GL_ATTRIBUTE_PURE
                                   _GL_ARG_NONNULL ((1)));
 _GL_CXXALIAS_RPL (mbschr, char *, (const char *string, int c));
 # else
 _GL_FUNCDECL_SYS (mbschr, char *, (const char *string, int c)
+                                  _GL_ATTRIBUTE_PURE
                                   _GL_ARG_NONNULL ((1)));
 _GL_CXXALIAS_SYS (mbschr, char *, (const char *string, int c));
 # endif
@@ -770,10 +777,12 @@ _GL_CXXALIASWARN (mbschr);
 #   define mbsrchr rpl_mbsrchr /* avoid collision with system function */
 #  endif
 _GL_FUNCDECL_RPL (mbsrchr, char *, (const char *string, int c)
+                                   _GL_ATTRIBUTE_PURE
                                    _GL_ARG_NONNULL ((1)));
 _GL_CXXALIAS_RPL (mbsrchr, char *, (const char *string, int c));
 # else
 _GL_FUNCDECL_SYS (mbsrchr, char *, (const char *string, int c)
+                                   _GL_ATTRIBUTE_PURE
                                    _GL_ARG_NONNULL ((1)));
 _GL_CXXALIAS_SYS (mbsrchr, char *, (const char *string, int c));
 # endif
@@ -786,6 +795,7 @@ _GL_CXXALIASWARN (mbsrchr);
    Unlike strstr(), this function works correctly in multibyte locales with
    encodings different from UTF-8.  */
 _GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle)
+     _GL_ATTRIBUTE_PURE
      _GL_ARG_NONNULL ((1, 2));
 #endif
 
@@ -797,6 +807,7 @@ _GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle)
    different lengths!
    Unlike strcasecmp(), this function works correctly in multibyte locales.  */
 _GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2)
+     _GL_ATTRIBUTE_PURE
      _GL_ARG_NONNULL ((1, 2));
 #endif
 
@@ -811,6 +822,7 @@ _GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2)
    Unlike strncasecmp(), this function works correctly in multibyte locales.
    But beware that N is not a byte count but a character count!  */
 _GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n)
+     _GL_ATTRIBUTE_PURE
      _GL_ARG_NONNULL ((1, 2));
 #endif
 
@@ -824,6 +836,7 @@ _GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n)
    Unlike strncasecmp(), this function works correctly in multibyte
    locales.  */
 _GL_EXTERN_C char * mbspcasecmp (const char *string, const char *prefix)
+     _GL_ATTRIBUTE_PURE
      _GL_ARG_NONNULL ((1, 2));
 #endif
 
@@ -834,6 +847,7 @@ _GL_EXTERN_C char * mbspcasecmp (const char *string, const char *prefix)
    strlen (haystack) < strlen (needle) !
    Unlike strcasestr(), this function works correctly in multibyte locales.  */
 _GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle)
+     _GL_ATTRIBUTE_PURE
      _GL_ARG_NONNULL ((1, 2));
 #endif
 
@@ -844,6 +858,7 @@ _GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle)
    if none exists.
    Unlike strcspn(), this function works correctly in multibyte locales.  */
 _GL_EXTERN_C size_t mbscspn (const char *string, const char *accept)
+     _GL_ATTRIBUTE_PURE
      _GL_ARG_NONNULL ((1, 2));
 #endif
 
@@ -857,10 +872,12 @@ _GL_EXTERN_C size_t mbscspn (const char *string, const char *accept)
 #   define mbspbrk rpl_mbspbrk /* avoid collision with HP-UX function */
 #  endif
 _GL_FUNCDECL_RPL (mbspbrk, char *, (const char *string, const char *accept)
+                                   _GL_ATTRIBUTE_PURE
                                    _GL_ARG_NONNULL ((1, 2)));
 _GL_CXXALIAS_RPL (mbspbrk, char *, (const char *string, const char *accept));
 # else
 _GL_FUNCDECL_SYS (mbspbrk, char *, (const char *string, const char *accept)
+                                   _GL_ATTRIBUTE_PURE
                                    _GL_ARG_NONNULL ((1, 2)));
 _GL_CXXALIAS_SYS (mbspbrk, char *, (const char *string, const char *accept));
 # endif
@@ -874,6 +891,7 @@ _GL_CXXALIASWARN (mbspbrk);
    if none exists.
    Unlike strspn(), this function works correctly in multibyte locales.  */
 _GL_EXTERN_C size_t mbsspn (const char *string, const char *reject)
+     _GL_ATTRIBUTE_PURE
      _GL_ARG_NONNULL ((1, 2));
 #endif
 
@@ -993,6 +1011,7 @@ _GL_WARN_ON_USE (strsignal, "strsignal is unportable - "
 #if @GNULIB_STRVERSCMP@
 # if !@HAVE_STRVERSCMP@
 _GL_FUNCDECL_SYS (strverscmp, int, (const char *, const char *)
+                                   _GL_ATTRIBUTE_PURE
                                    _GL_ARG_NONNULL ((1, 2)));
 # endif
 _GL_CXXALIAS_SYS (strverscmp, int, (const char *, const char *));
diff --git a/lib/strings.in.h b/lib/strings.in.h
deleted file mode 100644 (file)
index 7ed88e9..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-/* A substitute <strings.h>.
-
-   Copyright (C) 2007-2012 Free Software Foundation, Inc.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
-
-#ifndef _@GUARD_PREFIX@_STRINGS_H
-
-#if __GNUC__ >= 3
-@PRAGMA_SYSTEM_HEADER@
-#endif
-@PRAGMA_COLUMNS@
-
-/* Minix 3.1.8 has a bug: <sys/types.h> must be included before <strings.h>.
-   But avoid namespace pollution on glibc systems.  */
-#if defined __minix && !defined __GLIBC__
-# include <sys/types.h>
-#endif
-
-/* The include_next requires a split double-inclusion guard.  */
-#if @HAVE_STRINGS_H@
-# @INCLUDE_NEXT@ @NEXT_STRINGS_H@
-#endif
-
-#ifndef _@GUARD_PREFIX@_STRINGS_H
-#define _@GUARD_PREFIX@_STRINGS_H
-
-#if ! @HAVE_DECL_STRNCASECMP@
-/* Get size_t.  */
-# include <stddef.h>
-#endif
-
-
-/* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
-
-/* The definition of _GL_ARG_NONNULL is copied here.  */
-
-/* The definition of _GL_WARN_ON_USE is copied here.  */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-  /* Find the index of the least-significant set bit.  */
-#if @GNULIB_FFS@
-# if !@HAVE_FFS@
-_GL_FUNCDECL_SYS (ffs, int, (int i));
-# endif
-_GL_CXXALIAS_SYS (ffs, int, (int i));
-_GL_CXXALIASWARN (ffs);
-#elif defined GNULIB_POSIXCHECK
-# undef ffs
-# if HAVE_RAW_DECL_FFS
-_GL_WARN_ON_USE (ffs, "ffs is not portable - use the ffs module");
-# endif
-#endif
-
-/* Compare strings S1 and S2, ignoring case, returning less than, equal to or
-   greater than zero if S1 is lexicographically less than, equal to or greater
-   than S2.
-   Note: This function does not work in multibyte locales.  */
-#if ! @HAVE_STRCASECMP@
-extern int strcasecmp (char const *s1, char const *s2)
-     _GL_ARG_NONNULL ((1, 2));
-#endif
-#if defined GNULIB_POSIXCHECK
-/* strcasecmp() does not work with multibyte strings:
-   POSIX says that it operates on "strings", and "string" in POSIX is defined
-   as a sequence of bytes, not of characters.   */
-# undef strcasecmp
-# if HAVE_RAW_DECL_STRCASECMP
-_GL_WARN_ON_USE (strcasecmp, "strcasecmp cannot work correctly on character "
-                 "strings in multibyte locales - "
-                 "use mbscasecmp if you care about "
-                 "internationalization, or use c_strcasecmp , "
-                 "gnulib module c-strcase) if you want a locale "
-                 "independent function");
-# endif
-#endif
-
-/* Compare no more than N bytes of strings S1 and S2, ignoring case,
-   returning less than, equal to or greater than zero if S1 is
-   lexicographically less than, equal to or greater than S2.
-   Note: This function cannot work correctly in multibyte locales.  */
-#if ! @HAVE_DECL_STRNCASECMP@
-extern int strncasecmp (char const *s1, char const *s2, size_t n)
-     _GL_ARG_NONNULL ((1, 2));
-#endif
-#if defined GNULIB_POSIXCHECK
-/* strncasecmp() does not work with multibyte strings:
-   POSIX says that it operates on "strings", and "string" in POSIX is defined
-   as a sequence of bytes, not of characters.  */
-# undef strncasecmp
-# if HAVE_RAW_DECL_STRNCASECMP
-_GL_WARN_ON_USE (strncasecmp, "strncasecmp cannot work correctly on character "
-                 "strings in multibyte locales - "
-                 "use mbsncasecmp or mbspcasecmp if you care about "
-                 "internationalization, or use c_strncasecmp , "
-                 "gnulib module c-strcase) if you want a locale "
-                 "independent function");
-# endif
-#endif
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _@GUARD_PREFIX@_STRING_H */
-#endif /* _@GUARD_PREFIX@_STRING_H */
index ef458c63a96f57fd28f5d4a02afad14e3fc257a6..6f802d4c23c406872a06828bb7b0c5a913c2f06a 100644 (file)
@@ -1,6 +1,6 @@
 /* stripslash.c -- remove redundant trailing slashes from a file name
 
-   Copyright (C) 1990, 2001, 2003-2006, 2009-2012 Free Software Foundation,
+   Copyright (C) 1990, 2001, 2003-2006, 2009-2014 Free Software Foundation,
    Inc.
 
    This program is free software: you can redistribute it and/or modify
diff --git a/lib/strncasecmp.c b/lib/strncasecmp.c
deleted file mode 100644 (file)
index bf413b4..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/* strncasecmp.c -- case insensitive string comparator
-   Copyright (C) 1998-1999, 2005-2007, 2009-2012 Free Software Foundation, Inc.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3, or (at your option)
-   any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
-
-#include <config.h>
-
-/* Specification.  */
-#include <string.h>
-
-#include <ctype.h>
-#include <limits.h>
-
-#define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch))
-
-/* Compare no more than N bytes of strings S1 and S2, ignoring case,
-   returning less than, equal to or greater than zero if S1 is
-   lexicographically less than, equal to or greater than S2.
-   Note: This function cannot work correctly in multibyte locales.  */
-
-int
-strncasecmp (const char *s1, const char *s2, size_t n)
-{
-  register const unsigned char *p1 = (const unsigned char *) s1;
-  register const unsigned char *p2 = (const unsigned char *) s2;
-  unsigned char c1, c2;
-
-  if (p1 == p2 || n == 0)
-    return 0;
-
-  do
-    {
-      c1 = TOLOWER (*p1);
-      c2 = TOLOWER (*p2);
-
-      if (--n == 0 || c1 == '\0')
-        break;
-
-      ++p1;
-      ++p2;
-    }
-  while (c1 == c2);
-
-  if (UCHAR_MAX <= INT_MAX)
-    return c1 - c2;
-  else
-    /* On machines where 'char' and 'int' are types of the same size, the
-       difference of two 'unsigned char' values - including the sign bit -
-       doesn't fit in an 'int'.  */
-    return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0);
-}
index 405387110cc4207a8ebd4463f83c5ef43e89a5b6..cc1a4843ca42c52d76e6aec9dd049f4f75475e77 100644 (file)
@@ -1,6 +1,6 @@
 /* A replacement function, for systems that lack strndup.
 
-   Copyright (C) 1996-1998, 2001-2003, 2005-2007, 2009-2012 Free Software
+   Copyright (C) 1996-1998, 2001-2003, 2005-2007, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
index d36180dc7764c501999ae76ddc85ca4fcc2eaa84..ddccebc6b1a4fedfc9cc2c38030feb3a146c886c 100644 (file)
@@ -1,5 +1,5 @@
 /* Find the length of STRING, but scan at most MAXLEN characters.
-   Copyright (C) 2005-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2005-2007, 2009-2014 Free Software Foundation, Inc.
    Written by Simon Josefsson.
 
    This program is free software; you can redistribute it and/or modify
index bf992a8c2720798be4a478d0be691bbd370b4367..2e015dc5bddabef6f885127693f3c7a84c3ddf98 100644 (file)
@@ -1,6 +1,6 @@
 /* Convert string representation of a number into an integer value.
 
-   Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2012 Free Software
+   Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2014 Free Software
    Foundation, Inc.
 
    NOTE: The canonical source of this file is maintained with the GNU C
index fdfceb0137105e214616ad0639517e3eebfea353..47dfaa0677a70677d66568e9642e274d45b0348d 100644 (file)
@@ -1,5 +1,5 @@
 /* Function to parse a 'long long int' from text.
-   Copyright (C) 1995-1997, 1999, 2001, 2009-2012 Free Software Foundation,
+   Copyright (C) 1995-1997, 1999, 2001, 2009-2014 Free Software Foundation,
    Inc.
    This file is part of the GNU C Library.
 
index e99da41edc0e35b156400be745b5bff2e880825b..4c5ceaff96f64cae26fdbfaf909f7c2d9e0fdb18 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1997, 2009-2012 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1997, 2009-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    This program is free software: you can redistribute it and/or modify
index 33c2c5d9afb9a9c154126c0cf05a05863a622f36..30e6e0279e18b8952dc1108fed97f2037109f595 100644 (file)
@@ -1,5 +1,5 @@
 /* Function to parse an 'unsigned long long int' from text.
-   Copyright (C) 1995-1997, 1999, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 1999, 2009-2014 Free Software Foundation, Inc.
    NOTE: The canonical source of this file is maintained with the GNU C
    Library.  Bugs can be reported to bug-glibc@gnu.org.
 
index e4331c78cf7aa6989531be342c40032c6ab1a475..b47a7ff0ae7e2b9c0fda5c488af6be9d1e090816 100644 (file)
@@ -1,5 +1,5 @@
 /* Provide a more complete sys/stat header file.
-   Copyright (C) 2005-2012 Free Software Foundation, Inc.
+   Copyright (C) 2005-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -35,7 +35,8 @@
 
 #ifndef _@GUARD_PREFIX@_SYS_STAT_H
 
-/* Get nlink_t.  */
+/* Get nlink_t.
+   May also define off_t to a 64-bit type on native Windows.  */
 #include <sys/types.h>
 
 /* Get struct timespec.  */
 # include <io.h>
 #endif
 
+/* Large File Support on native Windows.  */
+#if @WINDOWS_64_BIT_ST_SIZE@
+# define stat _stati64
+#endif
+
 #ifndef S_IFIFO
 # ifdef _S_IFIFO
 #  define S_IFIFO _S_IFIFO
 # endif
 #endif
 
+#ifndef S_ISMPX /* AIX */
+# define S_ISMPX(m) 0
+#endif
+
 #ifndef S_ISNAM /* Xenix */
 # ifdef S_IFNAM
 #  define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM)
@@ -335,6 +345,9 @@ _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf));
 _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf));
 # endif
 _GL_CXXALIASWARN (fstat);
+#elif @WINDOWS_64_BIT_ST_SIZE@
+/* Above, we define stat to _stati64.  */
+# define fstat _fstati64
 #elif defined GNULIB_POSIXCHECK
 # undef fstat
 # if HAVE_RAW_DECL_FSTAT
@@ -488,7 +501,7 @@ _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode));
 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 
 #  if !GNULIB_defined_rpl_mkdir
-static inline int
+static int
 rpl_mkdir (char const *name, mode_t mode)
 {
   return _mkdir (name);
@@ -620,6 +633,28 @@ _GL_WARN_ON_USE (mknodat, "mknodat is not portable - "
        so we have to replace stat64() instead of stat(). */
 #   undef stat64
 #   define stat64(name, st) rpl_stat (name, st)
+#  elif @WINDOWS_64_BIT_ST_SIZE@
+    /* Above, we define stat to _stati64.  */
+#   if defined __MINGW32__ && defined _stati64
+#    ifndef _USE_32BIT_TIME_T
+      /* The system headers define _stati64 to _stat64.  */
+#     undef _stat64
+#     define _stat64(name, st) rpl_stat (name, st)
+#    endif
+#   elif defined _MSC_VER && defined _stati64
+#    ifdef _USE_32BIT_TIME_T
+      /* The system headers define _stati64 to _stat32i64.  */
+#     undef _stat32i64
+#     define _stat32i64(name, st) rpl_stat (name, st)
+#    else
+      /* The system headers define _stati64 to _stat64.  */
+#     undef _stat64
+#     define _stat64(name, st) rpl_stat (name, st)
+#    endif
+#   else
+#    undef _stati64
+#    define _stati64(name, st) rpl_stat (name, st)
+#   endif
 #  elif defined __MINGW32__ && defined stat
 #   ifdef _USE_32BIT_TIME_T
      /* The system headers define stat to _stat32i64.  */
index d915cee467a2fe6af7c43cbbdaebdd3b2e5c2b1e..30057ad49fd7310d47c6f43616b8a66c4df0a19b 100644 (file)
@@ -1,6 +1,6 @@
 /* Provide a more complete sys/time.h.
 
-   Copyright (C) 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 /* Written by Paul Eggert.  */
 
+#ifndef _@GUARD_PREFIX@_SYS_TIME_H
+
 #if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
 #endif
 @PRAGMA_COLUMNS@
 
-#if defined _@GUARD_PREFIX@_SYS_TIME_H
-
-/* Simply delegate to the system's header, without adding anything.  */
-# if @HAVE_SYS_TIME_H@
-#  @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@
-# endif
-
+/* On Cygwin and on many BSDish systems, <sys/time.h> includes itself
+   recursively via <sys/select.h>.
+   Simply delegate to the system's header in this case; it is a no-op.
+   Without this extra ifdef, the C++ gettimeofday declaration below
+   would be a forward declaration in gnulib's nested <sys/time.h>.  */
+#if defined _CYGWIN_SYS_TIME_H || defined _SYS_TIME_H || defined _SYS_TIME_H_
+# @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@
 #else
 
-# define _@GUARD_PREFIX@_SYS_TIME_H
+/* The include_next requires a split double-inclusion guard.  */
+#if @HAVE_SYS_TIME_H@
+# @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@
+#endif
+
+#ifndef _@GUARD_PREFIX@_SYS_TIME_H
+#define _@GUARD_PREFIX@_SYS_TIME_H
 
-# if @HAVE_SYS_TIME_H@
-#  @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@
-# else
-#  include <time.h>
-# endif
+#if ! @HAVE_SYS_TIME_H@
+# include <time.h>
+#endif
 
 /* On native Windows with MSVC, get the 'struct timeval' type.
    Also, on native Windows with a 64-bit time_t, where we are overriding the
    'struct timeval' type, get all declarations of system functions whose
    signature contains 'struct timeval'.  */
-# if (defined _MSC_VER || @REPLACE_STRUCT_TIMEVAL@) && @HAVE_WINSOCK2_H@ && !defined _GL_INCLUDING_WINSOCK2_H
-#  define _GL_INCLUDING_WINSOCK2_H
-#  include <winsock2.h>
-#  undef _GL_INCLUDING_WINSOCK2_H
-# endif
+#if (defined _MSC_VER || @REPLACE_STRUCT_TIMEVAL@) && @HAVE_WINSOCK2_H@ && !defined _GL_INCLUDING_WINSOCK2_H
+# define _GL_INCLUDING_WINSOCK2_H
+# include <winsock2.h>
+# undef _GL_INCLUDING_WINSOCK2_H
+#endif
 
 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
 
 
 /* The definition of _GL_WARN_ON_USE is copied here.  */
 
-# ifdef __cplusplus
+#ifdef __cplusplus
 extern "C" {
-# endif
+#endif
 
-# if !@HAVE_STRUCT_TIMEVAL@ || @REPLACE_STRUCT_TIMEVAL@
+#if !@HAVE_STRUCT_TIMEVAL@ || @REPLACE_STRUCT_TIMEVAL@
 
-#  if @REPLACE_STRUCT_TIMEVAL@
-#   define timeval rpl_timeval
-#  endif
+# if @REPLACE_STRUCT_TIMEVAL@
+#  define timeval rpl_timeval
+# endif
 
-#  if !GNULIB_defined_struct_timeval
+# if !GNULIB_defined_struct_timeval
 struct timeval
 {
   time_t tv_sec;
   long int tv_usec;
 };
-#   define GNULIB_defined_struct_timeval 1
-#  endif
-
+#  define GNULIB_defined_struct_timeval 1
 # endif
 
-# ifdef __cplusplus
+#endif
+
+#ifdef __cplusplus
 }
-# endif
+#endif
 
-# if @GNULIB_GETTIMEOFDAY@
-#  if @REPLACE_GETTIMEOFDAY@
-#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-#    undef gettimeofday
-#    define gettimeofday rpl_gettimeofday
-#   endif
+#if @GNULIB_GETTIMEOFDAY@
+# if @REPLACE_GETTIMEOFDAY@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef gettimeofday
+#   define gettimeofday rpl_gettimeofday
+#  endif
 _GL_FUNCDECL_RPL (gettimeofday, int,
                   (struct timeval *restrict, void *restrict)
                   _GL_ARG_NONNULL ((1)));
 _GL_CXXALIAS_RPL (gettimeofday, int,
                   (struct timeval *restrict, void *restrict));
-#  else
-#   if !@HAVE_GETTIMEOFDAY@
+# else
+#  if !@HAVE_GETTIMEOFDAY@
 _GL_FUNCDECL_SYS (gettimeofday, int,
                   (struct timeval *restrict, void *restrict)
                   _GL_ARG_NONNULL ((1)));
-#   endif
+#  endif
 /* Need to cast, because on glibc systems, by default, the second argument is
                                                   struct timezone *.  */
 _GL_CXXALIAS_SYS_CAST (gettimeofday, int,
                        (struct timeval *restrict, void *restrict));
-#  endif
+# endif
 _GL_CXXALIASWARN (gettimeofday);
-# elif defined GNULIB_POSIXCHECK
-#  undef gettimeofday
-#  if HAVE_RAW_DECL_GETTIMEOFDAY
+#elif defined GNULIB_POSIXCHECK
+# undef gettimeofday
+# if HAVE_RAW_DECL_GETTIMEOFDAY
 _GL_WARN_ON_USE (gettimeofday, "gettimeofday is unportable - "
                  "use gnulib module gettimeofday for portability");
-#  endif
 # endif
+#endif
 
 /* Hide some function declarations from <winsock2.h>.  */
 
-# if defined _MSC_VER && @HAVE_WINSOCK2_H@
-#  if !defined _@GUARD_PREFIX@_UNISTD_H
-#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-#    undef close
-#    define close close_used_without_including_unistd_h
-#   else
+#if defined _MSC_VER && @HAVE_WINSOCK2_H@
+# if !defined _@GUARD_PREFIX@_UNISTD_H
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef close
+#   define close close_used_without_including_unistd_h
+#  else
      _GL_WARN_ON_USE (close,
                       "close() used without including <unistd.h>");
-#   endif
-#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-#    undef gethostname
-#    define gethostname gethostname_used_without_including_unistd_h
-#   else
+#  endif
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef gethostname
+#   define gethostname gethostname_used_without_including_unistd_h
+#  else
      _GL_WARN_ON_USE (gethostname,
                       "gethostname() used without including <unistd.h>");
-#   endif
 #  endif
-#  if !defined _@GUARD_PREFIX@_SYS_SOCKET_H
-#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-#    undef socket
-#    define socket              socket_used_without_including_sys_socket_h
-#    undef connect
-#    define connect             connect_used_without_including_sys_socket_h
-#    undef accept
-#    define accept              accept_used_without_including_sys_socket_h
-#    undef bind
-#    define bind                bind_used_without_including_sys_socket_h
-#    undef getpeername
-#    define getpeername         getpeername_used_without_including_sys_socket_h
-#    undef getsockname
-#    define getsockname         getsockname_used_without_including_sys_socket_h
-#    undef getsockopt
-#    define getsockopt          getsockopt_used_without_including_sys_socket_h
-#    undef listen
-#    define listen              listen_used_without_including_sys_socket_h
-#    undef recv
-#    define recv                recv_used_without_including_sys_socket_h
-#    undef send
-#    define send                send_used_without_including_sys_socket_h
-#    undef recvfrom
-#    define recvfrom            recvfrom_used_without_including_sys_socket_h
-#    undef sendto
-#    define sendto              sendto_used_without_including_sys_socket_h
-#    undef setsockopt
-#    define setsockopt          setsockopt_used_without_including_sys_socket_h
-#    undef shutdown
-#    define shutdown            shutdown_used_without_including_sys_socket_h
-#   else
+# endif
+# if !defined _@GUARD_PREFIX@_SYS_SOCKET_H
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef socket
+#   define socket              socket_used_without_including_sys_socket_h
+#   undef connect
+#   define connect             connect_used_without_including_sys_socket_h
+#   undef accept
+#   define accept              accept_used_without_including_sys_socket_h
+#   undef bind
+#   define bind                bind_used_without_including_sys_socket_h
+#   undef getpeername
+#   define getpeername         getpeername_used_without_including_sys_socket_h
+#   undef getsockname
+#   define getsockname         getsockname_used_without_including_sys_socket_h
+#   undef getsockopt
+#   define getsockopt          getsockopt_used_without_including_sys_socket_h
+#   undef listen
+#   define listen              listen_used_without_including_sys_socket_h
+#   undef recv
+#   define recv                recv_used_without_including_sys_socket_h
+#   undef send
+#   define send                send_used_without_including_sys_socket_h
+#   undef recvfrom
+#   define recvfrom            recvfrom_used_without_including_sys_socket_h
+#   undef sendto
+#   define sendto              sendto_used_without_including_sys_socket_h
+#   undef setsockopt
+#   define setsockopt          setsockopt_used_without_including_sys_socket_h
+#   undef shutdown
+#   define shutdown            shutdown_used_without_including_sys_socket_h
+#  else
      _GL_WARN_ON_USE (socket,
                       "socket() used without including <sys/socket.h>");
      _GL_WARN_ON_USE (connect,
@@ -189,17 +195,19 @@ _GL_WARN_ON_USE (gettimeofday, "gettimeofday is unportable - "
                       "setsockopt() used without including <sys/socket.h>");
      _GL_WARN_ON_USE (shutdown,
                       "shutdown() used without including <sys/socket.h>");
-#   endif
 #  endif
-#  if !defined _@GUARD_PREFIX@_SYS_SELECT_H
-#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-#    undef select
-#    define select select_used_without_including_sys_select_h
-#   else
+# endif
+# if !defined _@GUARD_PREFIX@_SYS_SELECT_H
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef select
+#   define select select_used_without_including_sys_select_h
+#  else
      _GL_WARN_ON_USE (select,
                       "select() used without including <sys/select.h>");
-#   endif
 #  endif
 # endif
+#endif
 
 #endif /* _@GUARD_PREFIX@_SYS_TIME_H */
+#endif /* _CYGWIN_SYS_TIME_H */
+#endif /* _@GUARD_PREFIX@_SYS_TIME_H */
index 574fe518ea3a65deee68bf9cdc4e43eb7d89adae..deb5d67d1d7d2d8a573984911bfc89ea24dbe192 100644 (file)
@@ -1,6 +1,6 @@
 /* Provide a more complete sys/types.h.
 
-   Copyright (C) 2011-2012 Free Software Foundation, Inc.
+   Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #ifndef _@GUARD_PREFIX@_SYS_TYPES_H
 
 /* The include_next requires a split double-inclusion guard.  */
+# define _GL_INCLUDING_SYS_TYPES_H
 #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@
+# undef _GL_INCLUDING_SYS_TYPES_H
 
 #ifndef _@GUARD_PREFIX@_SYS_TYPES_H
 #define _@GUARD_PREFIX@_SYS_TYPES_H
 
+/* Override off_t if Large File Support is requested on native Windows.  */
+#if @WINDOWS_64_BIT_OFF_T@
+/* Same as int64_t in <stdint.h>.  */
+# if defined _MSC_VER
+#  define off_t __int64
+# else
+#  define off_t long long int
+# endif
+/* Indicator, for gnulib internal purposes.  */
+# define _GL_WINDOWS_64_BIT_OFF_T 1
+#endif
+
 /* MSVC 9 defines size_t in <stddef.h>, not in <sys/types.h>.  */
 /* But avoid namespace pollution on glibc systems.  */
 #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
index de0474d82aa021adbeb5d55082170a94c17415af..9b713cb04c94166c50556793fe18ff6f9c234d2d 100644 (file)
@@ -1,6 +1,6 @@
 /* tempname.c - generate the name of a temporary file.
 
-   Copyright (C) 1991-2003, 2005-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1991-2003, 2005-2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 # define __mkdir mkdir
 # define __open open
 # define __lxstat64(version, file, buf) lstat (file, buf)
-#endif
-
-#if ! (HAVE___SECURE_GETENV || _LIBC)
-# define __secure_getenv getenv
+# define __secure_getenv secure_getenv
 #endif
 
 #ifdef _LIBC
@@ -207,7 +204,7 @@ __gen_tempname (char *tmpl, int suffixlen, int flags, int kind)
   /* A lower bound on the number of temporary files to attempt to
      generate.  The maximum total number of temporary file names that
      can exist for a given template is 62**6.  It should never be
-     necessary to try all these combinations.  Instead if a reasonable
+     necessary to try all of these combinations.  Instead if a reasonable
      number of names is tried (we define reasonable as 62**3) fail to
      give the system administrator the chance to remove the problems.  */
 #define ATTEMPTS_MIN (62 * 62 * 62)
index 7972562250ba07e0eec94daa03fa1a083c611444..44d5f04bbf928fb5e41c804b164626f3376998eb 100644 (file)
@@ -1,6 +1,6 @@
 /* Create a temporary file or directory.
 
-   Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 04cde057cf070cbdbf95a09523893100dec998b7..81abdf46e0bb729bf55fbdcfca7eb504beb075d3 100644 (file)
@@ -1,6 +1,6 @@
 /* A more-standard <time.h>.
 
-   Copyright (C) 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 /* Some systems don't define struct timespec (e.g., AIX 4.1, Ultrix 4.3).
    Or they define it with the wrong member names or define it in <sys/time.h>
-   (e.g., FreeBSD circa 1997).  Stock Mingw does not define it, but the
-   pthreads-win32 library defines it in <pthread.h>.  */
+   (e.g., FreeBSD circa 1997).  Stock Mingw prior to 3.0 does not define it,
+   but the pthreads-win32 library defines it in <pthread.h>.  */
 # if ! @TIME_H_DEFINES_STRUCT_TIMESPEC@
 #  if @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@
 #   include <sys/time.h>
 #  elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@
 #   include <pthread.h>
-/* The pthreads-win32 <pthread.h> also defines a couple of broken macros.  */
-#   undef asctime_r
-#   undef ctime_r
-#   undef gmtime_r
-#   undef localtime_r
-#   undef rand_r
-#   undef strtok_r
 #  else
 
 #   ifdef __cplusplus
@@ -187,6 +180,39 @@ _GL_CXXALIASWARN (gmtime_r);
 #  endif
 # endif
 
+/* Convert TIMER to RESULT, assuming local time and UTC respectively.  See
+   <http://www.opengroup.org/susv3xsh/localtime.html> and
+   <http://www.opengroup.org/susv3xsh/gmtime.html>.  */
+# if @GNULIB_GETTIMEOFDAY@
+#  if @REPLACE_LOCALTIME@
+#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#    undef localtime
+#    define localtime rpl_localtime
+#   endif
+_GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
+                                         _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
+#  else
+_GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
+#  endif
+_GL_CXXALIASWARN (localtime);
+# endif
+
+# if @GNULIB_GETTIMEOFDAY@
+#  if @REPLACE_GMTIME@
+#   if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#    undef gmtime
+#    define gmtime rpl_gmtime
+#   endif
+_GL_FUNCDECL_RPL (gmtime, struct tm *, (time_t const *__timer)
+                                       _GL_ARG_NONNULL ((1)));
+_GL_CXXALIAS_RPL (gmtime, struct tm *, (time_t const *__timer));
+#  else
+_GL_CXXALIAS_SYS (gmtime, struct tm *, (time_t const *__timer));
+#  endif
+_GL_CXXALIASWARN (gmtime);
+# endif
+
 /* Parse BUF as a time stamp, assuming FORMAT specifies its layout, and store
    the resulting broken-down time into TM.  See
    <http://www.opengroup.org/susv3xsh/strptime.html>.  */
diff --git a/lib/unistd.c b/lib/unistd.c
new file mode 100644 (file)
index 0000000..6c6a8e2
--- /dev/null
@@ -0,0 +1,3 @@
+#include <config.h>
+#define _GL_UNISTD_INLINE _GL_EXTERN_INLINE
+#include "unistd.h"
index 1b26c09707220368cd44a4244518a398fb609c6d..622b2287577279453a5945201277600e33cd7e59 100644 (file)
@@ -1,5 +1,5 @@
 /* Substitute for and wrapper around <unistd.h>.
-   Copyright (C) 2003-2012 Free Software Foundation, Inc.
+   Copyright (C) 2003-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    You should have received a copy of the GNU General Public License
    along with this program; if not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef _@GUARD_PREFIX@_UNISTD_H
+
 #if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
 #endif
 @PRAGMA_COLUMNS@
 
+#ifdef _GL_INCLUDING_UNISTD_H
 /* Special invocation convention:
-   - On mingw, several headers, including <winsock2.h>, include <unistd.h>,
-     but we need to ensure that both the system <unistd.h> and <winsock2.h>
-     are completely included before we replace gethostname.  */
-#if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \
-  && !defined _GL_WINSOCK2_H_WITNESS && defined _WINSOCK2_H
-/* <unistd.h> is being indirectly included for the first time from
-   <winsock2.h>; avoid declaring any overrides.  */
-# if @HAVE_UNISTD_H@
-#  @INCLUDE_NEXT@ @NEXT_UNISTD_H@
-# else
-#  error unexpected; report this to bug-gnulib@gnu.org
-# endif
-# define _GL_WINSOCK2_H_WITNESS
+   - On Mac OS X 10.3.9 we have a sequence of nested includes
+     <unistd.h> -> <signal.h> -> <pthread.h> -> <unistd.h>
+     In this situation, the functions are not yet declared, therefore we cannot
+     provide the C++ aliases.  */
+
+#@INCLUDE_NEXT@ @NEXT_UNISTD_H@
 
-/* Normal invocation.  */
-#elif !defined _@GUARD_PREFIX@_UNISTD_H
+#else
+/* Normal invocation convention.  */
 
 /* The include_next requires a split double-inclusion guard.  */
 #if @HAVE_UNISTD_H@
+# define _GL_INCLUDING_UNISTD_H
 # @INCLUDE_NEXT@ @NEXT_UNISTD_H@
+# undef _GL_INCLUDING_UNISTD_H
 #endif
 
 /* Get all possible declarations of gethostname().  */
 /* mingw, MSVC, BeOS, Haiku declare environ in <stdlib.h>, not in
    <unistd.h>.  */
 /* Solaris declares getcwd not only in <unistd.h> but also in <stdlib.h>.  */
+/* OSF Tru64 Unix cannot see gnulib rpl_strtod when system <stdlib.h> is
+   included here.  */
 /* But avoid namespace pollution on glibc systems.  */
-#ifndef __GLIBC__
+#if !defined __GLIBC__ && !defined __osf__
+# define __need_system_stdlib_h
 # include <stdlib.h>
+# undef __need_system_stdlib_h
 #endif
 
 /* Native Windows platforms declare chdir, getcwd, rmdir in
 # include <netdb.h>
 #endif
 
-/* MSVC defines off_t in <sys/types.h>.  */
-#if !@HAVE_UNISTD_H@
+/* MSVC defines off_t in <sys/types.h>.
+   May also define off_t to a 64-bit type on native Windows.  */
+#if !@HAVE_UNISTD_H@ || @WINDOWS_64_BIT_OFF_T@
 /* Get off_t.  */
 # include <sys/types.h>
 #endif
 /* Get getopt(), optarg, optind, opterr, optopt.
    But avoid namespace pollution on glibc systems.  */
 #if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT
+# define __need_getopt
 # include <getopt.h>
 #endif
 
+#ifndef _GL_INLINE_HEADER_BEGIN
+ #error "Please include config.h first."
+#endif
+_GL_INLINE_HEADER_BEGIN
+#ifndef _GL_UNISTD_INLINE
+# define _GL_UNISTD_INLINE _GL_INLINE
+#endif
+
 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
 
 /* The definition of _GL_ARG_NONNULL is copied here.  */
@@ -403,7 +415,7 @@ extern char **environ;
 # endif
 #elif defined GNULIB_POSIXCHECK
 # if HAVE_RAW_DECL_ENVIRON
-static inline char ***
+_GL_UNISTD_INLINE char ***
 rpl_environ (void)
 {
   return &environ;
@@ -562,10 +574,19 @@ _GL_WARN_ON_USE (fsync, "fsync is unportable - "
    Return 0 if successful, otherwise -1 and errno set.
    See the POSIX:2008 specification
    <http://pubs.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html>.  */
-# if !@HAVE_FTRUNCATE@
+# if @REPLACE_FTRUNCATE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef ftruncate
+#   define ftruncate rpl_ftruncate
+#  endif
+_GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length));
+_GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length));
+# else
+#  if !@HAVE_FTRUNCATE@
 _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length));
-# endif
+#  endif
 _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length));
+# endif
 _GL_CXXALIASWARN (ftruncate);
 #elif defined GNULIB_POSIXCHECK
 # undef ftruncate
@@ -647,10 +668,19 @@ _GL_WARN_ON_USE (getdomainname, "getdomainname is unportable - "
 #if @GNULIB_GETDTABLESIZE@
 /* Return the maximum number of file descriptors in the current process.
    In POSIX, this is same as sysconf (_SC_OPEN_MAX).  */
-# if !@HAVE_GETDTABLESIZE@
+# if @REPLACE_GETDTABLESIZE@
+#  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+#   undef getdtablesize
+#   define getdtablesize rpl_getdtablesize
+#  endif
+_GL_FUNCDECL_RPL (getdtablesize, int, (void));
+_GL_CXXALIAS_RPL (getdtablesize, int, (void));
+# else
+#  if !@HAVE_GETDTABLESIZE@
 _GL_FUNCDECL_SYS (getdtablesize, int, (void));
-# endif
+#  endif
 _GL_CXXALIAS_SYS (getdtablesize, int, (void));
+# endif
 _GL_CXXALIASWARN (getdtablesize);
 #elif defined GNULIB_POSIXCHECK
 # undef getdtablesize
@@ -852,7 +882,7 @@ _GL_CXXALIAS_RPL (getpagesize, int, (void));
 #     define getpagesize() _gl_getpagesize ()
 #    else
 #     if !GNULIB_defined_getpagesize_function
-static inline int
+_GL_UNISTD_INLINE int
 getpagesize ()
 {
   return _gl_getpagesize ();
@@ -1308,7 +1338,7 @@ _GL_WARN_ON_USE (rmdir, "rmdir is unportable - "
 _GL_FUNCDECL_SYS (sethostname, int, (const char *name, size_t len)
                                     _GL_ARG_NONNULL ((1)));
 # endif
-/* Need to cast, because on Solaris 11 2011-10, MacOS X 10.5, IRIX 6.5
+/* Need to cast, because on Solaris 11 2011-10, Mac OS X 10.5, IRIX 6.5
    and FreeBSD 6.4 the second parameter is int.  On Solaris 11
    2011-10, the first parameter is not const.  */
 _GL_CXXALIAS_SYS_CAST (sethostname, int, (const char *name, size_t len));
@@ -1520,6 +1550,8 @@ _GL_CXXALIAS_SYS_CAST (write, ssize_t, (int fd, const void *buf, size_t count));
 _GL_CXXALIASWARN (write);
 #endif
 
+_GL_INLINE_HEADER_END
 
 #endif /* _@GUARD_PREFIX@_UNISTD_H */
+#endif /* _GL_INCLUDING_UNISTD_H */
 #endif /* _@GUARD_PREFIX@_UNISTD_H */
index efaa1a6adb39b7a0443672b8fe6dc00238be9926..a234be4a3f553b2fb52407f968b1f6341a708a5d 100644 (file)
@@ -1,6 +1,6 @@
 /* Work around unlink bugs.
 
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index ea640bfa4705c757092f84cd4f76c4cf879cf26b..32e41776127106f7f0cfb70d2ee7552213934333 100644 (file)
@@ -1,5 +1,5 @@
 /* Pausing execution of the current thread.
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
    Written by Eric Blake <ebb9@byu.net>, 2009.
 
    This program is free software: you can redistribute it and/or modify
index cef14ad1571eb64a9f4006f696645b265dbf339f..a25e514668a0617b889817654fb796fc7482e03a 100644 (file)
@@ -1,6 +1,6 @@
 /* Compile-time assert-like macros.
 
-   Copyright (C) 2005-2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2005-2006, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
 /* Written by Paul Eggert, Bruno Haible, and Jim Meyering.  */
 
 #ifndef _GL_VERIFY_H
-# define _GL_VERIFY_H
+#define _GL_VERIFY_H
 
 
 /* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert works as per C11.
    Use this only with GCC.  If we were willing to slow 'configure'
    down we could also use it with other compilers, but since this
    affects only the quality of diagnostics, why bother?  */
-# if (4 < __GNUC__ || (__GNUC__ == 4 && 6 <= __GNUC_MINOR__)) && !defined __cplusplus
-#  define _GL_HAVE__STATIC_ASSERT 1
-# endif
+#if (4 < __GNUC__ + (6 <= __GNUC_MINOR__) \
+     && (201112L <= __STDC_VERSION__  || !defined __STRICT_ANSI__) \
+     && !defined __cplusplus)
+# define _GL_HAVE__STATIC_ASSERT 1
+#endif
 /* The condition (99 < __GNUC__) is temporary, until we know about the
    first G++ release that supports static_assert.  */
-# if (99 < __GNUC__) && defined __cplusplus
-#  define _GL_HAVE_STATIC_ASSERT 1
-# endif
+#if (99 < __GNUC__) && defined __cplusplus
+# define _GL_HAVE_STATIC_ASSERT 1
+#endif
+
+/* FreeBSD 9.1 <sys/cdefs.h>, included by <stddef.h> and lots of other
+   system headers, defines a conflicting _Static_assert that is no
+   better than ours; override it.  */
+#ifndef _GL_HAVE_STATIC_ASSERT
+# include <stddef.h>
+# undef _Static_assert
+#endif
 
 /* Each of these macros verifies that its argument R is nonzero.  To
    be portable, R should be an integer constant expression.  Unlike
        extern int (*dummy (void)) [sizeof (struct {...})];
 
    * GCC warns about duplicate declarations of the dummy function if
-     -Wredundant_decls is used.  GCC 4.3 and later have a builtin
+     -Wredundant-decls is used.  GCC 4.3 and later have a builtin
      __COUNTER__ macro that can let us generate unique identifiers for
      each dummy function, to suppress this warning.
 
      which do not support _Static_assert, also do not warn about the
      last declaration mentioned above.
 
+   * GCC warns if -Wnested-externs is enabled and verify() is used
+     within a function body; but inside a function, you can always
+     arrange to use verify_expr() instead.
+
    * In C++, any struct definition inside sizeof is invalid.
      Use a template type to work around the problem.  */
 
 /* Concatenate two preprocessor tokens.  */
-# define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y)
-# define _GL_CONCAT0(x, y) x##y
+#define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y)
+#define _GL_CONCAT0(x, y) x##y
 
 /* _GL_COUNTER is an integer, preferably one that changes each time we
    use it.  Use __COUNTER__ if it works, falling back on __LINE__
    otherwise.  __LINE__ isn't perfect, but it's better than a
    constant.  */
-# if defined __COUNTER__ && __COUNTER__ != __COUNTER__
-#  define _GL_COUNTER __COUNTER__
-# else
-#  define _GL_COUNTER __LINE__
-# endif
+#if defined __COUNTER__ && __COUNTER__ != __COUNTER__
+# define _GL_COUNTER __COUNTER__
+#else
+# define _GL_COUNTER __LINE__
+#endif
 
 /* Generate a symbol with the given prefix, making it unique if
    possible.  */
-# define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER)
+#define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER)
 
 /* Verify requirement R at compile-time, as an integer constant expression
    that returns 1.  If R is false, fail at compile-time, preferably
    with a diagnostic that includes the string-literal DIAGNOSTIC.  */
 
-# define _GL_VERIFY_TRUE(R, DIAGNOSTIC) \
-    (!!sizeof (_GL_VERIFY_TYPE (R, DIAGNOSTIC)))
+#define _GL_VERIFY_TRUE(R, DIAGNOSTIC) \
+   (!!sizeof (_GL_VERIFY_TYPE (R, DIAGNOSTIC)))
 
-# ifdef __cplusplus
-#  if !GNULIB_defined_struct__gl_verify_type
+#ifdef __cplusplus
+# if !GNULIB_defined_struct__gl_verify_type
 template <int w>
   struct _gl_verify_type {
     unsigned int _gl_verify_error_if_negative: w;
   };
-#   define GNULIB_defined_struct__gl_verify_type 1
-#  endif
-#  define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \
-    _gl_verify_type<(R) ? 1 : -1>
-# elif defined _GL_HAVE__STATIC_ASSERT
-#  define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \
-     struct {                                   \
-       _Static_assert (R, DIAGNOSTIC);          \
-       int _gl_dummy;                          \
-     }
-# else
-#  define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \
-     struct { unsigned int _gl_verify_error_if_negative: (R) ? 1 : -1; }
+#  define GNULIB_defined_struct__gl_verify_type 1
 # endif
+# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \
+    _gl_verify_type<(R) ? 1 : -1>
+#elif defined _GL_HAVE__STATIC_ASSERT
+# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \
+    struct {                                   \
+      _Static_assert (R, DIAGNOSTIC);          \
+      int _gl_dummy;                          \
+    }
+#else
+# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \
+    struct { unsigned int _gl_verify_error_if_negative: (R) ? 1 : -1; }
+#endif
 
 /* Verify requirement R at compile-time, as a declaration without a
    trailing ';'.  If R is false, fail at compile-time, preferably
@@ -189,23 +203,23 @@ template <int w>
    Unfortunately, unlike C11, this implementation must appear as an
    ordinary declaration, and cannot appear inside struct { ... }.  */
 
-# ifdef _GL_HAVE__STATIC_ASSERT
-#  define _GL_VERIFY _Static_assert
-# else
-#  define _GL_VERIFY(R, DIAGNOSTIC)                                   \
-     extern int (*_GL_GENSYM (_gl_verify_function) (void))            \
-       [_GL_VERIFY_TRUE (R, DIAGNOSTIC)]
-# endif
+#ifdef _GL_HAVE__STATIC_ASSERT
+# define _GL_VERIFY _Static_assert
+#else
+# define _GL_VERIFY(R, DIAGNOSTIC)                                    \
+    extern int (*_GL_GENSYM (_gl_verify_function) (void))             \
+      [_GL_VERIFY_TRUE (R, DIAGNOSTIC)]
+#endif
 
 /* _GL_STATIC_ASSERT_H is defined if this code is copied into assert.h.  */
-# ifdef _GL_STATIC_ASSERT_H
-#  if !defined _GL_HAVE__STATIC_ASSERT && !defined _Static_assert
-#   define _Static_assert(R, DIAGNOSTIC) _GL_VERIFY (R, DIAGNOSTIC)
-#  endif
-#  if !defined _GL_HAVE_STATIC_ASSERT && !defined static_assert
-#   define static_assert _Static_assert /* C11 requires this #define.  */
-#  endif
+#ifdef _GL_STATIC_ASSERT_H
+# if !defined _GL_HAVE__STATIC_ASSERT && !defined _Static_assert
+#  define _Static_assert(R, DIAGNOSTIC) _GL_VERIFY (R, DIAGNOSTIC)
+# endif
+# if !defined _GL_HAVE_STATIC_ASSERT && !defined static_assert
+#  define static_assert _Static_assert /* C11 requires this #define.  */
 # endif
+#endif
 
 /* @assert.h omit start@  */
 
@@ -223,18 +237,42 @@ template <int w>
 
    verify_true is obsolescent; please use verify_expr instead.  */
 
-# define verify_true(R) _GL_VERIFY_TRUE (R, "verify_true (" #R ")")
+#define verify_true(R) _GL_VERIFY_TRUE (R, "verify_true (" #R ")")
 
 /* Verify requirement R at compile-time.  Return the value of the
    expression E.  */
 
-# define verify_expr(R, E) \
-    (_GL_VERIFY_TRUE (R, "verify_expr (" #R ", " #E ")") ? (E) : (E))
+#define verify_expr(R, E) \
+   (_GL_VERIFY_TRUE (R, "verify_expr (" #R ", " #E ")") ? (E) : (E))
 
 /* Verify requirement R at compile-time, as a declaration without a
    trailing ';'.  */
 
-# define verify(R) _GL_VERIFY (R, "verify (" #R ")")
+#define verify(R) _GL_VERIFY (R, "verify (" #R ")")
+
+#ifndef __has_builtin
+# define __has_builtin(x) 0
+#endif
+
+/* Assume that R always holds.  This lets the compiler optimize
+   accordingly.  R should not have side-effects; it may or may not be
+   evaluated.  Behavior is undefined if R is false.  */
+
+#if (__has_builtin (__builtin_unreachable) \
+     || 4 < __GNUC__ + (5 <= __GNUC_MINOR__))
+# define assume(R) ((R) ? (void) 0 : __builtin_unreachable ())
+#elif 1200 <= _MSC_VER
+# define assume(R) __assume (R)
+#elif (defined lint \
+       && (__has_builtin (__builtin_trap) \
+           || 3 < __GNUC__ + (3 < __GNUC_MINOR__ + (4 <= __GNUC_PATCHLEVEL__))))
+  /* Doing it this way helps various packages when configured with
+     --enable-gcc-warnings, which compiles with -Dlint.  It's nicer
+     when 'assume' silences warnings even with older GCCs.  */
+# define assume(R) ((R) ? (void) 0 : __builtin_trap ())
+#else
+# define assume(R) ((void) (0 && (R)))
+#endif
 
 /* @assert.h omit end@  */
 
index c452f40dfb9d14c5b6790b6e9bc6d0d087930bcf..b37dd60559c9b488874c0ab882f1bc0e25af91b0 100644 (file)
@@ -1,5 +1,5 @@
 /* Variable with FSF copyright information, for version-etc.
-   Copyright (C) 1999-2006, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1999-2006, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index ae1e44d61dc68cdb5f4a5522ea915d2022c19bff..04f5b6209fdcbcf17fafa6a045abb988bd239c6d 100644 (file)
@@ -1,5 +1,5 @@
 /* Print --version and bug-reporting information in a consistent format.
-   Copyright (C) 1999-2012 Free Software Foundation, Inc.
+   Copyright (C) 1999-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -38,7 +38,7 @@
 # define PACKAGE PACKAGE_TARNAME
 #endif
 
-enum { COPYRIGHT_YEAR = 2012 };
+enum { COPYRIGHT_YEAR = 2014 };
 
 /* The three functions below display the --version information the
    standard way.
index 5548c023c3b8c34b4eb6be7c20840724f7d80e7c..8e1b2ccff1c088d2bef6125bfc875ac3231c27ba 100644 (file)
@@ -1,5 +1,5 @@
 /* Print --version and bug-reporting information in a consistent format.
-   Copyright (C) 1999, 2003, 2005, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2003, 2005, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 4e92a77802e2af64464a3bedc4ffe056dc55cfe7..473285fb2809f9acde3c71fd5e66ecbe4107349f 100644 (file)
@@ -1,6 +1,6 @@
 /* A substitute for ISO C99 <wchar.h>, for platforms that have issues.
 
-   Copyright (C) 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #ifndef _@GUARD_PREFIX@_WCHAR_H
 #define _@GUARD_PREFIX@_WCHAR_H
 
+/* The __attribute__ feature is available in gcc versions 2.5 and later.
+   The attribute __pure__ was added in gcc 2.96.  */
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
+#else
+# define _GL_ATTRIBUTE_PURE /* empty */
+#endif
+
 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
 
 /* The definition of _GL_ARG_NONNULL is copied here.  */
@@ -135,11 +143,11 @@ typedef int rpl_mbstate_t;
 #   undef btowc
 #   define btowc rpl_btowc
 #  endif
-_GL_FUNCDECL_RPL (btowc, wint_t, (int c));
+_GL_FUNCDECL_RPL (btowc, wint_t, (int c) _GL_ATTRIBUTE_PURE);
 _GL_CXXALIAS_RPL (btowc, wint_t, (int c));
 # else
 #  if !@HAVE_BTOWC@
-_GL_FUNCDECL_SYS (btowc, wint_t, (int c));
+_GL_FUNCDECL_SYS (btowc, wint_t, (int c) _GL_ATTRIBUTE_PURE);
 #  endif
 _GL_CXXALIAS_SYS (btowc, wint_t, (int c));
 # endif
@@ -160,12 +168,12 @@ _GL_WARN_ON_USE (btowc, "btowc is unportable - "
 #   undef wctob
 #   define wctob rpl_wctob
 #  endif
-_GL_FUNCDECL_RPL (wctob, int, (wint_t wc));
+_GL_FUNCDECL_RPL (wctob, int, (wint_t wc) _GL_ATTRIBUTE_PURE);
 _GL_CXXALIAS_RPL (wctob, int, (wint_t wc));
 # else
 #  if !defined wctob && !@HAVE_DECL_WCTOB@
 /* wctob is provided by gnulib, or wctob exists but is not declared.  */
-_GL_FUNCDECL_SYS (wctob, int, (wint_t wc));
+_GL_FUNCDECL_SYS (wctob, int, (wint_t wc) _GL_ATTRIBUTE_PURE);
 #  endif
 _GL_CXXALIAS_SYS (wctob, int, (wint_t wc));
 # endif
@@ -426,12 +434,12 @@ _GL_WARN_ON_USE (wcsnrtombs, "wcsnrtombs is unportable - "
 #   undef wcwidth
 #   define wcwidth rpl_wcwidth
 #  endif
-_GL_FUNCDECL_RPL (wcwidth, int, (wchar_t));
+_GL_FUNCDECL_RPL (wcwidth, int, (wchar_t) _GL_ATTRIBUTE_PURE);
 _GL_CXXALIAS_RPL (wcwidth, int, (wchar_t));
 # else
 #  if !@HAVE_DECL_WCWIDTH@
 /* wcwidth exists but is not declared.  */
-_GL_FUNCDECL_SYS (wcwidth, int, (wchar_t));
+_GL_FUNCDECL_SYS (wcwidth, int, (wchar_t) _GL_ATTRIBUTE_PURE);
 #  endif
 _GL_CXXALIAS_SYS (wcwidth, int, (wchar_t));
 # endif
@@ -448,7 +456,8 @@ _GL_WARN_ON_USE (wcwidth, "wcwidth is unportable - "
 /* Search N wide characters of S for C.  */
 #if @GNULIB_WMEMCHR@
 # if !@HAVE_WMEMCHR@
-_GL_FUNCDECL_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n));
+_GL_FUNCDECL_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n)
+                                      _GL_ATTRIBUTE_PURE);
 # endif
   /* On some systems, this function is defined as an overloaded function:
        extern "C++" {
@@ -479,7 +488,8 @@ _GL_WARN_ON_USE (wmemchr, "wmemchr is unportable - "
 #if @GNULIB_WMEMCMP@
 # if !@HAVE_WMEMCMP@
 _GL_FUNCDECL_SYS (wmemcmp, int,
-                  (const wchar_t *s1, const wchar_t *s2, size_t n));
+                  (const wchar_t *s1, const wchar_t *s2, size_t n)
+                  _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wmemcmp, int,
                   (const wchar_t *s1, const wchar_t *s2, size_t n));
@@ -549,7 +559,7 @@ _GL_WARN_ON_USE (wmemset, "wmemset is unportable - "
 /* Return the number of wide characters in S.  */
 #if @GNULIB_WCSLEN@
 # if !@HAVE_WCSLEN@
-_GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s));
+_GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
 _GL_CXXALIASWARN (wcslen);
@@ -565,7 +575,8 @@ _GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
 /* Return the number of wide characters in S, but at most MAXLEN.  */
 #if @GNULIB_WCSNLEN@
 # if !@HAVE_WCSNLEN@
-_GL_FUNCDECL_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen));
+_GL_FUNCDECL_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen)
+                                   _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen));
 _GL_CXXALIASWARN (wcsnlen);
@@ -684,7 +695,8 @@ _GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - "
 /* Compare S1 and S2.  */
 #if @GNULIB_WCSCMP@
 # if !@HAVE_WCSCMP@
-_GL_FUNCDECL_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2));
+_GL_FUNCDECL_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2)
+                               _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2));
 _GL_CXXALIASWARN (wcscmp);
@@ -701,7 +713,8 @@ _GL_WARN_ON_USE (wcscmp, "wcscmp is unportable - "
 #if @GNULIB_WCSNCMP@
 # if !@HAVE_WCSNCMP@
 _GL_FUNCDECL_SYS (wcsncmp, int,
-                  (const wchar_t *s1, const wchar_t *s2, size_t n));
+                  (const wchar_t *s1, const wchar_t *s2, size_t n)
+                  _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wcsncmp, int,
                   (const wchar_t *s1, const wchar_t *s2, size_t n));
@@ -718,7 +731,8 @@ _GL_WARN_ON_USE (wcsncmp, "wcsncmp is unportable - "
 /* Compare S1 and S2, ignoring case.  */
 #if @GNULIB_WCSCASECMP@
 # if !@HAVE_WCSCASECMP@
-_GL_FUNCDECL_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2));
+_GL_FUNCDECL_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2)
+                                   _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2));
 _GL_CXXALIASWARN (wcscasecmp);
@@ -735,7 +749,8 @@ _GL_WARN_ON_USE (wcscasecmp, "wcscasecmp is unportable - "
 #if @GNULIB_WCSNCASECMP@
 # if !@HAVE_WCSNCASECMP@
 _GL_FUNCDECL_SYS (wcsncasecmp, int,
-                  (const wchar_t *s1, const wchar_t *s2, size_t n));
+                  (const wchar_t *s1, const wchar_t *s2, size_t n)
+                  _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wcsncasecmp, int,
                   (const wchar_t *s1, const wchar_t *s2, size_t n));
@@ -803,7 +818,8 @@ _GL_WARN_ON_USE (wcsdup, "wcsdup is unportable - "
 /* Find the first occurrence of WC in WCS.  */
 #if @GNULIB_WCSCHR@
 # if !@HAVE_WCSCHR@
-_GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
+_GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc)
+                                     _GL_ATTRIBUTE_PURE);
 # endif
   /* On some systems, this function is defined as an overloaded function:
        extern "C++" {
@@ -832,7 +848,8 @@ _GL_WARN_ON_USE (wcschr, "wcschr is unportable - "
 /* Find the last occurrence of WC in WCS.  */
 #if @GNULIB_WCSRCHR@
 # if !@HAVE_WCSRCHR@
-_GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
+_GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc)
+                                      _GL_ATTRIBUTE_PURE);
 # endif
   /* On some systems, this function is defined as an overloaded function:
        extern "C++" {
@@ -862,7 +879,8 @@ _GL_WARN_ON_USE (wcsrchr, "wcsrchr is unportable - "
    of wide characters not in REJECT.  */
 #if @GNULIB_WCSCSPN@
 # if !@HAVE_WCSCSPN@
-_GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject));
+_GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject)
+                                   _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject));
 _GL_CXXALIASWARN (wcscspn);
@@ -879,7 +897,8 @@ _GL_WARN_ON_USE (wcscspn, "wcscspn is unportable - "
    of wide characters in ACCEPT.  */
 #if @GNULIB_WCSSPN@
 # if !@HAVE_WCSSPN@
-_GL_FUNCDECL_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept));
+_GL_FUNCDECL_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept)
+                                  _GL_ATTRIBUTE_PURE);
 # endif
 _GL_CXXALIAS_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept));
 _GL_CXXALIASWARN (wcsspn);
@@ -896,7 +915,8 @@ _GL_WARN_ON_USE (wcsspn, "wcsspn is unportable - "
 #if @GNULIB_WCSPBRK@
 # if !@HAVE_WCSPBRK@
 _GL_FUNCDECL_SYS (wcspbrk, wchar_t *,
-                  (const wchar_t *wcs, const wchar_t *accept));
+                  (const wchar_t *wcs, const wchar_t *accept)
+                  _GL_ATTRIBUTE_PURE);
 # endif
   /* On some systems, this function is defined as an overloaded function:
        extern "C++" {
@@ -928,7 +948,8 @@ _GL_WARN_ON_USE (wcspbrk, "wcspbrk is unportable - "
 #if @GNULIB_WCSSTR@
 # if !@HAVE_WCSSTR@
 _GL_FUNCDECL_SYS (wcsstr, wchar_t *,
-                  (const wchar_t *haystack, const wchar_t *needle));
+                  (const wchar_t *haystack, const wchar_t *needle)
+                  _GL_ATTRIBUTE_PURE);
 # endif
   /* On some systems, this function is defined as an overloaded function:
        extern "C++" {
@@ -982,11 +1003,13 @@ _GL_WARN_ON_USE (wcstok, "wcstok is unportable - "
 #   undef wcswidth
 #   define wcswidth rpl_wcswidth
 #  endif
-_GL_FUNCDECL_RPL (wcswidth, int, (const wchar_t *s, size_t n));
+_GL_FUNCDECL_RPL (wcswidth, int, (const wchar_t *s, size_t n)
+                                 _GL_ATTRIBUTE_PURE);
 _GL_CXXALIAS_RPL (wcswidth, int, (const wchar_t *s, size_t n));
 # else
 #  if !@HAVE_WCSWIDTH@
-_GL_FUNCDECL_SYS (wcswidth, int, (const wchar_t *s, size_t n));
+_GL_FUNCDECL_SYS (wcswidth, int, (const wchar_t *s, size_t n)
+                                 _GL_ATTRIBUTE_PURE);
 #  endif
 _GL_CXXALIAS_SYS (wcswidth, int, (const wchar_t *s, size_t n));
 # endif
index 9e6494eef4a1ed777c2834f74e86b5a39a2534b1..1d340cd9426d79202457aa744b6f64fb92b9eaf1 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert wide character to multibyte character.
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2008.
 
    This program is free software: you can redistribute it and/or modify
diff --git a/lib/wctype-h.c b/lib/wctype-h.c
new file mode 100644 (file)
index 0000000..bb5f847
--- /dev/null
@@ -0,0 +1,4 @@
+/* Normally this would be wctype.c, but that name's already taken.  */
+#include <config.h>
+#define _GL_WCTYPE_INLINE _GL_EXTERN_INLINE
+#include "wctype.h"
index aa018b17db2d020cb9dab77220ffb46239c0f899..ab06653958f2819931f44960049384932eb7d6a6 100644 (file)
@@ -1,6 +1,6 @@
 /* A substitute for ISO C99 <wctype.h>, for platforms that lack it.
 
-   Copyright (C) 2006-2012 Free Software Foundation, Inc.
+   Copyright (C) 2006-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 # include <wchar.h>
 #endif
 
+/* mingw has declarations of towupper and towlower in <ctype.h> as
+   well <wctype.h>.  Include <ctype.h> in advance to avoid rpl_ prefix
+   being added to the declarations.  */
+#ifdef __MINGW32__
+# include <ctype.h>
+#endif
+
 /* Include the original <wctype.h> if it exists.
    BeOS 5 has the functions but no <wctype.h>.  */
 /* The include_next requires a split double-inclusion guard.  */
 #ifndef _@GUARD_PREFIX@_WCTYPE_H
 #define _@GUARD_PREFIX@_WCTYPE_H
 
+#ifndef _GL_INLINE_HEADER_BEGIN
+ #error "Please include config.h first."
+#endif
+_GL_INLINE_HEADER_BEGIN
+#ifndef _GL_WCTYPE_INLINE
+# define _GL_WCTYPE_INLINE _GL_INLINE
+#endif
+
 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
 
 /* The definition of _GL_WARN_ON_USE is copied here.  */
@@ -148,7 +163,7 @@ typedef unsigned int rpl_wint_t;
 #   endif
 #  endif
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswalnum
 #  else
@@ -160,7 +175,7 @@ iswalnum
           || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'));
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswalpha
 #  else
@@ -171,7 +186,7 @@ iswalpha
   return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z';
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswblank
 #  else
@@ -182,7 +197,7 @@ iswblank
   return wc == ' ' || wc == '\t';
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswcntrl
 #  else
@@ -193,7 +208,7 @@ iswcntrl
   return (wc & ~0x1f) == 0 || wc == 0x7f;
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswdigit
 #  else
@@ -204,7 +219,7 @@ iswdigit
   return wc >= '0' && wc <= '9';
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswgraph
 #  else
@@ -215,7 +230,7 @@ iswgraph
   return wc >= '!' && wc <= '~';
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswlower
 #  else
@@ -226,7 +241,7 @@ iswlower
   return wc >= 'a' && wc <= 'z';
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswprint
 #  else
@@ -237,7 +252,7 @@ iswprint
   return wc >= ' ' && wc <= '~';
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswpunct
 #  else
@@ -250,7 +265,7 @@ iswpunct
                || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')));
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswspace
 #  else
@@ -262,7 +277,7 @@ iswspace
           || wc == '\n' || wc == '\v' || wc == '\f' || wc == '\r');
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswupper
 #  else
@@ -273,7 +288,7 @@ iswupper
   return wc >= 'A' && wc <= 'Z';
 }
 
-static inline int
+_GL_WCTYPE_INLINE int
 #  if @REPLACE_ISWCNTRL@
 rpl_iswxdigit
 #  else
@@ -285,7 +300,7 @@ iswxdigit
           || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F'));
 }
 
-static inline wint_t
+_GL_WCTYPE_INLINE wint_t
 #  if @REPLACE_TOWLOWER@
 rpl_towlower
 #  else
@@ -296,7 +311,7 @@ towlower
   return (wc >= 'A' && wc <= 'Z' ? wc - 'A' + 'a' : wc);
 }
 
-static inline wint_t
+_GL_WCTYPE_INLINE wint_t
 #  if @REPLACE_TOWLOWER@
 rpl_towupper
 #  else
@@ -336,7 +351,7 @@ _GL_FUNCDECL_SYS (iswblank, int, (wint_t wc));
       result register.  We need to fix this by adding a zero-extend from
       wchar_t to wint_t after the call.  */
 
-static inline wint_t
+_GL_WCTYPE_INLINE wint_t
 rpl_towlower (wint_t wc)
 {
   return (wint_t) (wchar_t) towlower (wc);
@@ -345,7 +360,7 @@ rpl_towlower (wint_t wc)
 #   define towlower rpl_towlower
 #  endif
 
-static inline wint_t
+_GL_WCTYPE_INLINE wint_t
 rpl_towupper (wint_t wc)
 {
   return (wint_t) (wchar_t) towupper (wc);
@@ -493,6 +508,7 @@ _GL_WARN_ON_USE (towctrans, "towctrans is unportable - "
 # endif
 #endif
 
+_GL_INLINE_HEADER_END
 
 #endif /* _@GUARD_PREFIX@_WCTYPE_H */
 #endif /* _@GUARD_PREFIX@_WCTYPE_H */
index e85d6dfb69f87e64059c7296fe181fe691355ebb..7bdd2a3113b5a0a2918ffff0c3e7016fd3c839dc 100644 (file)
@@ -1,6 +1,6 @@
 /* Report a memory allocation failure and exit.
 
-   Copyright (C) 1997-2000, 2002-2004, 2006, 2009-2012 Free Software
+   Copyright (C) 1997-2000, 2002-2004, 2006, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 67797559836bf4643c420404c38a12f5f55aecfb..f3329228ec0a1bf44ff37cf37d224f61d2d549ff 100644 (file)
@@ -1,6 +1,6 @@
 /* xalloc-oversized.h -- memory allocation size checking
 
-   Copyright (C) 1990-2000, 2003-2004, 2006-2012 Free Software Foundation, Inc.
+   Copyright (C) 1990-2000, 2003-2004, 2006-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@
 
 /* Return 1 if an array of N objects, each of size S, cannot exist due
    to size arithmetic overflow.  S must be positive and N must be
-   nonnegative.  This is a macro, not an inline function, so that it
+   nonnegative.  This is a macro, not a function, so that it
    works correctly even when SIZE_MAX < N.
 
    By gnulib convention, SIZE_MAX represents overflow in size
index 6f5b87ee2dd8b79d3e6e37d93b3fe46b7ed3ddef..3f6b5b80f8dd2b7188b2adca4333d856575799e0 100644 (file)
@@ -1,6 +1,6 @@
 /* xalloc.h -- malloc with out-of-memory checking
 
-   Copyright (C) 1990-2000, 2003-2004, 2006-2012 Free Software Foundation, Inc.
+   Copyright (C) 1990-2000, 2003-2004, 2006-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #ifndef XALLOC_H_
-# define XALLOC_H_
+#define XALLOC_H_
 
-# include <stddef.h>
+#include <stddef.h>
 
-# include "xalloc-oversized.h"
+#include "xalloc-oversized.h"
 
-# ifdef __cplusplus
+#ifndef _GL_INLINE_HEADER_BEGIN
+ #error "Please include config.h first."
+#endif
+_GL_INLINE_HEADER_BEGIN
+#ifndef XALLOC_INLINE
+# define XALLOC_INLINE _GL_INLINE
+#endif
+
+#ifdef __cplusplus
 extern "C" {
-# endif
+#endif
 
 
-# if __GNUC__ >= 3
-#  define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
-# else
-#  define _GL_ATTRIBUTE_MALLOC
-# endif
+#if __GNUC__ >= 3
+# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
+#else
+# define _GL_ATTRIBUTE_MALLOC
+#endif
 
-# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
-#  define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
-# else
-#  define _GL_ATTRIBUTE_ALLOC_SIZE(args)
-# endif
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
+# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
+#else
+# define _GL_ATTRIBUTE_ALLOC_SIZE(args)
+#endif
 
 /* This function is always triggered when memory is exhausted.
    It must be defined by the application, either explicitly
@@ -56,7 +64,7 @@ void *xrealloc (void *p, size_t s)
       _GL_ATTRIBUTE_ALLOC_SIZE ((2));
 void *x2realloc (void *p, size_t *pn);
 void *xmemdup (void const *p, size_t s)
-      _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((2));
+      _GL_ATTRIBUTE_ALLOC_SIZE ((2));
 char *xstrdup (char const *str)
       _GL_ATTRIBUTE_MALLOC;
 
@@ -67,45 +75,31 @@ char *xstrdup (char const *str)
 
 /* Allocate an object of type T dynamically, with error checking.  */
 /* extern t *XMALLOC (typename t); */
-# define XMALLOC(t) ((t *) xmalloc (sizeof (t)))
+#define XMALLOC(t) ((t *) xmalloc (sizeof (t)))
 
 /* Allocate memory for N elements of type T, with error checking.  */
 /* extern t *XNMALLOC (size_t n, typename t); */
-# define XNMALLOC(n, t) \
-    ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t))))
+#define XNMALLOC(n, t) \
+   ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t))))
 
 /* Allocate an object of type T dynamically, with error checking,
    and zero it.  */
 /* extern t *XZALLOC (typename t); */
-# define XZALLOC(t) ((t *) xzalloc (sizeof (t)))
+#define XZALLOC(t) ((t *) xzalloc (sizeof (t)))
 
 /* Allocate memory for N elements of type T, with error checking,
    and zero it.  */
 /* extern t *XCALLOC (size_t n, typename t); */
-# define XCALLOC(n, t) \
-    ((t *) (sizeof (t) == 1 ? xzalloc (n) : xcalloc (n, sizeof (t))))
+#define XCALLOC(n, t) \
+   ((t *) (sizeof (t) == 1 ? xzalloc (n) : xcalloc (n, sizeof (t))))
 
 
-# if HAVE_INLINE
-#  define static_inline static inline
-# else
-void *xnmalloc (size_t n, size_t s)
-      _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2));
-void *xnrealloc (void *p, size_t n, size_t s)
-      _GL_ATTRIBUTE_ALLOC_SIZE ((2, 3));
-void *x2nrealloc (void *p, size_t *pn, size_t s);
-char *xcharalloc (size_t n)
-      _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1));
-# endif
-
-# ifdef static_inline
-
 /* Allocate an array of N objects, each with S bytes of memory,
    dynamically, with error checking.  S must be nonzero.  */
 
-static_inline void *xnmalloc (size_t n, size_t s)
+XALLOC_INLINE void *xnmalloc (size_t n, size_t s)
                     _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2));
-static_inline void *
+XALLOC_INLINE void *
 xnmalloc (size_t n, size_t s)
 {
   if (xalloc_oversized (n, s))
@@ -116,9 +110,9 @@ xnmalloc (size_t n, size_t s)
 /* Change the size of an allocated block of memory P to an array of N
    objects each of S bytes, with error checking.  S must be nonzero.  */
 
-static_inline void *xnrealloc (void *p, size_t n, size_t s)
+XALLOC_INLINE void *xnrealloc (void *p, size_t n, size_t s)
                     _GL_ATTRIBUTE_ALLOC_SIZE ((2, 3));
-static_inline void *
+XALLOC_INLINE void *
 xnrealloc (void *p, size_t n, size_t s)
 {
   if (xalloc_oversized (n, s))
@@ -128,10 +122,9 @@ xnrealloc (void *p, size_t n, size_t s)
 
 /* If P is null, allocate a block of at least *PN such objects;
    otherwise, reallocate P so that it contains more than *PN objects
-   each of S bytes.  *PN must be nonzero unless P is null, and S must
-   be nonzero.  Set *PN to the new number of objects, and return the
-   pointer to the new block.  *PN is never set to zero, and the
-   returned pointer is never null.
+   each of S bytes.  S must be nonzero.  Set *PN to the new number of
+   objects, and return the pointer to the new block.  *PN is never set
+   to zero, and the returned pointer is never null.
 
    Repeated reallocations are guaranteed to make progress, either by
    allocating an initial block with a nonzero size, or by allocating a
@@ -181,7 +174,7 @@ xnrealloc (void *p, size_t n, size_t s)
 
    */
 
-static_inline void *
+XALLOC_INLINE void *
 x2nrealloc (void *p, size_t *pn, size_t s)
 {
   size_t n = *pn;
@@ -202,13 +195,13 @@ x2nrealloc (void *p, size_t *pn, size_t s)
     }
   else
     {
-      /* Set N = ceil (1.5 * N) so that progress is made if N == 1.
+      /* Set N = floor (1.5 * N) + 1 so that progress is made even if N == 0.
          Check for overflow, so that N * S stays in size_t range.
-         The check is slightly conservative, but an exact check isn't
+         The check may be slightly conservative, but an exact check isn't
          worth the trouble.  */
       if ((size_t) -1 / 3 * 2 / s <= n)
         xalloc_die ();
-      n += (n + 1) / 2;
+      n += n / 2 + 1;
     }
 
   *pn = n;
@@ -218,17 +211,15 @@ x2nrealloc (void *p, size_t *pn, size_t s)
 /* Return a pointer to a new buffer of N bytes.  This is like xmalloc,
    except it returns char *.  */
 
-static_inline char *xcharalloc (size_t n)
+XALLOC_INLINE char *xcharalloc (size_t n)
                     _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1));
-static_inline char *
+XALLOC_INLINE char *
 xcharalloc (size_t n)
 {
   return XNMALLOC (n, char);
 }
 
-# endif
-
-# ifdef __cplusplus
+#ifdef __cplusplus
 }
 
 /* C++ does not allow conversions from void * to other pointer types
@@ -265,7 +256,7 @@ xmemdup (T const *p, size_t s)
   return (T *) xmemdup ((void const *) p, s);
 }
 
-# endif
+#endif
 
 
 #endif /* !XALLOC_H_ */
index 3b5f86cdca11571c5326d9833d3597413e3e4425..264d44afd4ee44f085ae8f03c0582288fc59a5f3 100644 (file)
@@ -1,6 +1,6 @@
 /* xmalloc.c -- malloc with out of memory checking
 
-   Copyright (C) 1990-2000, 2002-2006, 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 1990-2000, 2002-2006, 2008-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <config.h>
 
-#if ! HAVE_INLINE
-# define static_inline
-#endif
+#define XALLOC_INLINE _GL_EXTERN_INLINE
+
 #include "xalloc.h"
-#undef static_inline
 
 #include <stdlib.h>
 #include <string.h>
index 40ffdfe98a7aa9516a0d35773f2b39a520d2d1f7..d2259c8253c7878f8bdbfa3a0e2949f108d6d534 100644 (file)
@@ -1,6 +1,6 @@
 /* Duplicate a bounded initial segment of a string, with out-of-memory
    checking.
-   Copyright (C) 2003, 2006-2007, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2006-2007, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 765e9cb91374007e5a2c3196bf808246e755f244..6a409f7a6724ee31ef545de0a894306cb1eb763d 100644 (file)
@@ -1,6 +1,6 @@
 /* Duplicate a bounded initial segment of a string, with out-of-memory
    checking.
-   Copyright (C) 2003, 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2009-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index ce96ef6c65f2f3195a26d48beee2c0d5f43af9a2..9629dabbe59f24493585389fa4b8733630d7e988 100644 (file)
@@ -1,6 +1,6 @@
 /* A more useful interface to strtol.
 
-   Copyright (C) 1995-1996, 1998-1999, 2001-2004, 2006-2012 Free Software
+   Copyright (C) 1995-1996, 1998-1999, 2001-2004, 2006-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
index 7c4fbd87b8b22843d6f12c7e83a0d84eb642c52a..f6d535a7f381f494dbbcb6f7725b0898b4b2cd71 100644 (file)
@@ -1,6 +1,6 @@
 /* A more useful interface to strtol.
 
-   Copyright (C) 1995-1996, 1998-2001, 2003-2007, 2009-2012 Free Software
+   Copyright (C) 1995-1996, 1998-2001, 2003-2007, 2009-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
@@ -182,7 +182,7 @@ __xstrtol (const char *s, char **ptr, int strtol_base,
           break;
 
         case 'c':
-          overflow = 0;
+          overflow = LONGINT_OK;
           break;
 
         case 'E': /* exa or exbi */
index 516ac5655f05f065ba7068b5bbf506657fab7dbe..fe54f6afb3082529a77d050058897ef500c9e229 100644 (file)
@@ -1,6 +1,6 @@
 /* A more useful interface to strtol.
 
-   Copyright (C) 1995-1996, 1998-1999, 2001-2004, 2006-2012 Free Software
+   Copyright (C) 1995-1996, 1998-1999, 2001-2004, 2006-2014 Free Software
    Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
@@ -66,7 +66,7 @@ _DECLARE_XSTRTOL (xstrtoull, unsigned long long int)
 
    After reporting an error, exit with a failure status.  */
 
-void _Noreturn xstrtol_fatal (enum strtol_error,
+_Noreturn void xstrtol_fatal (enum strtol_error,
                               int, char, struct option const *,
                               char const *);
 
index 7cf35b2c4d59e468cc8435099d0d46e16afcf2ac..edc5f2e41ffac6e5f54e11a96c8efaa9a3b7b847 100644 (file)
@@ -1,5 +1,5 @@
 # This file is part of GNU Parted
-# Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 #
 # This file may be modified and/or distributed without restriction.
 
@@ -23,7 +23,7 @@ lib_LTLIBRARIES       = libparted.la
 # For details, see the "Updating library version information" section of
 # "info libtool".
 CURRENT = 2
-REVISION = 0
+REVISION = 1
 AGE = 0
 
 libparted_la_LDFLAGS  = -version-info $(CURRENT):$(REVISION):$(AGE)
@@ -62,4 +62,4 @@ libparted_la_LIBADD = \
 
 EXTRA_DIST           = mbr.s
 
-INCLUDES = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
index 4d7edcb75528b18bffa98a1ed4e0ed30c8140a50..fe330ec8ffbb5d8a22445483f5a6e24bb88e5316 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 @SET_MAKE@
 
 # This file is part of GNU Parted
-# Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 #
 # This file may be modified and/or distributed without restriction.
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -57,13 +84,13 @@ build_triplet = @build@
 host_triplet = @host@
 @HAVE_CHECK_TRUE@am__append_1 = tests
 subdir = libparted
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/build-aux/depcomp
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -71,16 +98,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -90,35 +118,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -176,17 +205,31 @@ libparted_la_DEPENDENCIES = fs/libfs.la labels/liblabels.la \
        $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
        $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
        $(am__DEPENDENCIES_1)
-am__objects_1 = $(OS).lo
+am__dirstamp = $(am__leading_dot)dirstamp
+am__objects_1 = arch/$(OS).lo
 am_libparted_la_OBJECTS = debug.lo architecture.lo device.lo \
        exception.lo filesys.lo libparted.lo timer.lo unit.lo disk.lo \
-       geom.lo constraint.lo natmath.lo $(am__objects_1)
+       cs/geom.lo cs/constraint.lo cs/natmath.lo $(am__objects_1)
 libparted_la_OBJECTS = $(am_libparted_la_OBJECTS)
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
+am__v_lt_1 = 
 libparted_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(libparted_la_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -200,9 +243,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CC = $(am__v_CC_@AM_V@)
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC      " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_1 = 
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -210,23 +251,47 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD    " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_CCLD_1 = 
 SOURCES = $(libparted_la_SOURCES) $(EXTRA_libparted_la_SOURCES)
 DIST_SOURCES = $(libparted_la_SOURCES) $(EXTRA_libparted_la_SOURCES)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+       ctags-recursive dvi-recursive html-recursive info-recursive \
+       install-data-recursive install-dvi-recursive \
+       install-exec-recursive install-html-recursive \
+       install-info-recursive install-pdf-recursive \
+       install-ps-recursive install-recursive installcheck-recursive \
+       installdirs-recursive pdf-recursive ps-recursive \
+       tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
   distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+  $(RECURSIVE_TARGETS) \
+  $(RECURSIVE_CLEAN_TARGETS) \
+  $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
        distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DIST_SUBDIRS = labels fs . tests
@@ -334,7 +399,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -371,7 +435,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -387,6 +450,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -462,6 +526,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -586,7 +651,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -610,7 +674,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -684,6 +747,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -693,10 +757,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -826,7 +888,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -846,7 +907,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -910,21 +970,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -953,6 +1018,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -987,6 +1053,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -1036,6 +1104,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1092,6 +1162,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1113,7 +1184,7 @@ lib_LTLIBRARIES = libparted.la
 # For details, see the "Updating library version information" section of
 # "info libtool".
 CURRENT = 2
-REVISION = 0
+REVISION = 1
 AGE = 0
 libparted_la_LDFLAGS = -version-info $(CURRENT):$(REVISION):$(AGE)
 libparted_la_SOURCES = debug.c                 \
@@ -1148,7 +1219,7 @@ libparted_la_LIBADD = \
   $(INTLLIBS)
 
 EXTRA_DIST = mbr.s
-INCLUDES = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
 all: all-recursive
 
 .SUFFIXES:
@@ -1183,9 +1254,9 @@ $(top_srcdir)/configure:  $(am__configure_deps)
 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
        @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -1193,6 +1264,8 @@ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
        }
@@ -1216,107 +1289,87 @@ clean-libLTLIBRARIES:
          echo rm -f $${locs}; \
          rm -f $${locs}; \
        }
+cs/$(am__dirstamp):
+       @$(MKDIR_P) cs
+       @: > cs/$(am__dirstamp)
+cs/$(DEPDIR)/$(am__dirstamp):
+       @$(MKDIR_P) cs/$(DEPDIR)
+       @: > cs/$(DEPDIR)/$(am__dirstamp)
+cs/geom.lo: cs/$(am__dirstamp) cs/$(DEPDIR)/$(am__dirstamp)
+cs/constraint.lo: cs/$(am__dirstamp) cs/$(DEPDIR)/$(am__dirstamp)
+cs/natmath.lo: cs/$(am__dirstamp) cs/$(DEPDIR)/$(am__dirstamp)
+arch/$(am__dirstamp):
+       @$(MKDIR_P) arch
+       @: > arch/$(am__dirstamp)
+arch/$(DEPDIR)/$(am__dirstamp):
+       @$(MKDIR_P) arch/$(DEPDIR)
+       @: > arch/$(DEPDIR)/$(am__dirstamp)
+arch/$(OS).lo: arch/$(am__dirstamp) arch/$(DEPDIR)/$(am__dirstamp)
+arch/linux.lo: arch/$(am__dirstamp) arch/$(DEPDIR)/$(am__dirstamp)
+arch/gnu.lo: arch/$(am__dirstamp) arch/$(DEPDIR)/$(am__dirstamp)
+arch/beos.lo: arch/$(am__dirstamp) arch/$(DEPDIR)/$(am__dirstamp)
+
 libparted.la: $(libparted_la_OBJECTS) $(libparted_la_DEPENDENCIES) $(EXTRA_libparted_la_DEPENDENCIES) 
        $(AM_V_CCLD)$(libparted_la_LINK) -rpath $(libdir) $(libparted_la_OBJECTS) $(libparted_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
+       -rm -f arch/*.$(OBJEXT)
+       -rm -f arch/*.lo
+       -rm -f cs/*.$(OBJEXT)
+       -rm -f cs/*.lo
 
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/$(OS).Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/architecture.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/beos.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/constraint.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/debug.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/device.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/disk.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filesys.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/geom.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gnu.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libparted.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linux.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/natmath.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unit.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@arch/$(DEPDIR)/$(OS).Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@arch/$(DEPDIR)/beos.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@arch/$(DEPDIR)/gnu.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@arch/$(DEPDIR)/linux.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@cs/$(DEPDIR)/constraint.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@cs/$(DEPDIR)/geom.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@cs/$(DEPDIR)/natmath.Plo@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
 
 .c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
 
-geom.lo: cs/geom.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT geom.lo -MD -MP -MF $(DEPDIR)/geom.Tpo -c -o geom.lo `test -f 'cs/geom.c' || echo '$(srcdir)/'`cs/geom.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/geom.Tpo $(DEPDIR)/geom.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='cs/geom.c' object='geom.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o geom.lo `test -f 'cs/geom.c' || echo '$(srcdir)/'`cs/geom.c
-
-constraint.lo: cs/constraint.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT constraint.lo -MD -MP -MF $(DEPDIR)/constraint.Tpo -c -o constraint.lo `test -f 'cs/constraint.c' || echo '$(srcdir)/'`cs/constraint.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/constraint.Tpo $(DEPDIR)/constraint.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='cs/constraint.c' object='constraint.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o constraint.lo `test -f 'cs/constraint.c' || echo '$(srcdir)/'`cs/constraint.c
-
-natmath.lo: cs/natmath.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT natmath.lo -MD -MP -MF $(DEPDIR)/natmath.Tpo -c -o natmath.lo `test -f 'cs/natmath.c' || echo '$(srcdir)/'`cs/natmath.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/natmath.Tpo $(DEPDIR)/natmath.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='cs/natmath.c' object='natmath.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o natmath.lo `test -f 'cs/natmath.c' || echo '$(srcdir)/'`cs/natmath.c
-
-$(OS).lo: arch/$(OS).c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT $(OS).lo -MD -MP -MF $(DEPDIR)/$(OS).Tpo -c -o $(OS).lo `test -f 'arch/$(OS).c' || echo '$(srcdir)/'`arch/$(OS).c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$(OS).Tpo $(DEPDIR)/$(OS).Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='arch/$(OS).c' object='$(OS).lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o $(OS).lo `test -f 'arch/$(OS).c' || echo '$(srcdir)/'`arch/$(OS).c
-
-linux.lo: arch/linux.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT linux.lo -MD -MP -MF $(DEPDIR)/linux.Tpo -c -o linux.lo `test -f 'arch/linux.c' || echo '$(srcdir)/'`arch/linux.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/linux.Tpo $(DEPDIR)/linux.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='arch/linux.c' object='linux.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o linux.lo `test -f 'arch/linux.c' || echo '$(srcdir)/'`arch/linux.c
-
-gnu.lo: arch/gnu.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gnu.lo -MD -MP -MF $(DEPDIR)/gnu.Tpo -c -o gnu.lo `test -f 'arch/gnu.c' || echo '$(srcdir)/'`arch/gnu.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/gnu.Tpo $(DEPDIR)/gnu.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='arch/gnu.c' object='gnu.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gnu.lo `test -f 'arch/gnu.c' || echo '$(srcdir)/'`arch/gnu.c
-
-beos.lo: arch/beos.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT beos.lo -MD -MP -MF $(DEPDIR)/beos.Tpo -c -o beos.lo `test -f 'arch/beos.c' || echo '$(srcdir)/'`arch/beos.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/beos.Tpo $(DEPDIR)/beos.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='arch/beos.c' object='beos.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o beos.lo `test -f 'arch/beos.c' || echo '$(srcdir)/'`arch/beos.c
-
 mostlyclean-libtool:
        -rm -f *.lo
 
 clean-libtool:
        -rm -rf .libs _libs
+       -rm -rf arch/.libs arch/_libs
+       -rm -rf cs/.libs cs/_libs
 
 # This directory's subdirectories are mostly independent; you can cd
 # into them and run 'make' without going through this Makefile.
@@ -1324,17 +1377,20 @@ clean-libtool:
 # (1) if the variable is set in 'config.status', edit 'config.status'
 #     (which will cause the Makefiles to be regenerated when you run 'make');
 # (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
+$(am__recursive_targets):
+       @fail=; \
+       if $(am__make_keepgoing); then \
+         failcom='fail=yes'; \
+       else \
+         failcom='exit 1'; \
+       fi; \
        dot_seen=no; \
        target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
+       case "$@" in \
+         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+         *) list='$(SUBDIRS)' ;; \
+       esac; \
+       for subdir in $$list; do \
          echo "Making $$target in $$subdir"; \
          if test "$$subdir" = "."; then \
            dot_seen=yes; \
@@ -1349,61 +1405,12 @@ $(RECURSIVE_TARGETS):
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
        fi; test -z "$$fail"
 
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-cscopelist-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
-       done
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -1419,12 +1426,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
          fi; \
        done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1436,15 +1438,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1453,9 +1451,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
 
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1560,6 +1559,10 @@ clean-generic:
 distclean-generic:
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+       -rm -f arch/$(DEPDIR)/$(am__dirstamp)
+       -rm -f arch/$(am__dirstamp)
+       -rm -f cs/$(DEPDIR)/$(am__dirstamp)
+       -rm -f cs/$(am__dirstamp)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
@@ -1570,7 +1573,7 @@ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
        mostlyclean-am
 
 distclean: distclean-recursive
-       -rm -rf ./$(DEPDIR)
+       -rm -rf ./$(DEPDIR) arch/$(DEPDIR) cs/$(DEPDIR)
        -rm -f Makefile
 distclean-am: clean-am distclean-compile distclean-generic \
        distclean-tags
@@ -1616,7 +1619,7 @@ install-ps-am:
 installcheck-am:
 
 maintainer-clean: maintainer-clean-recursive
-       -rm -rf ./$(DEPDIR)
+       -rm -rf ./$(DEPDIR) arch/$(DEPDIR) cs/$(DEPDIR)
        -rm -f Makefile
 maintainer-clean-am: distclean-am maintainer-clean-generic
 
@@ -1635,14 +1638,11 @@ ps-am:
 
 uninstall-am: uninstall-libLTLIBRARIES
 
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
-       cscopelist-recursive ctags-recursive install-am install-strip \
-       tags-recursive
+.MAKE: $(am__recursive_targets) install-am install-strip
 
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic \
-       clean-libLTLIBRARIES clean-libtool cscopelist \
-       cscopelist-recursive ctags ctags-recursive distclean \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+       check-am clean clean-generic clean-libLTLIBRARIES \
+       clean-libtool cscopelist-am ctags ctags-am distclean \
        distclean-compile distclean-generic distclean-libtool \
        distclean-tags distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
@@ -1653,8 +1653,7 @@ uninstall-am: uninstall-libLTLIBRARIES
        installcheck-am installdirs installdirs-am maintainer-clean \
        maintainer-clean-generic mostlyclean mostlyclean-compile \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags tags-recursive uninstall uninstall-am \
-       uninstall-libLTLIBRARIES
+       tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES
 
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
index edd3fd99e5a8cec00b9d408f23f5a7fcf879dcd8..b1f9642627676d025dd1f7d864eeac841de6d093 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2006-2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2006-2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 62d3fe46209819b41a92bba650441beb3c5740f0..a17a7388b93348e555d9d11fd78edfc838e0caae 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2005, 2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 1999-2001, 2005, 2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
index e2c4139c3f749f7365ef4db249151111d8b1b6ad..0f18904dae43505f02d83004a9d0405a7b31c236 100644 (file)
@@ -1,5 +1,5 @@
 /* libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -48,6 +48,7 @@
 #include "../architecture.h"
 #include "dirname.h"
 #include "xstrtol.h"
+#include "xalloc.h"
 
 #if ENABLE_NLS
 #  include <libintl.h>
@@ -65,6 +66,8 @@
 # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */
 #endif
 
+#define STRPREFIX(a, b) (strncmp (a, b, strlen (b)) == 0)
+
 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
 
 #ifndef __NR__llseek
@@ -285,8 +288,10 @@ struct blkdev_ioctl_param {
 /* Maximum number of partitions supported by linux. */
 #define MAX_NUM_PARTS          64
 
-static char* _device_get_part_path (PedDevicedev, int num);
+static char* _device_get_part_path (PedDevice const *dev, int num);
 static int _partition_is_mounted_by_path (const char* path);
+static unsigned int _device_get_partition_range(PedDevice const* dev);
+
 
 static int
 _read_fd (int fd, char **buf)
@@ -435,6 +440,17 @@ _is_virtblk_major (int major)
 }
 
 #ifdef ENABLE_DEVICE_MAPPER
+static int
+_dm_task_run_wait (struct dm_task *task, uint32_t cookie)
+{
+        int rc = 0;
+
+        rc = dm_task_run (task);
+        dm_udev_wait (cookie);
+
+        return rc;
+}
+
 static int
 _is_dm_major (int major)
 {
@@ -478,6 +494,82 @@ bad:
         return r;
 }
 
+/* Return nonzero if device-mapper device, DEVPATH, is part of a dmraid
+   array.  Use the heuristic of checking for the string "DMRAID-" at the
+   start of its UUID.  */
+static int
+_is_dmraid_device (const char *devpath)
+{
+        int rc = 0;
+
+        char const *dm_name = strrchr (devpath, '/');
+        char const *dm_basename = dm_name && *(++dm_name) ? dm_name : devpath;
+        struct dm_task *task = dm_task_create (DM_DEVICE_DEPS);
+        if (!task)
+                return 0;
+
+        dm_task_set_name (task, dm_basename);
+        if (!dm_task_run (task))
+                goto err;
+
+        const char *dmraid_uuid = dm_task_get_uuid (task);
+        if (STRPREFIX (dmraid_uuid, "DMRAID-"))
+                rc = 1;
+
+err:
+        dm_task_destroy (task);
+        return rc;
+}
+
+/* We consider a dm device that is a linear mapping with a  *
+ * single target that also is a dm device to be a partition */
+
+static int
+_dm_is_part (const char *path)
+{
+        int rc = 0;
+        struct dm_task *task = dm_task_create (DM_DEVICE_DEPS);
+        if (!task)
+                return 0;
+
+        dm_task_set_name(task, path);
+        if (!dm_task_run(task))
+                goto err;
+
+        struct dm_info *info = alloca (sizeof *info);
+        memset(info, '\0', sizeof *info);
+        dm_task_get_info (task, info);
+        if (!info->exists)
+                goto err;
+
+        struct dm_deps *deps = dm_task_get_deps (task);
+        if (!deps)
+                goto err;
+
+        if (deps->count != 1)
+                goto err;
+        if (!_is_dm_major (major (deps->device[0])))
+                goto err;
+        dm_task_destroy (task);
+        if (!(task = dm_task_create (DM_DEVICE_TABLE)))
+                return 0;
+        dm_task_set_name (task, path);
+        if (!dm_task_run (task))
+                goto err;
+
+        char *target_type = NULL;
+        char *params = NULL;
+        uint64_t start, length;
+
+        dm_get_next_target (task, NULL, &start, &length, &target_type, &params);
+        if (strcmp (target_type, "linear"))
+                goto err;
+        rc = 1;
+
+err:
+        dm_task_destroy(task);
+        return rc;
+}
 
 static int
 _probe_dm_devices ()
@@ -504,7 +596,8 @@ _probe_dm_devices ()
                if (stat (buf, &st) != 0)
                        continue;
 
-               if (_is_dm_major(major(st.st_rdev)))
+               if (_is_dm_major(major(st.st_rdev)) && _is_dmraid_device (buf)
+                   && !_dm_is_part(buf))
                        _ped_device_probe (buf);
        }
        closedir (mapper_dir);
@@ -624,19 +717,6 @@ _get_linux_version ()
         return kver = KERNEL_VERSION (major, minor, teeny);
 }
 
-static int
-_have_kern26 ()
-{
-        static int have_kern26 = -1;
-        int kver;
-
-        if (have_kern26 != -1)
-                return have_kern26;
-
-        kver = _get_linux_version();
-        return have_kern26 = kver >= KERNEL_VERSION (2,6,0) ? 1 : 0;
-}
-
 #if USE_BLKID
 static void
 get_blkid_topology (LinuxSpecific *arch_specific)
@@ -1319,6 +1399,10 @@ linux_new (const char* path)
         dev->dirty = 0;
         dev->boot_dirty = 0;
 
+#ifdef ENABLE_DEVICE_MAPPER
+        dm_udev_set_sync_support(1);
+#endif
+
         if (!_device_probe_type (dev))
                 goto error_free_arch_specific;
 
@@ -1488,8 +1572,8 @@ linux_is_busy (PedDevice* dev)
         return 0;
 }
 
-/* we need to flush the master device, and with kernel < 2.6 all the partition
- * devices, because there is no coherency between the caches with old kernels.
+/* we need to flush the master device, and all the partition devices,
+ * because there is no coherency between the caches.
  * We should only flush unmounted partition devices, because:
  *  - there is never a need to flush them (we're not doing IO there)
  *  - flushing a device that is mounted causes unnecessary IO, and can
@@ -1500,6 +1584,7 @@ _flush_cache (PedDevice* dev)
 {
         LinuxSpecific*  arch_specific = LINUX_SPECIFIC (dev);
         int             i;
+       int             lpn = _device_get_partition_range(dev);
 
         if (dev->read_only)
                 return;
@@ -1507,11 +1592,7 @@ _flush_cache (PedDevice* dev)
 
         ioctl (arch_specific->fd, BLKFLSBUF);
 
-        /* With linux-2.6.0 and newer, we're done.  */
-        if (_have_kern26())
-                return;
-
-        for (i = 1; i < 16; i++) {
+        for (i = 1; i < lpn; i++) {
                 char*           name;
                 int             fd;
 
@@ -1575,9 +1656,7 @@ retry:
                 dev->read_only = 0;
         }
 
-        /* With kernels < 2.6 flush cache for cache coherence issues */
-        if (!_have_kern26())
-                _flush_cache (dev);
+        _flush_cache (dev);
 
         return 1;
 }
@@ -2225,34 +2304,62 @@ zasprintf (const char *format, ...)
   return r < 0 ? NULL : resultp;
 }
 
-static char*
-_device_get_part_path (PedDevice *dev, int num)
+static char *
+dm_canonical_path (PedDevice const *dev)
 {
-        size_t path_len = strlen (dev->path);
+        LinuxSpecific const *arch_specific = LINUX_SPECIFIC (dev);
 
+        /* Get map name from devicemapper */
+        struct dm_task *task = dm_task_create (DM_DEVICE_INFO);
+        if (!task)
+                goto err;
+        if (!dm_task_set_major_minor (task, arch_specific->major,
+                                      arch_specific->minor, 0))
+                goto err;
+        if (!dm_task_run(task))
+                goto err;
+        char *dev_name = zasprintf ("/dev/mapper/%s", dm_task_get_name (task));
+        if (dev_name == NULL)
+                goto err;
+        dm_task_destroy (task);
+        return dev_name;
+err:
+        return NULL;
+}
+
+static char*
+_device_get_part_path (PedDevice const *dev, int num)
+{
+        char *devpath = (dev->type == PED_DEVICE_DM
+                         ? dm_canonical_path (dev) : dev->path);
+        size_t path_len = strlen (devpath);
         char *result;
         /* Check for devfs-style /disc => /partN transformation
            unconditionally; the system might be using udev with devfs rules,
            and if not the test is harmless. */
-        if (5 < path_len && !strcmp (dev->path + path_len - 5, "/disc")) {
+        if (5 < path_len && !strcmp (devpath + path_len - 5, "/disc")) {
                 /* replace /disc with /part%d */
                 result = zasprintf ("%.*s/part%d",
-                                    (int) (path_len - 5), dev->path, num);
+                                    (int) (path_len - 5), devpath, num);
         } else {
                 char const *p = (dev->type == PED_DEVICE_DAC960
                                  || dev->type == PED_DEVICE_CPQARRAY
                                  || dev->type == PED_DEVICE_ATARAID
-                                 || isdigit (dev->path[path_len - 1])
+                                 || isdigit (devpath[path_len - 1])
                                  ? "p" : "");
-                result = zasprintf ("%s%s%d", dev->path, p, num);
+                result = zasprintf ("%s%s%d", devpath, p, num);
         }
-
+        if (dev->type == PED_DEVICE_DM)
+                free (devpath);
         return result;
 }
 
 static char*
 linux_partition_get_path (const PedPartition* part)
 {
+        /* loop label means use the whole disk */
+        if (strcmp (part->disk->type->name, "loop") == 0)
+                return xstrdup (part->disk->dev->path);
         return _device_get_part_path (part->disk->dev, part->num);
 }
 
@@ -2321,6 +2428,8 @@ linux_partition_is_busy (const PedPartition* part)
 
         PED_ASSERT (part != NULL);
 
+        if (strcmp (part->disk->type->name, "loop") == 0)
+                return linux_is_busy (part->disk->dev);
         if (_partition_is_mounted (part))
                 return 1;
         if (part->type == PED_PARTITION_EXTENDED) {
@@ -2369,10 +2478,24 @@ _blkpg_add_partition (PedDisk* disk, const PedPartition *part)
         memset (&linux_part, 0, sizeof (linux_part));
         linux_part.start = part->geom.start * disk->dev->sector_size;
         /* see fs/partitions/msdos.c:msdos_partition(): "leave room for LILO" */
-        if (part->type & PED_PARTITION_EXTENDED)
-                linux_part.length = part->geom.length == 1 ? 512 : 1024;
-        else
+        if (part->type & PED_PARTITION_EXTENDED) {
+                linux_part.length = 1;
+                if (disk->dev->sector_size == 512) {
+                        if (linux_part.length == 1)
+                                linux_part.length = 2;
+                        PedPartition *walk;
+                        /* if the second sector is claimed by a logical partition,
+                           then there's just no room for lilo, so don't try to use it */
+                        for (walk = part->part_list; walk; walk = walk->next) {
+                                if (walk->geom.start == part->geom.start+1)
+                                        linux_part.length = 1;
+                        }
+                }
+                linux_part.length *= disk->dev->sector_size;
+        }
+        else {
                 linux_part.length = part->geom.length * disk->dev->sector_size;
+        }
         linux_part.pno = part->num;
         strncpy (linux_part.devname, dev_name, BLKPG_DEVNAMELTH);
         if (vol_name)
@@ -2382,6 +2505,59 @@ _blkpg_add_partition (PedDisk* disk, const PedPartition *part)
 
         if (!_blkpg_part_command (disk->dev, &linux_part,
                                   BLKPG_ADD_PARTITION)) {
+                return 0;
+        }
+
+        return 1;
+}
+
+static int
+_blkpg_remove_partition (PedDisk* disk, int n)
+{
+        struct blkpg_partition  linux_part;
+
+        memset (&linux_part, 0, sizeof (linux_part));
+        linux_part.pno = n;
+        return _blkpg_part_command (disk->dev, &linux_part,
+                                    BLKPG_DEL_PARTITION);
+}
+
+#ifdef BLKPG_RESIZE_PARTITION
+static int _blkpg_resize_partition (PedDisk* disk, const PedPartition *part)
+{
+        struct blkpg_partition  linux_part;
+        char*                   dev_name;
+
+        PED_ASSERT(disk != NULL);
+        PED_ASSERT(disk->dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0);
+
+        dev_name = _device_get_part_path (disk->dev, part->num);
+        if (!dev_name)
+                return 0;
+        memset (&linux_part, 0, sizeof (linux_part));
+        linux_part.start = part->geom.start * disk->dev->sector_size;
+        /* see fs/partitions/msdos.c:msdos_partition(): "leave room for LILO" */
+        if (part->type & PED_PARTITION_EXTENDED) {
+                if (disk->dev->sector_size == 512) {
+                        linux_part.length = 2;
+                        PedPartition *walk;
+                        /* if the second sector is claimed by a logical partition,
+                           then there's just no room for lilo, so don't try to use it */
+                        for (walk = part->part_list; walk; walk = walk->next) {
+                                if (walk->geom.start == part->geom.start+1)
+                                        linux_part.length = 1;
+                        }
+                } else linux_part.length = 1;
+        }
+        else
+                linux_part.length = part->geom.length * disk->dev->sector_size;
+        linux_part.pno = part->num;
+        strncpy (linux_part.devname, dev_name, BLKPG_DEVNAMELTH);
+
+        free (dev_name);
+
+        if (!_blkpg_part_command (disk->dev, &linux_part,
+                                  BLKPG_RESIZE_PARTITION)) {
                 return ped_exception_throw (
                         PED_EXCEPTION_ERROR,
                         PED_EXCEPTION_IGNORE_CANCEL,
@@ -2398,17 +2574,7 @@ _blkpg_add_partition (PedDisk* disk, const PedPartition *part)
 
         return 1;
 }
-
-static int
-_blkpg_remove_partition (PedDisk* disk, int n)
-{
-        struct blkpg_partition  linux_part;
-
-        memset (&linux_part, 0, sizeof (linux_part));
-        linux_part.pno = n;
-        return _blkpg_part_command (disk->dev, &linux_part,
-                                    BLKPG_DEL_PARTITION);
-}
+#endif
 
 /* Read the integer from /sys/block/DEV_BASE/ENTRY and set *VAL
    to that value, where DEV_BASE is the last component of DEV->path.
@@ -2441,7 +2607,7 @@ _sysfs_ull_entry_from_part(PedPartition const* part, const char *entry,
                            unsigned long long *val)
 {
         char path[128];
-        char *part_name = linux_partition_get_path(part);
+        char *part_name = _device_get_part_path (part->disk->dev, part->num);
         if (!part_name)
                 return false;
 
@@ -2476,7 +2642,7 @@ _kernel_get_partition_start_and_length(PedPartition const *part,
         PED_ASSERT(start);
         PED_ASSERT(length);
 
-        char *dev_name = linux_partition_get_path (part);
+        char *dev_name = _device_get_part_path (part->disk->dev, part->num);
         if (!dev_name)
                 return false;
 
@@ -2530,6 +2696,8 @@ static unsigned int
 _device_get_partition_range(PedDevice const* dev)
 {
         int range;
+        if (dev->type == PED_DEVICE_DM)
+                return MAX_NUM_PARTS;
         bool ok = _sysfs_int_entry_from_dev(dev, "ext_range", &range);
 
         if (!ok)
@@ -2538,211 +2706,83 @@ _device_get_partition_range(PedDevice const* dev)
         return range > 1 ? range : 0;
 }
 
-/*
- * Sync the partition table in two step process:
- * 1. Remove all of the partitions from the kernel's tables, but do not attempt
- *    removal of any partition for which the corresponding ioctl call fails.
- * 2. Add all the partitions that we hold in disk, throwing a warning
- *    if we cannot because step 1 failed to remove it and it is not being
- *    added back with the same start and length.
- *
- * To achieve this two step process we must calculate the minimum number of
- * maximum possible partitions between what linux supports and what the label
- * type supports. EX:
- *
- * number=MIN(max_parts_supported_in_linux,max_parts_supported_in_msdos_tables)
- */
-static int
-_disk_sync_part_table (PedDisk* disk)
-{
-        PED_ASSERT(disk != NULL);
-        PED_ASSERT(disk->dev != NULL);
-        int lpn;
-
-        unsigned int part_range = _device_get_partition_range(disk->dev);
-
-        /* lpn = largest partition number. */
-        if (ped_disk_get_max_supported_partition_count(disk, &lpn))
-                lpn = PED_MIN(lpn, part_range);
-        else
-                lpn = part_range;
-
-        /* Its not possible to support largest_partnum < 0.
-         * largest_partnum == 0 would mean does not support partitions.
-         * */
-        if (lpn < 1)
-                return 0;
-        int ret = 0;
-        int *ok = calloc (lpn, sizeof *ok);
-        if (!ok)
-                return 0;
-        int *errnums = ped_malloc(sizeof(int) * lpn);
-        if (!errnums)
-                goto cleanup;
-
-        /* Attempt to remove each and every partition, retrying for
-           up to max_sleep_seconds upon any failure due to EBUSY. */
-        unsigned int sleep_microseconds = 10000;
-        unsigned int max_sleep_seconds = 1;
-        unsigned int n_sleep = (max_sleep_seconds
-                                * 1000000 / sleep_microseconds);
-        int i;
-        for (i = 0; i < n_sleep; i++) {
-           if (i)
-               usleep (sleep_microseconds);
-            bool busy = false;
-            int j;
-            for (j = 0; j < lpn; j++) {
-                if (!ok[j]) {
-                    ok[j] = _blkpg_remove_partition (disk, j + 1);
-                    errnums[j] = errno;
-                    if (!ok[j] && errnums[j] == EBUSY)
-                        busy = true;
-                }
-            }
-            if (!busy)
-                break;
-        }
-
-        for (i = 1; i <= lpn; i++) {
-                PedPartition *part = ped_disk_get_partition (disk, i);
-                if (part) {
-                        if (!ok[i - 1] && errnums[i - 1] == EBUSY) {
-                                unsigned long long length;
-                                unsigned long long start;
-                                /* get start and length of existing partition */
-                                if (!_kernel_get_partition_start_and_length(part,
-                                                                &start, &length))
-                                        goto cleanup;
-                                if (start == part->geom.start
-                                   && length == part->geom.length)
-                                        ok[i - 1] = 1;
-                                /* If the new partition is unchanged and the
-                                  existing one was not removed because it was
-                                  in use, then reset the error flag and do not
-                                  try to add it since it is already there.  */
-                                continue;
-                        }
-
-                        /* add the (possibly modified or new) partition */
-                        if (!_blkpg_add_partition (disk, part)) {
-                                ped_exception_throw (
-                                        PED_EXCEPTION_ERROR,
-                                        PED_EXCEPTION_RETRY_CANCEL,
-                                        _("Failed to add partition %d (%s)"),
-                                        i, strerror (errno));
-                                goto cleanup;
-                        }
-                }
-        }
-
-        char *bad_part_list = NULL;
-        /* now warn about any errors */
-        for (i = 1; i <= lpn; i++) {
-               if (ok[i - 1] || errnums[i - 1] == ENXIO)
-                       continue;
-               if (bad_part_list == NULL) {
-                         bad_part_list = malloc (lpn * 5);
-                         if (!bad_part_list)
-                                 goto cleanup;
-                         bad_part_list[0] = 0;
-               }
-               sprintf (bad_part_list + strlen (bad_part_list), "%d, ", i);
-       }
-        if (bad_part_list == NULL)
-               ret = 1;
-       else {
-                bad_part_list[strlen (bad_part_list) - 2] = 0;
-                if (ped_exception_throw (
-                        PED_EXCEPTION_ERROR,
-                        PED_EXCEPTION_IGNORE_CANCEL,
-                        _("Partition(s) %s on %s have been written, but we have "
-                         "been unable to inform the kernel of the change, "
-                         "probably because it/they are in use.  As a result, "
-                          "the old partition(s) will remain in use.  You "
-                          "should reboot now before making further changes."),
-                        bad_part_list, disk->dev->path) == PED_EXCEPTION_IGNORE)
-                        ret = 1;
-               free (bad_part_list);
-        }
- cleanup:
-        free (errnums);
-        free (ok);
-        return ret;
-}
-
 #ifdef ENABLE_DEVICE_MAPPER
 static int
-_dm_remove_map_name(char *name)
+_dm_remove_partition(PedDisk* disk, int partno)
 {
-        struct dm_task  *task = NULL;
-        int             rc;
+        int             rc = 0;
+        uint32_t        cookie = 0;
+        char            *part_name = _device_get_part_path (disk->dev, partno);
 
-        task = dm_task_create(DM_DEVICE_REMOVE);
+        int fd = open (part_name, O_RDONLY | O_EXCL);
+        if (fd == -1) {
+                if (errno == ENOENT)
+                        errno = ENXIO; /* nothing to remove, device already doesn't exist */
+                goto err;
+        }
+        close (fd);
+        struct dm_task *task = dm_task_create(DM_DEVICE_REMOVE);
         if (!task)
-                return 1;
-
-        dm_task_set_name (task, name);
-
-        rc = dm_task_run(task);
+                goto err;
+        dm_task_set_name (task, part_name);
+        if (!dm_task_set_cookie (task, &cookie, 0))
+                goto err;
+        rc = _dm_task_run_wait (task, cookie);
         dm_task_update_nodes();
         dm_task_destroy(task);
-        if (!rc)
-                return 1;
-
-        return 0;
+err:
+        free (part_name);
+        return rc;
 }
 
-static int
-_dm_is_part (struct dm_info *this, char *name)
+static bool
+_dm_get_partition_start_and_length(PedPartition const *part,
+                                   unsigned long long *start,
+                                   unsigned long long *length)
 {
         struct dm_task* task = NULL;
-        struct dm_info* info = alloca(sizeof *info);
-        struct dm_deps* deps = NULL;
         int             rc = 0;
-        unsigned int    i;
 
-        task = dm_task_create(DM_DEVICE_DEPS);
-        if (!task)
+        if (!(task = dm_task_create(DM_DEVICE_TABLE)))
                 return 0;
-
-        dm_task_set_name(task, name);
-        if (!dm_task_run(task))
+        char *path = _device_get_part_path (part->disk->dev, part->num);
+        PED_ASSERT(path);
+        /* libdevmapper likes to complain on stderr instead of quietly
+           returning ENOENT or ENXIO, so try to stat first */
+        struct stat st;
+        if (stat(path, &st))
                 goto err;
-
-        memset(info, '\0', sizeof *info);
-        dm_task_get_info(task, info);
-        if (!info->exists)
+        dm_task_set_name(task, path);
+        if (!dm_task_run(task))
                 goto err;
 
-        deps = dm_task_get_deps(task);
-        if (!deps)
+        int major, minor;
+        char *params;
+        char *target_type;
+        dm_get_next_target(task, NULL, (uint64_t *)start, (uint64_t *)length, &target_type, &params);
+        if (sscanf (params, "%d:%d %Ld", &major, &minor, start) != 3)
                 goto err;
-
-        for (i = 0; i < deps->count; i++) {
-                unsigned int ma = major(deps->device[i]),
-                             mi = minor(deps->device[i]);
-
-                if (ma == this->major && mi == this->minor)
-                        rc = 1;
-        }
-
+        rc = 1;
 err:
+        free (path);
         dm_task_destroy(task);
         return rc;
 }
 
+
 static int
-_dm_remove_parts (PedDevice* dev)
+_dm_add_partition (PedDisk* disk, const PedPartition* part)
 {
-        struct dm_task*         task = NULL;
-        struct dm_info*         info = alloca(sizeof *info);
-        struct dm_names*        names = NULL;
-        unsigned int            next = 0;
-        int                     rc;
-        LinuxSpecific*          arch_specific = LINUX_SPECIFIC (dev);
+        LinuxSpecific*  arch_specific = LINUX_SPECIFIC (disk->dev);
+        char*           params = NULL;
+        char*           vol_name = NULL;
+        const char*     dev_name = NULL;
+        char*           vol_uuid = NULL;
+        const char*     dev_uuid = NULL;
+        uint32_t        cookie = 0;
 
-        task = dm_task_create(DM_DEVICE_LIST);
+        /* Get map name from devicemapper */
+        struct dm_task *task = dm_task_create (DM_DEVICE_INFO);
         if (!task)
                 goto err;
 
@@ -2753,49 +2793,66 @@ _dm_remove_parts (PedDevice* dev)
         if (!dm_task_run(task))
                 goto err;
 
-        memset(info, '\0', sizeof *info);
-        dm_task_get_info(task, info);
-        if (!info->exists)
-                goto err;
-
-        names = dm_task_get_names(task);
-        if (!names)
+        dev_name = dm_task_get_name (task);
+        size_t name_len = strlen (dev_name);
+        vol_name = zasprintf ("%s%s%d",
+                              dev_name,
+                              isdigit (dev_name[name_len - 1]) ? "p" : "",
+                              part->num);
+        if (vol_name == NULL)
                 goto err;
 
-        rc = 0;
-        do {
-                names = (void *) ((char *) names + next);
-
-                if (_dm_is_part(info, names->name))
-                        rc += _dm_remove_map_name(names->name);
-
-                next = names->next;
-        } while (next);
+        dev_uuid = dm_task_get_uuid (task);
+        if (dev_uuid && (strlen(dev_uuid) > 0)
+             && !(vol_uuid = zasprintf ("part%d-%s", part->num, dev_uuid)))
+            goto err;
 
-        dm_task_update_nodes();
-        dm_task_destroy(task);
+        /* Caution: dm_task_destroy frees dev_name.  */
+        dm_task_destroy (task);
         task = NULL;
+        if ( ! (params = zasprintf ("%d:%d %lld", arch_specific->major,
+                                    arch_specific->minor, part->geom.start)))
+                goto err;
+
+        task = dm_task_create (DM_DEVICE_CREATE);
+        if (!task)
+                goto err;
 
-        if (!rc)
+        dm_task_set_name (task, vol_name);
+        if (vol_uuid)
+                dm_task_set_uuid (task, vol_uuid);
+        dm_task_add_target (task, 0, part->geom.length,
+                "linear", params);
+        if (!dm_task_set_cookie (task, &cookie, 0))
+                goto err;
+        if (_dm_task_run_wait (task, cookie)) {
+                dm_task_update_nodes ();
+                dm_task_destroy (task);
+                free (params);
+                free (vol_uuid);
+                free (vol_name);
                 return 1;
+        } else {
+                _dm_remove_partition (disk, part->num);
+        }
 err:
+        dm_task_update_nodes();
         if (task)
-                dm_task_destroy(task);
-        ped_exception_throw (PED_EXCEPTION_WARNING, PED_EXCEPTION_IGNORE,
-                _("parted was unable to re-read the partition "
-                  "table on %s (%s).  This means Linux won't know "
-                  "anything about the modifications you made. "),
-                dev->path, strerror (errno));
+                dm_task_destroy (task);
+        free (params);
+        free (vol_uuid);
+        free (vol_name);
         return 0;
 }
 
 static int
-_dm_add_partition (PedDisk* disk, PedPartition* part)
+_dm_resize_partition (PedDisk* disk, const PedPartition* part)
 {
+        LinuxSpecific*  arch_specific = LINUX_SPECIFIC (disk->dev);
+        char*           params = NULL;
         char*           vol_name = NULL;
         const char*     dev_name = NULL;
-        char*           params = NULL;
-        LinuxSpecific*  arch_specific = LINUX_SPECIFIC (disk->dev);
+        uint32_t        cookie = 0;
 
         /* Get map name from devicemapper */
         struct dm_task *task = dm_task_create (DM_DEVICE_INFO);
@@ -2810,37 +2867,43 @@ _dm_add_partition (PedDisk* disk, PedPartition* part)
                 goto err;
 
         dev_name = dm_task_get_name (task);
-
-        if (isdigit (dev_name[strlen (dev_name) - 1])) {
-                if ( ! (vol_name = zasprintf ("%sp%d", dev_name, part->num)))
-                        goto err;
-        } else if ( ! (vol_name = zasprintf ("%s%d", dev_name, part->num)))
+        size_t name_len = strlen (dev_name);
+        vol_name = zasprintf ("%s%s%d",
+                              dev_name,
+                              isdigit (dev_name[name_len - 1]) ? "p" : "",
+                              part->num);
+        if (vol_name == NULL)
                 goto err;
 
         /* Caution: dm_task_destroy frees dev_name.  */
         dm_task_destroy (task);
         task = NULL;
-
         if ( ! (params = zasprintf ("%d:%d %lld", arch_specific->major,
                                     arch_specific->minor, part->geom.start)))
                 goto err;
 
-        task = dm_task_create (DM_DEVICE_CREATE);
+        task = dm_task_create (DM_DEVICE_RELOAD);
         if (!task)
                 goto err;
 
         dm_task_set_name (task, vol_name);
         dm_task_add_target (task, 0, part->geom.length,
                 "linear", params);
+        if (!dm_task_set_cookie (task, &cookie, 0))
+                goto err;
         if (dm_task_run (task)) {
-                //printf("0 %ld linear %s\n", part->geom.length, params);
-                dm_task_update_nodes();
-                dm_task_destroy(task);
-                free(params);
-                free(vol_name);
-                return 1;
-        } else {
-                _dm_remove_map_name(vol_name);
+                dm_task_destroy (task);
+                task = dm_task_create (DM_DEVICE_RESUME);
+                if (!task)
+                        goto err;
+                dm_task_set_name (task, vol_name);
+                if (!dm_task_set_cookie (task, &cookie, 0))
+                        goto err;
+                if (dm_task_run (task)) {
+                        free (params);
+                        free (vol_name);
+                        return 1;
+                }
         }
 err:
         dm_task_update_nodes();
@@ -2851,34 +2914,183 @@ err:
         return 0;
 }
 
+#endif
+
+/*
+ * Sync the partition table in two step process:
+ * 1. Remove all of the partitions from the kernel's tables, but do not attempt
+ *    removal of any partition for which the corresponding ioctl call fails.
+ * 2. Add all the partitions that we hold in disk, throwing a warning
+ *    if we cannot because step 1 failed to remove it and it is not being
+ *    added back with the same start and length.
+ *
+ * To achieve this two step process we must calculate the minimum number of
+ * maximum possible partitions between what linux supports and what the label
+ * type supports. EX:
+ *
+ * number=MIN(max_parts_supported_in_linux,max_parts_supported_in_msdos_tables)
+ */
 static int
-_dm_reread_part_table (PedDisk* disk)
+_disk_sync_part_table (PedDisk* disk)
 {
-        int largest_partnum = ped_disk_get_last_partition_num (disk);
-        if (largest_partnum <= 0)
-          return 1;
-
-        int     rc = 1;
-        int     last = PED_MIN (largest_partnum, 16);
-        int     i;
-
-        sync();
-        if (!_dm_remove_parts(disk->dev))
-                rc = 0;
+        PED_ASSERT(disk != NULL);
+        PED_ASSERT(disk->dev != NULL);
+        int lpn, lpn2;
+        unsigned int part_range = _device_get_partition_range(disk->dev);
+        int (*add_partition)(PedDisk* disk, const PedPartition *part);
+        int (*resize_partition)(PedDisk* disk, const PedPartition *part);
+        int (*remove_partition)(PedDisk* disk, int partno);
+        bool (*get_partition_start_and_length)(PedPartition const *part,
+                                               unsigned long long *start,
+                                               unsigned long long *length);
+
+
+        if (disk->dev->type == PED_DEVICE_DM) {
+                add_partition = _dm_add_partition;
+                remove_partition = _dm_remove_partition;
+                resize_partition = _dm_resize_partition;
+                get_partition_start_and_length = _dm_get_partition_start_and_length;
+        } else {
+                add_partition = _blkpg_add_partition;
+                remove_partition = _blkpg_remove_partition;
+#ifdef BLKPG_RESIZE_PARTITION
+                resize_partition = _blkpg_resize_partition;
+#else
+                resize_partition = NULL;
+#endif
+                get_partition_start_and_length = _kernel_get_partition_start_and_length;
+        }
 
-        for (i = 1; i <= last; i++) {
-                PedPartition*      part;
+        /* lpn = largest partition number.
+         * for remove pass, use greater of device or label limit */
+        if (ped_disk_get_max_supported_partition_count(disk, &lpn))
+                lpn = PED_MAX(lpn, part_range);
+        else
+                lpn = part_range;
+        /* for add pass, use lesser of device or label limit */
+        if (ped_disk_get_max_supported_partition_count(disk, &lpn2))
+                lpn2 = PED_MIN(lpn2, part_range);
+        else
+                lpn2 = part_range;
+        /* Its not possible to support largest_partnum < 0.
+         * largest_partnum == 0 would mean does not support partitions.
+         * */
+        if (lpn < 1)
+                return 0;
+        int ret = 0;
+        int *ok = calloc (lpn, sizeof *ok);
+        if (!ok)
+                return 0;
+        int *errnums = ped_malloc(sizeof(int) * lpn);
+        if (!errnums)
+                goto cleanup;
 
-                part = ped_disk_get_partition (disk, i);
+        int i;
+        /* remove old partitions first */
+        for (i = 1; i <= lpn; i++) {
+                PedPartition *part = ped_disk_get_partition (disk, i);
+                if (part) {
+                        unsigned long long length;
+                        unsigned long long start;
+                        /* get start and length of existing partition */
+                        if (get_partition_start_and_length(part,
+                                                           &start, &length)
+                            && start == part->geom.start
+                            && (length == part->geom.length
+                                || (resize_partition && part->num < lpn2)))
+                        {
+                                /* partition is unchanged, or will be resized so nothing to do */
+                                ok[i - 1] = 1;
+                                continue;
+                        }
+                }
+                /* Attempt to remove the partition, retrying for
+                   up to max_sleep_seconds upon any failure due to EBUSY. */
+                unsigned int sleep_microseconds = 10000;
+                unsigned int max_sleep_seconds = 1;
+                unsigned int n_sleep = (max_sleep_seconds
+                                        * 1000000 / sleep_microseconds);
+                do {
+                        ok[i - 1] = remove_partition (disk, i);
+                        errnums[i - 1] = errno;
+                        if (ok[i - 1] || errnums[i - 1] != EBUSY)
+                                break;
+                        usleep (sleep_microseconds);
+                } while (n_sleep--);
+                if (!ok[i - 1] && errnums[i - 1] == ENXIO)
+                        ok[i - 1] = 1; /* it already doesn't exist */
+        }
+        lpn = lpn2;
+        /* don't actually add partitions for loop */
+        if (strcmp (disk->type->name, "loop") == 0)
+                lpn = 0;
+        for (i = 1; i <= lpn; i++) {
+                PedPartition *part = ped_disk_get_partition (disk, i);
                 if (!part)
                         continue;
+                unsigned long long length;
+                unsigned long long start;
+                /* get start and length of existing partition */
+                if (get_partition_start_and_length(part,
+                                                   &start, &length)
+                    && start == part->geom.start)
+                {
+                        if (length == part->geom.length) {
+                                ok[i - 1] = 1;
+                                /* partition is unchanged, so nothing to do */
+                                continue;
+                        }
+                        if (resize_partition
+                            && start == part->geom.start)
+                        {
+                                /* try to resize */
+                                if (resize_partition (disk, part)) {
+                                        ok[i - 1] = 1;
+                                        continue;
+                                }
+                        }
+                }
+                /* add the (possibly modified or new) partition */
+                if (!add_partition (disk, part)) {
+                        ok[i - 1] = 0;
+                        errnums[i - 1] = errno;
+                }
+        }
 
-                if (!_dm_add_partition (disk, part))
-                        rc = 0;
+        char *bad_part_list = NULL;
+        /* now warn about any errors */
+        for (i = 1; i <= lpn; i++) {
+                if (ok[i - 1] || errnums[i - 1] == ENXIO)
+                        continue;
+                if (bad_part_list == NULL) {
+                        bad_part_list = malloc (lpn * 5);
+                        if (!bad_part_list)
+                                goto cleanup;
+                        bad_part_list[0] = 0;
+                }
+                sprintf (bad_part_list + strlen (bad_part_list), "%d, ", i);
         }
-        return rc;
+        if (bad_part_list == NULL)
+                ret = 1;
+        else {
+                bad_part_list[strlen (bad_part_list) - 2] = 0;
+                if (ped_exception_throw (
+                        PED_EXCEPTION_ERROR,
+                        PED_EXCEPTION_IGNORE_CANCEL,
+                        _("Partition(s) %s on %s have been written, but we have "
+                          "been unable to inform the kernel of the change, "
+                          "probably because it/they are in use.  As a result, "
+                          "the old partition(s) will remain in use.  You "
+                          "should reboot now before making further changes."),
+                        bad_part_list, disk->dev->path) == PED_EXCEPTION_IGNORE)
+                        ret = 1;
+                free (bad_part_list);
+        }
+ cleanup:
+        free (errnums);
+        free (ok);
+        return ret;
 }
-#endif
 
 static int
 _have_blkpg ()
@@ -2897,10 +3109,6 @@ _have_blkpg ()
 static int
 linux_disk_commit (PedDisk* disk)
 {
-#ifdef ENABLE_DEVICE_MAPPER
-        if (disk->dev->type == PED_DEVICE_DM)
-                return _dm_reread_part_table (disk);
-#endif
         if (disk->dev->type != PED_DEVICE_FILE) {
 
                /* We now require BLKPG support.  If this assertion fails,
index cf6a6d86724f5ecf8506d3fec4f1e70b9afecff0..95def1fb509fa28de57e12e605abccbb93a8872d 100644 (file)
@@ -1,5 +1,5 @@
 /* libparted - a library for manipulating disk partitions
-    Copyright (C) 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 3b033a13ab44474cf18571bca74f350d59549608..df0f381b5940dfac9fdaad2ba4ebb1ce3e800d35 100644 (file)
@@ -1,6 +1,6 @@
  /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 5fe88e76204e574915d6b5be57f75b3a8e158f65..6c26f0b390fbfcdd887205b9fed96b31523a3041 100644 (file)
@@ -1,6 +1,6 @@
  /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 4b28d636f359ee87cfef7a1313fd895e6467a183..1932aaed449693a98f7a23972c9b8a6475b8594b 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 3eea9e9cc58597c492d907dd19eb5d2846d5d163..124796596a7624ef55891ed57a65b3acf680b784 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2000, 2005, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2005, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -153,6 +153,7 @@ ped_geometry_set (PedGeometry* geom, PedSector start, PedSector length)
 {
        PED_ASSERT (geom != NULL);
        PED_ASSERT (geom->dev != NULL);
+       PED_ASSERT (start >= 0);
 
        if (length < 1) {
                ped_exception_throw (
@@ -162,13 +163,6 @@ ped_geometry_set (PedGeometry* geom, PedSector start, PedSector length)
                           " (start sector=%jd length=%jd)"), start, length);
                return 0;
        }
-       if (start < 0 || start + length - 1 >= geom->dev->length) {
-               ped_exception_throw (
-                       PED_EXCEPTION_ERROR,
-                       PED_EXCEPTION_CANCEL,
-                       _("Can't have a partition outside the disk!"));
-               return 0;
-       }
 
        geom->start = start;
        geom->length = length;
index 2d5e2bf20dbb46cade8b8e31596900bc7308d9a4..74d3213cf6a55e83253ad6b9aa2b8c1c87a04fb8 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index ceca0c58dbb2b78f99781e6d75c82bc930f6f532..c47a9f559acfad4a7756b37dacb923bfd15fb19f 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000, 2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 738b32048b40d5e9d9773f307992d1966474eea9..cdcc117a4f23c30fa190ecb9126bfd92368b09f0 100644 (file)
@@ -152,8 +152,11 @@ ped_device_get (const char* path)
        char*           normal_path = NULL;
 
        PED_ASSERT (path != NULL);
-       /* Don't canonicalize /dev/mapper paths, see tests/symlink.c */
-       if (strncmp (path, "/dev/mapper/", 12))
+       /* Don't canonicalize /dev/mapper or /dev/md/ paths, see
+          tests/symlink.c
+       */
+       if (strncmp (path, "/dev/mapper/", 12) &&
+           strncmp (path, "/dev/md/", 8))
                normal_path = canonicalize_file_name (path);
        if (!normal_path)
                /* Well, maybe it is just that the file does not exist.
index f9b5fd28826bb20480934c11d72389686e3ab249..fe82f449f7e757c243a065bc904aaa61b1a8f16e 100644 (file)
@@ -1,6 +1,6 @@
  /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2003, 2005, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2003, 2005, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -36,6 +36,7 @@
 #include <parted/parted.h>
 #include <parted/debug.h>
 #include <stdbool.h>
+#include <limits.h>
 
 #include "architecture.h"
 #include "labels/pt-tools.h"
@@ -404,6 +405,7 @@ _ped_disk_alloc (const PedDevice* dev, const PedDiskType* disk_type)
        disk->type = disk_type;
        disk->update_mode = 1;
        disk->part_list = NULL;
+       disk->needs_clobber = 0;
        return disk;
 
 error:
@@ -917,6 +919,8 @@ _partition_align (PedPartition* part, const PedConstraint* constraint)
        PED_ASSERT (disk_type->ops->partition_align != NULL);
        PED_ASSERT (part->disk->update_mode);
 
+       if (part->disk->needs_clobber)
+               return 1; /* do not attempt to align partitions while reading them */
        return disk_type->ops->partition_align (part, constraint);
 }
 
@@ -1771,7 +1775,7 @@ _partition_get_overlap_constraint (PedPartition* part, PedGeometry* geom)
                walk = ext_part->part_list;
        } else {
                min_start = 0;
-               max_end = part->disk->dev->length - 1;
+               max_end = LLONG_MAX - 1;
                walk = part->disk->part_list;
        }
 
@@ -1797,48 +1801,6 @@ _partition_get_overlap_constraint (PedPartition* part, PedGeometry* geom)
        return ped_constraint_new_from_max (&free_space);
 }
 
-/*
- * Returns \c 0 if the partition, \p part overlaps with any partitions on the
- * \p disk.  The geometry of \p part is taken to be \p geom, NOT \p part->geom
- * (the idea here is to check if \p geom is valid, before changing \p part).
- *
- * This is useful for seeing if a resized partitions new geometry is going to
- * fit, without the existing geomtry getting in the way.
- *
- * Note: overlap with an extended partition is also allowed, provided that
- * \p geom lies completely inside the extended partition.
- */
-static int _GL_ATTRIBUTE_PURE
-_disk_check_part_overlaps (PedDisk* disk, PedPartition* part)
-{
-       PedPartition*   walk;
-
-       PED_ASSERT (disk != NULL);
-       PED_ASSERT (part != NULL);
-
-       for (walk = ped_disk_next_partition (disk, NULL); walk;
-            walk = ped_disk_next_partition (disk, walk)) {
-               if (walk->type & PED_PARTITION_FREESPACE)
-                       continue;
-               if (walk == part)
-                       continue;
-               if (part->type & PED_PARTITION_EXTENDED
-                   && walk->type & PED_PARTITION_LOGICAL)
-                       continue;
-
-               if (ped_geometry_test_overlap (&walk->geom, &part->geom)) {
-                       if (walk->type & PED_PARTITION_EXTENDED
-                           && part->type & PED_PARTITION_LOGICAL
-                           && ped_geometry_test_inside (&walk->geom,
-                                                        &part->geom))
-                               continue;
-                       return 0;
-               }
-       }
-
-       return 1;
-}
-
 static int
 _partition_check_basic_sanity (PedDisk* disk, PedPartition* part)
 {
@@ -1847,7 +1809,6 @@ _partition_check_basic_sanity (PedDisk* disk, PedPartition* part)
        PED_ASSERT (part->disk == disk);
 
        PED_ASSERT (part->geom.start >= 0);
-       PED_ASSERT (part->geom.end < disk->dev->length);
        PED_ASSERT (part->geom.start <= part->geom.end);
 
        if (!ped_disk_type_check_feature (disk->type, PED_DISK_TYPE_EXTENDED)
@@ -1934,29 +1895,30 @@ _check_partition (PedDisk* disk, PedPartition* part)
 
        if (part->type & PED_PARTITION_LOGICAL
            && !ped_geometry_test_inside (&ext_part->geom, &part->geom)) {
-               ped_exception_throw (
+               if (ped_exception_throw (
                        PED_EXCEPTION_ERROR,
-                       PED_EXCEPTION_CANCEL,
+                       PED_EXCEPTION_IGNORE_CANCEL,
                        _("Can't have a logical partition outside of the "
                          "extended partition on %s."),
-                       disk->dev->path);
-               return 0;
-       }
-
-       if (!_disk_check_part_overlaps (disk, part)) {
-               ped_exception_throw (
-                       PED_EXCEPTION_ERROR,
-                       PED_EXCEPTION_CANCEL,
-                       _("Can't have overlapping partitions."));
-               return 0;
+                       disk->dev->path) != PED_EXCEPTION_IGNORE)
+                       return 0;
        }
 
        if (! (part->type & PED_PARTITION_LOGICAL)
            && ext_part && ext_part != part
            && ped_geometry_test_inside (&ext_part->geom, &part->geom)) {
-               ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
+               if (ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_IGNORE_CANCEL,
                        _("Can't have a primary partition inside an extended "
-                        "partition."));
+                         "partition.")) != PED_EXCEPTION_IGNORE)
+                       return 0;
+       }
+
+       if (part->geom.end >= disk->dev->length) {
+               if (ped_exception_throw (
+                       PED_EXCEPTION_ERROR,
+                       PED_EXCEPTION_IGNORE_CANCEL,
+                       _("Can't have a partition outside the disk!"))
+                   != PED_EXCEPTION_IGNORE )
                return 0;
        }
 
@@ -1968,7 +1930,7 @@ _check_partition (PedDisk* disk, PedPartition* part)
 }
 
 /**
- * Adds PedPartition \p part to PedPartition \p disk.
+ * Adds PedPartition \p part to PedDisk \p disk.
  *
  * \warning The partition's geometry may be changed, subject to \p constraint.
  * You could set \p constraint to <tt>ped_constraint_exact(&part->geom)</tt>,
@@ -2003,16 +1965,15 @@ ped_disk_add_partition (PedDisk* disk, PedPartition* part,
                                                        constraint);
 
                if (!constraints && constraint) {
-                       ped_exception_throw (
+                       if (ped_exception_throw (
                                PED_EXCEPTION_ERROR,
-                               PED_EXCEPTION_CANCEL,
-                               _("Can't have overlapping partitions."));
+                               PED_EXCEPTION_IGNORE_CANCEL,
+                               _("Can't have overlapping partitions.")) != PED_EXCEPTION_IGNORE)
                        goto error;
-               }
-
+               } else constraint = constraints;
                if (!_partition_enumerate (part))
                        goto error;
-               if (!_partition_align (part, constraints))
+               if (!_partition_align (part, constraint))
                        goto error;
        }
         /* FIXME: when _check_partition fails, we end up leaking PART
@@ -2433,12 +2394,18 @@ ped_partition_flag_get_name (PedPartitionFlag flag)
                return N_("prep");
        case PED_PARTITION_MSFT_RESERVED:
                return N_("msftres");
+       case PED_PARTITION_MSFT_DATA:
+               return N_("msftdata");
         case PED_PARTITION_APPLE_TV_RECOVERY:
                 return N_("atvrecv");
         case PED_PARTITION_DIAG:
                 return N_("diag");
         case PED_PARTITION_LEGACY_BOOT:
                 return N_("legacy_boot");
+        case PED_PARTITION_IRST:
+                return N_("irst");
+        case PED_PARTITION_ESP:
+                return N_("esp");
 
        default:
                ped_exception_throw (
index a71df0e8ff1ffc304c6ab94d4cadbc02593bd5d5..40f0168bd5f559d5dc362676bacfd1f6e52b7876 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index fd85e5dd06bceb723ebbe5deb6d284c90eebc012..0f8e82194e9fc1352eb9127d928d045b4f6d5d24 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -198,11 +198,6 @@ ped_file_system_probe_specific (
        PED_ASSERT (fs_type->ops->probe != NULL);
        PED_ASSERT (geom != NULL);
 
-        /* Fail all fs-specific probe-related tests when sector size
-           is not the default.  */
-       if (geom->dev->sector_size != PED_SECTOR_SIZE_DEFAULT)
-               return 0;
-
        if (!ped_device_open (geom->dev))
                return 0;
        result = fs_type->ops->probe (geom);
index 8d48ea12404a9feae8dd15d20e5259751daee875..d3cc8bcc3d03f9c994f8dc0cd1982c201f7b583b 100644 (file)
@@ -1,10 +1,8 @@
 # This file is part of GNU Parted
-# Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 #
 # This file may be modified and/or distributed without restriction.
 
-AUTOMAKE_OPTIONS = subdir-objects
-
 partedincludedir = -I$(top_builddir)/include -I$(top_srcdir)/include
 
 AM_CFLAGS = $(WARN_CFLAGS)
@@ -25,6 +23,7 @@ libfs_la_SOURCES =            \
   amiga/asfs.c                 \
   amiga/asfs.h                 \
   amiga/a-interface.c          \
+  btrfs/btrfs.c                        \
   ext2/ext2.h                  \
   ext2/ext2_fs.h               \
   ext2/interface.c             \
@@ -62,7 +61,7 @@ EXTRA_DIST =                  \
 # For details, see the "Updating library version information" section of
 # "info libtool".
 CURRENT = 0
-REVISION = 0
+REVISION = 1
 AGE = 0
 
 sym_file = $(srcdir)/fsresize.sym
@@ -114,7 +113,7 @@ libparted_fs_resize_la_SOURCES = \
   r/hfs/reloc_plus.c           \
   r/hfs/reloc_plus.h
 
-INCLUDES = \
+AM_CPPFLAGS = \
   -I$(top_srcdir)/libparted/labels     \
   $(partedincludedir)                  \
   $(INTLINCS)
index 4335eb1c6fb49fc9b92382e0594c9f9f7bfaee4f..cc1aae49ef307e22f30f5de86c52d70f6a1baa50 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 @SET_MAKE@
 
 # This file is part of GNU Parted
-# Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 #
 # This file may be modified and/or distributed without restriction.
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -56,13 +83,13 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = libparted/fs
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/build-aux/depcomp
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -70,16 +97,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -89,35 +117,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -174,14 +203,16 @@ libfs_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
        $(am__DEPENDENCIES_1)
 am__dirstamp = $(am__leading_dot)dirstamp
 am_libfs_la_OBJECTS = amiga/affs.lo amiga/amiga.lo amiga/apfs.lo \
-       amiga/asfs.lo amiga/a-interface.lo ext2/interface.lo \
-       fat/bootsector.lo fat/fat.lo hfs/hfs.lo hfs/probe.lo \
-       jfs/jfs.lo linux_swap/linux_swap.lo nilfs2/nilfs2.lo \
-       ntfs/ntfs.lo reiserfs/reiserfs.lo ufs/ufs.lo xfs/xfs.lo
+       amiga/asfs.lo amiga/a-interface.lo btrfs/btrfs.lo \
+       ext2/interface.lo fat/bootsector.lo fat/fat.lo hfs/hfs.lo \
+       hfs/probe.lo jfs/jfs.lo linux_swap/linux_swap.lo \
+       nilfs2/nilfs2.lo ntfs/ntfs.lo reiserfs/reiserfs.lo ufs/ufs.lo \
+       xfs/xfs.lo
 libfs_la_OBJECTS = $(am_libfs_la_OBJECTS)
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
+am__v_lt_1 = 
 libparted_fs_resize_la_LIBADD =
 am_libparted_fs_resize_la_OBJECTS = r/filesys.lo r/fat/bootsector.lo \
        r/fat/calc.lo r/fat/clstdup.lo r/fat/context.lo r/fat/count.lo \
@@ -195,6 +226,18 @@ libparted_fs_resize_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
        $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
        $(AM_CFLAGS) $(CFLAGS) $(libparted_fs_resize_la_LDFLAGS) \
        $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -208,9 +251,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CC = $(am__v_CC_@AM_V@)
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC      " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_1 = 
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -218,11 +259,31 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD    " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_CCLD_1 = 
 SOURCES = $(libfs_la_SOURCES) $(libparted_fs_resize_la_SOURCES)
 DIST_SOURCES = $(libfs_la_SOURCES) $(libparted_fs_resize_la_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -304,7 +365,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -341,7 +401,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -357,6 +416,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -432,6 +492,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -556,7 +617,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -580,7 +640,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -654,6 +713,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -663,10 +723,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -796,7 +854,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -816,7 +873,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -880,21 +936,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -923,6 +984,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -957,6 +1019,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -1006,6 +1070,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1062,6 +1128,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1070,7 +1137,6 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-AUTOMAKE_OPTIONS = subdir-objects
 partedincludedir = -I$(top_builddir)/include -I$(top_srcdir)/include
 AM_CFLAGS = $(WARN_CFLAGS)
 noinst_LTLIBRARIES = libfs.la
@@ -1088,6 +1154,7 @@ libfs_la_SOURCES = \
   amiga/asfs.c                 \
   amiga/asfs.h                 \
   amiga/a-interface.c          \
+  btrfs/btrfs.c                        \
   ext2/ext2.h                  \
   ext2/ext2_fs.h               \
   ext2/interface.c             \
@@ -1121,7 +1188,7 @@ EXTRA_DIST = hfs/DOC hfs/HISTORY hfs/TODO fsresize.sym
 # For details, see the "Updating library version information" section of
 # "info libtool".
 CURRENT = 0
-REVISION = 0
+REVISION = 1
 AGE = 0
 sym_file = $(srcdir)/fsresize.sym
 libparted_fs_resize_la_LDFLAGS = \
@@ -1171,7 +1238,7 @@ libparted_fs_resize_la_SOURCES = \
   r/hfs/reloc_plus.c           \
   r/hfs/reloc_plus.h
 
-INCLUDES = \
+AM_CPPFLAGS = \
   -I$(top_srcdir)/libparted/labels     \
   $(partedincludedir)                  \
   $(INTLINCS)
@@ -1210,9 +1277,9 @@ $(top_srcdir)/configure:  $(am__configure_deps)
 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(am__aclocal_m4_deps):
+
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
        @$(NORMAL_INSTALL)
-       test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
        @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
        list2=; for p in $$list; do \
          if test -f $$p; then \
@@ -1220,6 +1287,8 @@ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
          else :; fi; \
        done; \
        test -z "$$list2" || { \
+         echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
        }
@@ -1266,6 +1335,13 @@ amiga/apfs.lo: amiga/$(am__dirstamp) amiga/$(DEPDIR)/$(am__dirstamp)
 amiga/asfs.lo: amiga/$(am__dirstamp) amiga/$(DEPDIR)/$(am__dirstamp)
 amiga/a-interface.lo: amiga/$(am__dirstamp) \
        amiga/$(DEPDIR)/$(am__dirstamp)
+btrfs/$(am__dirstamp):
+       @$(MKDIR_P) btrfs
+       @: > btrfs/$(am__dirstamp)
+btrfs/$(DEPDIR)/$(am__dirstamp):
+       @$(MKDIR_P) btrfs/$(DEPDIR)
+       @: > btrfs/$(DEPDIR)/$(am__dirstamp)
+btrfs/btrfs.lo: btrfs/$(am__dirstamp) btrfs/$(DEPDIR)/$(am__dirstamp)
 ext2/$(am__dirstamp):
        @$(MKDIR_P) ext2
        @: > ext2/$(am__dirstamp)
@@ -1341,6 +1417,7 @@ xfs/$(DEPDIR)/$(am__dirstamp):
        @$(MKDIR_P) xfs/$(DEPDIR)
        @: > xfs/$(DEPDIR)/$(am__dirstamp)
 xfs/xfs.lo: xfs/$(am__dirstamp) xfs/$(DEPDIR)/$(am__dirstamp)
+
 libfs.la: $(libfs_la_OBJECTS) $(libfs_la_DEPENDENCIES) $(EXTRA_libfs_la_DEPENDENCIES) 
        $(AM_V_CCLD)$(LINK)  $(libfs_la_OBJECTS) $(libfs_la_LIBADD) $(LIBS)
 r/$(am__dirstamp):
@@ -1390,87 +1467,42 @@ r/hfs/probe.lo: r/hfs/$(am__dirstamp) r/hfs/$(DEPDIR)/$(am__dirstamp)
 r/hfs/reloc.lo: r/hfs/$(am__dirstamp) r/hfs/$(DEPDIR)/$(am__dirstamp)
 r/hfs/reloc_plus.lo: r/hfs/$(am__dirstamp) \
        r/hfs/$(DEPDIR)/$(am__dirstamp)
+
 libparted-fs-resize.la: $(libparted_fs_resize_la_OBJECTS) $(libparted_fs_resize_la_DEPENDENCIES) $(EXTRA_libparted_fs_resize_la_DEPENDENCIES) 
        $(AM_V_CCLD)$(libparted_fs_resize_la_LINK) -rpath $(libdir) $(libparted_fs_resize_la_OBJECTS) $(libparted_fs_resize_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
-       -rm -f amiga/a-interface.$(OBJEXT)
-       -rm -f amiga/a-interface.lo
-       -rm -f amiga/affs.$(OBJEXT)
-       -rm -f amiga/affs.lo
-       -rm -f amiga/amiga.$(OBJEXT)
-       -rm -f amiga/amiga.lo
-       -rm -f amiga/apfs.$(OBJEXT)
-       -rm -f amiga/apfs.lo
-       -rm -f amiga/asfs.$(OBJEXT)
-       -rm -f amiga/asfs.lo
-       -rm -f ext2/interface.$(OBJEXT)
-       -rm -f ext2/interface.lo
-       -rm -f fat/bootsector.$(OBJEXT)
-       -rm -f fat/bootsector.lo
-       -rm -f fat/fat.$(OBJEXT)
-       -rm -f fat/fat.lo
-       -rm -f hfs/hfs.$(OBJEXT)
-       -rm -f hfs/hfs.lo
-       -rm -f hfs/probe.$(OBJEXT)
-       -rm -f hfs/probe.lo
-       -rm -f jfs/jfs.$(OBJEXT)
-       -rm -f jfs/jfs.lo
-       -rm -f linux_swap/linux_swap.$(OBJEXT)
-       -rm -f linux_swap/linux_swap.lo
-       -rm -f nilfs2/nilfs2.$(OBJEXT)
-       -rm -f nilfs2/nilfs2.lo
-       -rm -f ntfs/ntfs.$(OBJEXT)
-       -rm -f ntfs/ntfs.lo
-       -rm -f r/fat/bootsector.$(OBJEXT)
-       -rm -f r/fat/bootsector.lo
-       -rm -f r/fat/calc.$(OBJEXT)
-       -rm -f r/fat/calc.lo
-       -rm -f r/fat/clstdup.$(OBJEXT)
-       -rm -f r/fat/clstdup.lo
-       -rm -f r/fat/context.$(OBJEXT)
-       -rm -f r/fat/context.lo
-       -rm -f r/fat/count.$(OBJEXT)
-       -rm -f r/fat/count.lo
-       -rm -f r/fat/fat.$(OBJEXT)
-       -rm -f r/fat/fat.lo
-       -rm -f r/fat/fatio.$(OBJEXT)
-       -rm -f r/fat/fatio.lo
-       -rm -f r/fat/resize.$(OBJEXT)
-       -rm -f r/fat/resize.lo
-       -rm -f r/fat/table.$(OBJEXT)
-       -rm -f r/fat/table.lo
-       -rm -f r/fat/traverse.$(OBJEXT)
-       -rm -f r/fat/traverse.lo
-       -rm -f r/filesys.$(OBJEXT)
-       -rm -f r/filesys.lo
-       -rm -f r/hfs/advfs.$(OBJEXT)
-       -rm -f r/hfs/advfs.lo
-       -rm -f r/hfs/advfs_plus.$(OBJEXT)
-       -rm -f r/hfs/advfs_plus.lo
-       -rm -f r/hfs/cache.$(OBJEXT)
-       -rm -f r/hfs/cache.lo
-       -rm -f r/hfs/file.$(OBJEXT)
-       -rm -f r/hfs/file.lo
-       -rm -f r/hfs/file_plus.$(OBJEXT)
-       -rm -f r/hfs/file_plus.lo
-       -rm -f r/hfs/hfs.$(OBJEXT)
-       -rm -f r/hfs/hfs.lo
-       -rm -f r/hfs/journal.$(OBJEXT)
-       -rm -f r/hfs/journal.lo
-       -rm -f r/hfs/probe.$(OBJEXT)
-       -rm -f r/hfs/probe.lo
-       -rm -f r/hfs/reloc.$(OBJEXT)
-       -rm -f r/hfs/reloc.lo
-       -rm -f r/hfs/reloc_plus.$(OBJEXT)
-       -rm -f r/hfs/reloc_plus.lo
-       -rm -f reiserfs/reiserfs.$(OBJEXT)
-       -rm -f reiserfs/reiserfs.lo
-       -rm -f ufs/ufs.$(OBJEXT)
-       -rm -f ufs/ufs.lo
-       -rm -f xfs/xfs.$(OBJEXT)
-       -rm -f xfs/xfs.lo
+       -rm -f amiga/*.$(OBJEXT)
+       -rm -f amiga/*.lo
+       -rm -f btrfs/*.$(OBJEXT)
+       -rm -f btrfs/*.lo
+       -rm -f ext2/*.$(OBJEXT)
+       -rm -f ext2/*.lo
+       -rm -f fat/*.$(OBJEXT)
+       -rm -f fat/*.lo
+       -rm -f hfs/*.$(OBJEXT)
+       -rm -f hfs/*.lo
+       -rm -f jfs/*.$(OBJEXT)
+       -rm -f jfs/*.lo
+       -rm -f linux_swap/*.$(OBJEXT)
+       -rm -f linux_swap/*.lo
+       -rm -f nilfs2/*.$(OBJEXT)
+       -rm -f nilfs2/*.lo
+       -rm -f ntfs/*.$(OBJEXT)
+       -rm -f ntfs/*.lo
+       -rm -f r/*.$(OBJEXT)
+       -rm -f r/*.lo
+       -rm -f r/fat/*.$(OBJEXT)
+       -rm -f r/fat/*.lo
+       -rm -f r/hfs/*.$(OBJEXT)
+       -rm -f r/hfs/*.lo
+       -rm -f reiserfs/*.$(OBJEXT)
+       -rm -f reiserfs/*.lo
+       -rm -f ufs/*.$(OBJEXT)
+       -rm -f ufs/*.lo
+       -rm -f xfs/*.$(OBJEXT)
+       -rm -f xfs/*.lo
 
 distclean-compile:
        -rm -f *.tab.c
@@ -1480,6 +1512,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@amiga/$(DEPDIR)/amiga.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@amiga/$(DEPDIR)/apfs.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@amiga/$(DEPDIR)/asfs.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@btrfs/$(DEPDIR)/btrfs.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@ext2/$(DEPDIR)/interface.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@fat/$(DEPDIR)/bootsector.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@fat/$(DEPDIR)/fat.Plo@am__quote@
@@ -1544,6 +1577,7 @@ mostlyclean-libtool:
 clean-libtool:
        -rm -rf .libs _libs
        -rm -rf amiga/.libs amiga/_libs
+       -rm -rf btrfs/.libs btrfs/_libs
        -rm -rf ext2/.libs ext2/_libs
        -rm -rf fat/.libs fat/_libs
        -rm -rf hfs/.libs hfs/_libs
@@ -1558,26 +1592,15 @@ clean-libtool:
        -rm -rf ufs/.libs ufs/_libs
        -rm -rf xfs/.libs xfs/_libs
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1589,15 +1612,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1606,9 +1625,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
 
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1689,6 +1709,8 @@ distclean-generic:
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
        -rm -f amiga/$(DEPDIR)/$(am__dirstamp)
        -rm -f amiga/$(am__dirstamp)
+       -rm -f btrfs/$(DEPDIR)/$(am__dirstamp)
+       -rm -f btrfs/$(am__dirstamp)
        -rm -f ext2/$(DEPDIR)/$(am__dirstamp)
        -rm -f ext2/$(am__dirstamp)
        -rm -f fat/$(DEPDIR)/$(am__dirstamp)
@@ -1725,7 +1747,7 @@ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
        clean-noinstLTLIBRARIES mostlyclean-am
 
 distclean: distclean-am
-       -rm -rf amiga/$(DEPDIR) ext2/$(DEPDIR) fat/$(DEPDIR) hfs/$(DEPDIR) jfs/$(DEPDIR) linux_swap/$(DEPDIR) nilfs2/$(DEPDIR) ntfs/$(DEPDIR) r/$(DEPDIR) r/fat/$(DEPDIR) r/hfs/$(DEPDIR) reiserfs/$(DEPDIR) ufs/$(DEPDIR) xfs/$(DEPDIR)
+       -rm -rf amiga/$(DEPDIR) btrfs/$(DEPDIR) ext2/$(DEPDIR) fat/$(DEPDIR) hfs/$(DEPDIR) jfs/$(DEPDIR) linux_swap/$(DEPDIR) nilfs2/$(DEPDIR) ntfs/$(DEPDIR) r/$(DEPDIR) r/fat/$(DEPDIR) r/hfs/$(DEPDIR) reiserfs/$(DEPDIR) ufs/$(DEPDIR) xfs/$(DEPDIR)
        -rm -f Makefile
 distclean-am: clean-am distclean-compile distclean-generic \
        distclean-tags
@@ -1771,7 +1793,7 @@ install-ps-am:
 installcheck-am:
 
 maintainer-clean: maintainer-clean-am
-       -rm -rf amiga/$(DEPDIR) ext2/$(DEPDIR) fat/$(DEPDIR) hfs/$(DEPDIR) jfs/$(DEPDIR) linux_swap/$(DEPDIR) nilfs2/$(DEPDIR) ntfs/$(DEPDIR) r/$(DEPDIR) r/fat/$(DEPDIR) r/hfs/$(DEPDIR) reiserfs/$(DEPDIR) ufs/$(DEPDIR) xfs/$(DEPDIR)
+       -rm -rf amiga/$(DEPDIR) btrfs/$(DEPDIR) ext2/$(DEPDIR) fat/$(DEPDIR) hfs/$(DEPDIR) jfs/$(DEPDIR) linux_swap/$(DEPDIR) nilfs2/$(DEPDIR) ntfs/$(DEPDIR) r/$(DEPDIR) r/fat/$(DEPDIR) r/hfs/$(DEPDIR) reiserfs/$(DEPDIR) ufs/$(DEPDIR) xfs/$(DEPDIR)
        -rm -f Makefile
 maintainer-clean-am: distclean-am maintainer-clean-generic
 
@@ -1792,19 +1814,20 @@ uninstall-am: uninstall-libLTLIBRARIES
 
 .MAKE: install-am install-strip
 
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
        clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
-       cscopelist ctags distclean distclean-compile distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-libLTLIBRARIES install-man install-pdf \
-       install-pdf-am install-ps install-ps-am install-strip \
-       installcheck installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-compile \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags uninstall uninstall-am uninstall-libLTLIBRARIES
+       cscopelist-am ctags ctags-am distclean distclean-compile \
+       distclean-generic distclean-libtool distclean-tags distdir dvi \
+       dvi-am html html-am info info-am install install-am \
+       install-data install-data-am install-dvi install-dvi-am \
+       install-exec install-exec-am install-html install-html-am \
+       install-info install-info-am install-libLTLIBRARIES \
+       install-man install-pdf install-pdf-am install-ps \
+       install-ps-am install-strip installcheck installcheck-am \
+       installdirs maintainer-clean maintainer-clean-generic \
+       mostlyclean mostlyclean-compile mostlyclean-generic \
+       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+       uninstall-am uninstall-libLTLIBRARIES
 
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
index a084266cd85f6fcdf52a8b86419228001cc813a2..1ba12a64c67dcd49558a10c9dbca50f8feda0785 100644 (file)
@@ -1,6 +1,6 @@
 /*
     interface.c -- parted support amiga file systems
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index fefead3992b756aefe7e93bccd2e37143ced4512..c09e8ccab3c25c34b1e5f498fe57640723e22fca 100644 (file)
@@ -1,6 +1,6 @@
 /*
     affs.c -- parted support for affs file systems
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -55,7 +55,8 @@ _generic_affs_probe (PedGeometry* geom, uint32_t kind)
 
        PED_ASSERT (geom != NULL);
        PED_ASSERT (geom->dev != NULL);
-
+       if (geom->dev->sector_size != 512)
+               return NULL;
        /* Finds the blocksize, prealloc and reserved values of the partition block */
        if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) {
                ped_exception_throw(PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
@@ -216,97 +217,78 @@ static PedFileSystemOps _amufs5_ops = {
        probe:          _amufs5_probe,
 };
 
-#define AFFS_BLOCK_SIZES        ((int[5]){512, 1024, 2048, 4096, 0})
-#define AMUFS_BLOCK_SIZES       ((int[2]){512, 0})
-
-
 PedFileSystemType _affs0_type = {
        next:            NULL,
        ops:             &_affs0_ops,
        name:            "affs0",
-       block_sizes:      AFFS_BLOCK_SIZES
 };
 PedFileSystemType _affs1_type = {
        next:            NULL,
        ops:             &_affs1_ops,
        name:            "affs1",
-       block_sizes:      AFFS_BLOCK_SIZES
 };
 PedFileSystemType _affs2_type = {
        next:            NULL,
        ops:             &_affs2_ops,
        name:            "affs2",
-       block_sizes:      AFFS_BLOCK_SIZES
 };
 PedFileSystemType _affs3_type = {
        next:            NULL,
        ops:             &_affs3_ops,
        name:            "affs3",
-       block_sizes:      AFFS_BLOCK_SIZES
 };
 PedFileSystemType _affs4_type = {
        next:            NULL,
        ops:             &_affs4_ops,
        name:            "affs4",
-       block_sizes:      AFFS_BLOCK_SIZES
 };
 PedFileSystemType _affs5_type = {
        next:            NULL,
        ops:             &_affs5_ops,
        name:            "affs5",
-       block_sizes:      AFFS_BLOCK_SIZES
 };
 PedFileSystemType _affs6_type = {
        next:            NULL,
        ops:             &_affs6_ops,
        name:            "affs6",
-       block_sizes:      AFFS_BLOCK_SIZES
 };
 PedFileSystemType _affs7_type = {
        next:            NULL,
        ops:             &_affs7_ops,
        name:            "affs7",
-       block_sizes:      AFFS_BLOCK_SIZES
 };
 PedFileSystemType _amufs_type = {
        next:            NULL,
        ops:             &_amufs_ops,
        name:            "amufs",
-       block_sizes:      AMUFS_BLOCK_SIZES
 };
 PedFileSystemType _amufs0_type = {
        next:            NULL,
        ops:             &_amufs0_ops,
        name:            "amufs0",
-       block_sizes:      AMUFS_BLOCK_SIZES
 };
 PedFileSystemType _amufs1_type = {
        next:            NULL,
        ops:             &_amufs1_ops,
        name:            "amufs1",
-       block_sizes:      AMUFS_BLOCK_SIZES
 };
 PedFileSystemType _amufs2_type = {
        next:            NULL,
        ops:             &_amufs2_ops,
        name:            "amufs2",
-       block_sizes:      AMUFS_BLOCK_SIZES
 };
 PedFileSystemType _amufs3_type = {
        next:            NULL,
        ops:             &_amufs3_ops,
        name:            "amufs3",
-       block_sizes:      AMUFS_BLOCK_SIZES
 };
 PedFileSystemType _amufs4_type = {
        next:            NULL,
        ops:             &_amufs4_ops,
        name:            "amufs4",
-       block_sizes:      AMUFS_BLOCK_SIZES
 };
 PedFileSystemType _amufs5_type = {
        next:            NULL,
        ops:             &_amufs5_ops,
        name:            "amufs5",
-       block_sizes:      AMUFS_BLOCK_SIZES
 };
index 7223fafd98b35ad58b97a23028eb60e4ac1286c4..a089f5d6dbcdae2c4cb2c5c07a9ed5f922fca1ac 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
     affs.h -- parted suppoer for affs filesystems header files
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 7b8462e6827db9e30bb4068e616c1c6f07b2a389..2e974c257749111b41c6b633fee08ccb15a9b9ea 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted/fs_amiga - amiga file system support.
-    Copyright (C) 2000-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 9debd305680500dc561985f7fbd5eb52d70baa25..34a7d8c0079bd486d736477059ca054fdc27f65b 100644 (file)
@@ -1,6 +1,6 @@
 /*
     util.h -- amiga partition table headers.
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 9d2757b1bddf1e3afadcc3e60e0ba03309c179b1..c21a4fce4026e01f0c93519c9db19f08245e5303 100644 (file)
@@ -1,6 +1,6 @@
 /*
     apfs.c -- parted support for apfs file systems
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -48,6 +48,8 @@ _generic_apfs_probe (PedGeometry* geom, uint32_t kind)
 
        PED_ASSERT (geom != NULL);
        PED_ASSERT (geom->dev != NULL);
+       if (geom->dev->sector_size != 512)
+               return NULL;
 
        /* Finds the blocksize and reserved values of the partition block */
        if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) {
@@ -113,17 +115,13 @@ static PedFileSystemOps _apfs2_ops = {
        probe:          _apfs2_probe,
 };
 
-#define APFS_BLOCK_SIZES ((int[2]){512, 0})
-
 PedFileSystemType _apfs1_type = {
        next:            NULL,
        ops:             &_apfs1_ops,
        name:            "apfs1",
-       block_sizes:      APFS_BLOCK_SIZES
 };
 PedFileSystemType _apfs2_type = {
        next:            NULL,
        ops:             &_apfs2_ops,
        name:            "apfs2",
-       block_sizes:      APFS_BLOCK_SIZES
 };
index ecc1a0289c5466ec7478ec8d71179fa082c4f51f..6ab9eedbee0bd7f705826e8fb18dd380e2dd889e 100644 (file)
@@ -1,6 +1,6 @@
 /*
     apfs.h -- parted support for apfs file systems header files
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 3a9dce7da0efec9a430547a495e771a3c3ec7644..0dbf9d9a1624ec0cd6293ba6539fd049c112c550 100644 (file)
@@ -1,6 +1,6 @@
 /*
     asfs.c -- parted asfs filesystem support
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -62,6 +62,8 @@ _asfs_probe (PedGeometry* geom)
 
        PED_ASSERT (geom != NULL);
        PED_ASSERT (geom->dev != NULL);
+       if (geom->dev->sector_size != 512)
+               return NULL;
 
        /* Finds the blocksize of the partition block */
        if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) {
@@ -124,5 +126,4 @@ PedFileSystemType _asfs_type = {
        next:            NULL,
        ops:             &_asfs_ops,
        name:            "asfs",
-       block_sizes:      ((int[2]){512, 0})
 };
index 1f5e56c1f29810334c9b765d87b97ba75683ee18..0e51cd33156c7eaa7d533be94a0eeb0daca7751c 100644 (file)
@@ -1,6 +1,6 @@
 /*
     asfs.h -- parted asfs filesystem support header files
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
diff --git a/libparted/fs/btrfs/btrfs.c b/libparted/fs/btrfs/btrfs.c
new file mode 100644 (file)
index 0000000..a5762c0
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+    libparted - a library for manipulating disk partitions
+    Copyright (C) 2013-2014 Free Software Foundation, Inc.
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include <config.h>
+
+#include <parted/parted.h>
+#include <parted/endian.h>
+
+/* Located 64k inside the partition (start of the first btrfs superblock) */
+#define BTRFS_MAGIC 0x4D5F53665248425FULL /* ascii _BHRfS_M, no null */
+#define BTRFS_CSUM_SIZE 32
+#define BTRFS_FSID_SIZE 16
+
+
+static PedGeometry*
+btrfs_probe (PedGeometry* geom)
+{
+        union {
+            struct {
+                /* Just enough of the btrfs_super_block to get the magic */
+                uint8_t csum[BTRFS_CSUM_SIZE];
+                uint8_t fsid[BTRFS_FSID_SIZE];
+                uint64_t bytenr;
+                uint64_t flags;
+                uint64_t magic;
+            } sb;
+            int8_t      sector[8192];
+        } buf;
+        PedSector offset = (64*1024)/geom->dev->sector_size;
+
+        if (geom->length < offset+1)
+                return 0;
+        if (!ped_geometry_read (geom, &buf, offset, 1))
+                return 0;
+
+        if (PED_LE64_TO_CPU(buf.sb.magic) == BTRFS_MAGIC) {
+                return ped_geometry_new (geom->dev, geom->start, geom->length);
+        }
+        return NULL;
+}
+
+static PedFileSystemOps btrfs_ops = {
+        probe:          btrfs_probe,
+};
+
+static PedFileSystemType btrfs_type = {
+        next:   NULL,
+        ops:    &btrfs_ops,
+        name:   "btrfs",
+};
+
+void
+ped_file_system_btrfs_init ()
+{
+        ped_file_system_type_register (&btrfs_type);
+}
+
+void
+ped_file_system_btrfs_done ()
+{
+        ped_file_system_type_unregister (&btrfs_type);
+}
index ee0b121838ccfe4e02905a0d470d00b5d3631b50..0dd87eb9187f1b26862d30b8937bbf07b5ca0bdd 100644 (file)
@@ -1,6 +1,6 @@
 /*
     ext2.h -- ext2 header
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index fe2a3966909e76da0ac131e13794db1b458a9725..6784106f12a62e1fcee951d698816d9dc7b9b16b 100644 (file)
@@ -15,7 +15,7 @@
 
 /*
  * EXT2_*_*() convienience macros added by Andrew Clausen <clausen@gnu.org>
- * Copyright (C) 2000, 2009-2012 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2009-2014 Free Software Foundation, Inc.
  */
 
 #ifndef _EXT2_FS_H
index 115937594d11dd17cea922e83b8397062e6eb462..890a47b06a9b511cb4443010dc633cab97dd2d5f 100644 (file)
@@ -1,6 +1,6 @@
 /*
     interface.c -- parted binding glue to libext2resize
-    Copyright (C) 1998-2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -33,10 +33,12 @@ struct ext2_dev_handle* ext2_make_dev_handle_from_parted_geometry(PedGeometry* g
 static PedGeometry*
 _ext2_generic_probe (PedGeometry* geom, int expect_ext_ver)
 {
-       void *sb_v;
-       if (!ped_geometry_read_alloc(geom, &sb_v, 2, 2))
+       const int sectors = (4096 + geom->dev->sector_size - 1) /
+                            geom->dev->sector_size;
+       char *sb_v = alloca (sectors * geom->dev->sector_size);
+       if (!ped_geometry_read(geom, sb_v, 0, sectors))
                return NULL;
-       struct ext2_super_block *sb = sb_v;
+       struct ext2_super_block *sb = (struct ext2_super_block *)(sb_v + 1024);
 
        if (EXT2_SUPER_MAGIC(*sb) == EXT2_SUPER_MAGIC_CONST) {
                PedSector block_size = 1 << (EXT2_SUPER_LOG_BLOCK_SIZE(*sb) + 1);
@@ -66,8 +68,6 @@ _ext2_generic_probe (PedGeometry* geom, int expect_ext_ver)
                        if (is_ext4)
                                is_ext3 = 0;
                }
-               free (sb);
-
                if (expect_ext_ver == 2 && (is_ext3 || is_ext4))
                        return NULL;
                if (expect_ext_ver == 3 && !is_ext3)
@@ -94,9 +94,6 @@ _ext2_generic_probe (PedGeometry* geom, int expect_ext_ver)
                                                 block_count * block_size);
                }
        }
-        else {
-               free (sb);
-        }
 
        return NULL;
 }
@@ -131,27 +128,22 @@ static PedFileSystemOps _ext4_ops = {
        probe:          _ext4_probe,
 };
 
-#define EXT23_BLOCK_SIZES ((int[6]){512, 1024, 2048, 4096, 8192, 0})
-
 static PedFileSystemType _ext2_type = {
        next:            NULL,
        ops:             &_ext2_ops,
        name:            "ext2",
-       block_sizes:      EXT23_BLOCK_SIZES
 };
 
 static PedFileSystemType _ext3_type = {
        next:            NULL,
        ops:             &_ext3_ops,
        name:            "ext3",
-       block_sizes:      EXT23_BLOCK_SIZES
 };
 
 static PedFileSystemType _ext4_type = {
        next:            NULL,
        ops:             &_ext4_ops,
        name:            "ext4",
-       block_sizes:      EXT23_BLOCK_SIZES
 };
 
 void ped_file_system_ext2_init ()
index c43940f4d8458299a651fb63cbba85b1ad3ef5a8..cc4aeecba948af23bf92840834e09e4bda5cdfcd 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2002, 2004, 2007, 2009-2012 Free Software
+    Copyright (C) 1998-2000, 2002, 2004, 2007, 2009-2014 Free Software
     Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
  * fat_boot_sector_probe_type() to work (or possibly crash on a divide-by-zero)
  */
 int
-fat_boot_sector_read (FatBootSector* bs, const PedGeometry *geom)
+fat_boot_sector_read (FatBootSector** bsp, const PedGeometry *geom)
 {
-       PED_ASSERT (bs != NULL);
+       PED_ASSERT (bsp != NULL);
        PED_ASSERT (geom != NULL);
 
-       if (!ped_geometry_read (geom, bs, 0, 1))
+       if (!ped_geometry_read_alloc (geom, (void **)bsp, 0, 1))
                return 0;
+       FatBootSector *bs = *bsp;
 
        if (PED_LE16_TO_CPU (bs->boot_sign) != 0xAA55) {
                ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
@@ -51,13 +52,6 @@ fat_boot_sector_read (FatBootSector* bs, const PedGeometry *geom)
                return 0;
        }
 
-       if (!bs->system_id[0]) {
-               ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
-                       _("File system has an invalid signature for a FAT "
-                         "file system."));
-               return 0;
-       }
-
        if (!bs->sector_size
             || PED_LE16_TO_CPU (bs->sector_size) % PED_SECTOR_SIZE_DEFAULT) {
                ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
@@ -149,18 +143,6 @@ fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs)
 
        PED_ASSERT (bs != NULL);
 
-       if (PED_LE16_TO_CPU (bs->sector_size) != 512) {
-               if (ped_exception_throw (
-                       PED_EXCEPTION_BUG,
-                       PED_EXCEPTION_IGNORE_CANCEL,
-                       _("This file system has a logical sector size of %d.  "
-                       "GNU Parted is known not to work properly with sector "
-                       "sizes other than 512 bytes."),
-                       (int) PED_LE16_TO_CPU (bs->sector_size))
-                               != PED_EXCEPTION_IGNORE)
-                       return 0;
-       }
-
        fs_info->logical_sector_size = PED_LE16_TO_CPU (bs->sector_size) / 512;
 
        fs_info->sectors_per_track = PED_LE16_TO_CPU (bs->secs_track);
@@ -259,10 +241,10 @@ fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs)
                fs_info->serial_number
                        = PED_LE32_TO_CPU (bs->u.fat32.serial_number);
                fs_info->info_sector_offset
-                   = PED_LE16_TO_CPU (fs_info->boot_sector.u.fat32.info_sector)
+                   = PED_LE16_TO_CPU (fs_info->boot_sector->u.fat32.info_sector)
                          * fs_info->logical_sector_size;
                fs_info->boot_sector_backup_offset
-                 = PED_LE16_TO_CPU (fs_info->boot_sector.u.fat32.backup_sector)
+                 = PED_LE16_TO_CPU (fs_info->boot_sector->u.fat32.backup_sector)
                          * fs_info->logical_sector_size;
                fs_info->root_cluster
                        = PED_LE32_TO_CPU (bs->u.fat32.root_dir_cluster);
@@ -287,30 +269,3 @@ fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs)
                = fs_info->cluster_size / sizeof (FatDirEntry);
        return 1;
 }
-
-#ifndef DISCOVER_ONLY
-
-int
-fat_info_sector_read (FatInfoSector* is, const PedFileSystem* fs)
-{
-       FatSpecific*    fs_info = FAT_SPECIFIC (fs);
-       int             status;
-
-       PED_ASSERT (is != NULL);
-
-       if (!ped_geometry_read (fs->geom, is, fs_info->info_sector_offset, 1))
-               return 0;
-
-       if (PED_LE32_TO_CPU (is->signature_2) != FAT32_INFO_MAGIC2) {
-               status = ped_exception_throw (PED_EXCEPTION_WARNING,
-                               PED_EXCEPTION_IGNORE_CANCEL,
-                               _("The information sector has the wrong "
-                               "signature (%x).  Select cancel for now, "
-                               "and send in a bug report.  If you're "
-                               "desperate, it's probably safe to ignore."),
-                               PED_LE32_TO_CPU (is->signature_2));
-               if (status == PED_EXCEPTION_CANCEL) return 0;
-       }
-       return 1;
-}
-#endif /* !DISCOVER_ONLY */
index 2b51cd18d1d256da28418f96d5f1001e90f88a67..f48d542c03fb7a895d18b019592a7c97e37a578b 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -116,11 +116,10 @@ struct __attribute__ ((packed)) _FatInfoSector {
         uint16_t       signature_3;    /* should be 0xaa55 */
 };
 
-int fat_boot_sector_read (FatBootSector* bs, const PedGeometry* geom);
+int fat_boot_sector_read (FatBootSector** bs, const PedGeometry* geom);
 FatType fat_boot_sector_probe_type (const FatBootSector* bs,
                                    const PedGeometry* geom);
 int fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs);
 
-int fat_info_sector_read (FatInfoSector* is, const PedFileSystem* fs);
 
 #endif /* PED_FAT_BOOTSECTOR_H */
index a1c8438da500d64c04543079e4ca8c298384893d..379930cb01160ff40262c26c3de4ee9b01de3f95 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1999-2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 62e8790e789c65f3e735fd01efcbc5236fabaf59..194a8ba40d6ce9483129d99d368f541af9d6f24c 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -34,7 +34,9 @@ fat_alloc (const PedGeometry* geom)
        fs->type_specific = (FatSpecific*) ped_malloc (sizeof (FatSpecific));
        if (!fs->type_specific)
                goto error_free_fs;
-
+       FatSpecific* fs_info = (FatSpecific*) fs->type_specific;
+       fs_info->boot_sector = NULL;
+       fs_info->info_sector = NULL;
        fs->geom = ped_geometry_duplicate (geom);
        if (!fs->geom)
                goto error_free_type_specific;
@@ -53,6 +55,8 @@ error:
 void
 fat_free (PedFileSystem* fs)
 {
+       FatSpecific* fs_info = (FatSpecific*) fs->type_specific;
+       free (fs_info->boot_sector);
        ped_geometry_destroy (fs->geom);
        free (fs->type_specific);
        free (fs);
@@ -72,7 +76,7 @@ fat_probe (PedGeometry* geom, FatType* fat_type)
 
        if (!fat_boot_sector_read (&fs_info->boot_sector, geom))
                goto error_free_fs;
-       if (!fat_boot_sector_analyse (&fs_info->boot_sector, fs))
+       if (!fat_boot_sector_analyse (fs_info->boot_sector, fs))
                goto error_free_fs;
 
        *fat_type = fs_info->fat_type;
@@ -124,20 +128,16 @@ static PedFileSystemOps fat32_ops = {
        probe:          fat_probe_fat32,
 };
 
-#define FAT_BLOCK_SIZES ((int[2]){512, 0})
-
 PedFileSystemType fat16_type = {
        next:           NULL,
        ops:            &fat16_ops,
        name:           "fat16",
-        block_sizes:    FAT_BLOCK_SIZES
 };
 
 PedFileSystemType fat32_type = {
        next:           NULL,
        ops:            &fat32_ops,
        name:           "fat32",
-        block_sizes:    FAT_BLOCK_SIZES
 };
 
 void
index b1b96ba0474a975850499cf37fcd81bef4d902e5..8f8ca0698cdbe62eb16e622a7c6104ad62d773f3 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -84,8 +84,8 @@ struct __attribute__ ((packed)) _FatDirEntry {
 };
 
 struct _FatSpecific {
-       FatBootSector   boot_sector;    /* structure of boot sector */
-       FatInfoSector   info_sector;    /* fat32-only information sector */
+       FatBootSector   *boot_sector;    /* structure of boot sector */
+       FatInfoSector   *info_sector;    /* fat32-only information sector */
 
        int             logical_sector_size;    /* illogical sector size :-) */
        PedSector       sector_count;
index a03cf48a55a68723e0130c3614243989bbfe0fc4..1555610e3a00e1a41c96d2bdd13f1672192aeb5c 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2003-2005, 2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 2000, 2003-2005, 2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
@@ -44,10 +44,6 @@ uint8_t* hfsp_block = NULL;
 unsigned hfs_block_count;
 unsigned hfsp_block_count;
 
-#define HFS_BLOCK_SIZES       ((int[2]){512, 0})
-#define HFSP_BLOCK_SIZES       ((int[2]){512, 0})
-#define HFSX_BLOCK_SIZES       ((int[2]){512, 0})
-
 static PedFileSystemOps hfs_ops = {
        probe:          hfs_probe,
 };
@@ -65,21 +61,18 @@ static PedFileSystemType hfs_type = {
        next:   NULL,
        ops:    &hfs_ops,
        name:   "hfs",
-       block_sizes: HFS_BLOCK_SIZES
 };
 
 static PedFileSystemType hfsplus_type = {
        next:   NULL,
        ops:    &hfsplus_ops,
        name:   "hfs+",
-       block_sizes: HFSP_BLOCK_SIZES
 };
 
 static PedFileSystemType hfsx_type = {
        next:   NULL,
        ops:    &hfsx_ops,
        name:   "hfsx",
-       block_sizes: HFSX_BLOCK_SIZES
 };
 
 void
index 4e15e790bc3d2936ed9509ea7d52c1a54e895b08..6cd27cade5e0781343016be2229729f3a8ef01b5 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2003-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2003-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 71b83421f38467cada54a52a9757d13ea140a404..ec62c449cb87c51632436bfac6e329c2e31b8869 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -62,7 +62,6 @@ it is in fact a wrapper to an HFS+ volume */
 PedGeometry*
 hfs_and_wrapper_probe (PedGeometry* geom)
 {
-       uint8_t         buf[PED_SECTOR_SIZE_DEFAULT];
        HfsMasterDirectoryBlock *mdb;
        PedGeometry*    geom_ret;
        PedSector       search, max;
@@ -70,18 +69,22 @@ hfs_and_wrapper_probe (PedGeometry* geom)
        PED_ASSERT (geom != NULL);
        PED_ASSERT (hfsc_can_use_geom (geom));
 
-       mdb = (HfsMasterDirectoryBlock *) buf;
+       const int       sectors = ((3 * 512) + geom->dev->sector_size - 1) /
+                                  geom->dev->sector_size;
+       char *          buf = alloca (sectors * geom->dev->sector_size);
+
+       mdb = (HfsMasterDirectoryBlock *)(buf+1024);
 
        /* is 5 an intelligent value ? */
        if ((geom->length < 5)
-           || (!ped_geometry_read (geom, buf, 2, 1))
+           || (!ped_geometry_read (geom, buf, 0, sectors))
            || (mdb->signature != PED_CPU_TO_BE16 (HFS_SIGNATURE)) )
                return NULL;
 
        search = ((PedSector) PED_BE16_TO_CPU (mdb->start_block)
                  + ((PedSector) PED_BE16_TO_CPU (mdb->total_blocks)
-                    * (PED_BE32_TO_CPU (mdb->block_size) / PED_SECTOR_SIZE_DEFAULT )));
-       max = search + (PED_BE32_TO_CPU (mdb->block_size) / PED_SECTOR_SIZE_DEFAULT);
+                    * (PED_BE32_TO_CPU (mdb->block_size) / geom->dev->sector_size)));
+       max = search + (PED_BE32_TO_CPU (mdb->block_size) / geom->dev->sector_size);
        if ((search < 0)
            || !(geom_ret = ped_geometry_new (geom->dev, geom->start, search + 2)))
                return NULL;
index 0b4a01f865a128c49532ff44df052bb7f5088660..10c59650f5d53e8d8cf95cf58bdddcdff44ecf98 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 0959d965f5a3a29030e89e89516a8d8b863c2805..47b2f07fb3c9d0c0f20608ef7aad4c74d33369f9 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@
 #include "jfs_types.h"
 #include "jfs_superblock.h"
 
-#define JFS_SUPER_SECTOR 64
+#define JFS_SUPER_OFFSET 32768
 
 #if ENABLE_NLS
 #  include <libintl.h>
 #  define _(String) (String)
 #endif /* ENABLE_NLS */
 
-#define JFS_BLOCK_SIZES                ((int[2]){512, 0})
-
 static PedGeometry*
 jfs_probe (PedGeometry* geom)
 {
-       union {
-               struct superblock       sb;
-               char                    bytes[512];
-       } buf;
-
-        /* FIXME: for now, don't even try to deal with larger sector size.  */
-       if (geom->dev->sector_size != PED_SECTOR_SIZE_DEFAULT)
-               return NULL;
+       struct superblock *sb = alloca (geom->dev->sector_size);
 
-       if (geom->length < JFS_SUPER_SECTOR + 1)
+       if (geom->length * geom->dev->sector_size < JFS_SUPER_OFFSET)
                return NULL;
-       if (!ped_geometry_read (geom, &buf, JFS_SUPER_SECTOR, 1))
+       if (!ped_geometry_read (geom, sb, JFS_SUPER_OFFSET / geom->dev->sector_size, 1))
                return NULL;
 
-       if (strncmp (buf.sb.s_magic, JFS_MAGIC, 4) == 0) {
-               PedSector block_size = PED_LE32_TO_CPU (buf.sb.s_pbsize) / 512;
-               PedSector block_count = PED_LE64_TO_CPU (buf.sb.s_size);
-
+       if (strncmp (sb->s_magic, JFS_MAGIC, 4) == 0) {
+               PedSector block_size = PED_LE32_TO_CPU (sb->s_pbsize);
+               PedSector block_count = PED_LE64_TO_CPU (sb->s_size);
+               /* apparently jfs is retarded and always claims 512 byte
+                  sectors, with the block count as a multiple of that */
                return ped_geometry_new (geom->dev, geom->start,
-                                        block_size * block_count);
+                                        block_size * block_count / geom->dev->sector_size);
        } else {
                return NULL;
        }
@@ -72,7 +64,6 @@ static PedFileSystemType jfs_type = {
        next:   NULL,
        ops:    &jfs_ops,
        name:   "jfs",
-       block_sizes: JFS_BLOCK_SIZES
 };
 
 void
index 77b97db3e38b4f5b28726756e636d09d0d9bae92..ae4fa6ed17490d69a1b7e2fe1a10614dc86b3081 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2000, 2002, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2002, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -86,11 +86,6 @@ _generic_swap_probe (PedGeometry* geom, int kind)
        PedGeometry*    probed_geom;
        PedSector       length;
 
-        /* Fail the swap-file-system-recognizing test when sector size
-           is not the default.  */
-       if (geom->dev->sector_size != PED_SECTOR_SIZE_DEFAULT)
-               return NULL;
-
         switch (kind) {
         /* Check for old style swap partitions. */
                 case 0:
@@ -132,30 +127,18 @@ error:
 
 
 static int
-swap_init (PedFileSystem* fs, int fresh)
+swap_init (PedFileSystem* fs)
 {
        SwapSpecific*   fs_info = SWAP_SPECIFIC (fs);
 
-       fs_info->page_sectors = getpagesize () / 512;
+       fs_info->page_sectors = getpagesize () / fs->geom->dev->sector_size;
        fs_info->page_count = fs->geom->length / fs_info->page_sectors;
        fs_info->version = 1;
        fs_info->max_bad_pages = (getpagesize()
                                        - sizeof (SwapNewHeader)) / 4;
 
-       if (fresh) {
-               uuid_t uuid_dat;
-
-               memset (fs_info->header, 0, getpagesize());
-
-               /* version is always 1 here */
-               uuid_generate (uuid_dat);
-               memcpy (fs_info->header->new.sws_uuid, uuid_dat,
-                       sizeof (fs_info->header->new.sws_uuid));
-                return 1;
-        }
-       else
-                return ped_geometry_read (fs->geom, fs_info->header,
-                                          0, fs_info->page_sectors);
+       return ped_geometry_read (fs->geom, fs_info->header,
+                                 0, fs_info->page_sectors);
 }
 
 
@@ -174,7 +157,7 @@ swap_alloc (PedGeometry* geom)
                goto error_free_fs;
 
        fs_info = SWAP_SPECIFIC (fs);
-       fs_info->header = ped_malloc (getpagesize());
+       fs_info->header = ped_malloc (PED_MAX(getpagesize(), geom->dev->sector_size));
        if (!fs_info->header)
                goto error_free_type_specific;
 
@@ -225,7 +208,7 @@ _swap_v0_open (PedGeometry* geom)
        fs = swap_alloc (geom);
        if (!fs)
                goto error;
-       swap_init (fs, 0);
+       swap_init (fs);
 
        fs_info = SWAP_SPECIFIC (fs);
        if (!ped_geometry_read (fs->geom, fs_info->header, 0,
@@ -267,12 +250,7 @@ _swap_v1_open (PedGeometry* geom)
        fs = swap_alloc (geom);
        if (!fs)
                goto error;
-/*     swap_init (fs, 0); */
-
-/*     fs_info = SWAP_SPECIFIC (fs); */
-/*     if (!ped_geometry_read (fs->geom, fs_info->header, 0, */
-/*                             fs_info->page_sectors)) */
-        if (!swap_init(fs, 0))
+        if (!swap_init(fs))
                goto error_free_fs;
 
         fs_info = SWAP_SPECIFIC (fs);
@@ -311,7 +289,7 @@ _swap_swsusp_open (PedGeometry* geom)
        if (!fs)
                goto error;
         fs->type = &_swap_swsusp_type;
-       swap_init (fs, 0);
+       swap_init (fs);
 
        fs_info = SWAP_SPECIFIC (fs);
        if (!ped_geometry_read (fs->geom, fs_info->header, 0,
@@ -378,21 +356,18 @@ static PedFileSystemType _swap_v0_type = {
        next:   NULL,
        ops:    &_swap_v0_ops,
        name:   "linux-swap(v0)",
-       block_sizes: LINUXSWAP_BLOCK_SIZES
 };
 
 static PedFileSystemType _swap_v1_type = {
        next:   NULL,
        ops:    &_swap_v1_ops,
        name:   "linux-swap(v1)",
-       block_sizes: LINUXSWAP_BLOCK_SIZES
 };
 
 static PedFileSystemType _swap_swsusp_type = {
         next:   NULL,
        ops:    &_swap_swsusp_ops,
        name:   "swsusp",
-        block_sizes: LINUXSWAP_BLOCK_SIZES
 };
 
 void
index a184a369d05ee12646d672f82fd69ac58ddbe7d6..b42a4640e4884b5a1a61854f887a78c278492683 100644 (file)
@@ -3,7 +3,7 @@
  *
  *  Written by  Jiro SEKIBA <jir@unicus.jp>
  *
- *  Copyright (C) 2011-2012 Free Software Foundation, Inc.
+ *  Copyright (C) 2011-2014 Free Software Foundation, Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -103,38 +103,31 @@ is_valid_nilfs_sb(struct nilfs2_super_block *sb)
 PedGeometry*
 nilfs2_probe (PedGeometry* geom)
 {
-       void *sb_v;
-       void *sb2_v;
        struct nilfs2_super_block *sb = NULL;
        struct nilfs2_super_block *sb2 = NULL;
-       PedSector length = geom->length;
+       PedSector length = geom->length * (geom->dev->sector_size / 512);
 
-       /* ignore if sector size is not 512bytes for now  */
-       if (geom->dev->sector_size != PED_SECTOR_SIZE_DEFAULT)
-               return NULL;
-
-       PedSector sb2off = NILFS_SB2_OFFSET(length);
+       PedSector sb2off = NILFS_SB2_OFFSET(length) / (geom->dev->sector_size / 512);
        if (sb2off <= 2)
                return NULL;
+       const int sectors = (4096 + geom->dev->sector_size - 1) /
+                            geom->dev->sector_size;
+       char *buf = alloca (sectors * geom->dev->sector_size);
+       void *buff2 = alloca (geom->dev->sector_size);
 
-       if (ped_geometry_read_alloc(geom, &sb_v, 2, 1))
-               sb = sb_v;
-
-       if (ped_geometry_read_alloc(geom, &sb2_v, sb2off, 1))
-               sb2 = sb2_v;
+       if (ped_geometry_read(geom, buf, 0, sectors))
+               sb = (struct nilfs2_super_block *)(buf+1024);
+       if (ped_geometry_read(geom, buff2, sb2off, 1))
+               sb2 = buff2;
 
        if ((!sb || !is_valid_nilfs_sb(sb)) &&
-           (!sb2 || !is_valid_nilfs_sb(sb2)) ) {
-               free(sb);
-               free(sb2);
+           (!sb2 || !is_valid_nilfs_sb(sb2)) )
                return NULL;
-       }
 
        /* reserve 4k bytes for secondary superblock */
-       length = sb2off + 8;
+       length = sb2off + ((4096 + geom->dev->sector_size - 1) /
+                          geom->dev->sector_size);
 
-       free(sb);
-       free(sb2);
        return ped_geometry_new(geom->dev, geom->start, length);
 }
 
@@ -142,13 +135,10 @@ static PedFileSystemOps nilfs2_ops = {
        probe:                  nilfs2_probe,
 };
 
-#define NILFS2_BLOCK_SIZES ((int[5]){1024, 2048, 4096, 8192, 0})
-
 static PedFileSystemType nilfs2_type = {
        next:   NULL,
        ops:    &nilfs2_ops,
        name:   "nilfs2",
-       block_sizes: NILFS2_BLOCK_SIZES
 };
 
 void
index 4c92d9e41498cdfdf59662744853770bf244bb82..d533b3ceb1a14d9d7f91b7b3ee836bfcf51b5dad 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 #include <unistd.h>
 
-#define NTFS_BLOCK_SIZES       ((int[2]){512, 0})
-
 #define NTFS_SIGNATURE "NTFS"
 
-static PedGeometry*
+PedGeometry*
 ntfs_probe (PedGeometry* geom)
 {
-       char    buf[512];
+       char    *buf = alloca (geom->dev->sector_size);
+       PedGeometry *newg = NULL;
 
-       if (!ped_geometry_read (geom, buf, 0, 1))
+       if (!ped_geometry_read(geom, buf, 0, 1))
                return 0;
 
        if (strncmp (NTFS_SIGNATURE, buf + 3, strlen (NTFS_SIGNATURE)) == 0)
-               return ped_geometry_new (geom->dev, geom->start,
+               newg = ped_geometry_new (geom->dev, geom->start,
                                         PED_LE64_TO_CPU (*(uint64_t*)
                                                          (buf + 0x28)));
-       else
-               return NULL;
+       return newg;
 }
 
 static PedFileSystemOps ntfs_ops = {
@@ -58,7 +56,6 @@ static PedFileSystemType ntfs_type = {
        next:   NULL,
        ops:    &ntfs_ops,
        name:   "ntfs",
-       block_sizes: NTFS_BLOCK_SIZES
 };
 
 void
index 8c7a8c3a34ac94d5b9ba3fa02647bef2f9c45c05..1d2b601e320b7e99995dd1a3f0caa95b347afaae 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2002, 2004, 2007, 2009-2012 Free Software
+    Copyright (C) 1998-2000, 2002, 2004, 2007, 2009-2014 Free Software
     Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
  * fat_boot_sector_probe_type() to work (or possibly crash on a divide-by-zero)
  */
 int
-fat_boot_sector_read (FatBootSector* bs, const PedGeometry *geom)
+fat_boot_sector_read (FatBootSector** bsp, const PedGeometry *geom)
 {
-       PED_ASSERT (bs != NULL);
+       PED_ASSERT (bsp != NULL);
        PED_ASSERT (geom != NULL);
 
-       if (!ped_geometry_read (geom, bs, 0, 1))
+       if (!ped_geometry_read_alloc (geom, (void **)bsp, 0, 1))
                return 0;
-
+       FatBootSector *bs = *bsp;
        if (PED_LE16_TO_CPU (bs->boot_sign) != 0xAA55) {
                ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
                        _("File system has an invalid signature for a FAT "
@@ -51,13 +51,6 @@ fat_boot_sector_read (FatBootSector* bs, const PedGeometry *geom)
                return 0;
        }
 
-       if (!bs->system_id[0]) {
-               ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
-                       _("File system has an invalid signature for a FAT "
-                         "file system."));
-               return 0;
-       }
-
        if (!bs->sector_size
             || PED_LE16_TO_CPU (bs->sector_size) % PED_SECTOR_SIZE_DEFAULT) {
                ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
@@ -257,10 +250,10 @@ fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs)
                fs_info->serial_number
                        = PED_LE32_TO_CPU (bs->u.fat32.serial_number);
                fs_info->info_sector_offset
-                   = PED_LE16_TO_CPU (fs_info->boot_sector.u.fat32.info_sector)
+                   = PED_LE16_TO_CPU (fs_info->boot_sector->u.fat32.info_sector)
                          * fs_info->logical_sector_size;
                fs_info->boot_sector_backup_offset
-                 = PED_LE16_TO_CPU (fs_info->boot_sector.u.fat32.backup_sector)
+                 = PED_LE16_TO_CPU (fs_info->boot_sector->u.fat32.backup_sector)
                          * fs_info->logical_sector_size;
                fs_info->root_cluster
                        = PED_LE32_TO_CPU (bs->u.fat32.root_dir_cluster);
@@ -299,11 +292,13 @@ fat_boot_sector_set_boot_code (FatBootSector* bs)
 }
 
 int
-fat_boot_sector_generate (FatBootSector* bs, const PedFileSystem* fs)
+fat_boot_sector_generate (FatBootSector** bsp, const PedFileSystem* fs)
 {
        FatSpecific*    fs_info = FAT_SPECIFIC (fs);
 
-       PED_ASSERT (bs != NULL);
+       PED_ASSERT (bsp != NULL);
+       *bsp = ped_malloc (fs->geom->dev->sector_size);
+       FatBootSector *bs = *bsp;
 
        memcpy (bs->system_id, "MSWIN4.1", 8);
        bs->sector_size = PED_CPU_TO_LE16 (fs_info->logical_sector_size * 512);
@@ -395,16 +390,16 @@ fat_boot_sector_write (const FatBootSector* bs, PedFileSystem* fs)
 }
 
 int
-fat_info_sector_read (FatInfoSector* is, const PedFileSystem* fs)
+fat_info_sector_read (FatInfoSector** isp, const PedFileSystem* fs)
 {
        FatSpecific*    fs_info = FAT_SPECIFIC (fs);
        int             status;
 
-       PED_ASSERT (is != NULL);
+       PED_ASSERT (isp != NULL);
 
-       if (!ped_geometry_read (fs->geom, is, fs_info->info_sector_offset, 1))
+       if (!ped_geometry_read_alloc (fs->geom, (void **)isp, fs_info->info_sector_offset, 1))
                return 0;
-
+       FatInfoSector *is = *isp;
        if (PED_LE32_TO_CPU (is->signature_2) != FAT32_INFO_MAGIC2) {
                status = ped_exception_throw (PED_EXCEPTION_WARNING,
                                PED_EXCEPTION_IGNORE_CANCEL,
@@ -419,11 +414,13 @@ fat_info_sector_read (FatInfoSector* is, const PedFileSystem* fs)
 }
 
 int
-fat_info_sector_generate (FatInfoSector* is, const PedFileSystem* fs)
+fat_info_sector_generate (FatInfoSector** isp, const PedFileSystem* fs)
 {
        FatSpecific*    fs_info = FAT_SPECIFIC (fs);
 
-       PED_ASSERT (is != NULL);
+       PED_ASSERT (isp != NULL);
+       *isp = ped_malloc (fs->geom->dev->sector_size);
+       FatInfoSector *is = *isp;
 
        fat_table_count_stats (fs_info->fat);
 
index 4783649e9d1333c01e1f9cca4f9b4b486cabe361..e92842c2205a40e3ffd37594b565110cb51fc43c 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -116,16 +116,16 @@ struct __attribute__ ((packed)) _FatInfoSector {
         uint16_t       signature_3;    /* should be 0xaa55 */
 };
 
-int fat_boot_sector_read (FatBootSector* bs, const PedGeometry* geom);
+int fat_boot_sector_read (FatBootSector** bs, const PedGeometry* geom);
 FatType fat_boot_sector_probe_type (const FatBootSector* bs,
                                    const PedGeometry* geom);
 int fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs);
 int fat_boot_sector_set_boot_code (FatBootSector* bs);
-int fat_boot_sector_generate (FatBootSector* bs, const PedFileSystem* fs);
+int fat_boot_sector_generate (FatBootSector** bs, const PedFileSystem* fs);
 int fat_boot_sector_write (const FatBootSector* bs, PedFileSystem* fs);
 
-int fat_info_sector_read (FatInfoSector* is, const PedFileSystem* fs);
-int fat_info_sector_generate (FatInfoSector* is, const PedFileSystem* fs);
+int fat_info_sector_read (FatInfoSector** is, const PedFileSystem* fs);
+int fat_info_sector_generate (FatInfoSector** is, const PedFileSystem* fs);
 int fat_info_sector_write (const FatInfoSector* is, PedFileSystem* fs);
 
 #endif /* PED_FAT_BOOTSECTOR_H */
index d8f3a9847bf485e9659350ea719943259c5f3597..43a094ba677b7af9ba339a55b8b9fe6dd1347a8a 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2002, 2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 1998-2000, 2002, 2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
index 25e36f76451c5ae6b1f8dc35807e618e5fa7c263..f1bfa7e5386f2699c24ec51f5d590f5c7a372025 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 73ac8d659f1b4f5f45ff234bfd6193206aee2a3d..437948dae540a48a1452148db5f9f37f9b10c0dd 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index eee55a0d621700fc19c18af0512cb8d48fdac03a..761d5cadabaebd8d020be9be64d4678956a52629 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1999, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 2cd933aacf1f3b7ef0ddfd574e1e4a943ad7dfd7..f67547ac9ff199cc2335428eb33ad034a8c95424 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 0bd8922cd382d95c3516749472090c219e9b1dbe..7a9fd970de92b7cabbf44194ae0d7518049163ba 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1999-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index abd9e71d38fa0e747dd676f2519e318b53e95389..7949e470f97f314d8743ac43f1b27076ee32d507 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index a1c8438da500d64c04543079e4ca8c298384893d..379930cb01160ff40262c26c3de4ee9b01de3f95 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1999-2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 9d43e215ef1d8fe8951fc96570e7e63ba5388842..5aa72d81d1b17dca15170e234d7f673f24f1d301 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 #include <config.h>
 #include <string.h>
-#include <uuid/uuid.h>
 
 #include "fat.h"
 #include "calc.h"
+#include "../../../labels/misc.h"
 
 PedFileSystem*
 fat_alloc (const PedGeometry* geom)
@@ -35,7 +35,9 @@ fat_alloc (const PedGeometry* geom)
        fs->type_specific = (FatSpecific*) ped_malloc (sizeof (FatSpecific));
        if (!fs->type_specific)
                goto error_free_fs;
-
+       FatSpecific* fs_info = (FatSpecific*) fs->type_specific;
+       fs_info->boot_sector = NULL;
+       fs_info->info_sector = NULL;
        fs->geom = ped_geometry_duplicate (geom);
        if (!fs->geom)
                goto error_free_type_specific;
@@ -86,6 +88,8 @@ fat_free_buffers (PedFileSystem* fs)
 void
 fat_free (PedFileSystem* fs)
 {
+       FatSpecific* fs_info = (FatSpecific*) fs->type_specific;
+       free (fs_info->boot_sector);
        ped_geometry_destroy (fs->geom);
        free (fs->type_specific);
        free (fs);
@@ -112,19 +116,22 @@ fat_set_frag_sectors (PedFileSystem* fs, PedSector frag_sectors)
 int
 fat_clobber (PedGeometry* geom)
 {
-       FatBootSector           boot_sector;
+       FatBootSector *boot_sector;
+       int ok;
 
        if (!fat_boot_sector_read (&boot_sector, geom))
                return 1;
 
-       boot_sector.system_id[0] = 0;
-       boot_sector.boot_sign = 0;
-       if (boot_sector.u.fat16.fat_name[0] == 'F')
-               boot_sector.u.fat16.fat_name[0] = 0;
-       if (boot_sector.u.fat32.fat_name[0] == 'F')
-               boot_sector.u.fat32.fat_name[0] = 0;
+       boot_sector->system_id[0] = 0;
+       boot_sector->boot_sign = 0;
+       if (boot_sector->u.fat16.fat_name[0] == 'F')
+               boot_sector->u.fat16.fat_name[0] = 0;
+       if (boot_sector->u.fat32.fat_name[0] == 'F')
+               boot_sector->u.fat32.fat_name[0] = 0;
 
-        return ped_geometry_write (geom, &boot_sector, 0, 1);
+        ok = ped_geometry_write (geom, boot_sector, 0, 1);
+       free (boot_sector);
+       return ok;
 }
 
 static int
@@ -163,7 +170,7 @@ fat_open (PedGeometry* geom)
 
        if (!fat_boot_sector_read (&fs_info->boot_sector, geom))
                goto error_free_fs;
-       if (!fat_boot_sector_analyse (&fs_info->boot_sector, fs))
+       if (!fat_boot_sector_analyse (fs_info->boot_sector, fs))
                goto error_free_fs;
        fs->type = (fs_info->fat_type == FAT_TYPE_FAT16)
                                ? &fat16_type
@@ -202,21 +209,6 @@ fat_root_dir_clear (PedFileSystem* fs)
                                   fs_info->root_dir_sector_count);
 }
 
-/* hack: use the ext2 uuid library to generate a reasonably random (hopefully
- * with /dev/random) number.  Unfortunately, we can only use 4 bytes of it
- */
-static uint32_t
-_gen_new_serial_number (void)
-{
-       union {
-               uuid_t uuid;
-               uint32_t i;
-       } uu32;
-
-       uuid_generate (uu32.uuid);
-       return uu32.i;
-}
-
 PedFileSystem*
 fat_create (PedGeometry* geom, FatType fat_type, PedTimer* timer)
 {
@@ -316,18 +308,18 @@ fat_create (PedGeometry* geom, FatType fat_type, PedTimer* timer)
                        return 0;
        }
 
-       fs_info->serial_number = _gen_new_serial_number ();
+       fs_info->serial_number = generate_random_uint32 ();
 
-       if (!fat_boot_sector_set_boot_code (&fs_info->boot_sector))
+       if (!fat_boot_sector_set_boot_code (fs_info->boot_sector))
                goto error_free_buffers;
        if (!fat_boot_sector_generate (&fs_info->boot_sector, fs))
                goto error_free_buffers;
-       if (!fat_boot_sector_write (&fs_info->boot_sector, fs))
+       if (!fat_boot_sector_write (fs_info->boot_sector, fs))
                goto error_free_buffers;
        if (fs_info->fat_type == FAT_TYPE_FAT32) {
                if (!fat_info_sector_generate (&fs_info->info_sector, fs))
                        goto error_free_buffers;
-               if (!fat_info_sector_write (&fs_info->info_sector, fs))
+               if (!fat_info_sector_write (fs_info->info_sector, fs))
                        goto error_free_buffers;
        }
 
@@ -484,7 +476,7 @@ fat_check (PedFileSystem* fs, PedTimer* timer)
 
        if (fs_info->fat_type == FAT_TYPE_FAT32) {
                info_free_clusters
-                       = PED_LE32_TO_CPU (fs_info->info_sector.free_clusters);
+                       = PED_LE32_TO_CPU (fs_info->info_sector->free_clusters);
                if (info_free_clusters != (FatCluster) -1
                    && info_free_clusters != fs_info->fat->free_cluster_count) {
                        if (ped_exception_throw (PED_EXCEPTION_WARNING,
index e90a81ef8e5e2eef795678985b8d92501433dd58..704ae55147cf67f82594c2b92786f62ccbf40bc4 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -77,8 +77,8 @@ struct __attribute__ ((packed)) _FatDirEntry {
 };
 
 struct _FatSpecific {
-       FatBootSector   boot_sector;    /* structure of boot sector */
-       FatInfoSector   info_sector;    /* fat32-only information sector */
+       FatBootSector   *boot_sector;    /* structure of boot sector */
+       FatInfoSector   *info_sector;    /* fat32-only information sector */
 
        int             logical_sector_size;    /* illogical sector size :-) */
        PedSector       sector_count;
index f0b87240d6ef7f21a00b67b754a99713eda31078..5c3a440f0b2d2dc98a3093dae42cc3213aaf8f29 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index c7c6b2620cd70bd18a607eb748000d79782ce511..11401f249417bf18ce1d35bd2582a77070c37457 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 867448faa63517a6d188a4c03af37681a7121847..919acf0ef2c9d11df2d914fa2a3442e72711b075 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -667,10 +667,12 @@ create_resize_context (PedFileSystem* fs, const PedGeometry* new_geom)
                goto error_free_new_fs;
 
 /* preserve boot code, etc. */
-       memcpy (&new_fs_info->boot_sector, &fs_info->boot_sector,
-               sizeof (FatBootSector));
-       memcpy (&new_fs_info->info_sector, &fs_info->info_sector,
-               sizeof (FatInfoSector));
+       new_fs_info->boot_sector = ped_malloc (new_geom->dev->sector_size);
+       new_fs_info->info_sector = ped_malloc (new_geom->dev->sector_size);
+       memcpy (new_fs_info->boot_sector, fs_info->boot_sector,
+               new_geom->dev->sector_size);
+       memcpy (new_fs_info->info_sector, fs_info->info_sector,
+               new_geom->dev->sector_size);
 
        new_fs_info->logical_sector_size = fs_info->logical_sector_size;
        new_fs_info->sector_count = new_geom->length;
@@ -857,10 +859,10 @@ fat_resize (PedFileSystem* fs, PedGeometry* geom, PedTimer* timer)
 
        _copy_hidden_sectors (ctx);
        fat_boot_sector_generate (&new_fs_info->boot_sector, new_fs);
-       fat_boot_sector_write (&new_fs_info->boot_sector, new_fs);
+       fat_boot_sector_write (new_fs_info->boot_sector, new_fs);
        if (new_fs_info->fat_type == FAT_TYPE_FAT32) {
                fat_info_sector_generate (&new_fs_info->info_sector, new_fs);
-               fat_info_sector_write (&new_fs_info->info_sector, new_fs);
+               fat_info_sector_write (new_fs_info->info_sector, new_fs);
        }
 
        if (!resize_context_assimilate (ctx))
index 61092bd6ecc33b71ef945aa4709a54cf4d65c8e9..adb78a654510545a468727b37eba813974363260 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -129,7 +129,7 @@ fat_table_read (FatTable* ft, const PedFileSystem* fs, int table_num)
                                fs_info->fat_sectors))
                return 0;
 
-        if ( *((unsigned char*) ft->table) != fs_info->boot_sector.media) {
+        if ( *((unsigned char*) ft->table) != fs_info->boot_sector->media) {
                if (ped_exception_throw (
                        PED_EXCEPTION_ERROR,
                        PED_EXCEPTION_IGNORE_CANCEL,
@@ -137,7 +137,7 @@ fat_table_read (FatTable* ft, const PedFileSystem* fs, int table_num)
                          "media %x.  You should probably run scandisk."),
                        (int) table_num + 1,
                        (int) *((unsigned char*) ft->table),
-                       (int) fs_info->boot_sector.media)
+                       (int) fs_info->boot_sector->media)
                                != PED_EXCEPTION_IGNORE)
                        return 0;
         }
index d507fead8f269114253680ab8debd6ebcf2f879d..b6517ae6ee21a42895019ce9237aa08849612f47 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index a120f4e416e1e62eba414ca114f179614441723f..f2efbdff02fb46fdfef434188a8887fb836297d4 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2005, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2005, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 1f731b973d113b1605034a49882b5ebf5ecc560c..1c42f07303f1b90b46589f3e5c2f56043cd7e213 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1998-2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1998-2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 7bffea071acca4a266f2494ff2ad982c1ebc862e..d5d56a7c64f4ae957fe1b464a0ae35e6d4fb4e71 100644 (file)
@@ -1,5 +1,5 @@
 /* libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 337c449603387c69cea74970ca7daa271bcbb732..239847868916810712e3311cb2f0d933c9f9e377 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 260e4321ce414396fa39c72d98b82105209e4de3..60c375ddd6dd582128773ec4e567d25ff5e3f7d1 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index b7f241517a4c8bedc929b9b829432d5c47594b0f..0c5f1c3881bb84886c21bb5c7436517bdface455 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 974e421815766bd72db03f6180b024d116767b1e..130ba65c9e135f50320a136cce10893406274f16 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 6c5a7c71950e4d4821cc1ac78a17453f229b1553..68be36669719aa21f7b458bf98b3cd715ac95415 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index afcba62c3a85146b2d948a9f3b853dea080af2b4..a71cd329e7210c071faeb854c03c733419d19b2f 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index ab6344da1cf3c6c586aaa0dbd568ef424f14863e..cfb7136415e68589a15fa983f703845228e5ca81 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index f77874524cd02140684aea3c3cba3092091449d6..6cbc1de26f3d765acdb846ddadcb70bf278480c5 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 9a7c9051cbe7806946d83326b9a5c733c493ed88..33c7797770823c8e0e183ba3533a43032e5fe449 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 19aedf4c849589f87fe903b83e1ad5cbfad9078b..ec717e72aee5abf78d9c515bd00dda62e25eae3c 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index f7f98f4dd725f54ae72844a1de7d212c5613cae3..a1c37cc7c1f4c32d861ea7c4d0c46b308181538d 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2003-2005, 2007, 2009-2012 Free Software Foundation,
+    Copyright (C) 2000, 2003-2005, 2007, 2009-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
index 4e15e790bc3d2936ed9509ea7d52c1a54e895b08..6cd27cade5e0781343016be2229729f3a8ef01b5 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2003-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2003-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 80eb6d06725512dc003fdd08f1934ec55151a853..9080e14184bde0b1dbbe9729a54ab72fb4c54aa6 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index b13087430d488f731b2a1e47687aaed295dd854a..117b440f0d4b69899e2112b73f432c2935ccb4b5 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 376a821744ff13eace1714a7004cd30970891ef0..a1c7f4e0033fba7fdcf48b80b4b11eb53c0beead 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index ba754bb2dd4e80054ec912358851fdcbcd44304b..734f1020803406ecfe8f34f8c76d3a662a47ce7f 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index e3b6b40024218fb4e245ffa59c22b6c9be895489..a4af6d362d03fd3bf2fd9b9ca91277cbc6f95b42 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 294e1580e1ea6f7cc49db7c0da59bd849d571e0d..74a03ceab214a58076aef098c9548a2980197eb3 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index c566e7291adf20627f12b9a6358f05284747a7f2..5f4d0b974acf71b2f5a75a4aaa187d7cb8b9a33b 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004-2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004-2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index afcd750ae190a769b1035771c650ad2584bae5fd..4e1746216e357878b6b1ae4edf803dc2df550495 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2004, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2004, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 6344152e335fd9fd22adf9a6535996a4b2184cc2..2efcdf300a9f24160d79c57f0f9f39c979ccce70 100644 (file)
@@ -1,6 +1,6 @@
 /*
     reiserfs.c -- libparted / libreiserfs glue
-    Copyright (C) 2001-2002, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001-2002, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -46,8 +46,6 @@
 
 #include "reiserfs.h"
 
-#define REISERFS_BLOCK_SIZES       ((int[2]){512, 0})
-
 static PedSector reiserfs_super_offset[] = { 128, 16, -1 };
 static PedFileSystemType* reiserfs_type;
 
@@ -57,29 +55,28 @@ static PedFileSystemType* reiserfs_type;
 static PedGeometry *reiserfs_probe(PedGeometry *geom)
 {
        int i;
-       reiserfs_super_block_t sb;
 
        PED_ASSERT(geom != NULL);
+       reiserfs_super_block_t *sb = alloca (geom->dev->sector_size);
 
        for (i = 0; reiserfs_super_offset[i] != -1; i++) {
                if (reiserfs_super_offset[i] >= geom->length)
                        continue;
-               if (!ped_geometry_read (geom, &sb, reiserfs_super_offset[i], 1))
+               if (!ped_geometry_read (geom, sb, reiserfs_super_offset[i], 1))
                        continue;
 
-               if (strncmp(REISERFS_SIGNATURE, sb.s_magic,
+               if (strncmp(REISERFS_SIGNATURE, sb->s_magic,
                            strlen(REISERFS_SIGNATURE)) == 0
-                   || strncmp(REISER2FS_SIGNATURE, sb.s_magic,
+                   || strncmp(REISER2FS_SIGNATURE, sb->s_magic,
                               strlen(REISER2FS_SIGNATURE)) == 0
-                   || strncmp(REISER3FS_SIGNATURE, sb.s_magic,
+                   || strncmp(REISER3FS_SIGNATURE, sb->s_magic,
                               strlen(REISER3FS_SIGNATURE)) == 0) {
                        PedSector block_size;
                        PedSector block_count;
 
-                       block_size = PED_LE16_TO_CPU(sb.s_blocksize)
-                                       / PED_SECTOR_SIZE_DEFAULT;
-                       block_count = PED_LE32_TO_CPU(sb.s_block_count);
-
+                       block_size = PED_LE16_TO_CPU(sb->s_blocksize)
+                                       / geom->dev->sector_size;
+                       block_count = PED_LE32_TO_CPU(sb->s_block_count);
                        return ped_geometry_new(geom->dev, geom->start,
                                                block_size * block_count);
                }
@@ -88,8 +85,6 @@ static PedGeometry *reiserfs_probe(PedGeometry *geom)
 }
 
 
-#define REISER_BLOCK_SIZES ((int[]){512, 1024, 2048, 4096, 8192, 0})
-
 static PedFileSystemOps reiserfs_simple_ops = {
        probe:          reiserfs_probe,
 };
@@ -98,7 +93,6 @@ static PedFileSystemType reiserfs_simple_type = {
        next:           NULL,
        ops:            &reiserfs_simple_ops,
        name:           "reiserfs",
-        block_sizes:    REISER_BLOCK_SIZES
 };
 
 void ped_file_system_reiserfs_init()
index 464cd1e891be64f715637d2a2c49b2ce25281cab..33a333b26d3fceae9fb6df4a762c3e48d77eb57e 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index d9b059de5d8c83c0ef3e3f67b425d7003cd55cac..cf0f44146a8763536e5c2a3ac593211cbb1411a8 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #include <unistd.h>
 #include <string.h>
 
-#define SUN_UFS_BLOCK_SIZES       ((int[2]){512, 0})
-#define HP_UFS_BLOCK_SIZES        ((int[2]){512, 0})
-
-
 /* taken from ufs_fs.h in Linux */
 #define        UFS_MAXNAMLEN 255
 #define UFS_MAXMNTLEN 512
@@ -178,24 +174,26 @@ struct ufs_super_block {
 static PedGeometry*
 ufs_probe_sun (PedGeometry* geom)
 {
-       int8_t buf[512 * 3];
+       const int       sectors = ((3 * 512) + geom->dev->sector_size - 1) /
+                                  geom->dev->sector_size;
+       char *          buf = alloca (sectors * geom->dev->sector_size);
        struct ufs_super_block *sb;
 
        if (geom->length < 5)
                return 0;
-       if (!ped_geometry_read (geom, buf, 16, 3))
+       if (!ped_geometry_read (geom, buf, 16 * 512 / geom->dev->sector_size, sectors))
                return 0;
 
        sb = (struct ufs_super_block *)buf;
 
        if (PED_BE32_TO_CPU(sb->fs_magic) == UFS_MAGIC) {
-               PedSector block_size = PED_BE32_TO_CPU(sb->fs_bsize) / 512;
+               PedSector block_size = PED_BE32_TO_CPU(sb->fs_bsize) / geom->dev->sector_size;
                PedSector block_count = PED_BE32_TO_CPU(sb->fs_size);
                return ped_geometry_new (geom->dev, geom->start,
                                         block_size * block_count);
        }
        if (PED_LE32_TO_CPU(sb->fs_magic) == UFS_MAGIC) {
-               PedSector block_size = PED_LE32_TO_CPU(sb->fs_bsize) / 512;
+               PedSector block_size = PED_LE32_TO_CPU(sb->fs_bsize) / geom->dev->sector_size;
                PedSector block_count = PED_LE32_TO_CPU(sb->fs_size);
                return ped_geometry_new (geom->dev, geom->start,
                                         block_size * block_count);
@@ -206,14 +204,17 @@ ufs_probe_sun (PedGeometry* geom)
 static PedGeometry*
 ufs_probe_hp (PedGeometry* geom)
 {
-       int8_t buf[1536];
        struct ufs_super_block *sb;
        PedSector block_size;
        PedSector block_count;
 
        if (geom->length < 5)
                return 0;
-       if (!ped_geometry_read (geom, buf, 16, 3))
+       const int       sectors = ((3 * 512) + geom->dev->sector_size - 1) /
+                                  geom->dev->sector_size;
+       char *          buf = alloca (sectors * geom->dev->sector_size);
+
+       if (!ped_geometry_read (geom, buf, 16 * 512 / geom->dev->sector_size, sectors))
                return 0;
 
        sb = (struct ufs_super_block *)buf;
@@ -223,7 +224,7 @@ ufs_probe_hp (PedGeometry* geom)
                case UFS_MAGIC_LFN:
                case UFS_MAGIC_FEA:
                case UFS_MAGIC_4GB:
-                       block_size = PED_BE32_TO_CPU(sb->fs_bsize) / 512;
+                       block_size = PED_BE32_TO_CPU(sb->fs_bsize) / geom->dev->sector_size;
                        block_count = PED_BE32_TO_CPU(sb->fs_size);
                        return ped_geometry_new (geom->dev, geom->start,
                                                 block_size * block_count);
@@ -234,7 +235,7 @@ ufs_probe_hp (PedGeometry* geom)
                case UFS_MAGIC_LFN:
                case UFS_MAGIC_FEA:
                case UFS_MAGIC_4GB:
-                       block_size = PED_LE32_TO_CPU(sb->fs_bsize) / 512;
+                       block_size = PED_LE32_TO_CPU(sb->fs_bsize) / geom->dev->sector_size;
                        block_count = PED_LE32_TO_CPU(sb->fs_size);
                        return ped_geometry_new (geom->dev, geom->start,
                                                 block_size * block_count);
@@ -254,14 +255,12 @@ static PedFileSystemType ufs_type_sun = {
        next:   NULL,
        ops:    &ufs_ops_sun,
        name:   "sun-ufs",
-       block_sizes: SUN_UFS_BLOCK_SIZES
 };
 
 static PedFileSystemType ufs_type_hp = {
        next:   NULL,
        ops:    &ufs_ops_hp,
        name:   "hp-ufs",
-       block_sizes: HP_UFS_BLOCK_SIZES
 };
 
 void
index b360abe6d8f937c7851e5091626175add08dee47..e4314a837315ef988aaa2f2ca0804e3c6c6ef368 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2001, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #include "xfs_types.h"
 #include "xfs_sb.h"
 
-#define XFS_BLOCK_SIZES                ((int[2]){512, 0})
-
 static PedGeometry*
 xfs_probe (PedGeometry* geom)
 {
        PedSector       block_size;
        PedSector       block_count;
-       union {
-               struct xfs_sb   sb;
-               char            bytes [512];
-       } buf;
+       struct xfs_sb   *sb = alloca (geom->dev->sector_size);
 
        if (geom->length < XFS_SB_DADDR + 1)
                return NULL;
-       if (!ped_geometry_read (geom, &buf, XFS_SB_DADDR, 1))
+       if (!ped_geometry_read (geom, sb, XFS_SB_DADDR, 1))
                return NULL;
 
-       if (PED_LE32_TO_CPU (buf.sb.sb_magicnum) == XFS_SB_MAGIC) {
-               block_size = PED_LE32_TO_CPU (buf.sb.sb_blocksize) / 512;
-               block_count = PED_LE64_TO_CPU (buf.sb.sb_dblocks);
+       if (PED_LE32_TO_CPU (sb->sb_magicnum) == XFS_SB_MAGIC) {
+               block_size = PED_LE32_TO_CPU (sb->sb_blocksize) / geom->dev->sector_size;
+               block_count = PED_LE64_TO_CPU (sb->sb_dblocks);
 
                return ped_geometry_new (geom->dev, geom->start,
                                         block_size * block_count);
        }
 
-       if (PED_BE32_TO_CPU (buf.sb.sb_magicnum) == XFS_SB_MAGIC) {
-               block_size = PED_BE32_TO_CPU (buf.sb.sb_blocksize) / 512;
-               block_count = PED_BE64_TO_CPU (buf.sb.sb_dblocks);
+       if (PED_BE32_TO_CPU (sb->sb_magicnum) == XFS_SB_MAGIC) {
+               block_size = PED_BE32_TO_CPU (sb->sb_blocksize) / geom->dev->sector_size;
+               block_count = PED_BE64_TO_CPU (sb->sb_dblocks);
 
-               return ped_geometry_new (geom->dev, geom->start,
+               geom = ped_geometry_new (geom->dev, geom->start,
                                         block_size * block_count);
+               return geom;
        }
-
        return NULL;
 }
 
@@ -77,7 +72,6 @@ static PedFileSystemType xfs_type = {
        next:   NULL,
        ops:    &xfs_ops,
        name:   "xfs",
-       block_sizes: XFS_BLOCK_SIZES
 };
 
 void
index 7fe347bb704624658f068b729ed0e16d80fc0583..c996f8183c86a1aff3739718169596287fc1754a 100644 (file)
@@ -1,5 +1,5 @@
 # This file is part of GNU Parted
-# Copyright (C) 1999-2001, 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007-2014 Free Software Foundation, Inc.
 #
 # This file may be modified and/or distributed without restriction.
 
@@ -37,12 +37,13 @@ liblabels_la_SOURCES = \
 
 liblabels_la_LIBADD = $(OS_LIBS) $(INTLLIBS)
 
-INCLUDES = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
 
+# Included by 'pt-tools.c', so needs to be built early.
 BUILT_SOURCES = pt-limit.c
 MAINTAINERCLEANFILES = $(BUILT_SOURCES)
-liblabels_la_SOURCES += pt-limit.gperf
-EXTRA_DIST = $(BUILT_SOURCES)
+# DOn't add this to '_SOURCES', because it's not to be compiled!
+EXTRA_DIST= pt-limit.c
 
 GPERF = gperf
 GPERF_OPTIONS = \
@@ -55,3 +56,4 @@ pt-limit.c: pt-limit.gperf
          > $@-tmp
        chmod a-w $@-tmp
        mv $@-tmp $@
+EXTRA_DIST += pt-limit.gperf
index 60ff8290153a3d6ec74ba8b3ea1d89ec84864f12..c15e80a62359a62489ae7ab7b1b9d66fe1d89be8 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 @SET_MAKE@
 
 # This file is part of GNU Parted
-# Copyright (C) 1999-2001, 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007-2014 Free Software Foundation, Inc.
 #
 # This file may be modified and/or distributed without restriction.
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -56,13 +83,13 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = libparted/labels
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/build-aux/depcomp
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -70,16 +97,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -89,35 +117,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -146,7 +175,7 @@ liblabels_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
        $(am__DEPENDENCIES_1)
 am__liblabels_la_SOURCES_DIST = dasd.c fdasd.c vtoc.c aix.c bsd.c \
        dos.c dvh.c dvh.h efi_crc32.c gpt.c loop.c mac.c misc.h pc98.c \
-       pt-common.h pt-tools.c pt-tools.h rdb.c sun.c pt-limit.gperf
+       pt-common.h pt-tools.c pt-tools.h rdb.c sun.c
 @COMPILE_FOR_S390_TRUE@am__objects_1 = dasd.lo fdasd.lo vtoc.lo
 am_liblabels_la_OBJECTS = $(am__objects_1) aix.lo bsd.lo dos.lo dvh.lo \
        efi_crc32.lo gpt.lo loop.lo mac.lo pc98.lo pt-tools.lo rdb.lo \
@@ -155,6 +184,19 @@ liblabels_la_OBJECTS = $(am_liblabels_la_OBJECTS)
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
+am__v_lt_1 = 
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -168,9 +210,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CC = $(am__v_CC_@AM_V@)
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC      " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_1 = 
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -178,11 +218,31 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD    " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_CCLD_1 = 
 SOURCES = $(liblabels_la_SOURCES)
 DIST_SOURCES = $(am__liblabels_la_SOURCES_DIST)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -264,7 +324,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -301,7 +360,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -317,6 +375,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -392,6 +451,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -516,7 +576,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -540,7 +599,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -614,6 +672,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -623,10 +682,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -756,7 +813,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -776,7 +832,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -840,21 +895,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -883,6 +943,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -917,6 +978,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -966,6 +1029,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1022,6 +1087,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1038,14 +1104,33 @@ partedincludedir = \
   -I$(top_srcdir)/libparted
 
 noinst_LTLIBRARIES = liblabels.la
-liblabels_la_SOURCES = $(S390_SRCS) aix.c bsd.c dos.c dvh.c dvh.h \
-       efi_crc32.c gpt.c loop.c mac.c misc.h pc98.c pt-common.h \
-       pt-tools.c pt-tools.h rdb.c sun.c pt-limit.gperf
+liblabels_la_SOURCES = \
+  $(S390_SRCS) \
+  aix.c                \
+  bsd.c                \
+  dos.c                \
+  dvh.c                \
+  dvh.h                \
+  efi_crc32.c  \
+  gpt.c                \
+  loop.c       \
+  mac.c                \
+  misc.h       \
+  pc98.c       \
+  pt-common.h  \
+  pt-tools.c   \
+  pt-tools.h   \
+  rdb.c                \
+  sun.c
+
 liblabels_la_LIBADD = $(OS_LIBS) $(INTLLIBS)
-INCLUDES = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
+
+# Included by 'pt-tools.c', so needs to be built early.
 BUILT_SOURCES = pt-limit.c
 MAINTAINERCLEANFILES = $(BUILT_SOURCES)
-EXTRA_DIST = $(BUILT_SOURCES)
+# DOn't add this to '_SOURCES', because it's not to be compiled!
+EXTRA_DIST = pt-limit.c pt-limit.gperf
 GPERF = gperf
 GPERF_OPTIONS = \
   -C -N pt_limit_lookup -n -t -s 6 -k '*' --language=ANSI-C
@@ -1096,6 +1181,7 @@ clean-noinstLTLIBRARIES:
          echo rm -f $${locs}; \
          rm -f $${locs}; \
        }
+
 liblabels.la: $(liblabels_la_OBJECTS) $(liblabels_la_DEPENDENCIES) $(EXTRA_liblabels_la_DEPENDENCIES) 
        $(AM_V_CCLD)$(LINK)  $(liblabels_la_OBJECTS) $(liblabels_la_LIBADD) $(LIBS)
 
@@ -1122,22 +1208,25 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vtoc.Plo@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
 
 .c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
@@ -1148,26 +1237,15 @@ mostlyclean-libtool:
 clean-libtool:
        -rm -rf .libs _libs
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1179,15 +1257,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1196,9 +1270,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
 
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1355,9 +1430,9 @@ uninstall-am:
 
 .MAKE: all check install install-am install-strip
 
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libtool clean-noinstLTLIBRARIES cscopelist ctags \
-       distclean distclean-compile distclean-generic \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
+       clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \
+       ctags-am distclean distclean-compile distclean-generic \
        distclean-libtool distclean-tags distdir dvi dvi-am html \
        html-am info info-am install install-am install-data \
        install-data-am install-dvi install-dvi-am install-exec \
@@ -1367,7 +1442,7 @@ uninstall-am:
        installcheck-am installdirs maintainer-clean \
        maintainer-clean-generic mostlyclean mostlyclean-compile \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags uninstall uninstall-am
+       tags tags-am uninstall uninstall-am
 
 
 pt-limit.c: pt-limit.gperf
index 897253ec36f6e5e96930388bd6c4acc27df1fcc8..0fa6fe754e62bf9bf2fb7da573db0aed8e01798f 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 397062399cdbbe4ed3d2df6966a6c4cc71b55f91..a8525a4a97bc921c3acc1ed473051c3d19b59eed 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index c8bd2678092f31bd486a618147d82daefb271e5b..fa9414f25239351701e9dff70c7691d4629fccc6 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -71,6 +71,7 @@ typedef struct {
 
 typedef struct {
        unsigned int format_type;
+       unsigned int label_block;
        volume_label_t vlabel;
 } DasdDiskSpecific;
 
@@ -151,6 +152,7 @@ dasd_alloc (const PedDevice* dev)
 
        /* CDL format, newer */
        disk_specific->format_type = 2;
+       disk_specific->label_block = 2;
 
        /* Setup volume label (for fresh disks) */
        snprintf(volser, sizeof(volser), "0X%04X", arch_specific->devno);
@@ -226,7 +228,9 @@ dasd_probe (const PedDevice *dev)
 
        fdasd_check_api_version(&anchor, arch_specific->fd);
 
-       if (fdasd_check_volume(&anchor, arch_specific->fd))
+       /* Labels are required on CDL formatted DASDs. */
+       if (fdasd_check_volume(&anchor, arch_specific->fd) &&
+           anchor.FBA_layout == 0)
                goto error_cleanup;
 
        fdasd_cleanup(&anchor);
@@ -273,17 +277,53 @@ dasd_read (PedDisk* disk)
        fdasd_initialize_anchor(&anchor);
 
        fdasd_get_geometry(disk->dev, &anchor, arch_specific->fd);
+       disk_specific->label_block = anchor.label_block;
+
+       if ((anchor.geo.cylinders * anchor.geo.heads) > BIG_DISK_SIZE)
+               anchor.big_disk++;
 
        /* check dasd for labels and vtoc */
-       if (fdasd_check_volume(&anchor, arch_specific->fd))
-               goto error_close_dev;
+       if (fdasd_check_volume(&anchor, arch_specific->fd)) {
+               DasdPartitionData* dasd_data;
+
+               /* Kernel partitioning code will report 'implicit' partitions
+                * for non-CDL format DASDs even when there is no
+                * label/VTOC.  */
+               if (anchor.FBA_layout == 0)
+                       goto error_close_dev;
+
+               disk_specific->format_type = 1;
+
+               /* Register implicit partition */
+               ped_disk_delete_all (disk);
+
+               start = (PedSector) arch_specific->real_sector_size /
+                       (PedSector) disk->dev->sector_size *
+                       (PedSector) (anchor.label_block + 1);
+               end = disk->dev->length - 1;
+               part = ped_partition_new (disk, PED_PARTITION_NORMAL, NULL,
+                                         start, end);
+               if (!part)
+                       goto error_close_dev;
+
+               part->num = 1;
+               part->fs_type = ped_file_system_probe (&part->geom);
+               dasd_data = part->disk_specific;
+               dasd_data->raid = 0;
+               dasd_data->lvm = 0;
+               dasd_data->type = 0;
+
+               if (!ped_disk_add_partition (disk, part, NULL))
+                       goto error_close_dev;
+
+               fdasd_cleanup(&anchor);
+
+               return 1;
+       }
 
        /* Save volume label (read by fdasd_check_volume) for writing */
        memcpy(&disk_specific->vlabel, anchor.vlabel, sizeof(volume_label_t));
 
-       if ((anchor.geo.cylinders * anchor.geo.heads) > BIG_DISK_SIZE)
-               anchor.big_disk++;
-
        ped_disk_delete_all (disk);
 
        bool is_ldl = strncmp(anchor.vlabel->volkey,
@@ -348,7 +388,7 @@ dasd_read (PedDisk* disk)
                            / (long long) disk->dev->sector_size
                            * (long long) (cms_ptr->block_count - 1) - 1;
 
-               part = ped_partition_new (disk, PED_PARTITION_PROTECTED, NULL, start, end);
+               part = ped_partition_new (disk, PED_PARTITION_NORMAL, NULL, start, end);
                if (!part)
                        goto error_close_dev;
 
@@ -591,6 +631,7 @@ dasd_write (const PedDisk* disk)
        /* initialize the anchor */
        fdasd_initialize_anchor(&anchor);
        fdasd_get_geometry(disk->dev, &anchor, arch_specific->fd);
+       fdasd_check_volume(&anchor, arch_specific->fd);
        memcpy(anchor.vlabel, &disk_specific->vlabel, sizeof(volume_label_t));
        anchor.vlabel_changed++;
 
@@ -658,7 +699,7 @@ dasd_partition_new (const PedDisk* disk, PedPartitionType part_type,
        if (!part)
                goto error;
 
-       part->disk_specific = ped_malloc (sizeof (DasdPartitionData));
+       part->disk_specific = ped_calloc (sizeof (DasdPartitionData));
        return part;
 
 error:
@@ -923,7 +964,12 @@ dasd_alloc_metadata (PedDisk* disk)
           the start of the first partition */
        if (disk_specific->format_type == 1) {
                part = ped_disk_get_partition(disk, 1);
-               vtoc_end = part->geom.start - 1;
+               if (part)
+                       vtoc_end = part->geom.start - 1;
+               else
+                       vtoc_end = (PedSector) arch_specific->real_sector_size /
+                                  (PedSector) disk->dev->sector_size *
+                                  (PedSector) disk_specific->label_block;
        }
        else {
                 if (disk->dev->type == PED_DEVICE_FILE)
@@ -943,7 +989,7 @@ dasd_alloc_metadata (PedDisk* disk)
                goto error;
        }
 
-       if (disk_specific->format_type == 1) {
+       if (disk_specific->format_type == 1 && part) {
           /*
              For LDL or CMS there may be trailing metadata as well.
              For example: the last block of a CMS reserved file,
index 1d3a86714c168266c184c8320456288a12b478e9..fa53020443276e4686165ae0bf0dea816e44bb74 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2004-2005, 2007-2012 Free Software Foundation,
+    Copyright (C) 1999-2001, 2004-2005, 2007-2014 Free Software Foundation,
     Inc.
 
     This program is free software; you can redistribute it and/or modify
@@ -85,12 +85,14 @@ static const char MBR_BOOT_CODE[] = {
 #define PARTITION_LDM          0x42
 #define PARTITION_LINUX_SWAP   0x82
 #define PARTITION_LINUX                0x83
+#define PARTITION_IRST         0x84
 #define PARTITION_LINUX_EXT    0x85
 #define PARTITION_LINUX_LVM    0x8e
 #define PARTITION_HFS          0xaf
 #define PARTITION_SUN_UFS      0xbf
 #define PARTITION_DELL_DIAG    0xde
 #define PARTITION_GPT          0xee
+#define PARTITION_ESP          0xef
 #define PARTITION_PALO         0xf0
 #define PARTITION_PREP         0x41
 #define PARTITION_LINUX_RAID   0xfd
@@ -159,6 +161,8 @@ typedef struct {
        int             palo;
        int             prep;
        int             diag;
+       int             irst;
+       int             esp;
        OrigState*      orig;                   /* used for CHS stuff */
 } DosPartitionData;
 
@@ -231,12 +235,23 @@ maybe_FAT (unsigned char const *s)
   return true;
 }
 
+PedGeometry*
+fat_probe_fat16 (PedGeometry* geom);
+
+PedGeometry*
+fat_probe_fat32 (PedGeometry* geom);
+
+PedGeometry*
+ntfs_probe (PedGeometry* geom);
+
 static int
 msdos_probe (const PedDevice *dev)
 {
        PedDiskType*    disk_type;
        DosRawTable*    part_table;
        int             i;
+       PedGeometry *geom = NULL;
+       PedGeometry *fsgeom = NULL;
 
        PED_ASSERT (dev != NULL);
 
@@ -253,6 +268,20 @@ msdos_probe (const PedDevice *dev)
        if (PED_LE16_TO_CPU (part_table->magic) != MSDOS_MAGIC)
                goto probe_fail;
 
+       geom = ped_geometry_new (dev, 0, dev->length);
+       PED_ASSERT (geom);
+       fsgeom = fat_probe_fat16 (geom);
+       if (fsgeom)
+               goto probe_fail; /* fat fs looks like dos mbr */
+       fsgeom = fat_probe_fat32 (geom);
+       if (fsgeom)
+               goto probe_fail; /* fat fs looks like dos mbr */
+       fsgeom = ntfs_probe (geom);
+       if (fsgeom)
+               goto probe_fail; /* ntfs fs looks like dos mbr */
+       ped_geometry_destroy (geom);
+       geom = NULL;
+
        /* If this is a FAT fs, fail here.  Checking for the FAT signature
         * has some false positives; instead, do what the Linux kernel does
         * and ensure that each partition has a boot indicator that is
@@ -299,6 +328,10 @@ msdos_probe (const PedDevice *dev)
        return 1;
 
  probe_fail:
+       if (geom)
+               ped_geometry_destroy (geom);
+       if (fsgeom)
+               ped_geometry_destroy (fsgeom);
        free (label);
        return 0;
 }
@@ -924,6 +957,8 @@ raw_part_parse (const PedDisk* disk, const DosRawPartition* raw_part,
        dos_data->lba = raw_part_is_lba (raw_part);
        dos_data->palo = raw_part->type == PARTITION_PALO;
        dos_data->prep = raw_part->type == PARTITION_PREP;
+       dos_data->irst = raw_part->type == PARTITION_IRST;
+       dos_data->esp = raw_part->type == PARTITION_ESP;
        dos_data->orig = ped_malloc (sizeof (OrigState));
        if (!dos_data->orig) {
                ped_partition_destroy (part);
@@ -1236,16 +1271,6 @@ write_extended_partitions (const PedDisk* disk)
                return write_empty_table (disk, ext_part->geom.start);
 }
 
-static inline uint32_t generate_random_id (void)
-{
-       struct timeval tv;
-       int rc;
-       rc = gettimeofday(&tv, NULL);
-       if (rc == -1)
-               return 0;
-       return (uint32_t)(tv.tv_usec & 0xFFFFFFFFUL);
-}
-
 static int
 msdos_write (const PedDisk* disk)
 {
@@ -1267,7 +1292,7 @@ msdos_write (const PedDisk* disk)
 
        /* If there is no unique identifier, generate a random one */
        if (!table->mbr_signature)
-               table->mbr_signature = generate_random_id();
+               table->mbr_signature = generate_random_uint32 ();
 
        memset (table->partitions, 0, sizeof (table->partitions));
        table->magic = PED_CPU_TO_LE16 (MSDOS_MAGIC);
@@ -1326,6 +1351,8 @@ msdos_partition_new (const PedDisk* disk, PedPartitionType part_type,
                dos_data->lba = 0;
                dos_data->palo = 0;
                dos_data->prep = 0;
+               dos_data->irst = 0;
+               dos_data->esp = 0;
        } else {
                part->disk_specific = NULL;
        }
@@ -1361,6 +1388,8 @@ msdos_partition_duplicate (const PedPartition* part)
        new_dos_data->lba = old_dos_data->lba;
        new_dos_data->palo = old_dos_data->palo;
        new_dos_data->prep = old_dos_data->prep;
+       new_dos_data->irst = old_dos_data->irst;
+       new_dos_data->esp = old_dos_data->esp;
 
        if (old_dos_data->orig) {
                new_dos_data->orig = ped_malloc (sizeof (OrigState));
@@ -1409,6 +1438,8 @@ msdos_partition_set_system (PedPartition* part,
                dos_data->lvm = 0;
                dos_data->palo = 0;
                dos_data->prep = 0;
+               dos_data->irst = 0;
+               dos_data->esp = 0;
                if (dos_data->lba)
                        dos_data->system = PARTITION_EXT_LBA;
                else
@@ -1441,6 +1472,14 @@ msdos_partition_set_system (PedPartition* part,
                dos_data->system = PARTITION_PREP;
                return 1;
        }
+       if (dos_data->irst) {
+               dos_data->system = PARTITION_IRST;
+               return 1;
+       }
+       if (dos_data->esp) {
+               dos_data->system = PARTITION_ESP;
+               return 1;
+       }
 
        if (!fs_type)
                dos_data->system = PARTITION_LINUX;
@@ -1477,6 +1516,8 @@ clear_flags (DosPartitionData *dos_data)
   dos_data->lvm = 0;
   dos_data->palo = 0;
   dos_data->prep = 0;
+  dos_data->irst = 0;
+  dos_data->esp = 0;
   dos_data->raid = 0;
 }
 
@@ -1555,6 +1596,18 @@ msdos_partition_set_flag (PedPartition* part,
                dos_data->prep = state;
                return ped_partition_set_system (part, part->fs_type);
 
+       case PED_PARTITION_IRST:
+               if (state)
+                       clear_flags (dos_data);
+               dos_data->irst = state;
+               return ped_partition_set_system (part, part->fs_type);
+
+       case PED_PARTITION_ESP:
+               if (state)
+                       clear_flags (dos_data);
+               dos_data->esp = state;
+               return ped_partition_set_system (part, part->fs_type);
+
        default:
                return 0;
        }
@@ -1597,6 +1650,12 @@ msdos_partition_get_flag (const PedPartition* part, PedPartitionFlag flag)
        case PED_PARTITION_PREP:
                return dos_data->prep;
 
+       case PED_PARTITION_IRST:
+               return dos_data->irst;
+
+       case PED_PARTITION_ESP:
+               return dos_data->esp;
+
        default:
                return 0;
        }
@@ -1619,6 +1678,8 @@ msdos_partition_is_flag_available (const PedPartition* part,
        case PED_PARTITION_LBA:
        case PED_PARTITION_PALO:
        case PED_PARTITION_PREP:
+       case PED_PARTITION_IRST:
+       case PED_PARTITION_ESP:
        case PED_PARTITION_DIAG:
                return 1;
 
index f8179744165588b7a90178f4cfecf2b4da341441..158b0b3c45d211df966a7d7bace0db59231e4902 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2001-2002, 2005, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001-2002, 2005, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 4c25c99d3ebaa00b5819ab00a47e86f5d659bff6..7e7fae74721ede2bd7084099e28b3f311019b52d 100644 (file)
@@ -112,8 +112,8 @@ struct device_parameters {
 
 struct volume_directory {
        char    vd_name[VDNAMESIZE];    /* name */
-       int     vd_lbn;                 /* logical block number */
-       int     vd_nbytes;              /* file length in bytes */
+       unsigned int    vd_lbn;                 /* logical block number */
+       unsigned int    vd_nbytes;              /* file length in bytes */
 };
 
 /*
@@ -125,9 +125,9 @@ struct volume_directory {
  * NOTE: pt_firstlbn SHOULD BE CYLINDER ALIGNED
  */
 struct partition_table {               /* one per logical partition */
-       int     pt_nblks;               /* # of logical blks in partition */
-       int     pt_firstlbn;            /* first lbn of partition */
-       int     pt_type;                /* use of partition */
+       unsigned int    pt_nblks;               /* # of logical blks in partition */
+       unsigned int    pt_firstlbn;            /* first lbn of partition */
+       int             pt_type;                /* use of partition */
 };
 
 #define        PTYPE_VOLHDR    0               /* partition is volume header */
index e235dd32b44c64f30f0d4ab4696f1602ccdb0c04..1f879373dbe1895e6e9335fcd64af736f2ffa215 100644 (file)
@@ -59,6 +59,48 @@ setpos (fdasd_anchor_t *anc, int dsn, int pos)
        anc->partno[dsn] = pos;
 }
 
+static u_int32_t
+get_usable_cylinders (fdasd_anchor_t *anc)
+{
+       u_int32_t cyl;
+
+       /* large volume */
+       if (anc->f4->DS4DEVCT.DS4DSCYL == LV_COMPAT_CYL &&
+           anc->f4->DS4DCYL > anc->f4->DS4DEVCT.DS4DSCYL)
+               return anc->f4->DS4DCYL;
+       /* normal volume */
+       if (anc->f4->DS4DEVCT.DS4DEVFG & ALTERNATE_CYLINDERS_USED)
+               cyl = anc->f4->DS4DEVCT.DS4DSCYL -
+                       (u_int16_t) anc->f4->DS4DEVAC;
+       else
+               cyl = anc->f4->DS4DEVCT.DS4DSCYL;
+       return cyl;
+}
+
+static void
+get_addr_of_highest_f1_f8_label (fdasd_anchor_t *anc, cchhb_t *addr)
+{
+
+       u_int8_t record;
+       /* We have to count the follwing labels:
+        * one format 4
+        * one format 5
+        * format 7 only if we have moren then BIG_DISK_SIZE tracks
+        * one for each format 1 or format 8 label == one for each partition
+        * one for each format 9 label before the last format 8
+        * We assume that all partitions use format 8 labels when
+        *  anc->formatted_cylinders > LV_COMPAT_CYL
+        * Note: Record zero is special, so block 0 on our disk is record 1!
+        */
+
+       record = anc->used_partitions + 2;
+       if (anc->big_disk)
+               record++;
+       if (anc->formatted_cylinders > LV_COMPAT_CYL)
+               record += anc->used_partitions - 1;
+       vtoc_set_cchhb(addr, VTOC_START_CC, VTOC_START_HH, record);
+}
+
 void
 fdasd_cleanup (fdasd_anchor_t *anchor)
 {
@@ -72,6 +114,7 @@ fdasd_cleanup (fdasd_anchor_t *anchor)
         free(anchor->f4);
         free(anchor->f5);
         free(anchor->f7);
+        free(anchor->f9);
         free(anchor->vlabel);
 
        p = anchor->first;
@@ -82,6 +125,7 @@ fdasd_cleanup (fdasd_anchor_t *anchor)
                if (p == NULL)
                        return;
                q = p->next;
+               free(p->f1);
                free(p);
                p = q;
        }
@@ -153,17 +197,6 @@ fdasd_error (fdasd_anchor_t *anc, enum fdasd_failure why, char const *str)
        ped_exception_throw(PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL, message);
 }
 
-/*
- * converts cyl-cyl-head-head-blk to blk
- */
-static unsigned long
-cchhb2blk (cchhb_t *p, struct fdasd_hd_geometry *geo)
-{
-       PDEBUG
-       return (unsigned long) (p->cc * geo->heads * geo->sectors
-                               + p->hh * geo->sectors + p->b);
-}
-
 /*
  * initializes the anchor structure and allocates some
  * memory for the labels
@@ -216,9 +249,16 @@ fdasd_initialize_anchor (fdasd_anchor_t * anc)
        if (anc->f7 == NULL)
                fdasd_error(anc, malloc_failed, "FMT7 DSCB.");
 
+       /* template for all format 9 labels */
+       anc->f9 = malloc(sizeof(format9_label_t));
+       if (anc->f9 == NULL)
+               fdasd_error(anc, malloc_failed, "FMT9 DSCB.");
+
        bzero(anc->f4, sizeof(format4_label_t));
        bzero(anc->f5, sizeof(format5_label_t));
        bzero(anc->f7, sizeof(format7_label_t));
+       bzero(anc->f9, sizeof(format9_label_t));
+       vtoc_init_format9_label(anc->f9);
 
        v = malloc(sizeof(volume_label_t));
        if (v == NULL)
@@ -259,6 +299,9 @@ fdasd_initialize_anchor (fdasd_anchor_t * anc)
 
                q = p;
        }
+       anc->hw_cylinders = 0;
+       anc->formatted_cylinders = 0;
+       anc->is_file = 0;
 }
 
 /*
@@ -269,44 +312,46 @@ fdasd_write_vtoc_labels (fdasd_anchor_t * anc, int fd)
 {
        PDEBUG
        partition_info_t *p;
-       unsigned long b;
+       unsigned long b, maxblk;
        char dsno[6], s1[7], s2[45], *c1, *c2, *ch;
        int i = 0, k = 0;
+       cchhb_t f9addr;
+       format1_label_t emptyf1;
 
        b = (cchhb2blk (&anc->vlabel->vtoc, &anc->geo) - 1) * anc->blksize;
        if (b <= 0)
                fdasd_error (anc, vlabel_corrupted, "");
+       maxblk = b + anc->blksize * 9; /* f4+f5+f7+3*f8+3*f9 */
 
        /* write FMT4 DSCB */
-       vtoc_write_label (fd, b, NULL, anc->f4, NULL, NULL);
+       vtoc_write_label (fd, b, NULL, anc->f4, NULL, NULL, NULL);
+       b += anc->blksize;
 
        /* write FMT5 DSCB */
+       vtoc_write_label (fd, b, NULL, NULL, anc->f5, NULL, NULL);
        b += anc->blksize;
-       vtoc_write_label (fd, b, NULL, NULL, anc->f5, NULL);
 
        /* write FMT7 DSCB */
        if (anc->big_disk) {
+               vtoc_write_label (fd, b, NULL, NULL, NULL, anc->f7, NULL);
                b += anc->blksize;
-               vtoc_write_label (fd, b, NULL, NULL, NULL, anc->f7);
        }
 
-       /* loop over all FMT1 DSCBs */
-       p = anc->first;
-       for (i = 0; i < USABLE_PARTITIONS; i++) {
-               b += anc->blksize;
+       /* loop over all partitions (format 1 or format 8 DCB) */
+       for (p = anc->first; p != NULL; p = p->next) {
 
                if (p->used != 0x01) {
-                       vtoc_write_label (fd, b, p->f1, NULL, NULL, NULL);
                        continue;
                }
 
+               i++;
                strncpy (p->f1->DS1DSSN, anc->vlabel->volid, 6);
 
                ch = p->f1->DS1DSNAM;
                vtoc_ebcdic_dec (ch, ch, 44);
                c1 = ch + 7;
 
-               if (getdsn (anc, i) > -1) {
+               if (getdsn (anc, i-1) > -1) {
                        /* re-use the existing data set name */
                        c2 = strchr (c1, '.');
                        if (c2 != NULL)
@@ -325,11 +370,7 @@ fdasd_write_vtoc_labels (fdasd_anchor_t * anc, int fd)
                        while (getpos (anc, k) > -1)
                                k++;
 
-                       setpos (anc, k, i);
-
-                       strncpy (s2, ch, 44);
-                       s2[44] = 0;
-                       vtoc_ebcdic_dec (s2, s2, 44);
+                       setpos (anc, k, i-1);
 
                        strncpy (ch, "LINUX.V               " "                      ", 44);
 
@@ -366,8 +407,32 @@ fdasd_write_vtoc_labels (fdasd_anchor_t * anc, int fd)
 
                vtoc_ebcdic_enc (ch, ch, 44);
 
-               vtoc_write_label (fd, b, p->f1, NULL, NULL, NULL);
-               p = p->next;
+               if (p->f1->DS1FMTID == 0xf8 ) {
+                       /* Now as we know where which label will be written, we
+                        * can add the address of the format 9 label to the
+                        * format 8 label. The f9 record will be written to the
+                        * block after the current blk. Remember: records are of
+                        * by one, so we have to add 2 and not just one.
+                        */
+                       vtoc_set_cchhb(&f9addr, VTOC_START_CC, VTOC_START_HH,
+                               ((b / anc->blksize) % anc->geo.sectors) + 2);
+                       vtoc_update_format8_label(&f9addr, p->f1);
+                       vtoc_write_label(fd, b, p->f1, NULL, NULL, NULL, NULL);
+                       b += anc->blksize;
+                       vtoc_write_label(fd, b, NULL, NULL, NULL, NULL,
+                                        anc->f9);
+                       b += anc->blksize;
+               } else {
+                       vtoc_write_label(fd, b, p->f1, NULL, NULL, NULL, NULL);
+                       b += anc->blksize;
+               }
+       }
+
+       /* write empty labels to the rest of the blocks */
+       bzero(&emptyf1, sizeof(emptyf1));
+       while (b < maxblk) {
+               vtoc_write_label(fd, b, &emptyf1, NULL, NULL, NULL, NULL);
+               b += anc->blksize;
        }
 }
 
@@ -394,20 +459,25 @@ int
 fdasd_prepare_labels (fdasd_anchor_t *anc, int fd)
 {
        PDEBUG
-       partition_info_t *p = anc->first;
+       partition_info_t *p;
        char dsno[6], s1[7], s2[45], *c1, *c2, *ch;
        int i = 0, k = 0;
 
-       /* loop over all FMT1 DSCBs */
-       p = anc->first;
-       for (i = 0; i < USABLE_PARTITIONS; i++) {
+       /* loop over all partitions (format 1 or format 8 DCB) */
+       for (p = anc->first; p != NULL; p = p->next) {
+
+               if (p->used != 0x01) {
+                       continue;
+               }
+
+               i++;
                strncpy (p->f1->DS1DSSN, anc->vlabel->volid, 6);
 
                ch = p->f1->DS1DSNAM;
                vtoc_ebcdic_dec (ch, ch, 44);
                c1 = ch + 7;
 
-               if (getdsn (anc, i) > -1) {
+               if (getdsn (anc, i-1) > -1) {
                        /* re-use the existing data set name */
                        c2 = strchr (c1, '.');
                        if (c2 != NULL)
@@ -426,11 +496,7 @@ fdasd_prepare_labels (fdasd_anchor_t *anc, int fd)
                        while (getpos (anc, k) > -1)
                                k++;
 
-                       setpos (anc, k, i);
-
-                       strncpy (s2, ch, 44);
-                       s2[44] = 0;
-                       vtoc_ebcdic_dec (s2, s2, 44);
+                       setpos (anc, k, i-1);
 
                        strncpy (ch, "LINUX.V               " "                      ", 44);
 
@@ -466,7 +532,6 @@ fdasd_prepare_labels (fdasd_anchor_t *anc, int fd)
                }
 
                vtoc_ebcdic_enc (ch, ch, 44);
-               p = p->next;
        }
 
        return 1;
@@ -482,6 +547,7 @@ fdasd_recreate_vtoc (fdasd_anchor_t *anc)
        vtoc_init_format4_label(anc->f4,
                                                        USABLE_PARTITIONS,
                                                        anc->geo.cylinders,
+                                               anc->formatted_cylinders,
                                                        anc->geo.heads,
                                                        anc->geo.sectors,
                                                        anc->blksize,
@@ -492,8 +558,8 @@ fdasd_recreate_vtoc (fdasd_anchor_t *anc)
        vtoc_set_freespace(anc->f4, anc->f5, anc->f7,
                                           '+', anc->verbose,
                                           FIRST_USABLE_TRK,
-                                          anc->geo.cylinders * anc->geo.heads - 1,
-                                          anc->geo.cylinders, anc->geo.heads);
+                               anc->formatted_cylinders * anc->geo.heads - 1,
+                               anc->formatted_cylinders, anc->geo.heads);
 
        for (i = 0; i < USABLE_PARTITIONS; i++) {
                bzero(p->f1, sizeof(format1_label_t));
@@ -507,7 +573,8 @@ fdasd_recreate_vtoc (fdasd_anchor_t *anc)
        }
 
        anc->used_partitions = 0;
-       anc->fspace_trk = anc->geo.cylinders * anc->geo.heads - FIRST_USABLE_TRK;
+       anc->fspace_trk = anc->formatted_cylinders * anc->geo.heads -
+                         FIRST_USABLE_TRK;
 
        for (i=0; i<USABLE_PARTITIONS; i++)
                setpos(anc, i, -1);
@@ -515,6 +582,22 @@ fdasd_recreate_vtoc (fdasd_anchor_t *anc)
        anc->vtoc_changed++;
 }
 
+ /*
+ * initialize the VOL1 volume label
+ */
+static void
+fdasd_init_volume_label(fdasd_anchor_t *anc, int fd)
+{
+       volume_label_t *vlabel = anc->vlabel;
+
+       vtoc_volume_label_init(vlabel);
+       vtoc_volume_label_set_key(vlabel, "VOL1");
+       vtoc_volume_label_set_label(vlabel, "VOL1");
+
+       vtoc_set_cchhb(&vlabel->vtoc, VTOC_START_CC, VTOC_START_HH, 0x01);
+}
+
+
 /*
  * sets some important partition data
  * (like used, start_trk, end_trk, len_trk)
@@ -526,15 +609,15 @@ fdasd_update_partition_info (fdasd_anchor_t *anc)
 {
        PDEBUG
        partition_info_t *q = NULL, *p = anc->first;
-       unsigned int h = anc->geo.heads;
-       unsigned long max = anc->geo.cylinders * h - 1;
+       unsigned long max = anc->formatted_cylinders * anc->geo.heads - 1;
        int i;
        char *ch;
 
        anc->used_partitions = anc->geo.sectors - 2 - anc->f4->DS4DSREC;
 
        for (i = 1; i <= USABLE_PARTITIONS; i++) {
-               if (p->f1->DS1FMTID != 0xf1) {
+               if (p->f1->DS1FMTID != 0xf1 &&
+                   p->f1->DS1FMTID != 0xf8) {
                        if (i == 1)
                                /* there is no partition at all */
                                anc->fspace_trk = max - FIRST_USABLE_TRK + 1;
@@ -546,8 +629,8 @@ fdasd_update_partition_info (fdasd_anchor_t *anc)
 
                /* this is a valid format 1 label */
                p->used = 0x01;
-               p->start_trk = p->f1->DS1EXT1.llimit.cc * h + p->f1->DS1EXT1.llimit.hh;
-               p->end_trk   = p->f1->DS1EXT1.ulimit.cc * h + p->f1->DS1EXT1.ulimit.hh;
+               p->start_trk = cchh2trk(&p->f1->DS1EXT1.llimit, &anc->geo);
+               p->end_trk = cchh2trk(&p->f1->DS1EXT1.ulimit, &anc->geo);
                p->len_trk   = p->end_trk - p->start_trk + 1;
 
                if (i == 1) {
@@ -618,14 +701,22 @@ fdasd_process_valid_vtoc (fdasd_anchor_t * anc, unsigned long b, int fd)
        format1_label_t q;
        char s[5], *ch;
 
+       if (anc->f4->DS4DEVCT.DS4DSCYL == LV_COMPAT_CYL &&
+           anc->f4->DS4DCYL > anc->f4->DS4DEVCT.DS4DSCYL)
+               anc->formatted_cylinders = anc->f4->DS4DCYL;
+       else
+               anc->formatted_cylinders = anc->f4->DS4DEVCT.DS4DSCYL;
+       anc->fspace_trk = anc->formatted_cylinders * anc->geo.heads -
+                         FIRST_USABLE_TRK;
        b += anc->blksize;
 
-       for (i = 1; i <= anc->geo.sectors; i++) {
+       for (i = 1; i < anc->geo.sectors; i++) {
                bzero (&q, f1size);
                vtoc_read_label (fd, b, &q, NULL, NULL, NULL);
 
                switch (q.DS1FMTID) {
                        case 0xf1:
+                       case 0xf8:
                                if (p == NULL)
                                        break;
                                memcpy (p->f1, &q, f1size);
@@ -669,6 +760,12 @@ fdasd_process_valid_vtoc (fdasd_anchor_t * anc, unsigned long b, int fd)
                                        memcpy (anc->f7, &q, f1size);
                                f7_counter++;
                                break;
+                       case 0xf9:
+                               /* each format 8 lable has an associated
+                                * format 9 lable, but they are of no further
+                                * use to us.
+                                */
+                               break;
                }
 
                b += anc->blksize;
@@ -689,6 +786,52 @@ fdasd_process_valid_vtoc (fdasd_anchor_t * anc, unsigned long b, int fd)
        fdasd_update_partition_info (anc);
 }
 
+static void
+fdasd_invalid_vtoc_pointer(fdasd_anchor_t *anc)
+{
+       PDEBUG
+       anc->formatted_cylinders = anc->hw_cylinders;
+       anc->fspace_trk = anc->formatted_cylinders * anc->geo.heads
+                       - FIRST_USABLE_TRK;
+       vtoc_init_format4_label(anc->f4, USABLE_PARTITIONS,
+                       anc->geo.cylinders, anc->formatted_cylinders,
+                       anc->geo.heads, anc->geo.sectors,
+                       anc->blksize, anc->dev_type);
+
+       vtoc_init_format5_label(anc->f5);
+       vtoc_init_format7_label(anc->f7);
+
+       vtoc_set_freespace(anc->f4, anc->f5, anc->f7, '+', anc->verbose,
+                       FIRST_USABLE_TRK,
+                       anc->formatted_cylinders * anc->geo.heads - 1,
+                       anc->formatted_cylinders, anc->geo.heads);
+
+       vtoc_set_cchhb(&anc->vlabel->vtoc, VTOC_START_CC, VTOC_START_HH, 0x01);
+}
+
+/*
+ * we have a invalid FMT4 DSCB and therefore we will re-create the VTOC
+ */
+static void
+fdasd_process_invalid_vtoc(fdasd_anchor_t *anc)
+{
+       anc->formatted_cylinders = anc->hw_cylinders;
+       anc->fspace_trk = anc->formatted_cylinders * anc->geo.heads
+                       - FIRST_USABLE_TRK;
+       vtoc_init_format4_label(anc->f4, USABLE_PARTITIONS,
+                       anc->geo.cylinders, anc->formatted_cylinders,
+                       anc->geo.heads, anc->geo.sectors,
+                       anc->blksize, anc->dev_type);
+
+       vtoc_init_format5_label(anc->f5);
+       vtoc_init_format7_label(anc->f7);
+       vtoc_set_freespace(anc->f4, anc->f5, anc->f7, '+', anc->verbose,
+                       FIRST_USABLE_TRK,
+                       anc->formatted_cylinders * anc->geo.heads - 1,
+                       anc->formatted_cylinders, anc->geo.heads);
+}
+
+
 static int
 fdasd_valid_vtoc_pointer(fdasd_anchor_t *anc, unsigned long b, int fd)
 {
@@ -701,6 +844,8 @@ fdasd_valid_vtoc_pointer(fdasd_anchor_t *anc, unsigned long b, int fd)
        if (anc->f4->DS4IDFMT == 0xf4) {
                fdasd_process_valid_vtoc (anc, b, fd);
                return 0;
+       } else {
+               fdasd_process_invalid_vtoc(anc);
        }
        if (strncmp(anc->vlabel->volkey, vtoc_ebcdic_enc("LNX1",str,4),4) == 0 ||
            strncmp(anc->vlabel->volkey, vtoc_ebcdic_enc("CMS1",str,4),4) == 0)
@@ -718,31 +863,58 @@ fdasd_check_volume (fdasd_anchor_t *anc, int fd)
 {
        PDEBUG
        volume_label_t *v = anc->vlabel;
-       unsigned long b = -1;
+       long long b = -1;
        char str[LINE_LENGTH];
 
+       memset(v, 0, sizeof(volume_label_t));
        vtoc_read_volume_label (fd, anc->label_pos, v);
 
        if (strncmp(v->vollbl, vtoc_ebcdic_enc ("VOL1", str, 4), 4) == 0) {
-               /* found VOL1 volume label */
-               b = (cchhb2blk (&v->vtoc, &anc->geo) - 1) * anc->blksize;
-
-               if (b > 0) {
-                       int rc;
-                       rc = fdasd_valid_vtoc_pointer (anc, b, fd);
-
-                       if (rc < 0)
-                               return 1;
-                       else
-                               return 0;
-               } else {
-                       return 1;
+               if (anc->FBA_layout != 1 ) {
+                       /* found VOL1 volume label */
+                       b = (cchhb2blk (&v->vtoc, &anc->geo) - 1) * anc->blksize;
+
+                       if (b > 0) {
+                               int rc;
+                               rc = fdasd_valid_vtoc_pointer (anc, b, fd);
+
+                               if (rc < 0)
+                                       return 1;
+                               else
+                                       return 0;
+                       } else {
+                               fdasd_invalid_vtoc_pointer(anc);
+                       }
                }
        } else if (strncmp (v->volkey, vtoc_ebcdic_enc ("LNX1", str, 4), 4) == 0 ||
                   strncmp (v->volkey, vtoc_ebcdic_enc ("CMS1", str, 4), 4) == 0) {
                return 0;
+       } else if (anc->FBA_layout == 1) {
+               /* Some times LDL formatted disks does not
+                  contain any volume label */
+               return 1;
+       } else if (! anc->is_file) {
+       /* didn't find VOL1 volume label */
+               anc->formatted_cylinders = anc->hw_cylinders;
+               anc->fspace_trk = anc->formatted_cylinders * anc->geo.heads
+                                       - FIRST_USABLE_TRK;
+
+               fdasd_init_volume_label(anc, fd);
+
+               vtoc_init_format4_label(anc->f4, USABLE_PARTITIONS,
+                               anc->geo.cylinders, anc->formatted_cylinders,
+                               anc->geo.heads, anc->geo.sectors,
+                               anc->blksize, anc->dev_type);
+
+               vtoc_init_format5_label(anc->f5);
+               vtoc_init_format7_label(anc->f7);
+
+               vtoc_set_freespace(anc->f4, anc->f5, anc->f7, '+',
+                       anc->verbose, FIRST_USABLE_TRK,
+                       anc->formatted_cylinders * anc->geo.heads - 1,
+                       anc->formatted_cylinders, anc->geo.heads);
+               return 0;
        }
-
        return 1;
 }
 
@@ -783,6 +955,7 @@ fdasd_get_geometry (const PedDevice *dev, fdasd_anchor_t *anc, int f)
        PDEBUG
        int blksize = 0;
        dasd_information_t dasd_info;
+       struct dasd_eckd_characteristics *characteristics;
 
        /* We can't get geometry from a regular file,
           so simulate something usable, for the sake of testing.  */
@@ -800,6 +973,11 @@ fdasd_get_geometry (const PedDevice *dev, fdasd_anchor_t *anc, int f)
            dasd_info.dev_type = 13200;
            dasd_info.label_block = 2;
            dasd_info.devno = 513;
+           dasd_info.label_block = 2;
+           dasd_info.FBA_layout = 0;
+           anc->hw_cylinders = ((st.st_size / blksize) / anc->geo.sectors) /
+                               anc->geo.heads;
+           anc->is_file = 1;
        } else {
                if (ioctl(f, HDIO_GETGEO, &anc->geo) != 0)
                        fdasd_error(anc, unable_to_ioctl,
@@ -813,13 +991,24 @@ fdasd_get_geometry (const PedDevice *dev, fdasd_anchor_t *anc, int f)
                if (ioctl(f, BIODASDINFO, &dasd_info) != 0)
                        fdasd_error(anc, unable_to_ioctl,
                                    _("Could not retrieve disk information."));
+
+               characteristics = (struct dasd_eckd_characteristics *)
+                                       &dasd_info.characteristics;
+               if (characteristics->no_cyl == LV_COMPAT_CYL &&
+                   characteristics->long_no_cyl)
+                       anc->hw_cylinders = characteristics->long_no_cyl;
+               else
+                       anc->hw_cylinders = characteristics->no_cyl;
+
+               anc->is_file = 0;
        }
 
        anc->dev_type   = dasd_info.dev_type;
        anc->blksize    = blksize;
        anc->label_pos  = dasd_info.label_block * blksize;
        anc->devno      = dasd_info.devno;
-       anc->fspace_trk = anc->geo.cylinders * anc->geo.heads - FIRST_USABLE_TRK;
+       anc->label_block = dasd_info.label_block;
+       anc->FBA_layout = dasd_info.FBA_layout;
 }
 
 /*
@@ -845,20 +1034,17 @@ fdasd_get_partition_data (fdasd_anchor_t *anc, extent_t *part_extent,
                           unsigned int *stop_ptr)
 {
        PDEBUG
-       unsigned int limit, cc, hh;
+       unsigned int limit;
+       u_int32_t cc, c;
+       u_int16_t hh, h;
        cchh_t llimit, ulimit;
        partition_info_t *q;
        u_int8_t b1, b2;
-       u_int16_t c, h;
        unsigned int start = *start_ptr, stop = *stop_ptr;
        int i;
        char *ch;
 
-       if (anc->f4->DS4DEVCT.DS4DEVFG & ALTERNATE_CYLINDERS_USED)
-               c = anc->f4->DS4DEVCT.DS4DSCYL - (u_int16_t) anc->f4->DS4DEVAC;
-       else
-               c = anc->f4->DS4DEVCT.DS4DSCYL;
-
+       c = get_usable_cylinders(anc);
        h = anc->f4->DS4DEVCT.DS4DSTRK;
        limit = (h * c - 1);
 
@@ -1014,7 +1200,6 @@ fdasd_add_partition (fdasd_anchor_t *anc, unsigned int start,
        cchhb_t hf1;
        partition_info_t *p;
        extent_t ext;
-       int i;
 
        PDEBUG;
 
@@ -1027,8 +1212,14 @@ fdasd_add_partition (fdasd_anchor_t *anc, unsigned int start,
        if (fdasd_get_partition_data(anc, &ext, p, &start, &stop) != 0)
                return 0;
 
-       PDEBUG;
-       vtoc_init_format1_label(anc->vlabel->volid, anc->blksize, &ext, p->f1);
+       if (anc->formatted_cylinders > LV_COMPAT_CYL) {
+               vtoc_init_format8_label(anc->vlabel->volid, anc->blksize, &ext,
+                                       p->f1);
+       } else {
+               PDEBUG;
+               vtoc_init_format1_label(anc->vlabel->volid, anc->blksize, &ext,
+                                       p->f1);
+       }
 
        PDEBUG;
        fdasd_enqueue_new_partition(anc);
@@ -1036,23 +1227,17 @@ fdasd_add_partition (fdasd_anchor_t *anc, unsigned int start,
        PDEBUG;
        anc->used_partitions += 1;
 
-       i = anc->used_partitions + 2;
-       if (anc->big_disk)
-               i++;
-       PDEBUG;
-
-       vtoc_set_cchhb(&hf1, VTOC_START_CC, VTOC_START_HH, i);
-
+       get_addr_of_highest_f1_f8_label(anc, &hf1);
        vtoc_update_format4_label(anc->f4, &hf1, anc->f4->DS4DSREC - 1);
 
        PDEBUG;
 
-       start = ext.llimit.cc * anc->geo.heads + ext.llimit.hh;
-       stop  = ext.ulimit.cc * anc->geo.heads + ext.ulimit.hh;
+       start = cchh2trk(&ext.llimit, &anc->geo);
+       stop = cchh2trk(&ext.ulimit, &anc->geo);
 
        PDEBUG;
        vtoc_set_freespace(anc->f4, anc->f5, anc->f7, '-', anc->verbose,
-                                          start, stop, anc->geo.cylinders, anc->geo.heads);
+                       start, stop, anc->formatted_cylinders, anc->geo.heads);
 
        anc->vtoc_changed++;
 
index 84bdc123159e3df62bbee609cf55da309e2af4d1..d69377a40469431e3fa92896871def3fdae12e01 100644 (file)
@@ -39,6 +39,8 @@
 #include <uuid/uuid.h>
 #include <stdbool.h>
 #include <errno.h>
+#include <iconv.h>
+#include <langinfo.h>
 #include "xalloc.h"
 #include "verify.h"
 
@@ -122,6 +124,10 @@ typedef struct
     ((efi_guid_t) { PED_CPU_TO_LE32 (0x0657fd6d), PED_CPU_TO_LE16 (0xa4ab), \
                     PED_CPU_TO_LE16 (0x43c4), 0x84, 0xe5, \
                     { 0x09, 0x33, 0xc8, 0x4b, 0x4f, 0x4f }})
+#define PARTITION_LINUX_DATA_GUID \
+    ((efi_guid_t) { PED_CPU_TO_LE32 (0x0FC63DAF), PED_CPU_TO_LE16 (0x8483), \
+                    PED_CPU_TO_LE16 (0x4772), 0x8E, 0x79, \
+                    { 0x3D, 0x69, 0xD8, 0x47, 0x7D, 0xE4 }})
 #define PARTITION_LVM_GUID \
     ((efi_guid_t) { PED_CPU_TO_LE32 (0xe6d6d379), PED_CPU_TO_LE16 (0xf507), \
                     PED_CPU_TO_LE16 (0x44c2), 0xa2, 0x3c, \
@@ -142,6 +148,14 @@ typedef struct
     ((efi_guid_t) { PED_CPU_TO_LE32 (0x5265636F), PED_CPU_TO_LE16 (0x7665), \
                     PED_CPU_TO_LE16 (0x11AA), 0xaa, 0x11, \
                     { 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC }})
+#define PARTITION_PREP_GUID \
+    ((efi_guid_t) { PED_CPU_TO_LE32 (0x9e1a2d38), PED_CPU_TO_LE16 (0xc612), \
+                    PED_CPU_TO_LE16 (0x4316), 0xaa, 0x26, \
+                    { 0x8b, 0x49, 0x52, 0x1e, 0x5a, 0x8b }})
+#define PARTITION_IRST_GUID \
+    ((efi_guid_t) { PED_CPU_TO_LE32 (0xD3BFE2DE), PED_CPU_TO_LE16 (0x3DAF), \
+                    PED_CPU_TO_LE16 (0x11DF), 0xba, 0x40, \
+                    { 0xE3, 0xA5, 0x56, 0xD8, 0x95, 0x93 }})
 
 struct __attribute__ ((packed)) _GuidPartitionTableHeader_t
 {
@@ -188,7 +202,7 @@ struct __attribute__ ((packed)) _GuidPartitionEntry_t
   uint64_t StartingLBA;
   uint64_t EndingLBA;
   GuidPartitionEntryAttributes_t Attributes;
-  efi_char16_t PartitionName[72 / sizeof (efi_char16_t)];
+  efi_char16_t PartitionName[36];
 };
 
 #define GPT_PMBR_LBA 0
@@ -265,6 +279,7 @@ struct __attribute__ ((packed)) _GPTDiskData
   int entry_count;
   efi_guid_t uuid;
   int pmbr_boot;
+  PedSector AlternateLBA;
 };
 
 /* uses libparted's disk_specific field in PedPartition, to store our info */
@@ -272,7 +287,8 @@ typedef struct _GPTPartitionData
 {
   efi_guid_t type;
   efi_guid_t uuid;
-  char name[37];
+  efi_char16_t name[37];
+  char *translated_name;
   int lvm;
   int raid;
   int boot;
@@ -280,9 +296,12 @@ typedef struct _GPTPartitionData
   int hp_service;
   int hidden;
   int msftres;
+  int msftdata;
   int atvrecv;
   int msftrecv;
   int legacy_boot;
+  int prep;
+  int irst;
 } GPTPartitionData;
 
 static PedDiskType gpt_disk_type;
@@ -457,7 +476,6 @@ _pmbr_is_valid (const LegacyMBR_t *mbr)
 static int
 gpt_probe (const PedDevice *dev)
 {
-  GuidPartitionTableHeader_t *gpt = NULL;
   int gpt_sig_found = 0;
 
   PED_ASSERT (dev != NULL);
@@ -465,47 +483,29 @@ gpt_probe (const PedDevice *dev)
   if (dev->length <= 1)
     return 0;
 
+  void *label;
+  if (!ptt_read_sector (dev, 0, &label))
+    return 0;
+
+  if (!_pmbr_is_valid (label))
+    {
+      free (label);
+      return 0;
+    }
+  free (label);
+
   void *pth_raw = ped_malloc (pth_get_size (dev));
   if (ped_device_read (dev, pth_raw, 1, GPT_HEADER_SECTORS)
       || ped_device_read (dev, pth_raw, dev->length - 1, GPT_HEADER_SECTORS))
     {
-      gpt = pth_new_from_raw (dev, pth_raw);
+      GuidPartitionTableHeader_t *gpt = pth_new_from_raw (dev, pth_raw);
       if (gpt->Signature == PED_CPU_TO_LE64 (GPT_HEADER_SIGNATURE))
         gpt_sig_found = 1;
+      pth_free (gpt);
     }
-
   free (pth_raw);
 
-  pth_free (gpt);
-
-  if (!gpt_sig_found)
-    return 0;
-
-  void *label;
-  if (!ptt_read_sector (dev, 0, &label))
-    return 0;
-
-  int ok = 1;
-  if (!_pmbr_is_valid ((const LegacyMBR_t *) label))
-    {
-      int ex_status = ped_exception_throw
-        (PED_EXCEPTION_WARNING,
-         PED_EXCEPTION_YES_NO,
-         _("%s contains GPT signatures, indicating that it has "
-           "a GPT table.  However, it does not have a valid "
-           "fake msdos partition table, as it should.  Perhaps "
-           "it was corrupted -- possibly by a program that "
-           "doesn't understand GPT partition tables.  Or "
-           "perhaps you deleted the GPT table, and are now "
-           "using an msdos partition table.  Is this a GPT "
-           "partition table?"),
-         dev->path);
-      if (ex_status == PED_EXCEPTION_NO)
-        ok = 0;
-    }
-
-  free (label);
-  return ok;
+  return gpt_sig_found;
 }
 
 static PedDisk *
@@ -523,14 +523,21 @@ gpt_alloc (const PedDevice *dev)
   data_end = dev->length - 2
     - GPT_DEFAULT_PARTITION_ENTRY_ARRAY_SIZE / dev->sector_size;
 
-  /* If the device is too small to have room for data, reject it.  */
-  if (data_end <= data_start)
-    goto error_free_disk;
+  /* If the device is too small to accommodate GPT headers and one data
+     sector, reject it.  */
+  if (data_end < data_start)
+    {
+      ped_exception_throw (PED_EXCEPTION_ERROR,
+                          PED_EXCEPTION_OK,
+                          _("device is too small for GPT"));
+      goto error_free_disk;
+    }
 
   disk->disk_specific = gpt_disk_data = ped_malloc (sizeof (GPTDiskData));
   if (!disk->disk_specific)
     goto error_free_disk;
 
+  gpt_disk_data->AlternateLBA = dev->length - 1;
   ped_geometry_init (&gpt_disk_data->data_area, dev, data_start,
                      data_end - data_start + 1);
   gpt_disk_data->entry_count = GPT_DEFAULT_PARTITION_ENTRIES;
@@ -564,6 +571,7 @@ gpt_duplicate (const PedDisk *disk)
                      old_disk_data->data_area.length);
   new_disk_data->entry_count = old_disk_data->entry_count;
   new_disk_data->uuid = old_disk_data->uuid;
+  new_disk_data->pmbr_boot = old_disk_data->pmbr_boot;
   return new_disk;
 }
 
@@ -672,6 +680,10 @@ _header_is_valid (PedDisk const *disk, GuidPartitionTableHeader_t *gpt,
   if (first_usable < 3)
     return 0;
 
+  PedSector last_usable = PED_LE64_TO_CPU (gpt->LastUsableLBA);
+  if (last_usable < first_usable)
+    return 0;
+
   origcrc = gpt->HeaderCRC32;
   gpt->HeaderCRC32 = 0;
   if (pth_crc32 (dev, gpt, &crc) != 0)
@@ -681,6 +693,29 @@ _header_is_valid (PedDisk const *disk, GuidPartitionTableHeader_t *gpt,
   return crc == PED_LE32_TO_CPU (origcrc);
 }
 
+/* Return the number of sectors that should be used by the
+ * partition entry table.
+ */
+static PedSector
+_ptes_sectors(PedDisk const *disk, GuidPartitionTableHeader_t const *gpt)
+{
+  size_t ptes_bytes = PED_LE32_TO_CPU (gpt->SizeOfPartitionEntry) *
+                      PED_LE32_TO_CPU (gpt->NumberOfPartitionEntries);
+  /* Minimum amount of space reserved is 128 128 byte entries */
+  if (ptes_bytes < 128*128)
+    ptes_bytes = 128*128;
+  return ped_div_round_up (ptes_bytes, disk->dev->sector_size);
+}
+
+/* Return the header's idea of the last sector of the disk
+ * based on LastUsableLBA and the Partition Entry table.
+ */
+static PedSector
+_hdr_disk_end(PedDisk const *disk, GuidPartitionTableHeader_t const *gpt)
+{
+  return PED_LE64_TO_CPU (gpt->LastUsableLBA) + 1 + _ptes_sectors(disk, gpt);
+}
+
 static int
 _parse_header (PedDisk *disk, const GuidPartitionTableHeader_t *gpt,
                int *update_needed)
@@ -688,8 +723,7 @@ _parse_header (PedDisk *disk, const GuidPartitionTableHeader_t *gpt,
   GPTDiskData *gpt_disk_data = disk->disk_specific;
   PedSector first_usable;
   PedSector last_usable;
-  PedSector last_usable_if_grown, last_usable_min_default;
-  static int asked_already;
+  PedSector last_usable_if_grown;
 
 #ifndef DISCOVER_ONLY
   if (PED_LE32_TO_CPU (gpt->Revision) > GPT_HEADER_REVISION_V1_02)
@@ -716,17 +750,7 @@ _parse_header (PedDisk *disk, const GuidPartitionTableHeader_t *gpt,
      space or continue with the current usable area.  Only ask once per
      parted invocation. */
 
-  last_usable_if_grown
-    = (disk->dev->length - 2 -
-       ((PedSector) (PED_LE32_TO_CPU (gpt->NumberOfPartitionEntries)) *
-        (PedSector) (PED_LE32_TO_CPU (gpt->SizeOfPartitionEntry)) /
-        disk->dev->sector_size));
-
-  last_usable_min_default = disk->dev->length - 2 -
-    GPT_DEFAULT_PARTITION_ENTRY_ARRAY_SIZE / disk->dev->sector_size;
-
-  if (last_usable_if_grown > last_usable_min_default)
-    last_usable_if_grown = last_usable_min_default;
+  last_usable_if_grown = disk->dev->length - 2 - _ptes_sectors(disk, gpt);
 
   if (last_usable <= first_usable
       || disk->dev->length < last_usable)
@@ -736,7 +760,7 @@ _parse_header (PedDisk *disk, const GuidPartitionTableHeader_t *gpt,
       || disk->dev->length < last_usable_if_grown)
     return 0;
 
-  if (!asked_already && last_usable < last_usable_if_grown)
+  if (last_usable < last_usable_if_grown)
     {
       PedExceptionOption q;
 
@@ -752,12 +776,12 @@ _parse_header (PedDisk *disk, const GuidPartitionTableHeader_t *gpt,
       if (q == PED_EXCEPTION_FIX)
         {
           last_usable = last_usable_if_grown;
+          /* clear the old backup gpt header */
+          ptt_clear_sectors (disk->dev,
+                             gpt_disk_data->AlternateLBA, 1);
+          gpt_disk_data->AlternateLBA = disk->dev->length - 1;
           *update_needed = 1;
         }
-      else if (q != PED_EXCEPTION_UNHANDLED)
-        {
-          asked_already = 1;
-        }
     }
 
   ped_geometry_init (&gpt_disk_data->data_area, disk->dev,
@@ -789,16 +813,19 @@ _parse_part_entry (PedDisk *disk, GuidPartitionEntry_t *pte)
   gpt_part_data = part->disk_specific;
   gpt_part_data->type = pte->PartitionTypeGuid;
   gpt_part_data->uuid = pte->UniquePartitionGuid;
-  for (i = 0; i < 72 / sizeof (efi_char16_t); i++)
-    gpt_part_data->name[i] =
-      (efi_char16_t) PED_LE16_TO_CPU ((uint16_t) pte->PartitionName[i]);
+  for (i = 0; i < 36; i++)
+    gpt_part_data->name[i] = (efi_char16_t) pte->PartitionName[i];
   gpt_part_data->name[i] = 0;
+  gpt_part_data->translated_name = 0;
 
   gpt_part_data->lvm = gpt_part_data->raid
     = gpt_part_data->boot = gpt_part_data->hp_service
     = gpt_part_data->hidden = gpt_part_data->msftres
+    = gpt_part_data->msftdata
     = gpt_part_data->msftrecv
     = gpt_part_data->legacy_boot
+    = gpt_part_data->prep
+    = gpt_part_data->irst
     = gpt_part_data->bios_grub = gpt_part_data->atvrecv = 0;
 
   if (pte->Attributes.RequiredToFunction & 0x1)
@@ -818,10 +845,16 @@ _parse_part_entry (PedDisk *disk, GuidPartitionEntry_t *pte)
     gpt_part_data->hp_service = 1;
   else if (!guid_cmp (gpt_part_data->type, PARTITION_MSFT_RESERVED_GUID))
     gpt_part_data->msftres = 1;
+  else if (!guid_cmp (gpt_part_data->type, PARTITION_BASIC_DATA_GUID))
+    gpt_part_data->msftdata = 1;
   else if (!guid_cmp (gpt_part_data->type, PARTITION_MSFT_RECOVERY))
     gpt_part_data->msftrecv = 1;
   else if (!guid_cmp (gpt_part_data->type, PARTITION_APPLE_TV_RECOVERY_GUID))
     gpt_part_data->atvrecv = 1;
+  else if (!guid_cmp (gpt_part_data->type, PARTITION_PREP_GUID))
+    gpt_part_data->prep = 1;
+  else if (!guid_cmp (gpt_part_data->type, PARTITION_IRST_GUID))
+    gpt_part_data->irst = 1;
 
   return part;
 }
@@ -870,13 +903,13 @@ gpt_read_headers (PedDisk const *disk,
   else
     pth_free (pri);
 
-  PedSector backup_sector_num =
+  gpt_disk_data->AlternateLBA =
     (valid_primary
      ? PED_LE64_TO_CPU (pri->AlternateLBA)
      : dev->length - 1);
 
   void *s_bak;
-  if (!ptt_read_sector (dev, backup_sector_num, &s_bak))
+  if (!ptt_read_sector (dev, gpt_disk_data->AlternateLBA ,&s_bak))
     return 1;
   t = pth_new_from_raw (dev, s_bak);
   free (s_bak);
@@ -884,10 +917,10 @@ gpt_read_headers (PedDisk const *disk,
     return 1;
 
   GuidPartitionTableHeader_t *bak = t;
-  if (_header_is_valid (disk, bak, backup_sector_num))
+  if (_header_is_valid (disk, bak, gpt_disk_data->AlternateLBA))
     {
       *backup_gpt = bak;
-      *backup_sector_num_p = backup_sector_num;
+      *backup_sector_num_p = gpt_disk_data->AlternateLBA;
     }
   else
     pth_free (bak);
@@ -958,31 +991,31 @@ gpt_read (PedDisk *disk)
     {
       /* Both are valid.  */
 #ifndef DISCOVER_ONLY
-      if (PED_LE64_TO_CPU (primary_gpt->AlternateLBA) < disk->dev->length - 1)
+      /* The backup header must be at the end of the disk, or at what the primary
+       * header thinks is the end of the disk.
+       */
+      gpt_disk_data->AlternateLBA = PED_LE64_TO_CPU (primary_gpt->AlternateLBA);
+      PedSector pri_disk_end = _hdr_disk_end(disk, primary_gpt);
+
+      if (gpt_disk_data->AlternateLBA != disk->dev->length -1 &&
+          gpt_disk_data->AlternateLBA != pri_disk_end)
         {
-          switch (ped_exception_throw
+          if (ped_exception_throw
                   (PED_EXCEPTION_ERROR,
-                   (PED_EXCEPTION_FIX | PED_EXCEPTION_CANCEL
-                    | PED_EXCEPTION_IGNORE),
+                   (PED_EXCEPTION_FIX | PED_EXCEPTION_IGNORE),
                    _("The backup GPT table is not at the end of the disk, as it "
-                     "should be.  This might mean that another operating system "
-                     "believes the disk is smaller.  Fix, by moving the backup "
-                     "to the end (and removing the old backup)?")))
+                     "should be.  Fix, by moving the backup to the end "
+                     "(and removing the old backup)?")) == PED_EXCEPTION_FIX)
             {
-            case PED_EXCEPTION_CANCEL:
-              goto error_free_gpt;
-            case PED_EXCEPTION_FIX:
               ptt_clear_sectors (disk->dev,
                                  PED_LE64_TO_CPU (primary_gpt->AlternateLBA), 1);
+              gpt_disk_data->AlternateLBA = disk->dev->length -1;
               write_back = 1;
-              break;
-            default:
-              break;
             }
         }
 #endif /* !DISCOVER_ONLY */
-      gpt = primary_gpt;
       pth_free (backup_gpt);
+      gpt = primary_gpt;
     }
   else if (!primary_gpt && !backup_gpt)
     {
@@ -1150,15 +1183,15 @@ _generate_header (const PedDisk *disk, int alternate, uint32_t ptes_crc,
                              * sizeof (GuidPartitionEntry_t));
       PedSector ptes_sectors = (ptes_bytes + ss - 1) / ss;
 
-      gpt->MyLBA = PED_CPU_TO_LE64 (disk->dev->length - 1);
+      gpt->MyLBA = PED_CPU_TO_LE64 (gpt_disk_data->AlternateLBA);
       gpt->AlternateLBA = PED_CPU_TO_LE64 (1);
       gpt->PartitionEntryLBA
-        = PED_CPU_TO_LE64 (disk->dev->length - 1 - ptes_sectors);
+        = PED_CPU_TO_LE64 (gpt_disk_data->AlternateLBA - ptes_sectors);
     }
   else
     {
       gpt->MyLBA = PED_CPU_TO_LE64 (1);
-      gpt->AlternateLBA = PED_CPU_TO_LE64 (disk->dev->length - 1);
+      gpt->AlternateLBA = PED_CPU_TO_LE64 (gpt_disk_data->AlternateLBA);
       gpt->PartitionEntryLBA = PED_CPU_TO_LE64 (2);
     }
 
@@ -1197,9 +1230,8 @@ _partition_generate_part_entry (PedPartition *part, GuidPartitionEntry_t *pte)
   if (gpt_part_data->legacy_boot)
     pte->Attributes.LegacyBIOSBootable = 1;
 
-  for (i = 0; i < 72 / sizeof (efi_char16_t); i++)
-    pte->PartitionName[i]
-      = (efi_char16_t) PED_CPU_TO_LE16 ((uint16_t) gpt_part_data->name[i]);
+  for (i = 0; i < 36; i++)
+    pte->PartitionName[i] = gpt_part_data->name[i];
 }
 
 static int
@@ -1263,12 +1295,12 @@ gpt_write (const PedDisk *disk)
   pth_free (gpt);
   if (pth_raw == NULL)
     goto error_free_ptes;
-  write_ok = ped_device_write (disk->dev, pth_raw, disk->dev->length - 1, 1);
+  write_ok = ped_device_write (disk->dev, pth_raw, gpt_disk_data->AlternateLBA, 1);
   free (pth_raw);
   if (!write_ok)
     goto error_free_ptes;
   if (!ped_device_write (disk->dev, ptes,
-                         disk->dev->length - 1 - ptes_sectors, ptes_sectors))
+                         gpt_disk_data->AlternateLBA - ptes_sectors, ptes_sectors))
     goto error_free_ptes;
 
   free (ptes);
@@ -1327,7 +1359,7 @@ gpt_partition_new (const PedDisk *disk,
   if (!gpt_part_data)
     goto error_free_part;
 
-  gpt_part_data->type = PARTITION_BASIC_DATA_GUID;
+  gpt_part_data->type = PARTITION_LINUX_DATA_GUID;
   gpt_part_data->lvm = 0;
   gpt_part_data->raid = 0;
   gpt_part_data->boot = 0;
@@ -1335,9 +1367,13 @@ gpt_partition_new (const PedDisk *disk,
   gpt_part_data->hp_service = 0;
   gpt_part_data->hidden = 0;
   gpt_part_data->msftres = 0;
+  gpt_part_data->msftdata = 0;
   gpt_part_data->msftrecv = 0;
   gpt_part_data->atvrecv = 0;
   gpt_part_data->legacy_boot = 0;
+  gpt_part_data->prep = 0;
+  gpt_part_data->translated_name = 0;
+  gpt_part_data->irst = 0;
   uuid_generate ((unsigned char *) &gpt_part_data->uuid);
   swap_uuid_and_efi_guid ((unsigned char *) (&gpt_part_data->uuid));
   memset (gpt_part_data->name, 0, sizeof gpt_part_data->name);
@@ -1371,6 +1407,11 @@ gpt_partition_duplicate (const PedPartition *part)
     goto error_free_part;
 
   *result_data = *part_data;
+  if (part_data->translated_name) {
+    result_data->translated_name = xstrdup (part_data->translated_name);
+  } else {
+    result_data->translated_name = 0;
+  }
   return result;
 
 error_free_part:
@@ -1385,6 +1426,8 @@ gpt_partition_destroy (PedPartition *part)
   if (part->type == 0)
     {
       PED_ASSERT (part->disk_specific != NULL);
+      GPTPartitionData *gpt_part_data = part->disk_specific;
+      free (gpt_part_data->translated_name);
       free (part->disk_specific);
     }
 
@@ -1411,6 +1454,11 @@ gpt_partition_set_system (PedPartition *part,
       gpt_part_data->type = PARTITION_RAID_GUID;
       return 1;
     }
+  if (gpt_part_data->prep)
+    {
+      gpt_part_data->type = PARTITION_PREP_GUID;
+      return 1;
+    }
   if (gpt_part_data->boot)
     {
       gpt_part_data->type = PARTITION_SYSTEM_GUID;
@@ -1431,6 +1479,11 @@ gpt_partition_set_system (PedPartition *part,
       gpt_part_data->type = PARTITION_MSFT_RESERVED_GUID;
       return 1;
     }
+  if (gpt_part_data->msftdata)
+    {
+      gpt_part_data->type = PARTITION_BASIC_DATA_GUID;
+      return 1;
+    }
   if (gpt_part_data->msftrecv)
     {
       gpt_part_data->type = PARTITION_MSFT_RECOVERY;
@@ -1441,6 +1494,11 @@ gpt_partition_set_system (PedPartition *part,
       gpt_part_data->type = PARTITION_APPLE_TV_RECOVERY_GUID;
       return 1;
     }
+  if (gpt_part_data->irst)
+    {
+      gpt_part_data->type = PARTITION_IRST_GUID;
+      return 1;
+    }
 
   if (fs_type)
     {
@@ -1462,7 +1520,7 @@ gpt_partition_set_system (PedPartition *part,
         }
     }
 
-  gpt_part_data->type = PARTITION_BASIC_DATA_GUID;
+  gpt_part_data->type = PARTITION_LINUX_DATA_GUID;
   return 1;
 }
 
@@ -1572,6 +1630,7 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
 
   switch (flag)
     {
+    case PED_PARTITION_ESP:
     case PED_PARTITION_BOOT:
       gpt_part_data->boot = state;
       if (state)
@@ -1580,7 +1639,10 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
           = gpt_part_data->bios_grub
           = gpt_part_data->hp_service
           = gpt_part_data->msftres
+          = gpt_part_data->msftdata
           = gpt_part_data->msftrecv
+          = gpt_part_data->prep
+          = gpt_part_data->irst
           = gpt_part_data->atvrecv = 0;
       return gpt_partition_set_system (part, part->fs_type);
     case PED_PARTITION_BIOS_GRUB:
@@ -1591,7 +1653,10 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
           = gpt_part_data->boot
           = gpt_part_data->hp_service
           = gpt_part_data->msftres
+          = gpt_part_data->msftdata
           = gpt_part_data->msftrecv
+          = gpt_part_data->prep
+          = gpt_part_data->irst
           = gpt_part_data->atvrecv = 0;
       return gpt_partition_set_system (part, part->fs_type);
     case PED_PARTITION_RAID:
@@ -1602,7 +1667,10 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
           = gpt_part_data->bios_grub
           = gpt_part_data->hp_service
           = gpt_part_data->msftres
+          = gpt_part_data->msftdata
           = gpt_part_data->msftrecv
+          = gpt_part_data->prep
+          = gpt_part_data->irst
           = gpt_part_data->atvrecv = 0;
       return gpt_partition_set_system (part, part->fs_type);
     case PED_PARTITION_LVM:
@@ -1613,7 +1681,10 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
           = gpt_part_data->bios_grub
           = gpt_part_data->hp_service
           = gpt_part_data->msftres
+          = gpt_part_data->msftdata
           = gpt_part_data->msftrecv
+          = gpt_part_data->prep
+          = gpt_part_data->irst
           = gpt_part_data->atvrecv = 0;
       return gpt_partition_set_system (part, part->fs_type);
     case PED_PARTITION_HPSERVICE:
@@ -1624,7 +1695,10 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
           = gpt_part_data->lvm
           = gpt_part_data->bios_grub
           = gpt_part_data->msftres
+          = gpt_part_data->msftdata
           = gpt_part_data->msftrecv
+          = gpt_part_data->prep
+          = gpt_part_data->irst
           = gpt_part_data->atvrecv = 0;
       return gpt_partition_set_system (part, part->fs_type);
     case PED_PARTITION_MSFT_RESERVED:
@@ -1635,9 +1709,30 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
           = gpt_part_data->lvm
           = gpt_part_data->bios_grub
           = gpt_part_data->hp_service
+          = gpt_part_data->msftdata
           = gpt_part_data->msftrecv
+          = gpt_part_data->prep
+          = gpt_part_data->irst
           = gpt_part_data->atvrecv = 0;
       return gpt_partition_set_system (part, part->fs_type);
+    case PED_PARTITION_MSFT_DATA:
+      gpt_part_data->msftres = state;
+      if (state) {
+        gpt_part_data->boot
+          = gpt_part_data->raid
+          = gpt_part_data->lvm
+          = gpt_part_data->bios_grub
+          = gpt_part_data->hp_service
+          = gpt_part_data->msftres
+          = gpt_part_data->msftrecv
+          = gpt_part_data->prep
+          = gpt_part_data->irst
+          = gpt_part_data->atvrecv = 0;
+        gpt_part_data->msftdata = 1;
+      } else {
+        gpt_part_data->msftdata = 0;
+      }
+      return gpt_partition_set_system (part, part->fs_type);
     case PED_PARTITION_DIAG:
       gpt_part_data->msftrecv = state;
       if (state)
@@ -1646,7 +1741,10 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
           = gpt_part_data->lvm
           = gpt_part_data->bios_grub
           = gpt_part_data->hp_service
+          = gpt_part_data->msftdata
           = gpt_part_data->msftres
+          = gpt_part_data->prep
+          = gpt_part_data->irst
           = gpt_part_data->atvrecv = 0;
       return gpt_partition_set_system (part, part->fs_type);
     case PED_PARTITION_APPLE_TV_RECOVERY:
@@ -1658,8 +1756,37 @@ gpt_partition_set_flag (PedPartition *part, PedPartitionFlag flag, int state)
           = gpt_part_data->bios_grub
           = gpt_part_data->hp_service
           = gpt_part_data->msftres
+          = gpt_part_data->msftdata
+          = gpt_part_data->prep
           = gpt_part_data->msftrecv = 0;
       return gpt_partition_set_system (part, part->fs_type);
+    case PED_PARTITION_PREP:
+      gpt_part_data->prep = state;
+      if (state)
+        gpt_part_data->boot
+          = gpt_part_data->raid
+          = gpt_part_data->lvm
+          = gpt_part_data->bios_grub
+          = gpt_part_data->hp_service
+          = gpt_part_data->msftres
+          = gpt_part_data->irst
+          = gpt_part_data->atvrecv
+          = gpt_part_data->msftrecv = 0;
+      return gpt_partition_set_system (part, part->fs_type);
+    case PED_PARTITION_IRST:
+      gpt_part_data->irst = state;
+      if (state)
+        gpt_part_data->boot
+          = gpt_part_data->raid
+          = gpt_part_data->lvm
+          = gpt_part_data->bios_grub
+          = gpt_part_data->hp_service
+          = gpt_part_data->msftres
+          = gpt_part_data->msftdata
+          = gpt_part_data->msftrecv
+          = gpt_part_data->prep
+          = gpt_part_data->atvrecv = 0;
+      return gpt_partition_set_system (part, part->fs_type);
     case PED_PARTITION_HIDDEN:
       gpt_part_data->hidden = state;
       return 1;
@@ -1688,6 +1815,7 @@ gpt_partition_get_flag (const PedPartition *part, PedPartitionFlag flag)
       return gpt_part_data->raid;
     case PED_PARTITION_LVM:
       return gpt_part_data->lvm;
+    case PED_PARTITION_ESP:
     case PED_PARTITION_BOOT:
       return gpt_part_data->boot;
     case PED_PARTITION_BIOS_GRUB:
@@ -1696,6 +1824,8 @@ gpt_partition_get_flag (const PedPartition *part, PedPartitionFlag flag)
       return gpt_part_data->hp_service;
     case PED_PARTITION_MSFT_RESERVED:
       return gpt_part_data->msftres;
+    case PED_PARTITION_MSFT_DATA:
+      return gpt_part_data->msftdata;
     case PED_PARTITION_DIAG:
       return gpt_part_data->msftrecv;
     case PED_PARTITION_APPLE_TV_RECOVERY:
@@ -1704,6 +1834,10 @@ gpt_partition_get_flag (const PedPartition *part, PedPartitionFlag flag)
       return gpt_part_data->hidden;
     case PED_PARTITION_LEGACY_BOOT:
       return gpt_part_data->legacy_boot;
+    case PED_PARTITION_PREP:
+      return gpt_part_data->prep;
+    case PED_PARTITION_IRST:
+      return gpt_part_data->irst;
     case PED_PARTITION_SWAP:
     case PED_PARTITION_LBA:
     case PED_PARTITION_ROOT:
@@ -1725,10 +1859,14 @@ gpt_partition_is_flag_available (const PedPartition *part,
     case PED_PARTITION_BIOS_GRUB:
     case PED_PARTITION_HPSERVICE:
     case PED_PARTITION_MSFT_RESERVED:
+    case PED_PARTITION_MSFT_DATA:
     case PED_PARTITION_DIAG:
     case PED_PARTITION_APPLE_TV_RECOVERY:
     case PED_PARTITION_HIDDEN:
     case PED_PARTITION_LEGACY_BOOT:
+    case PED_PARTITION_PREP:
+    case PED_PARTITION_IRST:
+    case PED_PARTITION_ESP:
       return 1;
     case PED_PARTITION_SWAP:
     case PED_PARTITION_ROOT:
@@ -1744,15 +1882,54 @@ gpt_partition_set_name (PedPartition *part, const char *name)
 {
   GPTPartitionData *gpt_part_data = part->disk_specific;
 
-  strncpy (gpt_part_data->name, name, 36);
-  gpt_part_data->name[36] = 0;
+  free(gpt_part_data->translated_name);
+  gpt_part_data->translated_name = xstrdup(name);
+  iconv_t conv = iconv_open ("UCS-2LE", nl_langinfo (CODESET));
+  if (conv == (iconv_t)-1)
+    goto err;
+  char *inbuff = gpt_part_data->translated_name;
+  char *outbuff = (char *)&gpt_part_data->name;
+  size_t inbuffsize = strlen (inbuff) + 1;
+  size_t outbuffsize = 72;
+  if (iconv (conv, &inbuff, &inbuffsize, &outbuff, &outbuffsize) == -1)
+    goto err;
+  iconv_close (conv);
+  return;
+ err:
+  ped_exception_throw (PED_EXCEPTION_WARNING,
+                       PED_EXCEPTION_IGNORE,
+                       _("failed to translate partition name"));
+  iconv_close (conv);
 }
 
 static const char *
 gpt_partition_get_name (const PedPartition *part)
 {
   GPTPartitionData *gpt_part_data = part->disk_specific;
-  return gpt_part_data->name;
+  if (gpt_part_data->translated_name == NULL)
+    {
+      char buffer[200];
+      iconv_t conv = iconv_open (nl_langinfo (CODESET), "UCS-2LE");
+      if (conv == (iconv_t)-1)
+        goto err;
+      char *inbuff = (char *)&gpt_part_data->name;
+      char *outbuff = buffer;
+      size_t inbuffsize = 72;
+      size_t outbuffsize = sizeof(buffer);
+      if (iconv (conv, &inbuff, &inbuffsize, &outbuff, &outbuffsize) == -1)
+        goto err;
+      iconv_close (conv);
+      *outbuff = 0;
+      gpt_part_data->translated_name = xstrdup (buffer);
+      return gpt_part_data->translated_name;
+    err:
+      ped_exception_throw (PED_EXCEPTION_WARNING,
+                           PED_EXCEPTION_IGNORE,
+                           _("failed to translate partition name"));
+      iconv_close (conv);
+      return "";
+    }
+  return gpt_part_data->translated_name;
 }
 
 static int
@@ -1804,12 +1981,12 @@ gpt_get_max_supported_partition_count (const PedDisk *disk, int *max_n)
 
   if (!_header_is_valid (disk, pth, 1))
     {
-      pth->FirstUsableLBA = 34;
+      pth->FirstUsableLBA = PED_CPU_TO_LE64 (34);
       pth->SizeOfPartitionEntry
         = PED_CPU_TO_LE32 (sizeof (GuidPartitionEntry_t));
     }
 
-  *max_n = (disk->dev->sector_size * (pth->FirstUsableLBA - 2)
+  *max_n = (disk->dev->sector_size * (PED_LE64_TO_CPU (pth->FirstUsableLBA) - 2)
             / PED_LE32_TO_CPU (pth->SizeOfPartitionEntry));
   pth_free (pth);
   return true;
index e96e9e60da8e67951941941ada95bf91a0e29a2b..aa233a3090eb0c64a03b790c593f1832370fffc5 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2000, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -80,7 +80,23 @@ loop_alloc (const PedDevice* dev)
 
        if (dev->length < 256)
                return NULL;
-       return _ped_disk_alloc ((PedDevice*)dev, &loop_disk_type);
+       PedDisk *disk = _ped_disk_alloc ((PedDevice*)dev, &loop_disk_type);
+       PED_ASSERT (disk != NULL);
+       PedGeometry *geom = ped_geometry_new (dev, 0, dev->length);
+       PED_ASSERT (geom != NULL);
+       PedPartition *part = ped_partition_new (disk, PED_PARTITION_NORMAL,
+                                               NULL, geom->start, geom->end);
+       PED_ASSERT (part != NULL);
+       ped_geometry_destroy (geom);
+       PedConstraint *constraint_any = ped_constraint_any (dev);
+       if (!ped_disk_add_partition (disk, part, constraint_any))
+               goto error;
+       ped_constraint_destroy (constraint_any);
+       return disk;
+ error:
+       ped_constraint_destroy (constraint_any);
+       ped_disk_destroy (disk);
+       return NULL;
 }
 
 static PedDisk*
@@ -118,18 +134,12 @@ loop_read (PedDisk* disk)
 
         int found_sig = !strncmp (buf, LOOP_SIGNATURE, strlen (LOOP_SIGNATURE));
         free (buf);
-
-        if (found_sig) {
-               ped_constraint_destroy (constraint_any);
-               return 1;
-        }
-
        geom = ped_geometry_new (dev, 0, dev->length);
        if (!geom)
                goto error;
 
        fs_type = ped_file_system_probe (geom);
-       if (!fs_type)
+       if (!fs_type && !found_sig)
                goto error_free_geom;
 
        part = ped_partition_new (disk, PED_PARTITION_NORMAL,
@@ -137,7 +147,6 @@ loop_read (PedDisk* disk)
        ped_geometry_destroy (geom);
        if (!part)
                goto error;
-       part->fs_type = fs_type;
 
        if (!ped_disk_add_partition (disk, part, constraint_any))
                goto error;
@@ -156,29 +165,16 @@ static int
 loop_write (const PedDisk* disk)
 {
        size_t buflen = disk->dev->sector_size;
-       char *buf = ped_malloc (buflen);
-       if (buf == NULL)
+       char *buf = alloca (buflen);
+       PedPartition *part = ped_disk_get_partition (disk, 1);
+       /* if there is already a filesystem on the disk, we don't need to write the signature */
+       if (part && part->fs_type)
+               return 1;
+       if (!ped_device_read (disk->dev, buf, 0, 1))
                return 0;
-
-       if (ped_disk_get_partition (disk, 1)) {
-               if (!ped_device_read (disk->dev, buf, 0, 1)) {
-                       free (buf);
-                       return 0;
-               }
-               if (strncmp (buf, LOOP_SIGNATURE, strlen (LOOP_SIGNATURE)) != 0) {
-                       free (buf);
-                       return 1;
-                }
-               memset (buf, 0, strlen (LOOP_SIGNATURE));
-               return ped_device_write (disk->dev, buf, 0, 1);
-       }
-
-       memset (buf, 0, buflen);
        strcpy (buf, LOOP_SIGNATURE);
 
-        int write_ok = ped_device_write (disk->dev, buf, 0, 1);
-        free (buf);
-       return write_ok;
+        return ped_device_write (disk->dev, buf, 0, 1);
 }
 #endif /* !DISCOVER_ONLY */
 
index 1f59a1ae9d49fabdaab78b472f3f58bef4735f00..1034418189f60082d92cb3c9f20b6a0d12837901 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000, 2002, 2004, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000, 2002, 2004, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -290,7 +290,7 @@ mac_alloc (const PedDevice* dev)
        if (!mac_disk_data)
                goto error_free_disk;
        disk->disk_specific = mac_disk_data;
-       mac_disk_data->ghost_size = disk->dev->sector_size / 512;
+       mac_disk_data->ghost_size = 1;
        mac_disk_data->active_part_entry_count = 0;
        mac_disk_data->free_part_entry_count = 1;
        mac_disk_data->last_part_entry_num = 1;
@@ -410,13 +410,12 @@ static int _GL_ATTRIBUTE_PURE
 _rawpart_has_driver (const MacRawPartition* raw_part, MacDiskData* mac_disk_data)
 {
        MacDeviceDriver *driverlist;
-       uint16_t i, bsz;
+       uint16_t i;
        uint32_t driver_bs, driver_be, part_be;
 
        driverlist = &mac_disk_data->driverlist[0];
-       bsz = mac_disk_data->block_size / 512;
        for (i = 0; i < mac_disk_data->driver_count; i++) {
-               driver_bs = driverlist->block * bsz;
+               driver_bs = driverlist->block;
                driver_be = driver_bs + driverlist->size;
                part_be = raw_part->start_block + raw_part->block_count;
                if (driver_bs >= raw_part->start_block && driver_be <= part_be)
@@ -497,7 +496,6 @@ _rawpart_analyse (MacRawPartition* raw_part, PedDisk* disk, int num)
        MacDiskData*            mac_disk_data;
        PedPartition*           part;
        MacPartitionData*       mac_part_data;
-       PedSector               block_size;
        PedSector               start, length;
 
        if (!_rawpart_check_signature (raw_part)) {
@@ -514,10 +512,9 @@ _rawpart_analyse (MacRawPartition* raw_part, PedDisk* disk, int num)
        }
 
        mac_disk_data = (MacDiskData*) disk->disk_specific;
-       block_size = disk->dev->sector_size / 512;
 
-       start = PED_BE32_TO_CPU (raw_part->start_block) * block_size;
-       length = PED_BE32_TO_CPU (raw_part->block_count) * block_size;
+       start = PED_BE32_TO_CPU (raw_part->start_block);
+       length = PED_BE32_TO_CPU (raw_part->block_count);
        if (length == 0) {
 #ifndef DISCOVER_ONLY
                ped_exception_throw (
@@ -560,7 +557,7 @@ _rawpart_analyse (MacRawPartition* raw_part, PedDisk* disk, int num)
        }
 #endif /* !DISCOVER_ONLY */
        mac_part_data->data_region_length
-               = PED_BE32_TO_CPU (raw_part->data_count) * block_size;
+               = PED_BE32_TO_CPU (raw_part->data_count);
 
        /* boot region - we have no idea what this is for, but Mac OSX
         * seems to put garbage here, and doesn't pay any attention to
@@ -577,7 +574,7 @@ _rawpart_analyse (MacRawPartition* raw_part, PedDisk* disk, int num)
        }
 #endif
        mac_part_data->boot_region_length
-               = PED_BE32_TO_CPU (raw_part->boot_count) * block_size;
+               = PED_BE32_TO_CPU (raw_part->boot_count);
 
 #ifndef DISCOVER_ONLY
        if (mac_part_data->has_driver) {
@@ -629,12 +626,11 @@ static int
 _rawpart_get_partmap_size (MacRawPartition* raw_part, PedDisk* disk)
 {
        MacDiskData*    mac_disk_data = disk->disk_specific;
-       PedSector       sector_size = disk->dev->sector_size / 512;
        PedSector       part_map_start;
        PedSector       part_map_end;
 
        part_map_start = mac_disk_data->ghost_size;
-       part_map_end = sector_size * PED_BE32_TO_CPU (raw_part->map_count);
+       part_map_end = PED_BE32_TO_CPU (raw_part->map_count);
 
        return part_map_end - part_map_start + 1;
 }
@@ -738,13 +734,16 @@ mac_read (PedDisk* disk)
        if (!ptt_read_sector (disk->dev, 0, &buf))
                return 0;
 
-       MacRawDisk *raw_disk = (MacRawDisk *) buf;
+       MacRawDisk *raw_disk = buf;
 
        if (!_check_signature (raw_disk))
                goto error;
 
+       /* Record the original sector size;  this function may change it.  */
+       PedSector ss0 = disk->dev->sector_size;
        if (!_disk_analyse_block_size (disk, raw_disk))
                goto error;
+
        if (!_disk_analyse_ghost_size (disk))
                goto error;
        ghost_size = mac_disk_data->ghost_size;
@@ -759,6 +758,15 @@ mac_read (PedDisk* disk)
                mac_disk_data->block_size = raw_disk->block_size;
        }
 
+       /* If _disk_analyse_block_size has increased the sector_size,
+          reallocate this buffer, so we can still read a sector into it.  */
+       if (ss0 < disk->dev->sector_size) {
+               free (buf);
+               buf = ped_malloc (disk->dev->sector_size);
+               if (buf == NULL)
+                       goto error;
+       }
+
        for (num=1; num==1 || num <= last_part_entry_num; num++) {
                void *raw_part = buf;
                if (!ped_device_read (disk->dev, raw_part,
@@ -869,14 +877,13 @@ static void
 _update_driver_count (MacRawPartition* part_map_entry,
                      MacDiskData *mac_driverdata, const MacDiskData* mac_disk_data)
 {
-       uint16_t        i, count_orig, count_cur, bsz;
+       uint16_t        i, count_orig, count_cur;
        uint32_t        driver_bs, driver_be, part_be;
 
-       bsz = mac_disk_data->block_size / 512;
        count_cur = mac_driverdata->driver_count;
        count_orig = mac_disk_data->driver_count;
        for (i = 0; i < count_orig; i++) {
-               driver_bs = mac_disk_data->driverlist[i].block * bsz;
+               driver_bs = mac_disk_data->driverlist[i].block;
                driver_be = driver_bs + mac_disk_data->driverlist[i].size;
                part_be = part_map_entry->start_block + part_map_entry->block_count;
                if (driver_bs >= part_map_entry->start_block
@@ -909,7 +916,6 @@ _generate_raw_part (PedDisk* disk, PedPartition* part,
 {
        MacDiskData*            mac_disk_data;
        MacPartitionData*       mac_part_data;
-       PedSector               block_size = disk->dev->sector_size / 512;
 
        PED_ASSERT (part->num > 0);
 
@@ -922,10 +928,8 @@ _generate_raw_part (PedDisk* disk, PedPartition* part,
        part_map_entry->signature = PED_CPU_TO_BE16 (MAC_PARTITION_MAGIC_2);
        part_map_entry->map_count
                = PED_CPU_TO_BE32 (mac_disk_data->last_part_entry_num);
-       part_map_entry->start_block
-               = PED_CPU_TO_BE32 (part->geom.start / block_size);
-       part_map_entry->block_count
-               = PED_CPU_TO_BE32 (part->geom.length / block_size);
+       part_map_entry->start_block = PED_CPU_TO_BE32 (part->geom.start);
+       part_map_entry->block_count = PED_CPU_TO_BE32 (part->geom.length);
        strcpy (part_map_entry->name, mac_part_data->volume_name);
        strcpy (part_map_entry->type, mac_part_data->system_name);
 
@@ -937,9 +941,9 @@ _generate_raw_part (PedDisk* disk, PedPartition* part,
        } else
                mac_part_data->data_region_length = part->geom.length;
        part_map_entry->data_count = PED_CPU_TO_BE32 (
-                       mac_part_data->data_region_length / block_size);
+                       mac_part_data->data_region_length);
        part_map_entry->boot_count = PED_CPU_TO_BE32 (
-                       mac_part_data->boot_region_length / block_size);
+                       mac_part_data->boot_region_length);
        part_map_entry->status = PED_CPU_TO_BE32 (mac_part_data->status);
        part_map_entry->driver_sig
                = PED_CPU_TO_BE32 (mac_part_data->driver_sig);
@@ -967,7 +971,6 @@ _generate_raw_freespace_part (PedDisk* disk, PedGeometry* geom, int num,
                              MacRawPartition* part_map)
 {
        MacDiskData*            mac_disk_data = disk->disk_specific;
-       PedSector               block_size = disk->dev->sector_size / 512;
 
        PED_ASSERT (num > 0);
 
@@ -976,10 +979,8 @@ _generate_raw_freespace_part (PedDisk* disk, PedGeometry* geom, int num,
        part_map_entry->signature = PED_CPU_TO_BE16 (MAC_PARTITION_MAGIC_2);
        part_map_entry->map_count
                = PED_CPU_TO_BE32 (mac_disk_data->last_part_entry_num);
-       part_map_entry->start_block
-               = PED_CPU_TO_BE32 (geom->start / block_size);
-       part_map_entry->block_count
-               = PED_CPU_TO_BE32 (geom->length / block_size);
+       part_map_entry->start_block = PED_CPU_TO_BE32 (geom->start);
+       part_map_entry->block_count = PED_CPU_TO_BE32 (geom->length);
        strcpy (part_map_entry->name, "Extra");
        strcpy (part_map_entry->type, "Apple_Free");
 
@@ -1039,8 +1040,7 @@ write_block_zero (PedDisk* disk, MacDiskData* mac_driverdata)
 
        raw_disk->signature = PED_CPU_TO_BE16 (MAC_DISK_MAGIC);
        raw_disk->block_size = PED_CPU_TO_BE16 (dev->sector_size);
-       raw_disk->block_count
-               = PED_CPU_TO_BE32 (dev->length / (dev->sector_size / 512));
+       raw_disk->block_count = PED_CPU_TO_BE32 (dev->length);
 
        raw_disk->driver_count = mac_driverdata->driver_count;
        memcpy(&raw_disk->driverlist[0], &mac_driverdata->driverlist[0],
@@ -1383,9 +1383,7 @@ mac_partition_get_name (const PedPartition* part)
 static PedAlignment*
 mac_get_partition_alignment(const PedDisk *disk)
 {
-        PedSector sector_size = disk->dev->sector_size / 512;
-
-        return ped_alignment_new(0, sector_size);
+        return ped_alignment_new(0, 1);
 }
 
 static PedConstraint*
@@ -1394,13 +1392,10 @@ _primary_constraint (PedDisk* disk)
        PedAlignment    start_align;
        PedAlignment    end_align;
        PedGeometry     max_geom;
-       PedSector       sector_size;
-
-       sector_size = disk->dev->sector_size / 512;
 
-       if (!ped_alignment_init (&start_align, 0, sector_size))
+       if (!ped_alignment_init (&start_align, 0, 1))
                return NULL;
-       if (!ped_alignment_init (&end_align, -1, sector_size))
+       if (!ped_alignment_init (&end_align, -1, 1))
                return NULL;
        if (!ped_geometry_init (&max_geom, disk->dev, 1, disk->dev->length - 1))
                return NULL;
@@ -1536,7 +1531,7 @@ mac_alloc_metadata (PedDisk* disk)
        PED_ASSERT (disk->disk_specific != NULL);
        PED_ASSERT (disk->dev != NULL);
 
-       if (!add_metadata_part (disk, 0, disk->dev->sector_size / 512 - 1))
+       if (!add_metadata_part (disk, 0, 0))
                return 0;
 
        /* hack: this seems to be a good place, to update the partition map
index cdcc91b35c629bd3a3c9480be25a5e7d0c2f9528..d32e0dd0c95bba9f952e1c09f78b17fe1aadd767 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: c; indent-tabs-mode: nil -*-
 
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
+#include <inttypes.h>
+#include <uuid/uuid.h>
+
+/* hack: use the ext2 uuid library to generate a reasonably random (hopefully
+ * with /dev/random) number.  Unfortunately, we can only use 4 bytes of it.
+ * We make sure to avoid returning zero which may be interpreted as no FAT
+ * serial number or no MBR signature.
+ */
+static inline uint32_t
+generate_random_uint32 (void)
+{
+       union {
+               uuid_t uuid;
+               uint32_t i;
+       } uu32;
+
+       uuid_generate (uu32.uuid);
+
+       return uu32.i > 0 ? uu32.i : 0xffffffff;
+}
+
 /* Return nonzero if FS_TYPE_NAME starts with "linux-swap".
    This must match the NUL-terminated "linux-swap" as well
    as "linux-swap(v0)" and "linux-swap(v1)".  */
index 617acabbe6fb407f41c8687db26ef41872e12817..b2ce5915b24380d3c05472c7ad44d91811c55c68 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 2693151c9d90e96887570a71ab144af6e282fd49..8100f320ebc2a21cce4efe85a6f94271c2a10db5 100644 (file)
@@ -1,5 +1,5 @@
 /* partition table tools
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index aa311222afdd30f79e7f1f6455be3ed215b8b71b..cd98a1ea5ee6f1102c71c6d40f84daf0aa6344c7 100644 (file)
@@ -1,5 +1,5 @@
 /* libparted - a library for manipulating disk partitions
-   Copyright (C) 2008-2012 Free Software Foundation, Inc.
+   Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 837035114541aff809f0b9c1e46a923bff4f4975..34b59aa6220a9b5fe18614564fd09fcea3376aa1 100644 (file)
@@ -2,7 +2,7 @@
 
     libparted - a library for manipulating disk partitions
     disk_amiga.c - libparted module to manipulate amiga RDB partition tables.
-    Copyright (C) 2000-2001, 2004, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000-2001, 2004, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index c7a11b58dfe7536004685553a0ac66214e51544e..b23ff865d6595f0ff967fb4895bf41f5615c5a45 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2000-2001, 2005, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2000-2001, 2005, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index cf2990e3b9cc908aaaa2348acc4cfba30bf2d93d..fdfa94f86f85bb3d97fb32866f2eca8057c332fe 100644 (file)
@@ -218,11 +218,32 @@ vtoc_set_extent (extent_t *ext, u_int8_t typeind, u_int8_t seqno,
 }
 
 void
-vtoc_set_cchh (cchh_t *addr, u_int16_t cc, u_int16_t hh)
+vtoc_set_cchh (cchh_t *addr, u_int32_t cc, u_int16_t hh)
 {
        PDEBUG
-       addr->cc = cc;
-       addr->hh = hh;
+       addr->cc = (u_int16_t) cc;
+       addr->hh = cc >> 16;
+       addr->hh <<= 4;
+       addr->hh |= hh;
+}
+
+u_int32_t
+vtoc_get_cyl_from_cchh (cchh_t *addr)
+{
+       u_int32_t cyl;
+
+       /*decode cylinder for large volumes */
+       cyl = addr->hh & 0xFFF0;
+       cyl <<= 12;
+       cyl |= addr->cc;
+       return cyl;
+}
+
+u_int16_t
+vtoc_get_head_from_cchh (cchh_t *addr)
+{
+       /* decode heads for large volumes */
+       return addr->hh & 0x000F;
 }
 
 static void
@@ -234,12 +255,63 @@ vtoc_set_ttr (ttr_t *addr, u_int16_t tt, u_int8_t r)
 }
 
 void
-vtoc_set_cchhb (cchhb_t *addr, u_int16_t cc, u_int16_t hh, u_int8_t b)
+vtoc_set_cchhb (cchhb_t *addr, u_int32_t cc, u_int16_t hh, u_int8_t b)
 {
        PDEBUG
-       addr->cc = cc;
-       addr->hh = hh;
-       addr->b = b;
+       addr->cc = (u_int16_t) cc;
+       addr->hh = cc >> 16;
+       addr->hh <<= 4;
+       addr->hh |= hh;
+       addr->b  = b;
+}
+
+u_int32_t
+vtoc_get_cyl_from_cchhb(cchhb_t *addr)
+{
+       u_int32_t cyl;
+
+       /* decode cylinder for large volumes */
+       cyl = addr->hh & 0xFFF0;
+       cyl <<= 12;
+       cyl |= addr->cc;
+       return cyl;
+}
+
+u_int16_t
+vtoc_get_head_from_cchhb(cchhb_t *addr)
+{
+       /* decode heads for large volumes */
+       return addr->hh & 0x000F;
+}
+
+/*
+ * some functions to convert cyl-cyl-head-head addresses to
+ * block or track numbers
+ * Note: Record zero is special, so first block on a track is
+ * in record 1!
+ */
+u_int64_t
+cchhb2blk (cchhb_t *p, struct fdasd_hd_geometry *geo)
+{
+       return (u_int64_t) vtoc_get_cyl_from_cchhb(p) *
+               geo->heads * geo->sectors +
+               vtoc_get_head_from_cchhb(p) * geo->sectors +
+               p->b;
+}
+
+u_int64_t
+cchh2blk (cchh_t *p, struct fdasd_hd_geometry *geo)
+{
+       return (u_int64_t) vtoc_get_cyl_from_cchh(p) *
+               geo->heads * geo->sectors +
+               vtoc_get_head_from_cchh(p) * geo->sectors;
+}
+
+u_int32_t
+cchh2trk (cchh_t *p, struct fdasd_hd_geometry *geo)
+{
+       return  vtoc_get_cyl_from_cchh(p) * geo->heads +
+               vtoc_get_head_from_cchh(p);
 }
 
 void
@@ -506,7 +578,8 @@ vtoc_write_label (int f, unsigned long position,
                  format1_label_t const *f1,
                   format4_label_t const *f4,
                  format5_label_t const *f5,
-                 format7_label_t const *f7)
+                 format7_label_t const *f7,
+                 format9_label_t const *f9)
 {
        PDEBUG
        int t;
@@ -542,6 +615,17 @@ vtoc_write_label (int f, unsigned long position,
                        vtoc_error(unable_to_write, "vtoc_write_label",
                                   _("Could not write VTOC FMT7 DSCB."));
        }
+
+       if (f9 != NULL)
+       {
+               t = sizeof(format9_label_t);
+               if (write(f, f9, t) != t)
+               {
+                       close(f);
+                       vtoc_error(unable_to_write, "vtoc_write_label",
+                                  _("Could not write VTOC FMT9 DSCB."));
+               }
+       }
 }
 
 /*
@@ -549,7 +633,8 @@ vtoc_write_label (int f, unsigned long position,
  */
 void
 vtoc_init_format4_label (format4_label_t *f4, unsigned int usable_partitions,
-                         unsigned int cylinders, unsigned int tracks,
+                         unsigned int compat_cylinders,
+                         unsigned int real_cylinders, unsigned int tracks,
                          unsigned int blocks, unsigned int blksize,
                          u_int16_t dev_type)
 {
@@ -574,7 +659,7 @@ vtoc_init_format4_label (format4_label_t *f4, unsigned int usable_partitions,
        f4->DS4DEVAC = 0x00;
 
        /* -- begin f4->DS4DEVCT -- */
-       f4->DS4DEVCT.DS4DSCYL = cylinders;
+       f4->DS4DEVCT.DS4DSCYL = compat_cylinders;
        f4->DS4DEVCT.DS4DSTRK = tracks;
 
        switch (dev_type) {
@@ -613,7 +698,11 @@ vtoc_init_format4_label (format4_label_t *f4, unsigned int usable_partitions,
        bzero(f4->res2, sizeof(f4->res2));
        f4->DS4EFLVL = 0x00;
        bzero(&f4->DS4EFPTR, sizeof(f4->DS4EFPTR));
-       bzero(f4->res3, sizeof(f4->res3));
+       bzero(&f4->res3, sizeof(f4->res3));
+       f4->DS4DCYL = real_cylinders;
+       bzero(f4->res4, sizeof(f4->res4));
+       f4->DS4DEVF2 = 0x40; /* allow format 8 and 9 labels */
+       bzero(&f4->res5, sizeof(f4->res5));
 }
 
 /*
@@ -647,11 +736,12 @@ vtoc_init_format7_label (format7_label_t *f7)
 }
 
 /*
- * initializes a format1 label
+ * helper function that initializes a most parts of a
+ * format1 or format 8 label, all but the field DS1FMTID
  */
 void
-vtoc_init_format1_label (char *volid, unsigned int blksize,
-                         extent_t *part_extent, format1_label_t *f1)
+vtoc_init_format_1_8_label (char *volid, unsigned int blksize,
+                            extent_t *part_extent, format1_label_t *f1)
 {
        PDEBUG
        struct tm * creatime;
@@ -666,7 +756,6 @@ vtoc_init_format1_label (char *volid, unsigned int blksize,
        sprintf(str, "PART    .NEW                                ");
        vtoc_ebcdic_enc(str, str, 44);
        strncpy(f1->DS1DSNAM, str, 44);
-       f1->DS1FMTID = 0xf1;
        strncpy(f1->DS1DSSN, "      ", 6);
        f1->DS1VOLSQ = 0x0001;
 
@@ -704,6 +793,37 @@ vtoc_init_format1_label (char *volid, unsigned int blksize,
        vtoc_set_cchhb(&f1->DS1PTRDS, 0x0000, 0x0000, 0x00);
 }
 
+void
+vtoc_init_format1_label (char *volid, unsigned int blksize,
+                         extent_t *part_extent, format1_label_t *f1)
+{
+       vtoc_init_format_1_8_label(volid, blksize, part_extent, f1);
+       f1->DS1FMTID = 0xf1;
+}
+
+void
+vtoc_init_format8_label (char *volid, unsigned int blksize,
+                         extent_t *part_extent, format1_label_t *f8)
+{
+       vtoc_init_format_1_8_label(volid, blksize, part_extent, f8);
+       f8->DS1FMTID = 0xf8;
+}
+
+void
+vtoc_update_format8_label (cchhb_t *associated_f9, format1_label_t *f8)
+{
+       memcpy(&f8->DS1PTRDS, associated_f9, sizeof(*associated_f9));
+}
+
+void
+vtoc_init_format9_label (format9_label_t *f9)
+{
+       f9->DS9KEYID = 0x09;
+       f9->DS9SUBTY = 0x01;
+       f9->DS9NUMF9 = 1;
+       f9->DS9FMTID = 0xf9;
+}
+
 /*
  * do some updates to the VTOC format4 label
  */
@@ -1060,7 +1180,7 @@ vtoc_update_format7_label_add (format7_label_t *f7, int verbose,
                if ((ext->a + ext->b) == 0x00000000)
                        continue;
 
-               if ((ext->b + 1) == tmp->a) {
+               if (ext->b == tmp->a) {
                        /* this extent precedes the new one */
                        ext->b = tmp->b;
                        bzero(tmp, sizeof(ds7ext_t));
@@ -1074,7 +1194,7 @@ vtoc_update_format7_label_add (format7_label_t *f7, int verbose,
                        continue;
                }
 
-               if (ext->a == (tmp->b + 1)) {
+               if (ext->a == tmp->b) {
                        /* this extent succeeds the new one */
                        ext->a = tmp->a;
                        bzero(tmp, sizeof(ds7ext_t));
@@ -1119,7 +1239,7 @@ vtoc_update_format7_label_del (format7_label_t *f7, int verbose,
 
                if ((a == ext->a) && (b < ext->b)) {
                        /* left-bounded in free space gap */
-                       ext->a = b + 1;
+                       ext->a = b;
 
                        if (verbose)
                                puts ("FMT7 add extent: left-bounded");
@@ -1130,7 +1250,7 @@ vtoc_update_format7_label_del (format7_label_t *f7, int verbose,
 
                if ((a > ext->a) && (b == ext->b)) {
                        /* right-bounded in free space gap */
-                       ext->b = a - 1;
+                       ext->b = a;
 
                        if (verbose)
                                puts ("FMT7 add extent: right-bounded");
@@ -1141,8 +1261,8 @@ vtoc_update_format7_label_del (format7_label_t *f7, int verbose,
 
                if ((a > ext->a) && (b < ext->b)) {
                        /* partition devides free space into 2 pieces */
-                       vtoc_update_format7_label_add(f7, verbose, b+1, ext->b);
-                       ext->b = a - 1;
+                       vtoc_update_format7_label_add(f7, verbose, b, ext->b);
+                       ext->b = a;
 
                        if (verbose)
                                puts ("FMT7 add extent: 2 pieces");
@@ -1172,14 +1292,19 @@ vtoc_update_format7_label_del (format7_label_t *f7, int verbose,
 void
 vtoc_set_freespace(format4_label_t *f4, format5_label_t *f5,
                    format7_label_t *f7, char ch, int verbose,
-                   u_int32_t start, u_int32_t stop, int cyl, int trk)
+                   u_int32_t start, u_int32_t stop, u_int32_t cyl,
+                   u_int32_t trk)
 {
        PDEBUG
        if ((cyl * trk) > BIG_DISK_SIZE) {
                if (ch == '+')
-                       vtoc_update_format7_label_add(f7, verbose, start, stop);
+                       vtoc_update_format7_label_add(f7, verbose, start,
+                                                     /* ds7ext RTA + 1 */
+                                                     stop + 1);
                else if (ch == '-')
-                       vtoc_update_format7_label_del(f7, verbose, start, stop);
+                       vtoc_update_format7_label_del(f7, verbose, start,
+                                                     /* ds7ext RTA + 1 */
+                                                     stop + 1);
                else
                        puts ("BUG: syntax error in vtoc_set_freespace call");
 
index a6d86f03b67284c01ad67d17e6b4951e08eca3f4..d5cbb3a4c61e9ae6c892a6c96fa6a70a0919ca60 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 1999-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -109,6 +109,7 @@ extern void ped_file_system_hfs_init (void);
 extern void ped_file_system_fat_init (void);
 extern void ped_file_system_ext2_init (void);
 extern void ped_file_system_nilfs2_init (void);
+extern void ped_file_system_btrfs_init (void);
 
 static void
 init_file_system_types ()
@@ -124,6 +125,7 @@ init_file_system_types ()
        ped_file_system_fat_init ();
        ped_file_system_ext2_init ();
        ped_file_system_nilfs2_init ();
+       ped_file_system_btrfs_init ();
 }
 
 extern void ped_disk_aix_done ();
@@ -186,6 +188,7 @@ extern void ped_file_system_reiserfs_done (void);
 extern void ped_file_system_ufs_done (void);
 extern void ped_file_system_xfs_done (void);
 extern void ped_file_system_amiga_done (void);
+extern void ped_file_system_btrfs_done (void);
 
 static void
 done_file_system_types ()
@@ -201,6 +204,7 @@ done_file_system_types ()
        ped_file_system_ufs_done ();
        ped_file_system_xfs_done ();
        ped_file_system_amiga_done ();
+       ped_file_system_btrfs_done ();
 }
 
 static void _done() __attribute__ ((destructor));
index e30b034ed16d32793dd823e1eef5f9a9fc1b1665..5dd12bd4b73f960b6165912ef35fb027c97f0831 100644 (file)
@@ -1,5 +1,5 @@
 ;   libparted - a library for manipulating disk partitions
-;   Copyright (C) 1999-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+;   Copyright (C) 1999-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 ;
 ;   This program is free software; you can redistribute it and/or modify
 ;   it under the terms of the GNU General Public License as published by
index ec01599798f865479d5f738aaf1ebf2227dc063b..c7c10a95432c28bed53d0ae3ec7c53e052a80e81 100644 (file)
@@ -1,5 +1,5 @@
 # This file is part of GNU Parted
-# Copyright (C) 1999-2001, 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007-2014 Free Software Foundation, Inc.
 #
 # This file may be modified and/or distributed without restriction.
 
@@ -10,7 +10,8 @@ AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
 
 LDADD = \
   $(top_builddir)/libparted/libparted.la \
-  $(CHECK_LIBS)
+  $(CHECK_LIBS) \
+  -lpthread
 
 AM_CPPFLAGS = \
   $(CHECK_CFLAGS) \
index b7397f5cefb5fbae588fdc81d9eecdd7e2c456bd..fdae5f33ca62a3b383950f2dd158c441304de19e 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 @SET_MAKE@
 
 # This file is part of GNU Parted
-# Copyright (C) 1999-2001, 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007-2014 Free Software Foundation, Inc.
 #
 # This file may be modified and/or distributed without restriction.
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -57,14 +84,14 @@ host_triplet = @host@
 check_PROGRAMS = label$(EXEEXT) disk$(EXEEXT) zerolen$(EXEEXT) \
        symlink$(EXEEXT)
 subdir = libparted/tests
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/build-aux/depcomp \
        $(top_srcdir)/build-aux/test-driver
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -72,16 +99,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -91,35 +119,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -151,6 +180,7 @@ disk_DEPENDENCIES = $(top_builddir)/libparted/libparted.la \
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
+am__v_lt_1 = 
 am_label_OBJECTS = common.$(OBJEXT) label.$(OBJEXT)
 label_OBJECTS = $(am_label_OBJECTS)
 label_LDADD = $(LDADD)
@@ -166,6 +196,18 @@ zerolen_OBJECTS = $(am_zerolen_OBJECTS)
 zerolen_LDADD = $(LDADD)
 zerolen_DEPENDENCIES = $(top_builddir)/libparted/libparted.la \
        $(am__DEPENDENCIES_1)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -179,9 +221,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CC = $(am__v_CC_@AM_V@)
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC      " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_1 = 
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -189,35 +229,56 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD    " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_CCLD_1 = 
 SOURCES = $(disk_SOURCES) $(label_SOURCES) $(symlink_SOURCES) \
        $(zerolen_SOURCES)
 DIST_SOURCES = $(disk_SOURCES) $(label_SOURCES) $(symlink_SOURCES) \
        $(zerolen_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 am__tty_colors_dummy = \
   mgn= red= grn= lgn= blu= brg= std=; \
   am__color_tests=no
-# If stdout is a non-dumb tty, use colors.  If test -t is not supported,
-# then this fails; a conservative approach.  Of course do not redirect
-# stdout here, just stderr.
-am__tty_colors = \
-$(am__tty_colors_dummy); \
-test "X$(AM_COLOR_TESTS)" != Xno \
-&& test "X$$TERM" != Xdumb \
-&& { test "X$(AM_COLOR_TESTS)" = Xalways || test -t 1 2>/dev/null; } \
-&& { \
-  am__color_tests=yes; \
-  red='\e[0;31m'; \
-  grn='\e[0;32m'; \
-  lgn='\e[1;32m'; \
-  blu='\e[1;34m'; \
-  mgn='\e[0;35m'; \
-  brg='\e[1m'; \
-  std='\e[m'; \
+am__tty_colors = { \
+  $(am__tty_colors_dummy); \
+  if test "X$(AM_COLOR_TESTS)" = Xno; then \
+    am__color_tests=no; \
+  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+    am__color_tests=yes; \
+  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+    am__color_tests=yes; \
+  fi; \
+  if test $$am__color_tests = yes; then \
+    red='\e[0;31m'; \
+    grn='\e[0;32m'; \
+    lgn='\e[1;32m'; \
+    blu='\e[1;34m'; \
+    mgn='\e[0;35m'; \
+    brg='\e[1m'; \
+    std='\e[m'; \
+  fi; \
 }
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 am__vpath_adj = case $$p in \
@@ -246,9 +307,85 @@ am__uninstall_files_from_dir = { \
     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
          $(am__cd) "$$dir" && rm -f $$files; }; \
   }
-# Restructured Text title and section.
+am__recheck_rx = ^[    ]*:recheck:[    ]*
+am__global_test_result_rx = ^[         ]*:global-test-result:[         ]*
+am__copy_in_global_log_rx = ^[         ]*:copy-in-global-log:[         ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+  recheck = 1; \
+  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+    { \
+      if (rc < 0) \
+        { \
+          if ((getline line2 < ($$0 ".log")) < 0) \
+           recheck = 0; \
+          break; \
+        } \
+      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+        { \
+          recheck = 0; \
+          break; \
+        } \
+      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+        { \
+          break; \
+        } \
+    }; \
+  if (recheck) \
+    print $$0; \
+  close ($$0 ".trs"); \
+  close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+  print "fatal: making $@: " msg | "cat >&2"; \
+  exit 1; \
+} \
+function rst_section(header) \
+{ \
+  print header; \
+  len = length(header); \
+  for (i = 1; i <= len; i = i + 1) \
+    printf "="; \
+  printf "\n\n"; \
+} \
+{ \
+  copy_in_global_log = 1; \
+  global_test_result = "RUN"; \
+  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+    { \
+      if (rc < 0) \
+         fatal("failed to read from " $$0 ".trs"); \
+      if (line ~ /$(am__global_test_result_rx)/) \
+        { \
+          sub("$(am__global_test_result_rx)", "", line); \
+          sub("[       ]*$$", "", line); \
+          global_test_result = line; \
+        } \
+      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+        copy_in_global_log = 0; \
+    }; \
+  if (copy_in_global_log) \
+    { \
+      rst_section(global_test_result ": " $$0); \
+      while ((rc = (getline line < ($$0 ".log"))) != 0) \
+      { \
+        if (rc < 0) \
+          fatal("failed to read from " $$0 ".log"); \
+        print line; \
+      }; \
+      printf "\n"; \
+    }; \
+  close ($$0 ".trs"); \
+  close ($$0 ".log"); \
+}'
+# Restructured Text title.
 am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
-am__rst_section = { sed 'p;s/./=/g;' && echo; }
 # Solaris 10 'make', and several other traditional 'make' implementations,
 # pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
 # by disabling -e (using the XSI extension "set +e") if it's set.
@@ -270,8 +407,12 @@ $(am__sh_e_setup);                                 \
 $(am__vpath_adj_setup) $(am__vpath_adj)                        \
 $(am__tty_colors);                                     \
 srcdir=$(srcdir); export srcdir;                       \
-am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;           \
-test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?;        \
+case "$@" in                                           \
+  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;   \
+    *) am__odir=.;;                                    \
+esac;                                                  \
+test "x$$am__odir" = x"." || test -d "$$am__odir"      \
+  || $(MKDIR_P) "$$am__odir" || exit $$?;              \
 if test -f "./$$f"; then dir=./;                       \
 elif test -f "$$f"; then dir=;                         \
 else dir="$(srcdir)/"; fi;                             \
@@ -294,7 +435,7 @@ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
 # '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
 # since that might cause problem with VPATH rewrites for suffix-less tests.
-# See also 'test-harness-vpath-rewrite.test' and 'test-trs-basic.test'.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
 am__set_TESTS_bases = \
   bases='$(TEST_LOGS)'; \
   bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
@@ -400,7 +541,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -437,7 +577,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -453,6 +592,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -528,6 +668,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -652,7 +793,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -676,7 +816,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -750,6 +889,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -759,10 +899,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -892,7 +1030,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -912,7 +1049,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -976,21 +1112,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -1019,6 +1160,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -1053,6 +1195,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -1102,6 +1246,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1158,6 +1304,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1171,7 +1318,8 @@ EXTRA_DIST = $(TESTS)
 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
 LDADD = \
   $(top_builddir)/libparted/libparted.la \
-  $(CHECK_LIBS)
+  $(CHECK_LIBS) \
+  -lpthread
 
 AM_CPPFLAGS = \
   $(CHECK_CFLAGS) \
@@ -1235,15 +1383,19 @@ clean-checkPROGRAMS:
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
        echo " rm -f" $$list; \
        rm -f $$list
+
 disk$(EXEEXT): $(disk_OBJECTS) $(disk_DEPENDENCIES) $(EXTRA_disk_DEPENDENCIES) 
        @rm -f disk$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(disk_OBJECTS) $(disk_LDADD) $(LIBS)
+
 label$(EXEEXT): $(label_OBJECTS) $(label_DEPENDENCIES) $(EXTRA_label_DEPENDENCIES) 
        @rm -f label$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(label_OBJECTS) $(label_LDADD) $(LIBS)
+
 symlink$(EXEEXT): $(symlink_OBJECTS) $(symlink_DEPENDENCIES) $(EXTRA_symlink_DEPENDENCIES) 
        @rm -f symlink$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(symlink_OBJECTS) $(symlink_LDADD) $(LIBS)
+
 zerolen$(EXEEXT): $(zerolen_OBJECTS) $(zerolen_DEPENDENCIES) $(EXTRA_zerolen_DEPENDENCIES) 
        @rm -f zerolen$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(zerolen_OBJECTS) $(zerolen_LDADD) $(LIBS)
@@ -1261,22 +1413,25 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zerolen.Po@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
 
 .c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
@@ -1287,26 +1442,15 @@ mostlyclean-libtool:
 clean-libtool:
        -rm -rf .libs _libs
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1318,15 +1462,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1335,9 +1475,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
 
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1361,6 +1502,12 @@ distclean-tags:
        rm -f $< $@
        $(MAKE) $(AM_MAKEFLAGS) $<
 
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+       @:
+
 $(TEST_SUITE_LOG): $(TEST_LOGS)
        @$(am__set_TESTS_bases); \
        am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
@@ -1385,9 +1532,9 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
          errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
          for i in $$redo_bases; do \
            test -f $$i.trs && test -r $$i.trs \
-             || { echo "$$errmsg $$i.trs"; st=1; }; \
+             || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
            test -f $$i.log && test -r $$i.log \
-             || { echo "$$errmsg $$i.log"; st=1; }; \
+             || { echo "$$errmsg $$i.log" >&2; st=1; }; \
          done; \
          test $$st -eq 0 || exit 1; \
        fi
@@ -1443,22 +1590,9 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
          echo;                                                         \
          echo ".. contents:: :depth: 2";                               \
          echo;                                                         \
-         for i in $$bases; do                                          \
-           if grep "^$$ws*:copy-in-global-log:$$ws*no$$ws*$$" $$i.trs \
-                >/dev/null; then continue; \
-           fi; \
-           glob_res=`sed -n -e "s/$$ws*$$//" \
-                            -e "s/^$$ws*:global-test-result:$$ws*//p" \
-                       $$i.trs`; \
-           test -n "$$glob_res" || glob_res=RUN; \
-           echo "$$glob_res: $$i" | $(am__rst_section); \
-           if test ! -r $$i.log; then \
-             echo "fatal: making $@: $$i.log is unreadable" >&2; \
-             exit 1; \
-           fi; \
-           cat $$i.log; echo; \
-         done; \
-       } >$(TEST_SUITE_LOG).tmp;                                       \
+         for b in $$bases; do echo $$b; done                           \
+           | $(am__create_global_log);                                 \
+       } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
        mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
        if $$success; then                                              \
          col="$$grn";                                                  \
@@ -1480,41 +1614,27 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
        fi;                                                             \
        $$success || exit 1
 
-check-TESTS recheck:
-       @if test $@ != recheck; then \
-          list='$(RECHECK_LOGS)'; \
-          test -z "$$list" || rm -f $$list; \
-        fi
-       @if test $@ != recheck; then \
-          list='$(RECHECK_LOGS:.log=.trs)'; \
-          test -z "$$list" || rm -f $$list; \
-        fi
+check-TESTS:
+       @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
+       @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
-       @ws='[  ]'; \
-       log_list='' trs_list=''; $(am__set_TESTS_bases); \
-       for i in $$bases; do \
-         if test $@ = recheck; then \
-           test -f $$i.trs || test -f $$i.log || continue; \
-           grep "^$$ws*:recheck:$$ws*no$$ws*$$" $$i.trs \
-             >/dev/null 2>&1 && continue; \
-         else :; fi; \
-         if test -z "$$log_list"; then \
-           log_list="$$i.log"; \
-         else \
-           log_list="$$log_list $$i.log"; \
-         fi; \
-         if test -z "$$trs_list"; then \
-           trs_list="$$i.trs"; \
-         else \
-           trs_list="$$trs_list $$i.trs"; \
-         fi; \
-       done; \
-       if test $@ != recheck || $(am__make_dryrun); then :; else \
-         test -z "$$log_list" || rm -f $$log_list; \
-         test -z "$$trs_list" || rm -f $$trs_list; \
-       fi; \
-       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"
-recheck: $(check_PROGRAMS)
+       @set +e; $(am__set_TESTS_bases); \
+       log_list=`for i in $$bases; do echo $$i.log; done`; \
+       trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+       log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+       exit $$?;
+recheck: all $(check_PROGRAMS)
+       @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+       @set +e; $(am__set_TESTS_bases); \
+       bases=`for i in $$bases; do echo $$i; done \
+                | $(am__list_recheck_tests)` || exit 1; \
+       log_list=`for i in $$bases; do echo $$i.log; done`; \
+       log_list=`echo $$log_list`; \
+       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+               am__force_recheck=am--force-recheck \
+               TEST_LOGS="$$log_list"; \
+       exit $$?
 t1000-label.sh.log: t1000-label.sh
        @p='t1000-label.sh'; \
        b='t1000-label.sh'; \
@@ -1701,9 +1821,9 @@ uninstall-am:
 
 .MAKE: check-am install-am install-strip
 
-.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
-       clean-checkPROGRAMS clean-generic clean-libtool cscopelist \
-       ctags distclean distclean-compile distclean-generic \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
+       clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
+       ctags ctags-am distclean distclean-compile distclean-generic \
        distclean-libtool distclean-tags distdir dvi dvi-am html \
        html-am info info-am install install-am install-data \
        install-data-am install-dvi install-dvi-am install-exec \
@@ -1713,7 +1833,7 @@ uninstall-am:
        installcheck-am installdirs maintainer-clean \
        maintainer-clean-generic mostlyclean mostlyclean-compile \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       recheck tags uninstall uninstall-am
+       recheck tags tags-am uninstall uninstall-am
 
 .PHONY: prereq
 prereq:
index 2134721e8c868db56edc6e91a219c88f1c0d6606..188fd1093fe8843e14e2125c1ca40ee3fb08b9bb 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # run the label unit tests in a directory supporting O_DIRECT
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 905ef8ba6ee4841b53c8c5453bf7002829494463..c19e4909fd6f06cb2b44fb319787f121b37fe7e7 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # run the disk unit tests in a directory supporting O_DIRECT
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 6c2d75effc259c00f0a72c2f2bab27144a413910..ecd579c9d497726866fdafee106019887bd55b5c 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # run the zerolen unit tests in a directory supporting O_DIRECT
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 70abec4220642fb235944dcc0daae4389525135a..4eb565482daf0947fc5af34db00f36809a3d6d7d 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # run the /dev/mapper symlink test
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 390c08e7cfcc30dae1f5dc43bff17cbe392964e4..06670518838654c4c39b5169f2f6f82a03a84a43 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 66f2b6ced4c29e8a9864091bf8026d3010385694..dddb5dbc3575f4591dfba2a20940a0591d7022ee 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted - a library for manipulating disk partitions
-    Copyright (C) 2005, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2005, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -548,7 +548,7 @@ ped_unit_parse_custom (const char* str, const PedDevice* dev, PedUnit unit,
           do not use 4MiB as the range.  Rather, presume that they
           are specifying precisely the starting or ending number,
           and treat "4MiB" just as we would treat "4194304B".  */
-       if (is_power_of_2 (unit_size))
+       if (is_power_of_2 (unit_size) && unit != PED_UNIT_PERCENT)
                radius = 0;
 
        *sector = num * unit_size / dev->sector_size;
index d978cb898cf3ce2771d98747e32045c041342fcd..8eca5518ad64a5925ee4b2c8d194fbf7d1591b6b 100644 (file)
@@ -1,12 +1,28 @@
-# 00gnulib.m4 serial 2
-dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# 00gnulib.m4 serial 3
+dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
 dnl This file must be named something that sorts before all other
 dnl gnulib-provided .m4 files.  It is needed until such time as we can
-dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE semantics.
+dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE and
+dnl m4_divert semantics.
+
+# Until autoconf 2.63, handling of the diversion stack required m4_init
+# to be called first; but this does not happen with aclocal.  Wrapping
+# the entire execution in another layer of the diversion stack fixes this.
+# Worse, prior to autoconf 2.62, m4_wrap depended on the underlying m4
+# for whether it was FIFO or LIFO; in order to properly balance with
+# m4_init, we need to undo our push just before anything wrapped within
+# the m4_init body.  The way to ensure this is to wrap both sides of
+# m4_init with a one-shot macro that does the pop at the right time.
+m4_ifndef([_m4_divert_diversion],
+[m4_divert_push([KILL])
+m4_define([gl_divert_fixup], [m4_divert_pop()m4_define([$0])])
+m4_define([m4_init],
+  [gl_divert_fixup()]m4_defn([m4_init])[gl_divert_fixup()])])
+
 
 # AC_DEFUN_ONCE([NAME], VALUE)
 # ----------------------------
diff --git a/m4/absolute-header.m4 b/m4/absolute-header.m4
new file mode 100644 (file)
index 0000000..ce3e39e
--- /dev/null
@@ -0,0 +1,102 @@
+# absolute-header.m4 serial 16
+dnl Copyright (C) 2006-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Derek Price.
+
+# gl_ABSOLUTE_HEADER(HEADER1 HEADER2 ...)
+# ---------------------------------------
+# Find the absolute name of a header file, testing first if the header exists.
+# If the header were sys/inttypes.h, this macro would define
+# ABSOLUTE_SYS_INTTYPES_H to the '""' quoted absolute name of sys/inttypes.h
+# in config.h
+# (e.g. '#define ABSOLUTE_SYS_INTTYPES_H "///usr/include/sys/inttypes.h"').
+# The three "///" are to pacify Sun C 5.8, which otherwise would say
+# "warning: #include of /usr/include/... may be non-portable".
+# Use '""', not '<>', so that the /// cannot be confused with a C99 comment.
+# Note: This macro assumes that the header file is not empty after
+# preprocessing, i.e. it does not only define preprocessor macros but also
+# provides some type/enum definitions or function/variable declarations.
+AC_DEFUN([gl_ABSOLUTE_HEADER],
+[AC_REQUIRE([AC_CANONICAL_HOST])
+AC_LANG_PREPROC_REQUIRE()dnl
+dnl FIXME: gl_absolute_header and ac_header_exists must be used unquoted
+dnl until we can assume autoconf 2.64 or newer.
+m4_foreach_w([gl_HEADER_NAME], [$1],
+  [AS_VAR_PUSHDEF([gl_absolute_header],
+                  [gl_cv_absolute_]m4_defn([gl_HEADER_NAME]))dnl
+  AC_CACHE_CHECK([absolute name of <]m4_defn([gl_HEADER_NAME])[>],
+    m4_defn([gl_absolute_header]),
+    [AS_VAR_PUSHDEF([ac_header_exists],
+                    [ac_cv_header_]m4_defn([gl_HEADER_NAME]))dnl
+    AC_CHECK_HEADERS_ONCE(m4_defn([gl_HEADER_NAME]))dnl
+    if test AS_VAR_GET(ac_header_exists) = yes; then
+      gl_ABSOLUTE_HEADER_ONE(m4_defn([gl_HEADER_NAME]))
+    fi
+    AS_VAR_POPDEF([ac_header_exists])dnl
+    ])dnl
+  AC_DEFINE_UNQUOTED(AS_TR_CPP([ABSOLUTE_]m4_defn([gl_HEADER_NAME])),
+                     ["AS_VAR_GET(gl_absolute_header)"],
+                     [Define this to an absolute name of <]m4_defn([gl_HEADER_NAME])[>.])
+  AS_VAR_POPDEF([gl_absolute_header])dnl
+])dnl
+])# gl_ABSOLUTE_HEADER
+
+# gl_ABSOLUTE_HEADER_ONE(HEADER)
+# ------------------------------
+# Like gl_ABSOLUTE_HEADER, except that:
+#   - it assumes that the header exists,
+#   - it uses the current CPPFLAGS,
+#   - it does not cache the result,
+#   - it is silent.
+AC_DEFUN([gl_ABSOLUTE_HEADER_ONE],
+[
+  AC_REQUIRE([AC_CANONICAL_HOST])
+  AC_LANG_CONFTEST([AC_LANG_SOURCE([[#include <]]m4_dquote([$1])[[>]])])
+  dnl AIX "xlc -E" and "cc -E" omit #line directives for header files
+  dnl that contain only a #include of other header files and no
+  dnl non-comment tokens of their own. This leads to a failure to
+  dnl detect the absolute name of <dirent.h>, <signal.h>, <poll.h>
+  dnl and others. The workaround is to force preservation of comments
+  dnl through option -C. This ensures all necessary #line directives
+  dnl are present. GCC supports option -C as well.
+  case "$host_os" in
+    aix*) gl_absname_cpp="$ac_cpp -C" ;;
+    *)    gl_absname_cpp="$ac_cpp" ;;
+  esac
+changequote(,)
+  case "$host_os" in
+    mingw*)
+      dnl For the sake of native Windows compilers (excluding gcc),
+      dnl treat backslash as a directory separator, like /.
+      dnl Actually, these compilers use a double-backslash as
+      dnl directory separator, inside the
+      dnl   # line "filename"
+      dnl directives.
+      gl_dirsep_regex='[/\\]'
+      ;;
+    *)
+      gl_dirsep_regex='\/'
+      ;;
+  esac
+  dnl A sed expression that turns a string into a basic regular
+  dnl expression, for use within "/.../".
+  gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
+  gl_header_literal_regex=`echo '$1' \
+                           | sed -e "$gl_make_literal_regex_sed"`
+  gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
+      s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
+      s|^/[^/]|//&|
+      p
+      q
+    }'
+changequote([,])
+  dnl eval is necessary to expand gl_absname_cpp.
+  dnl Ultrix and Pyramid sh refuse to redirect output of eval,
+  dnl so use subshell.
+  AS_VAR_SET([gl_cv_absolute_]AS_TR_SH([[$1]]),
+[`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
+  sed -n "$gl_absolute_header_sed"`])
+])
index 656924be889bb37955e32a86810dc6666d2fa637..d7bdea631ff310b189b5c5e1f6a8946e3c448a85 100644 (file)
@@ -1,5 +1,5 @@
 # alloca.m4 serial 14
-dnl Copyright (C) 2002-2004, 2006-2007, 2009-2012 Free Software Foundation,
+dnl Copyright (C) 2002-2004, 2006-2007, 2009-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index b748e5ec4f8257279348675c58ba9566e650c045..b9bb634ec9cd562175b458e23ae9976009f12603 100644 (file)
@@ -1,6 +1,6 @@
 #serial 7
 
-# Copyright (C) 1998-1999, 2001, 2004, 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 1998-1999, 2001, 2004, 2008-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
index e565321cec5e605400a8954d8673bf8f21883e9e..99889445f564716a6556abd83b1b9dbf906d7500 100644 (file)
@@ -1,5 +1,5 @@
 # btowc.m4 serial 10
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index bc61168c37385cb0bd514f40f9052ff1a28ab593..a63daf82af297dc4927493844becc75f796929bd 100644 (file)
@@ -1,6 +1,6 @@
-# calloc.m4 serial 14
+# calloc.m4 serial 15
 
-# Copyright (C) 2004-2012 Free Software Foundation, Inc.
+# Copyright (C) 2004-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -18,6 +18,7 @@
 AC_DEFUN([_AC_FUNC_CALLOC_IF],
 [
   AC_REQUIRE([AC_TYPE_SIZE_T])dnl
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   AC_CACHE_CHECK([for GNU libc compatible calloc],
     [ac_cv_func_calloc_0_nonnull],
     [AC_RUN_IFELSE(
@@ -32,8 +33,21 @@ AC_DEFUN([_AC_FUNC_CALLOC_IF],
           ]])],
        [ac_cv_func_calloc_0_nonnull=yes],
        [ac_cv_func_calloc_0_nonnull=no],
-       [ac_cv_func_calloc_0_nonnull=no])])
-  AS_IF([test $ac_cv_func_calloc_0_nonnull = yes], [$1], [$2])
+       [case "$host_os" in
+                  # Guess yes on glibc systems.
+          *-gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;;
+                  # If we don't know, assume the worst.
+          *)      ac_cv_func_calloc_0_nonnull="guessing no" ;;
+        esac
+       ])])
+  case "$ac_cv_func_calloc_0_nonnull" in
+    *yes)
+      $1
+      ;;
+    *)
+      $2
+      ;;
+  esac
 ])# AC_FUNC_CALLOC
 
 
index 623253ffef0a7967cc64371429d78c75c41dcbb1..ace45566142f83d7c2c6afe677c191772e2a3dfc 100644 (file)
@@ -1,6 +1,6 @@
-# canonicalize.m4 serial 23
+# canonicalize.m4 serial 26
 
-dnl Copyright (C) 2003-2007, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2003-2007, 2009-2014 Free Software Foundation, Inc.
 
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -16,8 +16,11 @@ AC_DEFUN([gl_FUNC_CANONICALIZE_FILENAME_MODE],
   AC_REQUIRE([gl_FUNC_REALPATH_WORKS])
   if test $ac_cv_func_canonicalize_file_name = no; then
     HAVE_CANONICALIZE_FILE_NAME=0
-  elif test "$gl_cv_func_realpath_works" != yes; then
-    REPLACE_CANONICALIZE_FILE_NAME=1
+  else
+    case "$gl_cv_func_realpath_works" in
+      *yes) ;;
+      *)    REPLACE_CANONICALIZE_FILE_NAME=1 ;;
+    esac
   fi
 ])
 
@@ -30,12 +33,21 @@ AC_DEFUN([gl_CANONICALIZE_LGPL],
     HAVE_CANONICALIZE_FILE_NAME=0
     if test $ac_cv_func_realpath = no; then
       HAVE_REALPATH=0
-    elif test "$gl_cv_func_realpath_works" != yes; then
-      REPLACE_REALPATH=1
+    else
+      case "$gl_cv_func_realpath_works" in
+       *yes) ;;
+       *)    REPLACE_REALPATH=1 ;;
+      esac
     fi
-  elif test "$gl_cv_func_realpath_works" != yes; then
-    REPLACE_CANONICALIZE_FILE_NAME=1
-    REPLACE_REALPATH=1
+  else
+    case "$gl_cv_func_realpath_works" in
+      *yes)
+        ;;
+      *)
+        REPLACE_CANONICALIZE_FILE_NAME=1
+        REPLACE_REALPATH=1
+        ;;
+    esac
   fi
 ])
 
@@ -56,6 +68,7 @@ AC_DEFUN([gl_CANONICALIZE_LGPL_SEPARATE],
 AC_DEFUN([gl_FUNC_REALPATH_WORKS],
 [
   AC_CHECK_FUNCS_ONCE([realpath])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   AC_CACHE_CHECK([whether realpath works], [gl_cv_func_realpath_works], [
     touch conftest.a
     mkdir conftest.d
@@ -89,13 +102,23 @@ AC_DEFUN([gl_FUNC_REALPATH_WORKS],
         }
         return result;
       ]])
-    ], [gl_cv_func_realpath_works=yes], [gl_cv_func_realpath_works=no],
-       [gl_cv_func_realpath_works="guessing no"])
+     ],
+     [gl_cv_func_realpath_works=yes],
+     [gl_cv_func_realpath_works=no],
+     [case "$host_os" in
+                       # Guess yes on glibc systems.
+        *-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;;
+                       # If we don't know, assume the worst.
+        *)             gl_cv_func_realpath_works="guessing no" ;;
+      esac
+     ])
     rm -rf conftest.a conftest.d
   ])
-  if test "$gl_cv_func_realpath_works" = yes; then
-    AC_DEFINE([FUNC_REALPATH_WORKS], [1], [Define to 1 if realpath()
-      can malloc memory, always gives an absolute path, and handles
-      trailing slash correctly.])
-  fi
+  case "$gl_cv_func_realpath_works" in
+    *yes)
+      AC_DEFINE([FUNC_REALPATH_WORKS], [1], [Define to 1 if realpath()
+        can malloc memory, always gives an absolute path, and handles
+        trailing slash correctly.])
+      ;;
+  esac
 ])
index be0c8a22979d631f26eecf514017b2e5138ccac3..80cde85ad4c65286197c2927095c57093aa004e9 100644 (file)
@@ -1,5 +1,5 @@
 #serial 4
-dnl Copyright (C) 2006-2007, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 379e70d83e74930cc7ee0fa56afabf2b231c8d54..68510c5c5212ed78324f9b0406e55409fd89c86d 100644 (file)
@@ -1,5 +1,5 @@
 # close.m4 serial 8
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 71395c1a9c7113c91983ad323163a21656cb9850..2f0c87e85ae2596e2a12f9c5253624b663278007 100644 (file)
@@ -1,5 +1,5 @@
 # closeout.m4 serial 6
-dnl Copyright (C) 2002-2003, 2005-2006, 2009-2012 Free Software Foundation,
+dnl Copyright (C) 2002-2003, 2005-2006, 2009-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index cf53d2416718889d8ffe8172fcb21cf62cca803e..d7de8d67e0d2c0a70dcdb911f6ac7893d2c3bca4 100644 (file)
@@ -1,5 +1,5 @@
 # codeset.m4 serial 5 (gettext-0.18.2)
-dnl Copyright (C) 2000-2002, 2006, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2000-2002, 2006, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index b61e22f597baa9462b9159f9ca65e9d1ae18a61f..52629960e3aabf58a0718822097c77e66480abad 100644 (file)
@@ -1,6 +1,6 @@
 # Say that -DHAVE_CONFIG_H is not needed.
 
-dnl Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 8c82371eb051767ccd983bd8311a1e0baf916fca..0cd86cf99215ad40fef56e88b572c5ee3d00f795 100644 (file)
@@ -1,5 +1,5 @@
-# configmake.m4 serial 1
-dnl Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# configmake.m4 serial 2
+dnl Copyright (C) 2010-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,8 +7,9 @@ dnl with or without modifications, as long as this notice is preserved.
 # gl_CONFIGMAKE_PREP
 # ------------------
 # Guarantee all of the standard directory variables, even when used with
-# autoconf 2.59 (datarootdir wasn't supported until 2.59c) or automake
-# 1.9.6 (pkglibexecdir wasn't supported until 1.10b.).
+# autoconf 2.59 (datarootdir wasn't supported until 2.59c, and runstatedir
+# in 2.70) or automake 1.9.6 (pkglibexecdir wasn't supported until 1.10b,
+# and runstatedir in 1.14.1).
 AC_DEFUN([gl_CONFIGMAKE_PREP],
 [
   dnl Technically, datadir should default to datarootdir.  But if
@@ -43,6 +44,10 @@ AC_DEFUN([gl_CONFIGMAKE_PREP],
   if test "x$localedir" = x; then
     AC_SUBST([localedir], ['${datarootdir}/locale'])
   fi
+  dnl Added in autoconf 2.70
+  if test "x$runstatedir" = x; then
+    AC_SUBST([runstatedir], ['${localstatedir}/run'])
+  fi
 
   dnl Automake 1.9.6 only lacks pkglibexecdir; and since 1.11 merely
   dnl provides it without AC_SUBST, this blind use of AC_SUBST is safe.
index 65639ec89e9598bbdf177c280c647fde5d913ebc..d2627b8a8ec4ac6420a691a810d4ed1e4e424f99 100644 (file)
@@ -1,5 +1,5 @@
 #serial 10   -*- autoconf -*-
-dnl Copyright (C) 2002-2006, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2006, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 1e03751375bec2ff93378f50e3f4176150e90bcb..937f4bca9a9991dd5a103d19e552421f9ae47823 100644 (file)
@@ -1,5 +1,5 @@
 # double-slash-root.m4 serial 4   -*- Autoconf -*-
-dnl Copyright (C) 2006, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index dec27faeeb9ca8454a99b8c2deec7a6c76c6fbf4..89638a0bfe3f2d82edfb2966adbe6065467c8314 100644 (file)
@@ -1,5 +1,5 @@
-#serial 17
-dnl Copyright (C) 2002, 2005, 2007, 2009-2012 Free Software Foundation, Inc.
+#serial 20
+dnl Copyright (C) 2002, 2005, 2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -39,28 +39,37 @@ AC_DEFUN([gl_FUNC_DUP2],
             /* Many gnulib modules require POSIX conformance of EBADF.  */
             if (dup2 (2, 1000000) == -1 && errno != EBADF)
               result |= 16;
+            /* Flush out some cygwin core dumps.  */
+            if (dup2 (2, -1) != -1 || errno != EBADF)
+              result |= 32;
+            dup2 (2, 255);
+            dup2 (2, 256);
             return result;
            ])
         ],
         [gl_cv_func_dup2_works=yes], [gl_cv_func_dup2_works=no],
         [case "$host_os" in
            mingw*) # on this platform, dup2 always returns 0 for success
-             gl_cv_func_dup2_works=no;;
+             gl_cv_func_dup2_works="guessing no" ;;
            cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
-             gl_cv_func_dup2_works=no;;
+             gl_cv_func_dup2_works="guessing no" ;;
            linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
                    # closed fd may yield -EBADF instead of -1 / errno=EBADF.
-             gl_cv_func_dup2_works=no;;
+             gl_cv_func_dup2_works="guessing no" ;;
            freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
-             gl_cv_func_dup2_works=no;;
+             gl_cv_func_dup2_works="guessing no" ;;
            haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
-             gl_cv_func_dup2_works=no;;
-           *) gl_cv_func_dup2_works=yes;;
+             gl_cv_func_dup2_works="guessing no" ;;
+           *) gl_cv_func_dup2_works="guessing yes" ;;
          esac])
       ])
-    if test "$gl_cv_func_dup2_works" = no; then
-      REPLACE_DUP2=1
-    fi
+    case "$gl_cv_func_dup2_works" in
+      *yes) ;;
+      *)
+        REPLACE_DUP2=1
+        AC_CHECK_FUNCS([setdtablesize])
+        ;;
+    esac
   fi
   dnl Replace dup2() for supporting the gnulib-defined fchdir() function,
   dnl to keep fchdir's bookkeeping up-to-date.
index 75f17e2f10a2dba6b566ca48f6d5a952383f1e3d..8a51fe7c55151468c5128940e429f973f7376749 100644 (file)
@@ -1,5 +1,5 @@
-# eealloc.m4 serial 2
-dnl Copyright (C) 2003, 2009-2012 Free Software Foundation, Inc.
+# eealloc.m4 serial 3
+dnl Copyright (C) 2003, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -8,7 +8,6 @@ AC_DEFUN([gl_EEALLOC],
 [
   AC_REQUIRE([gl_EEMALLOC])
   AC_REQUIRE([gl_EEREALLOC])
-  AC_REQUIRE([AC_C_INLINE])
 ])
 
 AC_DEFUN([gl_EEMALLOC],
index 8eb57c9d999b787ba67577e31c88b00a9a971775..cfabe46f5674e9b8062cc244687c4231a6f114b2 100644 (file)
@@ -1,5 +1,5 @@
 # environ.m4 serial 6
-dnl Copyright (C) 2001-2004, 2006-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2004, 2006-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 4f0bb835974780cc250bc91dc723a922f76bb6b0..4ee9e6a14514e6987fa99ba9a29ed91df430cb0b 100644 (file)
@@ -1,5 +1,5 @@
-# errno_h.m4 serial 10
-dnl Copyright (C) 2004, 2006, 2008-2012 Free Software Foundation, Inc.
+# errno_h.m4 serial 12
+dnl Copyright (C) 2004, 2006, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -10,6 +10,9 @@ AC_DEFUN_ONCE([gl_HEADER_ERRNO_H],
   AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [
     AC_EGREP_CPP([booboo],[
 #include <errno.h>
+#if !defined ETXTBSY
+booboo
+#endif
 #if !defined ENOMSG
 booboo
 #endif
@@ -48,6 +51,15 @@ booboo
 #endif
 #if !defined ECANCELED
 booboo
+#endif
+#if !defined EOWNERDEAD
+booboo
+#endif
+#if !defined ENOTRECOVERABLE
+booboo
+#endif
+#if !defined EILSEQ
+booboo
 #endif
       ],
       [gl_cv_header_errno_h_complete=no],
index 5d9c70a4750aae6464ea079b9fd598105708df13..f08ae50f3bfb86bfe9675760971d31e365004641 100644 (file)
@@ -1,6 +1,6 @@
 #serial 14
 
-# Copyright (C) 1996-1998, 2001-2004, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 1996-1998, 2001-2004, 2009-2014 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -23,6 +23,5 @@ AC_DEFUN([gl_ERROR],
 AC_DEFUN([gl_PREREQ_ERROR],
 [
   AC_REQUIRE([AC_FUNC_STRERROR_R])
-  AC_REQUIRE([AC_C_INLINE])
   :
 ])
index 0bfaef6f904ca5989ee7e18a7ffcc3bf732bbe23..37f55ca3d155220a09276b97984a456b99dccc45 100644 (file)
@@ -1,14 +1,14 @@
-# serial 11  -*- Autoconf -*-
+# serial 13  -*- Autoconf -*-
 # Enable extensions on systems that normally disable them.
 
-# Copyright (C) 2003, 2006-2012 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS
+# This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from git
 # Autoconf.  Perhaps we can remove this once we can assume Autoconf
-# 2.62 or later everywhere, but since CVS Autoconf mutates rapidly
+# 2.70 or later everywhere, but since Autoconf mutates rapidly
 # enough in this area it's likely we'll need to redefine
 # AC_USE_SYSTEM_EXTENSIONS for quite some time.
 
@@ -30,6 +30,7 @@
 # ------------------------
 # Enable extensions on systems that normally disable them,
 # typically due to standards-conformance issues.
+#
 # Remember that #undef in AH_VERBATIM gets replaced with #define by
 # AC_DEFINE.  The goal here is to define all known feature-enabling
 # macros, then, if reports of conflicts are made, disable macros that
@@ -38,8 +39,6 @@ AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS],
 [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
 
-  AC_REQUIRE([AC_CANONICAL_HOST])
-
   AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=])
   if test "$MINIX" = yes; then
     AC_DEFINE([_POSIX_SOURCE], [1],
@@ -50,24 +49,18 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
        except with this defined.])
     AC_DEFINE([_MINIX], [1],
       [Define to 1 if on MINIX.])
+    AC_DEFINE([_NETBSD_SOURCE], [1],
+      [Define to 1 to make NetBSD features available.  MINIX 3 needs this.])
   fi
 
-  dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500,
-  dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already
-  dnl provided.
-  case "$host_os" in
-    hpux*)
-      AC_DEFINE([_XOPEN_SOURCE], [500],
-        [Define to 500 only on HP-UX.])
-      ;;
-  esac
-
-  AH_VERBATIM([__EXTENSIONS__],
+dnl Use a different key than __EXTENSIONS__, as that name broke existing
+dnl configure.ac when using autoheader 2.62.
+  AH_VERBATIM([USE_SYSTEM_EXTENSIONS],
 [/* Enable extensions on AIX 3, Interix.  */
 #ifndef _ALL_SOURCE
 # undef _ALL_SOURCE
 #endif
-/* Enable general extensions on MacOS X.  */
+/* Enable general extensions on OS X.  */
 #ifndef _DARWIN_C_SOURCE
 # undef _DARWIN_C_SOURCE
 #endif
@@ -83,6 +76,12 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
 #ifndef _TANDEM_SOURCE
 # undef _TANDEM_SOURCE
 #endif
+/* Enable X/Open extensions if necessary.  HP-UX 11.11 defines
+   mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of
+   whether compiling with -Ae or -D_HPUX_SOURCE=1.  */
+#ifndef _XOPEN_SOURCE
+# undef _XOPEN_SOURCE
+#endif
 /* Enable general extensions on Solaris.  */
 #ifndef __EXTENSIONS__
 # undef __EXTENSIONS__
@@ -103,6 +102,22 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
   AC_DEFINE([_GNU_SOURCE])
   AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
   AC_DEFINE([_TANDEM_SOURCE])
+  AC_CACHE_CHECK([whether _XOPEN_SOURCE should be defined],
+    [ac_cv_should_define__xopen_source],
+    [ac_cv_should_define__xopen_source=no
+     AC_COMPILE_IFELSE(
+       [AC_LANG_PROGRAM([[
+          #include <wchar.h>
+          mbstate_t x;]])],
+       [],
+       [AC_COMPILE_IFELSE(
+          [AC_LANG_PROGRAM([[
+             #define _XOPEN_SOURCE 500
+             #include <wchar.h>
+             mbstate_t x;]])],
+          [ac_cv_should_define__xopen_source=yes])])])
+  test $ac_cv_should_define__xopen_source = yes &&
+    AC_DEFINE([_XOPEN_SOURCE], [500])
 ])# AC_USE_SYSTEM_EXTENSIONS
 
 # gl_USE_SYSTEM_EXTENSIONS
diff --git a/m4/extern-inline.m4 b/m4/extern-inline.m4
new file mode 100644 (file)
index 0000000..240150e
--- /dev/null
@@ -0,0 +1,84 @@
+dnl 'extern inline' a la ISO C99.
+
+dnl Copyright 2012-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_EXTERN_INLINE],
+[
+  AH_VERBATIM([extern_inline],
+[/* Please see the Gnulib manual for how to use these macros.
+
+   Suppress extern inline with HP-UX cc, as it appears to be broken; see
+   <http://lists.gnu.org/archive/html/bug-texinfo/2013-02/msg00030.html>.
+
+   Suppress extern inline with Sun C in standards-conformance mode, as it
+   mishandles inline functions that call each other.  E.g., for 'inline void f
+   (void) { } inline void g (void) { f (); }', c99 incorrectly complains
+   'reference to static identifier "f" in extern inline function'.
+   This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
+
+   Suppress the use of extern inline on problematic Apple configurations.
+   OS X 10.8 and earlier mishandle it; see, e.g.,
+   <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>.
+   OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
+   for clang but remains for g++; see <http://trac.macports.org/ticket/41033>.
+   Perhaps Apple will fix this some day.  */
+#if (defined __APPLE__ \
+     && (defined __header_inline \
+         ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
+            && ! defined __clang__) \
+         : ((! defined _DONT_USE_CTYPE_INLINE_ \
+             && (defined __GNUC__ || defined __cplusplus)) \
+            || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
+                && defined __GNUC__ && ! defined __cplusplus))))
+# define _GL_EXTERN_INLINE_APPLE_BUG
+#endif
+#if ((__GNUC__ \
+      ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
+      : (199901L <= __STDC_VERSION__ \
+         && !defined __HP_cc \
+         && !(defined __SUNPRO_C && __STDC__))) \
+     && !defined _GL_EXTERN_INLINE_APPLE_BUG)
+# define _GL_INLINE inline
+# define _GL_EXTERN_INLINE extern inline
+# define _GL_EXTERN_INLINE_IN_USE
+#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
+       && !defined _GL_EXTERN_INLINE_APPLE_BUG)
+# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
+   /* __gnu_inline__ suppresses a GCC 4.2 diagnostic.  */
+#  define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
+# else
+#  define _GL_INLINE extern inline
+# endif
+# define _GL_EXTERN_INLINE extern
+# define _GL_EXTERN_INLINE_IN_USE
+#else
+# define _GL_INLINE static _GL_UNUSED
+# define _GL_EXTERN_INLINE static _GL_UNUSED
+#endif
+
+#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
+# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
+#  define _GL_INLINE_HEADER_CONST_PRAGMA
+# else
+#  define _GL_INLINE_HEADER_CONST_PRAGMA \
+     _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
+# endif
+  /* Suppress GCC's bogus "no previous prototype for 'FOO'"
+     and "no previous declaration for 'FOO'"  diagnostics,
+     when FOO is an inline function in the header; see
+     <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>.  */
+# define _GL_INLINE_HEADER_BEGIN \
+    _Pragma ("GCC diagnostic push") \
+    _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
+    _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
+    _GL_INLINE_HEADER_CONST_PRAGMA
+# define _GL_INLINE_HEADER_END \
+    _Pragma ("GCC diagnostic pop")
+#else
+# define _GL_INLINE_HEADER_BEGIN
+# define _GL_INLINE_HEADER_END
+#endif])
+])
diff --git a/m4/fchdir.m4 b/m4/fchdir.m4
deleted file mode 100644 (file)
index 85796c1..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-# fchdir.m4 serial 20
-dnl Copyright (C) 2006-2012 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_FUNC_FCHDIR],
-[
-  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
-  AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
-
-  AC_CHECK_DECLS_ONCE([fchdir])
-  if test $ac_cv_have_decl_fchdir = no; then
-    HAVE_DECL_FCHDIR=0
-  fi
-
-  AC_REQUIRE([gl_TEST_FCHDIR])
-  if test $HAVE_FCHDIR = 0; then
-    AC_LIBOBJ([fchdir])
-    gl_PREREQ_FCHDIR
-    AC_DEFINE([REPLACE_FCHDIR], [1],
-      [Define to 1 if gnulib's fchdir() replacement is used.])
-    dnl We must also replace anything that can manipulate a directory fd,
-    dnl to keep our bookkeeping up-to-date.  We don't have to replace
-    dnl fstatat, since no platform has fstatat but lacks fchdir.
-    AC_CACHE_CHECK([whether open can visit directories],
-      [gl_cv_func_open_directory_works],
-      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>
-]], [return open(".", O_RDONLY) < 0;])],
-        [gl_cv_func_open_directory_works=yes],
-        [gl_cv_func_open_directory_works=no],
-        [gl_cv_func_open_directory_works="guessing no"])])
-    if test "$gl_cv_func_open_directory_works" != yes; then
-      AC_DEFINE([REPLACE_OPEN_DIRECTORY], [1], [Define to 1 if open() should
-work around the inability to open a directory.])
-    fi
-  fi
-])
-
-# Determine whether to use the overrides in lib/fchdir.c.
-AC_DEFUN([gl_TEST_FCHDIR],
-[
-  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
-  AC_CHECK_FUNCS_ONCE([fchdir])
-  if test $ac_cv_func_fchdir = no; then
-    HAVE_FCHDIR=0
-  fi
-])
-
-# Prerequisites of lib/fchdir.c.
-AC_DEFUN([gl_PREREQ_FCHDIR], [:])
index 9862741f3943c38cc2269b8a582c5c4294ddf942..43c93124ed5874a66282ed01b365a4fcfb9c1632 100644 (file)
@@ -1,5 +1,5 @@
 # fcntl-o.m4 serial 4
-dnl Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -50,7 +50,18 @@ AC_DEFUN([gl_FCNTL_O_FLAGS],
             #if HAVE_SYMLINK
             {
               static char const sym[] = "conftest.sym";
-              if (symlink (".", sym) != 0)
+              if (symlink ("/dev/null", sym) != 0)
+                result |= 2;
+              else
+                {
+                  int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
+                  if (fd >= 0)
+                    {
+                      close (fd);
+                      result |= 4;
+                    }
+                }
+              if (unlink (sym) != 0 || symlink (".", sym) != 0)
                 result |= 2;
               else
                 {
index cac28aeb28376da58286f5d17c5800220d5c0db2..fb2556d37e3b21baa89eb35279963392df330ef1 100644 (file)
@@ -1,6 +1,6 @@
 # serial 15
 # Configure fcntl.h.
-dnl Copyright (C) 2006-2007, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 9ca9d2aca62d42e581d3b28618da4ff883d8af8d..4cf8f359ca9c9170a0bef3faa1dbfad5bbbd8d8e 100644 (file)
@@ -1,5 +1,5 @@
-# fdopen.m4 serial 2
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# fdopen.m4 serial 3
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -25,10 +25,8 @@ main (void)
   FILE *fp;
   errno = 0;
   fp = fdopen (-1, "r");
-  if (fp != NULL)
+  if (fp == NULL && errno == 0)
     return 1;
-  if (errno == 0)
-    return 2;
   return 0;
 }]])],
           [gl_cv_func_fdopen_works=yes],
index 33a5c94c3a3732abfda755f55670c19a889e6bab..c2d01ef0713c23834ebe41c6ff34dd328c81a041 100644 (file)
@@ -1,6 +1,6 @@
-# serial 19
+# serial 21
 
-# Copyright (C) 2000-2001, 2004-2012 Free Software Foundation, Inc.
+# Copyright (C) 2000-2001, 2004-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -16,14 +16,23 @@ dnl we have to grub around in the FILE struct.
 AC_DEFUN([gl_FUNC_FPENDING],
 [
   AC_CHECK_HEADERS_ONCE([stdio_ext.h])
-  AC_CHECK_FUNCS_ONCE([__fpending])
   fp_headers='
-#     include <stdio.h>
-#     if HAVE_STDIO_EXT_H
-#      include <stdio_ext.h>
-#     endif
-'
-  AC_CHECK_DECLS([__fpending], , , $fp_headers)
+    #include <stdio.h>
+    #if HAVE_STDIO_EXT_H
+    # include <stdio_ext.h>
+    #endif
+  '
+  AC_CACHE_CHECK([for __fpending], [gl_cv_func___fpending],
+    [
+      AC_LINK_IFELSE(
+        [AC_LANG_PROGRAM([$fp_headers],
+           [[return ! __fpending (stdin);]])],
+        [gl_cv_func___fpending=yes],
+        [gl_cv_func___fpending=no])
+    ])
+  if test $gl_cv_func___fpending = yes; then
+    AC_CHECK_DECLS([__fpending], [], [], [$fp_headers])
+  fi
 ])
 
 AC_DEFUN([gl_PREREQ_FPENDING],
index e3f8f3e2ee9af19983619023e1189b60dc97de89..ddd3fb976801d8f2bcbd02854d698b9a671aa960 100644 (file)
@@ -1,5 +1,5 @@
-# fstat.m4 serial 1
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# fstat.m4 serial 4
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,22 +7,30 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FUNC_FSTAT],
 [
   AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
+
   AC_REQUIRE([gl_MSVC_INVAL])
   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
     REPLACE_FSTAT=1
   fi
+
+  AC_REQUIRE([gl_HEADER_SYS_STAT_H])
+  if test $WINDOWS_64_BIT_ST_SIZE = 1; then
+    REPLACE_FSTAT=1
+  fi
+
   dnl Replace fstat() for supporting the gnulib-defined open() on directories.
   m4_ifdef([gl_FUNC_FCHDIR], [
     gl_TEST_FCHDIR
-    if test $HAVE_FCHDIR = 0 \
-       && test "$gl_cv_func_open_directory_works" != yes; then
-      REPLACE_FSTAT=1
+    if test $HAVE_FCHDIR = 0; then
+      case "$gl_cv_func_open_directory_works" in
+        *yes) ;;
+        *)
+          REPLACE_FSTAT=1
+          ;;
+      esac
     fi
   ])
 ])
 
 # Prerequisites of lib/fstat.c.
-AC_DEFUN([gl_PREREQ_FSTAT],
-[
-  AC_REQUIRE([AC_C_INLINE])
-])
+AC_DEFUN([gl_PREREQ_FSTAT], [:])
index 8cd47b48202f223eeffbc38414096c28ed912c1d..888a65def52ab0f1e9b5b1d9c0627ce8810ac826 100644 (file)
@@ -1,5 +1,5 @@
 # fsync.m4 serial 2
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index ccb1f47bd3c9ecc1034bef99bf18b4ed8918d792..fc986cdab5feb095e122577742e710867e47329d 100644 (file)
@@ -1,12 +1,12 @@
 # getcwd.m4 - check for working getcwd that is compatible with glibc
 
-# Copyright (C) 2001, 2003-2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003-2007, 2009-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
 # Written by Paul Eggert.
-# serial 11
+# serial 12
 
 AC_DEFUN([gl_FUNC_GETCWD_NULL],
   [
@@ -45,15 +45,14 @@ AC_DEFUN([gl_FUNC_GETCWD_NULL],
          ]])],
         [gl_cv_func_getcwd_null=yes],
         [gl_cv_func_getcwd_null=no],
-        [[
-       case "$host_os" in
-                               # Guess yes on glibc systems.
-         *-gnu*)               gl_cv_func_getcwd_null="guessing yes";;
-                               # Guess yes on Cygwin.
-         cygwin*)              gl_cv_func_getcwd_null="guessing yes";;
-                               # If we don't know, assume the worst.
-         *)                    gl_cv_func_getcwd_null="guessing no";;
-       esac
+        [[case "$host_os" in
+                     # Guess yes on glibc systems.
+            *-gnu*)  gl_cv_func_getcwd_null="guessing yes";;
+                     # Guess yes on Cygwin.
+            cygwin*) gl_cv_func_getcwd_null="guessing yes";;
+                     # If we don't know, assume the worst.
+            *)       gl_cv_func_getcwd_null="guessing no";;
+          esac
         ]])])
 ])
 
@@ -124,7 +123,7 @@ AC_DEFUN([gl_FUNC_GETCWD],
   dnl Define HAVE_MINIMALLY_WORKING_GETCWD and HAVE_PARTLY_WORKING_GETCWD
   dnl if appropriate.
   case "$gl_cv_func_getcwd_path_max" in
-    "no, it has the AIX bug") ;;
+    "no"|"no, it has the AIX bug") ;;
     *)
       AC_DEFINE([HAVE_MINIMALLY_WORKING_GETCWD], [1],
         [Define to 1 if getcwd minimally works, that is, its result can be
diff --git a/m4/getdtablesize.m4 b/m4/getdtablesize.m4
new file mode 100644 (file)
index 0000000..aa523b6
--- /dev/null
@@ -0,0 +1,44 @@
+# getdtablesize.m4 serial 5
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_GETDTABLESIZE],
+[
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
+  AC_REQUIRE([AC_CANONICAL_HOST])
+  AC_CHECK_FUNCS_ONCE([getdtablesize])
+  if test $ac_cv_func_getdtablesize = yes; then
+    # Cygwin 1.7.25 automatically increases the RLIMIT_NOFILE soft limit
+    # up to an unchangeable hard limit; all other platforms correctly
+    # require setrlimit before getdtablesize() can report a larger value.
+    AC_CACHE_CHECK([whether getdtablesize works],
+      [gl_cv_func_getdtablesize_works],
+      [AC_RUN_IFELSE([
+        AC_LANG_PROGRAM([[#include <unistd.h>]],
+          [int size = getdtablesize();
+           if (dup2 (0, getdtablesize()) != -1)
+             return 1;
+           if (size != getdtablesize())
+             return 2;
+          ])],
+        [gl_cv_func_getdtablesize_works=yes],
+        [gl_cv_func_getdtablesize_works=no],
+        [case "$host_os" in
+          cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows
+            gl_cv_func_getdtablesize_works="guessing no" ;;
+          *) gl_cv_func_getdtablesize_works="guessing yes" ;;
+         esac])
+      ])
+    case "$gl_cv_func_getdtablesize_works" in
+      *yes) ;;
+      *) REPLACE_GETDTABLESIZE=1 ;;
+    esac
+  else
+    HAVE_GETDTABLESIZE=0
+  fi
+])
+
+# Prerequisites of lib/getdtablesize.c.
+AC_DEFUN([gl_PREREQ_GETDTABLESIZE], [:])
index 2aea89595eefe9422f12ba9ebd74e0bf4589abf4..f127028f9486e18c471eb628e4e9cd42555c46e8 100644 (file)
@@ -1,5 +1,5 @@
-# getopt.m4 serial 39
-dnl Copyright (C) 2002-2006, 2008-2012 Free Software Foundation, Inc.
+# getopt.m4 serial 44
+dnl Copyright (C) 2002-2006, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -9,18 +9,17 @@ AC_DEFUN([gl_FUNC_GETOPT_POSIX],
 [
   m4_divert_text([DEFAULTS], [gl_getopt_required=POSIX])
   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
+  AC_REQUIRE([gl_GETOPT_CHECK_HEADERS])
   dnl Other modules can request the gnulib implementation of the getopt
   dnl functions unconditionally, by defining gl_REPLACE_GETOPT_ALWAYS.
   dnl argp.m4 does this.
   m4_ifdef([gl_REPLACE_GETOPT_ALWAYS], [
-    gl_GETOPT_IFELSE([], [])
     REPLACE_GETOPT=1
   ], [
     REPLACE_GETOPT=0
-    gl_GETOPT_IFELSE([
+    if test -n "$gl_replace_getopt"; then
       REPLACE_GETOPT=1
-    ],
-    [])
+    fi
   ])
   if test $REPLACE_GETOPT = 1; then
     dnl Arrange for getopt.h to be created.
@@ -38,13 +37,6 @@ AC_DEFUN([gl_FUNC_GETOPT_GNU],
   AC_REQUIRE([gl_FUNC_GETOPT_POSIX])
 ])
 
-# emacs' configure.in uses this.
-AC_DEFUN([gl_GETOPT_IFELSE],
-[
-  AC_REQUIRE([gl_GETOPT_CHECK_HEADERS])
-  AS_IF([test -n "$gl_replace_getopt"], [$1], [$2])
-])
-
 # Determine whether to replace the entire getopt facility.
 AC_DEFUN([gl_GETOPT_CHECK_HEADERS],
 [
@@ -74,11 +66,6 @@ AC_DEFUN([gl_GETOPT_CHECK_HEADERS],
     AC_CHECK_FUNCS([getopt_long_only], [], [gl_replace_getopt=yes])
   fi
 
-  dnl mingw's getopt (in libmingwex.a) does weird things when the options
-  dnl strings starts with '+' and it's not the first call.  Some internal state
-  dnl is left over from earlier calls, and neither setting optind = 0 nor
-  dnl setting optreset = 1 get rid of this internal state.
-  dnl POSIX is silent on optind vs. optreset, so we allow either behavior.
   dnl POSIX 2008 does not specify leading '+' behavior, but see
   dnl http://austingroupbugs.net/view.php?id=191 for a recommendation on
   dnl the next version of POSIX.  For now, we only guarantee leading '+'
@@ -87,30 +74,16 @@ AC_DEFUN([gl_GETOPT_CHECK_HEADERS],
     AC_CACHE_CHECK([whether getopt is POSIX compatible],
       [gl_cv_func_getopt_posix],
       [
-        dnl BSD getopt_long uses an incompatible method to reset option
-        dnl processing.  Existence of the optreset variable, in and of
-        dnl itself, is not a reason to replace getopt, but knowledge
-        dnl of the variable is needed to determine how to reset and
-        dnl whether a reset reparses the environment.  Solaris
-        dnl supports neither optreset nor optind=0, but keeps no state
-        dnl that needs a reset beyond setting optind=1; detect Solaris
-        dnl by getopt_clip.
-        AC_LINK_IFELSE(
-          [AC_LANG_PROGRAM(
-             [[#include <unistd.h>]],
-             [[int *p = &optreset; return optreset;]])],
-          [gl_optind_min=1],
-          [AC_COMPILE_IFELSE(
-             [AC_LANG_PROGRAM(
-                [[#include <getopt.h>]],
-                [[return !getopt_clip;]])],
-             [gl_optind_min=1],
-             [gl_optind_min=0])])
-
-        dnl This test fails on mingw and succeeds on many other platforms.
-        gl_save_CPPFLAGS=$CPPFLAGS
-        CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
-        AC_RUN_IFELSE([AC_LANG_SOURCE([[
+        dnl Merging these three different test programs into a single one
+        dnl would require a reset mechanism. On BSD systems, it can be done
+        dnl through 'optreset'; on some others (glibc), it can be done by
+        dnl setting 'optind' to 0; on others again (HP-UX, IRIX, OSF/1,
+        dnl Solaris 9, musl libc), there is no such mechanism.
+        if test $cross_compiling = no; then
+          dnl Sanity check. Succeeds everywhere (except on MSVC,
+          dnl which lacks <unistd.h> and getopt() entirely).
+          AC_RUN_IFELSE(
+            [AC_LANG_SOURCE([[
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
@@ -118,89 +91,107 @@ AC_DEFUN([gl_GETOPT_CHECK_HEADERS],
 int
 main ()
 {
-  {
-    static char program[] = "program";
-    static char a[] = "-a";
-    static char foo[] = "foo";
-    static char bar[] = "bar";
-    char *argv[] = { program, a, foo, bar, NULL };
-    int c;
+  static char program[] = "program";
+  static char a[] = "-a";
+  static char foo[] = "foo";
+  static char bar[] = "bar";
+  char *argv[] = { program, a, foo, bar, NULL };
+  int c;
 
-    optind = OPTIND_MIN;
-    opterr = 0;
-
-    c = getopt (4, argv, "ab");
-    if (!(c == 'a'))
-      return 1;
-    c = getopt (4, argv, "ab");
-    if (!(c == -1))
-      return 2;
-    if (!(optind == 2))
-      return 3;
-  }
-  /* Some internal state exists at this point.  */
-  {
-    static char program[] = "program";
-    static char donald[] = "donald";
-    static char p[] = "-p";
-    static char billy[] = "billy";
-    static char duck[] = "duck";
-    static char a[] = "-a";
-    static char bar[] = "bar";
-    char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
-    int c;
+  c = getopt (4, argv, "ab");
+  if (!(c == 'a'))
+    return 1;
+  c = getopt (4, argv, "ab");
+  if (!(c == -1))
+    return 2;
+  if (!(optind == 2))
+    return 3;
+  return 0;
+}
+]])],
+            [gl_cv_func_getopt_posix=maybe],
+            [gl_cv_func_getopt_posix=no])
+          if test $gl_cv_func_getopt_posix = maybe; then
+            dnl Sanity check with '+'. Succeeds everywhere (except on MSVC,
+            dnl which lacks <unistd.h> and getopt() entirely).
+            AC_RUN_IFELSE(
+              [AC_LANG_SOURCE([[
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
 
-    optind = OPTIND_MIN;
-    opterr = 0;
+int
+main ()
+{
+  static char program[] = "program";
+  static char donald[] = "donald";
+  static char p[] = "-p";
+  static char billy[] = "billy";
+  static char duck[] = "duck";
+  static char a[] = "-a";
+  static char bar[] = "bar";
+  char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
+  int c;
 
-    c = getopt (7, argv, "+abp:q:");
-    if (!(c == -1))
-      return 4;
-    if (!(strcmp (argv[0], "program") == 0))
-      return 5;
-    if (!(strcmp (argv[1], "donald") == 0))
-      return 6;
-    if (!(strcmp (argv[2], "-p") == 0))
-      return 7;
-    if (!(strcmp (argv[3], "billy") == 0))
-      return 8;
-    if (!(strcmp (argv[4], "duck") == 0))
-      return 9;
-    if (!(strcmp (argv[5], "-a") == 0))
-      return 10;
-    if (!(strcmp (argv[6], "bar") == 0))
-      return 11;
-    if (!(optind == 1))
-      return 12;
-  }
-  /* Detect MacOS 10.5, AIX 7.1 bug.  */
-  {
-    static char program[] = "program";
-    static char ab[] = "-ab";
-    char *argv[3] = { program, ab, NULL };
-    optind = OPTIND_MIN;
-    opterr = 0;
-    if (getopt (2, argv, "ab:") != 'a')
-      return 13;
-    if (getopt (2, argv, "ab:") != '?')
-      return 14;
-    if (optopt != 'b')
-      return 15;
-    if (optind != 2)
-      return 16;
-  }
+  c = getopt (7, argv, "+abp:q:");
+  if (!(c == -1))
+    return 4;
+  if (!(strcmp (argv[0], "program") == 0))
+    return 5;
+  if (!(strcmp (argv[1], "donald") == 0))
+    return 6;
+  if (!(strcmp (argv[2], "-p") == 0))
+    return 7;
+  if (!(strcmp (argv[3], "billy") == 0))
+    return 8;
+  if (!(strcmp (argv[4], "duck") == 0))
+    return 9;
+  if (!(strcmp (argv[5], "-a") == 0))
+    return 10;
+  if (!(strcmp (argv[6], "bar") == 0))
+    return 11;
+  if (!(optind == 1))
+    return 12;
+  return 0;
+}
+]])],
+              [gl_cv_func_getopt_posix=maybe],
+              [gl_cv_func_getopt_posix=no])
+          fi
+          if test $gl_cv_func_getopt_posix = maybe; then
+            dnl Detect Mac OS X 10.5, AIX 7.1, mingw bug.
+            AC_RUN_IFELSE(
+              [AC_LANG_SOURCE([[
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
 
+int
+main ()
+{
+  static char program[] = "program";
+  static char ab[] = "-ab";
+  char *argv[3] = { program, ab, NULL };
+  if (getopt (2, argv, "ab:") != 'a')
+    return 13;
+  if (getopt (2, argv, "ab:") != '?')
+    return 14;
+  if (optopt != 'b')
+    return 15;
+  if (optind != 2)
+    return 16;
   return 0;
 }
 ]])],
-          [gl_cv_func_getopt_posix=yes], [gl_cv_func_getopt_posix=no],
-          [case "$host_os" in
-             mingw*)         gl_cv_func_getopt_posix="guessing no";;
-             darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
-             *)              gl_cv_func_getopt_posix="guessing yes";;
-           esac
-          ])
-        CPPFLAGS=$gl_save_CPPFLAGS
+              [gl_cv_func_getopt_posix=yes],
+              [gl_cv_func_getopt_posix=no])
+          fi
+        else
+          case "$host_os" in
+            darwin* | aix* | mingw*) gl_cv_func_getopt_posix="guessing no";;
+            *)                       gl_cv_func_getopt_posix="guessing yes";;
+          esac
+        fi
       ])
     case "$gl_cv_func_getopt_posix" in
       *no) gl_replace_getopt=yes ;;
@@ -236,7 +227,7 @@ dnl is ambiguous with environment values that contain newlines.
              nocrash_init();
 
              /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
-                and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
+                and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
                 OSF/1 5.1, Solaris 10.  */
              {
                static char conftest[] = "conftest";
@@ -247,7 +238,7 @@ dnl is ambiguous with environment values that contain newlines.
                  result |= 1;
              }
              /* This code succeeds on glibc 2.8, mingw,
-                and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+                and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
                 IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x.  */
              {
                static char program[] = "program";
@@ -276,7 +267,7 @@ dnl is ambiguous with environment values that contain newlines.
                if (getopt (3, argv, "-p") != 1)
                  result |= 16;
                else if (getopt (3, argv, "-p") != 'p')
-                 result |= 32;
+                 result |= 16;
              }
              /* This code fails on glibc 2.11.  */
              {
@@ -286,9 +277,9 @@ dnl is ambiguous with environment values that contain newlines.
                char *argv[] = { program, b, a, NULL };
                optind = opterr = 0;
                if (getopt (3, argv, "+:a:b") != 'b')
-                 result |= 64;
+                 result |= 32;
                else if (getopt (3, argv, "+:a:b") != ':')
-                 result |= 64;
+                 result |= 32;
              }
              /* This code dumps core on glibc 2.14.  */
              {
@@ -298,18 +289,14 @@ dnl is ambiguous with environment values that contain newlines.
                char *argv[] = { program, w, dummy, NULL };
                optind = opterr = 1;
                if (getopt (3, argv, "W;") != 'W')
-                 result |= 128;
+                 result |= 64;
              }
              return result;
            ]])],
         [gl_cv_func_getopt_gnu=yes],
         [gl_cv_func_getopt_gnu=no],
-        [dnl Cross compiling. Guess based on host and declarations.
-         case $host_os:$ac_cv_have_decl_optreset in
-           *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;;
-           *:yes)               gl_cv_func_getopt_gnu=no;;
-           *)                   gl_cv_func_getopt_gnu=yes;;
-         esac
+        [dnl Cross compiling. Assume the worst, even on glibc platforms.
+         gl_cv_func_getopt_gnu="guessing no"
         ])
        case $gl_had_POSIXLY_CORRECT in
          exported) ;;
@@ -317,13 +304,54 @@ dnl is ambiguous with environment values that contain newlines.
          *) AS_UNSET([POSIXLY_CORRECT]) ;;
        esac
       ])
-    if test "$gl_cv_func_getopt_gnu" = "no"; then
+    if test "$gl_cv_func_getopt_gnu" != yes; then
       gl_replace_getopt=yes
+    else
+      AC_CACHE_CHECK([for working GNU getopt_long function],
+        [gl_cv_func_getopt_long_gnu],
+        [AC_RUN_IFELSE(
+           [AC_LANG_PROGRAM(
+              [[#include <getopt.h>
+                #include <stddef.h>
+                #include <string.h>
+              ]],
+              [[static const struct option long_options[] =
+                  {
+                    { "xtremely-",no_argument,       NULL, 1003 },
+                    { "xtra",     no_argument,       NULL, 1001 },
+                    { "xtreme",   no_argument,       NULL, 1002 },
+                    { "xtremely", no_argument,       NULL, 1003 },
+                    { NULL,       0,                 NULL, 0 }
+                  };
+                /* This code fails on OpenBSD 5.0.  */
+                {
+                  static char program[] = "program";
+                  static char xtremel[] = "--xtremel";
+                  char *argv[] = { program, xtremel, NULL };
+                  int option_index;
+                  optind = 1; opterr = 0;
+                  if (getopt_long (2, argv, "", long_options, &option_index) != 1003)
+                    return 1;
+                }
+                return 0;
+              ]])],
+           [gl_cv_func_getopt_long_gnu=yes],
+           [gl_cv_func_getopt_long_gnu=no],
+           [dnl Cross compiling. Guess no on OpenBSD, yes otherwise.
+            case "$host_os" in
+              openbsd*) gl_cv_func_getopt_long_gnu="guessing no";;
+              *)        gl_cv_func_getopt_long_gnu="guessing yes";;
+            esac
+           ])
+        ])
+      case "$gl_cv_func_getopt_long_gnu" in
+        *yes) ;;
+        *) gl_replace_getopt=yes ;;
+      esac
     fi
   fi
 ])
 
-# emacs' configure.in uses this.
 AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER],
 [
   GETOPT_H=getopt.h
@@ -334,7 +362,6 @@ AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER],
 ])
 
 # Prerequisites of lib/getopt*.
-# emacs' configure.in uses this.
 AC_DEFUN([gl_PREREQ_GETOPT],
 [
   AC_CHECK_DECLS_ONCE([getenv])
index 156133aed61ab23b2e6a9648c038922f2f85d48b..ce506952ef25d11f311b026fcdbde948d12b3a50 100644 (file)
@@ -1,5 +1,5 @@
 # getpagesize.m4 serial 9
-dnl Copyright (C) 2002, 2004-2005, 2007, 2009-2012 Free Software Foundation,
+dnl Copyright (C) 2002, 2004-2005, 2007, 2009-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index c7726e1b7c71e4000711f6c6cc52222f00b19e49..f84e6a5d753e7971dc0c827fcc7cd9956971071b 100644 (file)
@@ -381,4 +381,3 @@ AC_DEFUN([AM_GNU_GETTEXT_NEED],
 
 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
-              AC_DEFUN([gl_LOCK_EARLY], [])
index dc68c43ae3e8defc116672bff0c73c513980d34e..1c2d66ee261f90b739ea3efce59529a08cfeb817 100644 (file)
@@ -1,6 +1,6 @@
-# serial 18
+# serial 21
 
-# Copyright (C) 2001-2003, 2005, 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-2003, 2005, 2007, 2009-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -56,14 +56,16 @@ int gettimeofday (struct timeval *restrict, struct timezone *restrict);
     fi
     m4_ifdef([gl_FUNC_TZSET_CLOBBER], [
       gl_FUNC_TZSET_CLOBBER
-      if test $gl_cv_func_tzset_clobber = yes; then
-        REPLACE_GETTIMEOFDAY=1
-        gl_GETTIMEOFDAY_REPLACE_LOCALTIME
-        AC_DEFINE([tzset], [rpl_tzset],
-          [Define to rpl_tzset if the wrapper function should be used.])
-        AC_DEFINE([TZSET_CLOBBERS_LOCALTIME], [1],
-          [Define if tzset clobbers localtime's static buffer.])
-      fi
+      case "$gl_cv_func_tzset_clobber" in
+        *yes)
+          REPLACE_GETTIMEOFDAY=1
+          gl_GETTIMEOFDAY_REPLACE_LOCALTIME
+          AC_DEFINE([tzset], [rpl_tzset],
+            [Define to rpl_tzset if the wrapper function should be used.])
+          AC_DEFINE([TZSET_CLOBBERS_LOCALTIME], [1],
+            [Define if tzset clobbers localtime's static buffer.])
+          ;;
+      esac
     ])
   fi
   AC_DEFINE_UNQUOTED([GETTIMEOFDAY_TIMEZONE], [$gl_gettimeofday_timezone],
@@ -82,6 +84,7 @@ dnl the wrapper functions that work around the problem.
 AC_DEFUN([gl_FUNC_GETTIMEOFDAY_CLOBBER],
 [
  AC_REQUIRE([gl_HEADER_SYS_TIME_H])
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
 
  AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer],
   [gl_cv_func_gettimeofday_clobber],
@@ -104,22 +107,28 @@ AC_DEFUN([gl_FUNC_GETTIMEOFDAY_CLOBBER],
         ]])],
      [gl_cv_func_gettimeofday_clobber=no],
      [gl_cv_func_gettimeofday_clobber=yes],
-     dnl When crosscompiling, assume it is broken.
-     [gl_cv_func_gettimeofday_clobber=yes])])
+     [# When cross-compiling:
+      case "$host_os" in
+                # Guess all is fine on glibc systems.
+        *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
+                # If we don't know, assume the worst.
+        *)      gl_cv_func_gettimeofday_clobber="guessing yes" ;;
+      esac
+     ])])
 
- if test $gl_cv_func_gettimeofday_clobber = yes; then
-   REPLACE_GETTIMEOFDAY=1
-   gl_GETTIMEOFDAY_REPLACE_LOCALTIME
-   AC_DEFINE([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [1],
-     [Define if gettimeofday clobbers the localtime buffer.])
- fi
+ case "$gl_cv_func_gettimeofday_clobber" in
+   *yes)
+     REPLACE_GETTIMEOFDAY=1
+     gl_GETTIMEOFDAY_REPLACE_LOCALTIME
+     AC_DEFINE([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [1],
+       [Define if gettimeofday clobbers the localtime buffer.])
+     ;;
+ esac
 ])
 
 AC_DEFUN([gl_GETTIMEOFDAY_REPLACE_LOCALTIME], [
-  AC_DEFINE([gmtime], [rpl_gmtime],
-    [Define to rpl_gmtime if the replacement function should be used.])
-  AC_DEFINE([localtime], [rpl_localtime],
-    [Define to rpl_localtime if the replacement function should be used.])
+  REPLACE_GMTIME=1
+  REPLACE_LOCALTIME=1
 ])
 
 # Prerequisites of lib/gettimeofday.c.
index c938fb1a0c3ecf70a8ce142d7ca998b9624c2360..ab58b712137677e1f8aafd8ee561dad5ffac77aa 100644 (file)
@@ -1,5 +1,5 @@
 # glibc21.m4 serial 5
-dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2012 Free Software Foundation,
+dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index ae4d25483ce818abf27d1a76fd3d6662139c1da1..20ce40e7441dcab0c3ccb5ca902e1f04b37d4e39 100644 (file)
@@ -1,5 +1,5 @@
-# gnulib-common.m4 serial 32
-dnl Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# gnulib-common.m4 serial 34
+dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -14,7 +14,8 @@ AC_DEFUN([gl_COMMON], [
 AC_DEFUN([gl_COMMON_BODY], [
   AH_VERBATIM([_Noreturn],
 [/* The _Noreturn keyword of C11.  */
-#ifndef _Noreturn
+#if ! (defined _Noreturn \
+       || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
 # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
       || 0x5110 <= __SUNPRO_C)
 #  define _Noreturn __attribute__ ((__noreturn__))
@@ -29,7 +30,7 @@ AC_DEFUN([gl_COMMON_BODY], [
 [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
    the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
    earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
-   __APPLE__ && __MACH__ test for MacOS X.
+   __APPLE__ && __MACH__ test for Mac OS X.
    __APPLE_CC__ tests for the Apple compiler and its version.
    __STDC_VERSION__ tests for the C99 mode.  */
 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
@@ -293,6 +294,8 @@ Amsterdam
 # for interoperability with automake-1.9.6 from autoconf-2.62.
 # Remove this macro when we can assume autoconf >= 2.62 or
 # autoconf >= 2.60 && automake >= 1.10.
+# AC_AUTOCONF_VERSION was introduced in 2.62, so use that as the witness.
+m4_ifndef([AC_AUTOCONF_VERSION],[
 m4_ifdef([AC_PROG_MKDIR_P], [
   dnl For automake-1.9.6 && autoconf < 2.62: Ensure MKDIR_P is AC_SUBSTed.
   m4_define([AC_PROG_MKDIR_P],
@@ -303,13 +306,15 @@ m4_ifdef([AC_PROG_MKDIR_P], [
     [AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
      MKDIR_P='$(mkdir_p)'
      AC_SUBST([MKDIR_P])])])
+])
 
 # AC_C_RESTRICT
 # This definition overrides the AC_C_RESTRICT macro from autoconf 2.60..2.61,
 # so that mixed use of GNU C and GNU C++ and mixed use of Sun C and Sun C++
 # works.
 # This definition can be removed once autoconf >= 2.62 can be assumed.
-m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.62]),[-1],[
+# AC_AUTOCONF_VERSION was introduced in 2.62, so use that as the witness.
+m4_ifndef([AC_AUTOCONF_VERSION],[
 AC_DEFUN([AC_C_RESTRICT],
 [AC_CACHE_CHECK([for C/C++ restrict keyword], [ac_cv_c_restrict],
   [ac_cv_c_restrict=no
@@ -370,3 +375,63 @@ AC_DEFUN([gl_CACHE_VAL_SILENT],
   AC_CACHE_VAL([$1], [$2])
   as_echo_n="$saved_as_echo_n"
 ])
+
+# AS_VAR_COPY was added in autoconf 2.63b
+m4_define_default([AS_VAR_COPY],
+[AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])
+
+# AC_PROG_SED was added in autoconf 2.59b
+m4_ifndef([AC_PROG_SED],
+[AC_DEFUN([AC_PROG_SED],
+[AC_CACHE_CHECK([for a sed that does not truncate output], ac_cv_path_SED,
+    [dnl ac_script should not contain more than 99 commands (for HP-UX sed),
+     dnl but more than about 7000 bytes, to catch a limit in Solaris 8 /usr/ucb/sed.
+     ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+     for ac_i in 1 2 3 4 5 6 7; do
+       ac_script="$ac_script$as_nl$ac_script"
+     done
+     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+     AS_UNSET([ac_script])
+     if test -z "$SED"; then
+       ac_path_SED_found=false
+       _AS_PATH_WALK([], [
+         for ac_prog in sed gsed; do
+           for ac_exec_ext in '' $ac_executable_extensions; do
+             ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+             AS_EXECUTABLE_P(["$ac_path_SED"]) || continue
+             case `"$ac_path_SED" --version 2>&1` in
+               *GNU*) ac_cv_path_SED=$ac_path_SED ac_path_SED_found=:;;
+               *)
+                 ac_count=0
+                 _AS_ECHO_N([0123456789]) >conftest.in
+                 while :
+                 do
+                   cat conftest.in conftest.in >conftest.tmp
+                   mv conftest.tmp conftest.in
+                   cp conftest.in conftest.nl
+                   echo >> conftest.nl
+                   "$ac_path_SED" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
+                   diff conftest.out conftest.nl >/dev/null 2>&1 || break
+                   ac_count=`expr $ac_count + 1`
+                   if test $ac_count -gt ${ac_path_SED_max-0}; then
+                     # Best so far, but keep looking for better
+                     ac_cv_path_SED=$ac_path_SED
+                     ac_path_SED_max=$ac_count
+                   fi
+                   test $ac_count -gt 10 && break
+                 done
+                 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+             esac
+             $ac_path_SED_found && break 3
+           done
+         done])
+       if test -z "$ac_cv_path_SED"; then
+         AC_ERROR([no acceptable sed could be found in \$PATH])
+       fi
+     else
+       ac_cv_path_SED=$SED
+     fi
+ SED="$ac_cv_path_SED"
+ AC_SUBST([SED])dnl
+ rm -f conftest.sed
+])])])
index a60e8d7db0b818bc9e4483b19c291bc752bd5271..7793906cfc4ad5b38b136162e31c992d1ddce47e 100644 (file)
@@ -1,5 +1,5 @@
 # DO NOT EDIT! GENERATED AUTOMATICALLY!
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -38,6 +38,8 @@ AC_DEFUN([gl_EARLY],
   m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
   m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
   AC_REQUIRE([gl_PROG_AR_RANLIB])
+  AC_REQUIRE([AM_PROG_CC_C_O])
+  # Code from module absolute-header:
   # Code from module alloca:
   # Code from module alloca-opt:
   # Code from module alloca-opt-tests:
@@ -81,6 +83,7 @@ AC_DEFUN([gl_EARLY],
   # Code from module exitfail:
   # Code from module extensions:
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
+  # Code from module extern-inline:
   # Code from module fcntl-h:
   # Code from module fcntl-h-tests:
   # Code from module fd-hook:
@@ -100,6 +103,8 @@ AC_DEFUN([gl_EARLY],
   # Code from module gendocs:
   # Code from module getcwd-lgpl:
   # Code from module getcwd-lgpl-tests:
+  # Code from module getdtablesize:
+  # Code from module getdtablesize-tests:
   # Code from module getopt-gnu:
   # Code from module getopt-posix:
   # Code from module getopt-posix-tests:
@@ -116,7 +121,6 @@ AC_DEFUN([gl_EARLY],
   # Code from module ignore-value:
   # Code from module ignore-value-tests:
   # Code from module include_next:
-  # Code from module inline:
   # Code from module intprops:
   # Code from module intprops-tests:
   # Code from module inttypes:
@@ -130,6 +134,8 @@ AC_DEFUN([gl_EARLY],
   # Code from module localcharset:
   # Code from module locale:
   # Code from module locale-tests:
+  # Code from module localeconv:
+  # Code from module localeconv-tests:
   # Code from module localename:
   # Code from module localename-tests:
   # Code from module lock:
@@ -179,9 +185,12 @@ AC_DEFUN([gl_EARLY],
   # Code from module realloc-gnu-tests:
   # Code from module realloc-posix:
   # Code from module regex:
+  # Code from module regex-tests:
+  # Code from module root-uid:
   # Code from module rpmatch:
   # Code from module safe-read:
   # Code from module same-inode:
+  # Code from module secure_getenv:
   # Code from module setenv:
   # Code from module setenv-tests:
   # Code from module setlocale:
@@ -211,7 +220,6 @@ AC_DEFUN([gl_EARLY],
   # Code from module stdio-tests:
   # Code from module stdlib:
   # Code from module stdlib-tests:
-  # Code from module strcase:
   # Code from module strdup-posix:
   # Code from module streq:
   # Code from module strerror:
@@ -219,8 +227,6 @@ AC_DEFUN([gl_EARLY],
   # Code from module strerror-tests:
   # Code from module string:
   # Code from module string-tests:
-  # Code from module strings:
-  # Code from module strings-tests:
   # Code from module strndup:
   # Code from module strnlen:
   # Code from module strnlen-tests:
@@ -303,325 +309,333 @@ changequote(,)dnl
 LTALLOCA=`echo "$ALLOCA" | sed -e 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
 changequote([, ])dnl
 AC_SUBST([LTALLOCA])
-gl_FUNC_ALLOCA
-gl_ASSERT
-gl_FUNC_BTOWC
-if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
-  AC_LIBOBJ([btowc])
-  gl_PREREQ_BTOWC
-fi
-gl_WCHAR_MODULE_INDICATOR([btowc])
-gl_FUNC_CALLOC_GNU
-if test $REPLACE_CALLOC = 1; then
-  AC_LIBOBJ([calloc])
-fi
-gl_MODULE_INDICATOR([calloc-gnu])
-gl_FUNC_CALLOC_POSIX
-if test $REPLACE_CALLOC = 1; then
-  AC_LIBOBJ([calloc])
-fi
-gl_STDLIB_MODULE_INDICATOR([calloc-posix])
-gl_CANONICALIZE_LGPL
-if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
-  AC_LIBOBJ([canonicalize-lgpl])
-fi
-gl_MODULE_INDICATOR([canonicalize-lgpl])
-gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
-gl_STDLIB_MODULE_INDICATOR([realpath])
-gl_FUNC_CLOSE
-if test $REPLACE_CLOSE = 1; then
-  AC_LIBOBJ([close])
-fi
-gl_UNISTD_MODULE_INDICATOR([close])
-gl_CLOSE_STREAM
-gl_MODULE_INDICATOR([close-stream])
-gl_CLOSEOUT
-gl_CONFIG_H
-gl_CONFIGMAKE_PREP
-gl_DIRNAME
-gl_MODULE_INDICATOR([dirname])
-gl_DIRNAME_LGPL
-gl_DOUBLE_SLASH_ROOT
-gl_HEADER_ERRNO_H
-gl_ERROR
-if test $ac_cv_lib_error_at_line = no; then
-  AC_LIBOBJ([error])
-  gl_PREREQ_ERROR
-fi
-m4_ifdef([AM_XGETTEXT_OPTION],
-  [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
-   AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
-gl_FCNTL_H
-gl_FUNC_FPENDING
-if test $ac_cv_func___fpending = no; then
-  AC_LIBOBJ([fpending])
-  gl_PREREQ_FPENDING
-fi
-gl_FUNC_FSTAT
-if test $REPLACE_FSTAT = 1; then
-  AC_LIBOBJ([fstat])
-  gl_PREREQ_FSTAT
-fi
-gl_SYS_STAT_MODULE_INDICATOR([fstat])
-gl_FUNC_FSYNC
-if test $HAVE_FSYNC = 0; then
-  AC_LIBOBJ([fsync])
-  gl_PREREQ_FSYNC
-fi
-gl_UNISTD_MODULE_INDICATOR([fsync])
-gl_FUNC_GETOPT_GNU
-if test $REPLACE_GETOPT = 1; then
-  AC_LIBOBJ([getopt])
-  AC_LIBOBJ([getopt1])
-  gl_PREREQ_GETOPT
-  dnl Arrange for unistd.h to include getopt.h.
-  GNULIB_GL_UNISTD_H_GETOPT=1
-fi
-AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
-gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
-gl_FUNC_GETOPT_POSIX
-if test $REPLACE_GETOPT = 1; then
-  AC_LIBOBJ([getopt])
-  AC_LIBOBJ([getopt1])
-  gl_PREREQ_GETOPT
-  dnl Arrange for unistd.h to include getopt.h.
-  GNULIB_GL_UNISTD_H_GETOPT=1
-fi
-AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
-AC_SUBST([LIBINTL])
-AC_SUBST([LTLIBINTL])
-gl_FUNC_GETTIMEOFDAY
-if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
-  AC_LIBOBJ([gettimeofday])
-  gl_PREREQ_GETTIMEOFDAY
-fi
-gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
-# Autoconf 2.61a.99 and earlier don't support linking a file only
-# in VPATH builds.  But since GNUmakefile is for maintainer use
-# only, it does not matter if we skip the link with older autoconf.
-# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
-# builds, so use a shell variable to bypass this.
-GNUmakefile=GNUmakefile
-m4_if(m4_version_compare([2.61a.100],
-        m4_defn([m4_PACKAGE_VERSION])), [1], [],
-      [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
-        [GNUmakefile=$GNUmakefile])])
-gl_INLINE
-gl_INTTYPES_H
-gl_INTTYPES_INCOMPLETE
-gl_LANGINFO_H
-gl_IGNORE_UNUSED_LIBRARIES
-gl_LOCALCHARSET
-LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
-AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
-gl_FUNC_LSEEK
-if test $REPLACE_LSEEK = 1; then
-  AC_LIBOBJ([lseek])
-fi
-gl_UNISTD_MODULE_INDICATOR([lseek])
-gl_FUNC_LSTAT
-if test $REPLACE_LSTAT = 1; then
-  AC_LIBOBJ([lstat])
-  gl_PREREQ_LSTAT
-fi
-gl_SYS_STAT_MODULE_INDICATOR([lstat])
-AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
-  [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
-gl_FUNC_MALLOC_GNU
-if test $REPLACE_MALLOC = 1; then
-  AC_LIBOBJ([malloc])
-fi
-gl_MODULE_INDICATOR([malloc-gnu])
-gl_FUNC_MALLOC_POSIX
-if test $REPLACE_MALLOC = 1; then
-  AC_LIBOBJ([malloc])
-fi
-gl_STDLIB_MODULE_INDICATOR([malloc-posix])
-gl_MALLOCA
-gl_FUNC_MBRTOWC
-if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
-  AC_LIBOBJ([mbrtowc])
-  gl_PREREQ_MBRTOWC
-fi
-gl_WCHAR_MODULE_INDICATOR([mbrtowc])
-gl_FUNC_MBSINIT
-if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
-  AC_LIBOBJ([mbsinit])
-  gl_PREREQ_MBSINIT
-fi
-gl_WCHAR_MODULE_INDICATOR([mbsinit])
-gl_FUNC_MBTOWC
-if test $REPLACE_MBTOWC = 1; then
-  AC_LIBOBJ([mbtowc])
-  gl_PREREQ_MBTOWC
-fi
-gl_STDLIB_MODULE_INDICATOR([mbtowc])
-gl_FUNC_MKSTEMP
-if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
-  AC_LIBOBJ([mkstemp])
-  gl_PREREQ_MKSTEMP
-fi
-gl_STDLIB_MODULE_INDICATOR([mkstemp])
-gl_MSVC_INVAL
-if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
-  AC_LIBOBJ([msvc-inval])
-fi
-gl_MSVC_NOTHROW
-if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
-  AC_LIBOBJ([msvc-nothrow])
-fi
-gl_MULTIARCH
-gl_FUNC_NL_LANGINFO
-if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
-  AC_LIBOBJ([nl_langinfo])
-fi
-gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
-gl_PATHMAX
-AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
-AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
-gl_QUOTE
-gl_QUOTEARG
-gl_FUNC_READ
-if test $REPLACE_READ = 1; then
-  AC_LIBOBJ([read])
-  gl_PREREQ_READ
-fi
-gl_UNISTD_MODULE_INDICATOR([read])
-gl_FUNC_READLINK
-if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
-  AC_LIBOBJ([readlink])
-  gl_PREREQ_READLINK
-fi
-gl_UNISTD_MODULE_INDICATOR([readlink])
-gl_FUNC_REALLOC_GNU
-if test $REPLACE_REALLOC = 1; then
-  AC_LIBOBJ([realloc])
-fi
-gl_MODULE_INDICATOR([realloc-gnu])
-gl_FUNC_REALLOC_POSIX
-if test $REPLACE_REALLOC = 1; then
-  AC_LIBOBJ([realloc])
-fi
-gl_STDLIB_MODULE_INDICATOR([realloc-posix])
-gl_REGEX
-if test $ac_use_included_regex = yes; then
-  AC_LIBOBJ([regex])
-  gl_PREREQ_REGEX
-fi
-gl_FUNC_RPMATCH
-if test $HAVE_RPMATCH = 0; then
-  AC_LIBOBJ([rpmatch])
-  gl_PREREQ_RPMATCH
-fi
-gl_STDLIB_MODULE_INDICATOR([rpmatch])
-gl_PREREQ_SAFE_READ
-gl_FUNC_SLEEP
-if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
-  AC_LIBOBJ([sleep])
-fi
-gl_UNISTD_MODULE_INDICATOR([sleep])
-gt_TYPE_SSIZE_T
-gl_FUNC_STAT
-if test $REPLACE_STAT = 1; then
-  AC_LIBOBJ([stat])
-  gl_PREREQ_STAT
-fi
-gl_SYS_STAT_MODULE_INDICATOR([stat])
-gl_STDARG_H
-AM_STDBOOL_H
-gl_STDDEF_H
-gl_STDINT_H
-gl_STDLIB_H
-gl_STRCASE
-if test $HAVE_STRCASECMP = 0; then
-  AC_LIBOBJ([strcasecmp])
-  gl_PREREQ_STRCASECMP
-fi
-if test $HAVE_STRNCASECMP = 0; then
-  AC_LIBOBJ([strncasecmp])
-  gl_PREREQ_STRNCASECMP
-fi
-gl_FUNC_STRDUP_POSIX
-if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
-  AC_LIBOBJ([strdup])
-  gl_PREREQ_STRDUP
-fi
-gl_STRING_MODULE_INDICATOR([strdup])
-gl_FUNC_STRERROR
-if test $REPLACE_STRERROR = 1; then
-  AC_LIBOBJ([strerror])
-fi
-gl_MODULE_INDICATOR([strerror])
-gl_STRING_MODULE_INDICATOR([strerror])
-AC_REQUIRE([gl_HEADER_ERRNO_H])
-AC_REQUIRE([gl_FUNC_STRERROR_0])
-if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
-  AC_LIBOBJ([strerror-override])
-  gl_PREREQ_SYS_H_WINSOCK2
-fi
-gl_HEADER_STRING_H
-gl_HEADER_STRINGS_H
-gl_FUNC_STRNDUP
-if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
-  AC_LIBOBJ([strndup])
-fi
-gl_STRING_MODULE_INDICATOR([strndup])
-gl_FUNC_STRNLEN
-if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
-  AC_LIBOBJ([strnlen])
-  gl_PREREQ_STRNLEN
-fi
-gl_STRING_MODULE_INDICATOR([strnlen])
-gl_FUNC_STRTOLL
-if test $HAVE_STRTOLL = 0; then
-  AC_LIBOBJ([strtoll])
-  gl_PREREQ_STRTOLL
-fi
-gl_STDLIB_MODULE_INDICATOR([strtoll])
-gl_FUNC_STRTOULL
-if test $HAVE_STRTOULL = 0; then
-  AC_LIBOBJ([strtoull])
-  gl_PREREQ_STRTOULL
-fi
-gl_STDLIB_MODULE_INDICATOR([strtoull])
-gl_HEADER_SYS_STAT_H
-AC_PROG_MKDIR_P
-gl_HEADER_SYS_TIME_H
-AC_PROG_MKDIR_P
-gl_SYS_TYPES_H
-AC_PROG_MKDIR_P
-gl_FUNC_GEN_TEMPNAME
-gl_HEADER_TIME_H
-gl_UNISTD_H
-gl_FUNC_UNLINK
-if test $REPLACE_UNLINK = 1; then
-  AC_LIBOBJ([unlink])
-fi
-gl_UNISTD_MODULE_INDICATOR([unlink])
-gl_FUNC_USLEEP
-if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
-  AC_LIBOBJ([usleep])
-fi
-gl_UNISTD_MODULE_INDICATOR([usleep])
-gl_VERSION_ETC
-AC_SUBST([WARN_CFLAGS])
-gl_WCHAR_H
-gl_FUNC_WCRTOMB
-if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
-  AC_LIBOBJ([wcrtomb])
-  gl_PREREQ_WCRTOMB
-fi
-gl_WCHAR_MODULE_INDICATOR([wcrtomb])
-gl_WCTYPE_H
-gl_XALLOC
-gl_XSTRNDUP
-gl_XSTRTOL
-AC_LIBOBJ([xstrtoll])
-AC_LIBOBJ([xstrtoull])
-AC_TYPE_LONG_LONG_INT
-test $ac_cv_type_long_long_int = no \
-  && AC_MSG_ERROR(
-      [you lack long long support; required by gnulib's xstrtoll module])
+  gl_FUNC_ALLOCA
+  gl_ASSERT
+  gl_FUNC_BTOWC
+  if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
+    AC_LIBOBJ([btowc])
+    gl_PREREQ_BTOWC
+  fi
+  gl_WCHAR_MODULE_INDICATOR([btowc])
+  gl_FUNC_CALLOC_GNU
+  if test $REPLACE_CALLOC = 1; then
+    AC_LIBOBJ([calloc])
+  fi
+  gl_MODULE_INDICATOR([calloc-gnu])
+  gl_FUNC_CALLOC_POSIX
+  if test $REPLACE_CALLOC = 1; then
+    AC_LIBOBJ([calloc])
+  fi
+  gl_STDLIB_MODULE_INDICATOR([calloc-posix])
+  gl_CANONICALIZE_LGPL
+  if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
+    AC_LIBOBJ([canonicalize-lgpl])
+  fi
+  gl_MODULE_INDICATOR([canonicalize-lgpl])
+  gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
+  gl_STDLIB_MODULE_INDICATOR([realpath])
+  gl_FUNC_CLOSE
+  if test $REPLACE_CLOSE = 1; then
+    AC_LIBOBJ([close])
+  fi
+  gl_UNISTD_MODULE_INDICATOR([close])
+  gl_CLOSE_STREAM
+  gl_MODULE_INDICATOR([close-stream])
+  gl_CLOSEOUT
+  gl_CONFIG_H
+  gl_CONFIGMAKE_PREP
+  gl_DIRNAME
+  gl_MODULE_INDICATOR([dirname])
+  gl_DIRNAME_LGPL
+  gl_DOUBLE_SLASH_ROOT
+  gl_HEADER_ERRNO_H
+  gl_ERROR
+  if test $ac_cv_lib_error_at_line = no; then
+    AC_LIBOBJ([error])
+    gl_PREREQ_ERROR
+  fi
+  m4_ifdef([AM_XGETTEXT_OPTION],
+    [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
+     AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
+  AC_REQUIRE([gl_EXTERN_INLINE])
+  gl_FCNTL_H
+  gl_FUNC_FPENDING
+  if test $gl_cv_func___fpending = no; then
+    AC_LIBOBJ([fpending])
+    gl_PREREQ_FPENDING
+  fi
+  gl_FUNC_FSTAT
+  if test $REPLACE_FSTAT = 1; then
+    AC_LIBOBJ([fstat])
+    gl_PREREQ_FSTAT
+  fi
+  gl_SYS_STAT_MODULE_INDICATOR([fstat])
+  gl_FUNC_FSYNC
+  if test $HAVE_FSYNC = 0; then
+    AC_LIBOBJ([fsync])
+    gl_PREREQ_FSYNC
+  fi
+  gl_UNISTD_MODULE_INDICATOR([fsync])
+  gl_FUNC_GETOPT_GNU
+  if test $REPLACE_GETOPT = 1; then
+    AC_LIBOBJ([getopt])
+    AC_LIBOBJ([getopt1])
+    gl_PREREQ_GETOPT
+    dnl Arrange for unistd.h to include getopt.h.
+    GNULIB_GL_UNISTD_H_GETOPT=1
+  fi
+  AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
+  gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
+  gl_FUNC_GETOPT_POSIX
+  if test $REPLACE_GETOPT = 1; then
+    AC_LIBOBJ([getopt])
+    AC_LIBOBJ([getopt1])
+    gl_PREREQ_GETOPT
+    dnl Arrange for unistd.h to include getopt.h.
+    GNULIB_GL_UNISTD_H_GETOPT=1
+  fi
+  AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
+  AC_SUBST([LIBINTL])
+  AC_SUBST([LTLIBINTL])
+  gl_FUNC_GETTIMEOFDAY
+  if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
+    AC_LIBOBJ([gettimeofday])
+    gl_PREREQ_GETTIMEOFDAY
+  fi
+  gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
+  # Autoconf 2.61a.99 and earlier don't support linking a file only
+  # in VPATH builds.  But since GNUmakefile is for maintainer use
+  # only, it does not matter if we skip the link with older autoconf.
+  # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
+  # builds, so use a shell variable to bypass this.
+  GNUmakefile=GNUmakefile
+  m4_if(m4_version_compare([2.61a.100],
+          m4_defn([m4_PACKAGE_VERSION])), [1], [],
+        [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
+          [GNUmakefile=$GNUmakefile])])
+  gl_INTTYPES_H
+  gl_INTTYPES_INCOMPLETE
+  gl_LANGINFO_H
+  AC_REQUIRE([gl_LARGEFILE])
+  gl_IGNORE_UNUSED_LIBRARIES
+  gl_LOCALCHARSET
+  LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
+  AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
+  gl_LOCALE_H
+  gl_FUNC_LOCALECONV
+  if test $REPLACE_LOCALECONV = 1; then
+    AC_LIBOBJ([localeconv])
+    gl_PREREQ_LOCALECONV
+  fi
+  gl_LOCALE_MODULE_INDICATOR([localeconv])
+  gl_LOCK
+  gl_MODULE_INDICATOR([lock])
+  gl_FUNC_LSEEK
+  if test $REPLACE_LSEEK = 1; then
+    AC_LIBOBJ([lseek])
+  fi
+  gl_UNISTD_MODULE_INDICATOR([lseek])
+  gl_FUNC_LSTAT
+  if test $REPLACE_LSTAT = 1; then
+    AC_LIBOBJ([lstat])
+    gl_PREREQ_LSTAT
+  fi
+  gl_SYS_STAT_MODULE_INDICATOR([lstat])
+  AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
+    [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
+  AC_REQUIRE([AC_PROG_SED])
+  gl_FUNC_MALLOC_GNU
+  if test $REPLACE_MALLOC = 1; then
+    AC_LIBOBJ([malloc])
+  fi
+  gl_MODULE_INDICATOR([malloc-gnu])
+  gl_FUNC_MALLOC_POSIX
+  if test $REPLACE_MALLOC = 1; then
+    AC_LIBOBJ([malloc])
+  fi
+  gl_STDLIB_MODULE_INDICATOR([malloc-posix])
+  gl_MALLOCA
+  gl_FUNC_MBRTOWC
+  if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
+    AC_LIBOBJ([mbrtowc])
+    gl_PREREQ_MBRTOWC
+  fi
+  gl_WCHAR_MODULE_INDICATOR([mbrtowc])
+  gl_FUNC_MBSINIT
+  if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
+    AC_LIBOBJ([mbsinit])
+    gl_PREREQ_MBSINIT
+  fi
+  gl_WCHAR_MODULE_INDICATOR([mbsinit])
+  gl_FUNC_MBTOWC
+  if test $REPLACE_MBTOWC = 1; then
+    AC_LIBOBJ([mbtowc])
+    gl_PREREQ_MBTOWC
+  fi
+  gl_STDLIB_MODULE_INDICATOR([mbtowc])
+  gl_FUNC_MKSTEMP
+  if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
+    AC_LIBOBJ([mkstemp])
+    gl_PREREQ_MKSTEMP
+  fi
+  gl_STDLIB_MODULE_INDICATOR([mkstemp])
+  gl_MSVC_INVAL
+  if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
+    AC_LIBOBJ([msvc-inval])
+  fi
+  gl_MSVC_NOTHROW
+  if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
+    AC_LIBOBJ([msvc-nothrow])
+  fi
+  gl_MULTIARCH
+  gl_FUNC_NL_LANGINFO
+  if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
+    AC_LIBOBJ([nl_langinfo])
+  fi
+  gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
+  gl_PATHMAX
+  AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
+  AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
+  gl_QUOTE
+  gl_QUOTEARG
+  gl_FUNC_READ
+  if test $REPLACE_READ = 1; then
+    AC_LIBOBJ([read])
+    gl_PREREQ_READ
+  fi
+  gl_UNISTD_MODULE_INDICATOR([read])
+  gl_FUNC_READLINK
+  if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
+    AC_LIBOBJ([readlink])
+    gl_PREREQ_READLINK
+  fi
+  gl_UNISTD_MODULE_INDICATOR([readlink])
+  gl_FUNC_REALLOC_GNU
+  if test $REPLACE_REALLOC = 1; then
+    AC_LIBOBJ([realloc])
+  fi
+  gl_MODULE_INDICATOR([realloc-gnu])
+  gl_FUNC_REALLOC_POSIX
+  if test $REPLACE_REALLOC = 1; then
+    AC_LIBOBJ([realloc])
+  fi
+  gl_STDLIB_MODULE_INDICATOR([realloc-posix])
+  gl_REGEX
+  if test $ac_use_included_regex = yes; then
+    AC_LIBOBJ([regex])
+    gl_PREREQ_REGEX
+  fi
+  gl_FUNC_RPMATCH
+  if test $HAVE_RPMATCH = 0; then
+    AC_LIBOBJ([rpmatch])
+    gl_PREREQ_RPMATCH
+  fi
+  gl_STDLIB_MODULE_INDICATOR([rpmatch])
+  gl_PREREQ_SAFE_READ
+  gl_FUNC_SECURE_GETENV
+  if test $HAVE_SECURE_GETENV = 0; then
+    AC_LIBOBJ([secure_getenv])
+    gl_PREREQ_SECURE_GETENV
+  fi
+  gl_STDLIB_MODULE_INDICATOR([secure_getenv])
+  gl_FUNC_SLEEP
+  if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
+    AC_LIBOBJ([sleep])
+  fi
+  gl_UNISTD_MODULE_INDICATOR([sleep])
+  gt_TYPE_SSIZE_T
+  gl_FUNC_STAT
+  if test $REPLACE_STAT = 1; then
+    AC_LIBOBJ([stat])
+    gl_PREREQ_STAT
+  fi
+  gl_SYS_STAT_MODULE_INDICATOR([stat])
+  gl_STDARG_H
+  AM_STDBOOL_H
+  gl_STDDEF_H
+  gl_STDINT_H
+  gl_STDIO_H
+  gl_STDLIB_H
+  gl_FUNC_STRDUP_POSIX
+  if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
+    AC_LIBOBJ([strdup])
+    gl_PREREQ_STRDUP
+  fi
+  gl_STRING_MODULE_INDICATOR([strdup])
+  gl_FUNC_STRERROR
+  if test $REPLACE_STRERROR = 1; then
+    AC_LIBOBJ([strerror])
+  fi
+  gl_MODULE_INDICATOR([strerror])
+  gl_STRING_MODULE_INDICATOR([strerror])
+  AC_REQUIRE([gl_HEADER_ERRNO_H])
+  AC_REQUIRE([gl_FUNC_STRERROR_0])
+  if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
+    AC_LIBOBJ([strerror-override])
+    gl_PREREQ_SYS_H_WINSOCK2
+  fi
+  gl_HEADER_STRING_H
+  gl_FUNC_STRNDUP
+  if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
+    AC_LIBOBJ([strndup])
+  fi
+  gl_STRING_MODULE_INDICATOR([strndup])
+  gl_FUNC_STRNLEN
+  if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
+    AC_LIBOBJ([strnlen])
+    gl_PREREQ_STRNLEN
+  fi
+  gl_STRING_MODULE_INDICATOR([strnlen])
+  gl_FUNC_STRTOLL
+  if test $HAVE_STRTOLL = 0; then
+    AC_LIBOBJ([strtoll])
+    gl_PREREQ_STRTOLL
+  fi
+  gl_STDLIB_MODULE_INDICATOR([strtoll])
+  gl_FUNC_STRTOULL
+  if test $HAVE_STRTOULL = 0; then
+    AC_LIBOBJ([strtoull])
+    gl_PREREQ_STRTOULL
+  fi
+  gl_STDLIB_MODULE_INDICATOR([strtoull])
+  gl_HEADER_SYS_STAT_H
+  AC_PROG_MKDIR_P
+  gl_HEADER_SYS_TIME_H
+  AC_PROG_MKDIR_P
+  gl_SYS_TYPES_H
+  AC_PROG_MKDIR_P
+  gl_FUNC_GEN_TEMPNAME
+  gl_THREADLIB
+  gl_HEADER_TIME_H
+  gl_UNISTD_H
+  gl_FUNC_UNLINK
+  if test $REPLACE_UNLINK = 1; then
+    AC_LIBOBJ([unlink])
+  fi
+  gl_UNISTD_MODULE_INDICATOR([unlink])
+  gl_FUNC_USLEEP
+  if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
+    AC_LIBOBJ([usleep])
+  fi
+  gl_UNISTD_MODULE_INDICATOR([usleep])
+  gl_VERSION_ETC
+  gl_WCHAR_H
+  gl_FUNC_WCRTOMB
+  if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
+    AC_LIBOBJ([wcrtomb])
+    gl_PREREQ_WCRTOMB
+  fi
+  gl_WCHAR_MODULE_INDICATOR([wcrtomb])
+  gl_WCTYPE_H
+  gl_XALLOC
+  gl_XSTRNDUP
+  gl_XSTRTOL
+  AC_LIBOBJ([xstrtoll])
+  AC_LIBOBJ([xstrtoull])
+  AC_TYPE_LONG_LONG_INT
+  test $ac_cv_type_long_long_int = no \
+    && AC_MSG_ERROR(
+        [you lack long long support; required by gnulib's xstrtoll module])
   # End of code from modules
   m4_ifval(gl_LIBSOURCES_LIST, [
     m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
@@ -668,117 +682,124 @@ changequote([, ])dnl
   AC_SUBST([gltests_WITNESS])
   gl_module_indicator_condition=$gltests_WITNESS
   m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
-gt_LOCALE_FR
-gt_LOCALE_FR_UTF8
-gt_LOCALE_FR
-gt_LOCALE_TR_UTF8
-gl_FUNC_DUP2
-if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
-  AC_LIBOBJ([dup2])
-  gl_PREREQ_DUP2
-fi
-gl_UNISTD_MODULE_INDICATOR([dup2])
-gl_ENVIRON
-gl_UNISTD_MODULE_INDICATOR([environ])
-gl_FUNC_FDOPEN
-if test $REPLACE_FDOPEN = 1; then
-  AC_LIBOBJ([fdopen])
-  gl_PREREQ_FDOPEN
-fi
-gl_STDIO_MODULE_INDICATOR([fdopen])
-gl_FUNC_GETCWD_LGPL
-if test $REPLACE_GETCWD = 1; then
-  AC_LIBOBJ([getcwd-lgpl])
-fi
-gl_UNISTD_MODULE_INDICATOR([getcwd])
-gl_FUNC_GETPAGESIZE
-if test $REPLACE_GETPAGESIZE = 1; then
-  AC_LIBOBJ([getpagesize])
-fi
-gl_UNISTD_MODULE_INDICATOR([getpagesize])
-AC_REQUIRE([AC_C_INLINE])
-gl_LOCALE_H
-AC_CHECK_FUNCS_ONCE([newlocale])
-gl_LOCALENAME
-AC_CHECK_FUNCS_ONCE([newlocale])
-gl_LOCK
-gt_LOCALE_FR
-gt_LOCALE_FR_UTF8
-gt_LOCALE_JA
-gt_LOCALE_ZH_CN
-gt_LOCALE_FR_UTF8
-gt_LOCALE_FR
-gt_LOCALE_FR_UTF8
-gl_FUNC_OPEN
-if test $REPLACE_OPEN = 1; then
-  AC_LIBOBJ([open])
-  gl_PREREQ_OPEN
-fi
-gl_FCNTL_MODULE_INDICATOR([open])
-gl_PRIV_SET
-gl_FUNC_PUTENV
-if test $REPLACE_PUTENV = 1; then
-  AC_LIBOBJ([putenv])
-fi
-gl_STDLIB_MODULE_INDICATOR([putenv])
-gl_FUNC_SETENV
-if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
-  AC_LIBOBJ([setenv])
-fi
-gl_STDLIB_MODULE_INDICATOR([setenv])
-gl_FUNC_SETLOCALE
-if test $REPLACE_SETLOCALE = 1; then
-  AC_LIBOBJ([setlocale])
-  gl_PREREQ_SETLOCALE
-fi
-gl_LOCALE_MODULE_INDICATOR([setlocale])
-gt_LOCALE_FR
-gt_LOCALE_FR_UTF8
-gt_LOCALE_JA
-gt_LOCALE_ZH_CN
-AC_CHECK_DECLS_ONCE([alarm])
-gt_TYPE_WCHAR_T
-gt_TYPE_WINT_T
-gl_STDIO_H
-dnl Check for prerequisites for memory fence checks.
-gl_FUNC_MMAP_ANON
-AC_CHECK_HEADERS_ONCE([sys/mman.h])
-AC_CHECK_FUNCS_ONCE([mprotect])
-gl_FUNC_SYMLINK
-if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
-  AC_LIBOBJ([symlink])
-fi
-gl_UNISTD_MODULE_INDICATOR([symlink])
-gl_THREAD
-gl_THREADLIB
-gl_UNLINKDIR
-gl_FUNC_UNSETENV
-if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
-  AC_LIBOBJ([unsetenv])
-  gl_PREREQ_UNSETENV
-fi
-gl_STDLIB_MODULE_INDICATOR([unsetenv])
-abs_aux_dir=`cd "$ac_aux_dir"; pwd`
-AC_SUBST([abs_aux_dir])
-abs_aux_dir=`cd "$ac_aux_dir"; pwd`
-AC_SUBST([abs_aux_dir])
-gt_LOCALE_FR
-gt_LOCALE_FR_UTF8
-gt_LOCALE_JA
-gt_LOCALE_ZH_CN
-gl_FUNC_WCTOB
-if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
-  AC_LIBOBJ([wctob])
-  gl_PREREQ_WCTOB
-fi
-gl_WCHAR_MODULE_INDICATOR([wctob])
-gl_FUNC_WCTOMB
-if test $REPLACE_WCTOMB = 1; then
-  AC_LIBOBJ([wctomb])
-  gl_PREREQ_WCTOMB
-fi
-gl_STDLIB_MODULE_INDICATOR([wctomb])
-gl_YIELD
+  gt_LOCALE_FR
+  gt_LOCALE_FR_UTF8
+  gt_LOCALE_FR
+  gt_LOCALE_TR_UTF8
+  gl_FUNC_DUP2
+  if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
+    AC_LIBOBJ([dup2])
+    gl_PREREQ_DUP2
+  fi
+  gl_UNISTD_MODULE_INDICATOR([dup2])
+  gl_ENVIRON
+  gl_UNISTD_MODULE_INDICATOR([environ])
+  gl_FUNC_FDOPEN
+  if test $REPLACE_FDOPEN = 1; then
+    AC_LIBOBJ([fdopen])
+    gl_PREREQ_FDOPEN
+  fi
+  gl_STDIO_MODULE_INDICATOR([fdopen])
+  gl_FUNC_GETCWD_LGPL
+  if test $REPLACE_GETCWD = 1; then
+    AC_LIBOBJ([getcwd-lgpl])
+  fi
+  gl_UNISTD_MODULE_INDICATOR([getcwd])
+  gl_FUNC_GETDTABLESIZE
+  if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
+    AC_LIBOBJ([getdtablesize])
+    gl_PREREQ_GETDTABLESIZE
+  fi
+  gl_UNISTD_MODULE_INDICATOR([getdtablesize])
+  gl_FUNC_GETPAGESIZE
+  if test $REPLACE_GETPAGESIZE = 1; then
+    AC_LIBOBJ([getpagesize])
+  fi
+  gl_UNISTD_MODULE_INDICATOR([getpagesize])
+  AC_CHECK_FUNCS_ONCE([newlocale])
+  gl_LOCALENAME
+  AC_CHECK_FUNCS_ONCE([newlocale])
+  gt_LOCALE_FR
+  gt_LOCALE_FR_UTF8
+  gt_LOCALE_JA
+  gt_LOCALE_ZH_CN
+  gt_LOCALE_FR_UTF8
+  gt_LOCALE_FR
+  gt_LOCALE_FR_UTF8
+  gl_FUNC_OPEN
+  if test $REPLACE_OPEN = 1; then
+    AC_LIBOBJ([open])
+    gl_PREREQ_OPEN
+  fi
+  gl_FCNTL_MODULE_INDICATOR([open])
+  gl_PRIV_SET
+  gl_FUNC_PUTENV
+  if test $REPLACE_PUTENV = 1; then
+    AC_LIBOBJ([putenv])
+    gl_PREREQ_PUTENV
+  fi
+  gl_STDLIB_MODULE_INDICATOR([putenv])
+  dnl Check for prerequisites for memory fence checks.
+  dnl FIXME: zerosize-ptr.h requires these: make a module for it
+  gl_FUNC_MMAP_ANON
+  AC_CHECK_HEADERS_ONCE([sys/mman.h])
+  AC_CHECK_FUNCS_ONCE([mprotect])
+  gl_FUNC_SETENV
+  if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
+    AC_LIBOBJ([setenv])
+  fi
+  gl_STDLIB_MODULE_INDICATOR([setenv])
+  gl_FUNC_SETLOCALE
+  if test $REPLACE_SETLOCALE = 1; then
+    AC_LIBOBJ([setlocale])
+    gl_PREREQ_SETLOCALE
+  fi
+  gl_LOCALE_MODULE_INDICATOR([setlocale])
+  gt_LOCALE_FR
+  gt_LOCALE_FR_UTF8
+  gt_LOCALE_JA
+  gt_LOCALE_ZH_CN
+  AC_CHECK_DECLS_ONCE([alarm])
+  AC_REQUIRE([gt_TYPE_WCHAR_T])
+  AC_REQUIRE([gt_TYPE_WINT_T])
+  dnl Check for prerequisites for memory fence checks.
+  gl_FUNC_MMAP_ANON
+  AC_CHECK_HEADERS_ONCE([sys/mman.h])
+  AC_CHECK_FUNCS_ONCE([mprotect])
+  gl_FUNC_SYMLINK
+  if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
+    AC_LIBOBJ([symlink])
+  fi
+  gl_UNISTD_MODULE_INDICATOR([symlink])
+  gl_THREAD
+  gl_UNLINKDIR
+  gl_FUNC_UNSETENV
+  if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
+    AC_LIBOBJ([unsetenv])
+    gl_PREREQ_UNSETENV
+  fi
+  gl_STDLIB_MODULE_INDICATOR([unsetenv])
+  abs_aux_dir=`cd "$ac_aux_dir"; pwd`
+  AC_SUBST([abs_aux_dir])
+  abs_aux_dir=`cd "$ac_aux_dir"; pwd`
+  AC_SUBST([abs_aux_dir])
+  gt_LOCALE_FR
+  gt_LOCALE_FR_UTF8
+  gt_LOCALE_JA
+  gt_LOCALE_ZH_CN
+  gl_FUNC_WCTOB
+  if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
+    AC_LIBOBJ([wctob])
+    gl_PREREQ_WCTOB
+  fi
+  gl_WCHAR_MODULE_INDICATOR([wctob])
+  gl_FUNC_WCTOMB
+  if test $REPLACE_WCTOMB = 1; then
+    AC_LIBOBJ([wctomb])
+    gl_PREREQ_WCTOMB
+  fi
+  gl_STDLIB_MODULE_INDICATOR([wctomb])
+  gl_YIELD
   m4_popdef([gl_MODULE_INDICATOR_CONDITION])
   m4_ifval(gltests_LIBSOURCES_LIST, [
     m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
@@ -932,11 +953,16 @@ AC_DEFUN([gl_FILE_LIST], [
   lib/getopt_int.h
   lib/gettext.h
   lib/gettimeofday.c
+  lib/glthread/lock.c
+  lib/glthread/lock.h
+  lib/glthread/threadlib.c
   lib/intprops.h
   lib/inttypes.in.h
   lib/langinfo.in.h
   lib/localcharset.c
   lib/localcharset.h
+  lib/locale.in.h
+  lib/localeconv.c
   lib/long-options.c
   lib/long-options.h
   lib/lseek.c
@@ -958,7 +984,6 @@ AC_DEFUN([gl_FILE_LIST], [
   lib/pathmax.h
   lib/progname.c
   lib/progname.h
-  lib/quote.c
   lib/quote.h
   lib/quotearg.c
   lib/quotearg.h
@@ -976,23 +1001,22 @@ AC_DEFUN([gl_FILE_LIST], [
   lib/rpmatch.c
   lib/safe-read.c
   lib/safe-read.h
+  lib/secure_getenv.c
   lib/sleep.c
   lib/stat.c
   lib/stdarg.in.h
   lib/stdbool.in.h
   lib/stddef.in.h
   lib/stdint.in.h
+  lib/stdio.in.h
   lib/stdlib.in.h
-  lib/strcasecmp.c
   lib/strdup.c
   lib/streq.h
   lib/strerror-override.c
   lib/strerror-override.h
   lib/strerror.c
   lib/string.in.h
-  lib/strings.in.h
   lib/stripslash.c
-  lib/strncasecmp.c
   lib/strndup.c
   lib/strnlen.c
   lib/strtol.c
@@ -1005,6 +1029,7 @@ AC_DEFUN([gl_FILE_LIST], [
   lib/tempname.c
   lib/tempname.h
   lib/time.in.h
+  lib/unistd.c
   lib/unistd.in.h
   lib/unlink.c
   lib/usleep.c
@@ -1014,6 +1039,7 @@ AC_DEFUN([gl_FILE_LIST], [
   lib/version-etc.h
   lib/wchar.in.h
   lib/wcrtomb.c
+  lib/wctype-h.c
   lib/wctype.in.h
   lib/xalloc-die.c
   lib/xalloc-oversized.h
@@ -1028,6 +1054,7 @@ AC_DEFUN([gl_FILE_LIST], [
   lib/xstrtoul.c
   lib/xstrtoull.c
   m4/00gnulib.m4
+  m4/absolute-header.m4
   m4/alloca.m4
   m4/assert.m4
   m4/btowc.m4
@@ -1047,6 +1074,7 @@ AC_DEFUN([gl_FILE_LIST], [
   m4/errno_h.m4
   m4/error.m4
   m4/extensions.m4
+  m4/extern-inline.m4
   m4/fcntl-o.m4
   m4/fcntl_h.m4
   m4/fdopen.m4
@@ -1054,13 +1082,13 @@ AC_DEFUN([gl_FILE_LIST], [
   m4/fstat.m4
   m4/fsync.m4
   m4/getcwd.m4
+  m4/getdtablesize.m4
   m4/getopt.m4
   m4/getpagesize.m4
   m4/gettimeofday.m4
   m4/glibc21.m4
   m4/gnulib-common.m4
   m4/include_next.m4
-  m4/inline.m4
   m4/intlmacosx.m4
   m4/inttypes-pri.m4
   m4/inttypes.m4
@@ -1077,6 +1105,7 @@ AC_DEFUN([gl_FILE_LIST], [
   m4/locale-tr.m4
   m4/locale-zh.m4
   m4/locale_h.m4
+  m4/localeconv.m4
   m4/localename.m4
   m4/lock.m4
   m4/longlong.m4
@@ -1097,6 +1126,7 @@ AC_DEFUN([gl_FILE_LIST], [
   m4/multiarch.m4
   m4/nl_langinfo.m4
   m4/nocrash.m4
+  m4/off_t.m4
   m4/open.m4
   m4/pathmax.m4
   m4/priv-set.m4
@@ -1109,6 +1139,7 @@ AC_DEFUN([gl_FILE_LIST], [
   m4/regex.m4
   m4/rpmatch.m4
   m4/safe-read.m4
+  m4/secure_getenv.m4
   m4/setenv.m4
   m4/setlocale.m4
   m4/sleep.m4
@@ -1120,11 +1151,9 @@ AC_DEFUN([gl_FILE_LIST], [
   m4/stdint.m4
   m4/stdio_h.m4
   m4/stdlib_h.m4
-  m4/strcase.m4
   m4/strdup.m4
   m4/strerror.m4
   m4/string_h.m4
-  m4/strings_h.m4
   m4/strndup.m4
   m4/strnlen.m4
   m4/strtoll.m4
@@ -1188,6 +1217,7 @@ AC_DEFUN([gl_FILE_LIST], [
   tests/test-fsync.c
   tests/test-fwrite.c
   tests/test-getcwd-lgpl.c
+  tests/test-getdtablesize.c
   tests/test-getopt.c
   tests/test-getopt.h
   tests/test-getopt_long.h
@@ -1198,6 +1228,7 @@ AC_DEFUN([gl_FILE_LIST], [
   tests/test-inttypes.c
   tests/test-langinfo.c
   tests/test-locale.c
+  tests/test-localeconv.c
   tests/test-localename.c
   tests/test-lock.c
   tests/test-lseek.c
@@ -1231,6 +1262,7 @@ AC_DEFUN([gl_FILE_LIST], [
   tests/test-readlink.c
   tests/test-readlink.h
   tests/test-realloc-gnu.c
+  tests/test-regex.c
   tests/test-setenv.c
   tests/test-setlocale1.c
   tests/test-setlocale1.sh
@@ -1246,7 +1278,6 @@ AC_DEFUN([gl_FILE_LIST], [
   tests/test-stdlib.c
   tests/test-strerror.c
   tests/test-string.c
-  tests/test-strings.c
   tests/test-strnlen.c
   tests/test-strtoll.c
   tests/test-strtoull.c
@@ -1290,29 +1321,27 @@ AC_DEFUN([gl_FILE_LIST], [
   tests/test-xstrtoul.c
   tests/test-xstrtoull.c
   tests/zerosize-ptr.h
+  tests=lib/binary-io.c
   tests=lib/binary-io.h
   tests=lib/dup2.c
   tests=lib/fdopen.c
   tests=lib/getcwd-lgpl.c
+  tests=lib/getdtablesize.c
   tests=lib/getpagesize.c
-  tests=lib/glthread/lock.c
-  tests=lib/glthread/lock.h
   tests=lib/glthread/thread.c
   tests=lib/glthread/thread.h
-  tests=lib/glthread/threadlib.c
   tests=lib/glthread/yield.h
   tests=lib/ignore-value.h
-  tests=lib/locale.in.h
   tests=lib/localename.c
   tests=lib/localename.h
   tests=lib/open.c
   tests=lib/priv-set.c
   tests=lib/priv-set.h
   tests=lib/putenv.c
+  tests=lib/root-uid.h
   tests=lib/same-inode.h
   tests=lib/setenv.c
   tests=lib/setlocale.c
-  tests=lib/stdio.in.h
   tests=lib/symlink.c
   tests=lib/unlinkdir.c
   tests=lib/unlinkdir.h
index a60a2614dc841971ce82e960a5c9322dc0541efc..69ad3dbb0f736436fa9a39c3445ff5a30af04ff2 100644 (file)
@@ -1,5 +1,5 @@
 # include_next.m4 serial 23
-dnl Copyright (C) 2006-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -192,56 +192,9 @@ dnl until we can assume autoconf 2.64 or newer.
              if test AS_VAR_GET(gl_header_exists) = yes; then
              AS_VAR_POPDEF([gl_header_exists])
             ])
-               AC_LANG_CONFTEST(
-                 [AC_LANG_SOURCE(
-                    [[#include <]]m4_dquote(m4_defn([gl_HEADER_NAME]))[[>]]
-                  )])
-               dnl AIX "xlc -E" and "cc -E" omit #line directives for header
-               dnl files that contain only a #include of other header files and
-               dnl no non-comment tokens of their own. This leads to a failure
-               dnl to detect the absolute name of <dirent.h>, <signal.h>,
-               dnl <poll.h> and others. The workaround is to force preservation
-               dnl of comments through option -C. This ensures all necessary
-               dnl #line directives are present. GCC supports option -C as well.
-               case "$host_os" in
-                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
-                 *)    gl_absname_cpp="$ac_cpp" ;;
-               esac
-changequote(,)
-               case "$host_os" in
-                 mingw*)
-                   dnl For the sake of native Windows compilers (excluding gcc),
-                   dnl treat backslash as a directory separator, like /.
-                   dnl Actually, these compilers use a double-backslash as
-                   dnl directory separator, inside the
-                   dnl   # line "filename"
-                   dnl directives.
-                   gl_dirsep_regex='[/\\]'
-                   ;;
-                 *)
-                   gl_dirsep_regex='\/'
-                   ;;
-               esac
-               dnl A sed expression that turns a string into a basic regular
-               dnl expression, for use within "/.../".
-               gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
-changequote([,])
-               gl_header_literal_regex=`echo ']m4_defn([gl_HEADER_NAME])[' \
-                                        | sed -e "$gl_make_literal_regex_sed"`
-               gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
-                   s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
-changequote(,)dnl
-                   s|^/[^/]|//&|
-changequote([,])dnl
-                   p
-                   q
-                 }'
-               dnl eval is necessary to expand gl_absname_cpp.
-               dnl Ultrix and Pyramid sh refuse to redirect output of eval,
-               dnl so use subshell.
-               AS_VAR_SET(gl_next_header,
-                 ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
-                      sed -n "$gl_absolute_header_sed"`'"'])
+           gl_ABSOLUTE_HEADER_ONE(gl_HEADER_NAME)
+           AS_VAR_COPY([gl_header], [gl_cv_absolute_]AS_TR_SH(gl_HEADER_NAME))
+           AS_VAR_SET(gl_next_header, ['"'$gl_header'"'])
           m4_if([$2], [check],
             [else
                AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>'])
diff --git a/m4/inline.m4 b/m4/inline.m4
deleted file mode 100644 (file)
index 6fa9972..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# inline.m4 serial 4
-dnl Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-dnl Test for the 'inline' keyword or equivalent.
-dnl Define 'inline' to a supported equivalent, or to nothing if not supported,
-dnl like AC_C_INLINE does.  Also, define HAVE_INLINE if 'inline' or an
-dnl equivalent is effectively supported, i.e. if the compiler is likely to
-dnl drop unused 'static inline' functions.
-AC_DEFUN([gl_INLINE],
-[
-  AC_REQUIRE([AC_C_INLINE])
-  AC_CACHE_CHECK([whether the compiler generally respects inline],
-    [gl_cv_c_inline_effective],
-    [if test $ac_cv_c_inline = no; then
-       gl_cv_c_inline_effective=no
-     else
-       dnl GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is
-       dnl specified.
-       dnl Use AC_COMPILE_IFELSE here, not AC_EGREP_CPP, because the result
-       dnl depends on optimization flags, which can be in CFLAGS.
-       dnl (AC_EGREP_CPP looks only at the CPPFLAGS.)
-       AC_COMPILE_IFELSE(
-         [AC_LANG_PROGRAM([[]],
-           [[#ifdef __NO_INLINE__
-               #error "inline is not effective"
-             #endif]])],
-         [gl_cv_c_inline_effective=yes],
-         [gl_cv_c_inline_effective=no])
-     fi
-    ])
-  if test $gl_cv_c_inline_effective = yes; then
-    AC_DEFINE([HAVE_INLINE], [1],
-      [Define to 1 if the compiler supports one of the keywords
-       'inline', '__inline__', '__inline' and effectively inlines
-       functions marked as such.])
-  fi
-])
index dc2ddfedfc04ad2bd7dcae9f42bd9ff01de07228..8a045f6a295781c3c08e38df8d053e30011b65f1 100644 (file)
@@ -1,5 +1,5 @@
-# intlmacosx.m4 serial 4 (gettext-0.18.2)
-dnl Copyright (C) 2004-2012 Free Software Foundation, Inc.
+# intlmacosx.m4 serial 5 (gettext-0.18.2)
+dnl Copyright (C) 2004-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -13,11 +13,11 @@ dnl by the GNU Library General Public License, and the rest of the GNU
 dnl gettext package package is covered by the GNU General Public License.
 dnl They are *not* in the public domain.
 
-dnl Checks for special options needed on MacOS X.
+dnl Checks for special options needed on Mac OS X.
 dnl Defines INTL_MACOSX_LIBS.
 AC_DEFUN([gt_INTL_MACOSX],
 [
-  dnl Check for API introduced in MacOS X 10.2.
+  dnl Check for API introduced in Mac OS X 10.2.
   AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
     [gt_cv_func_CFPreferencesCopyAppValue],
     [gt_save_LIBS="$LIBS"
@@ -31,9 +31,9 @@ AC_DEFUN([gt_INTL_MACOSX],
      LIBS="$gt_save_LIBS"])
   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
     AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
-      [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
+      [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
   fi
-  dnl Check for API introduced in MacOS X 10.3.
+  dnl Check for API introduced in Mac OS X 10.3.
   AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
     [gt_save_LIBS="$LIBS"
      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
@@ -46,7 +46,7 @@ AC_DEFUN([gt_INTL_MACOSX],
      LIBS="$gt_save_LIBS"])
   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
     AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
-      [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
+      [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
   fi
   INTL_MACOSX_LIBS=
   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
index 977206fae8914234999691c45ea46807ff709c81..00251e1dbf487ceaf58c48c925da23312bee5cf4 100644 (file)
@@ -1,5 +1,5 @@
 # inttypes-pri.m4 serial 7 (gettext-0.18.2)
-dnl Copyright (C) 1997-2002, 2006, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 1997-2002, 2006, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index eec4f41d03232dd965294ad428e16e8e7a3fe091..2f9317d9550532e946e99d347651428a036f7815 100644 (file)
@@ -1,5 +1,5 @@
 # inttypes.m4 serial 26
-dnl Copyright (C) 2006-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -148,6 +148,7 @@ AC_DEFUN([gl_INTTYPES_H_DEFAULTS],
   HAVE_DECL_STRTOIMAX=1; AC_SUBST([HAVE_DECL_STRTOIMAX])
   HAVE_DECL_STRTOUMAX=1; AC_SUBST([HAVE_DECL_STRTOUMAX])
   REPLACE_STRTOIMAX=0;   AC_SUBST([REPLACE_STRTOIMAX])
+  REPLACE_STRTOUMAX=0;   AC_SUBST([REPLACE_STRTOUMAX])
   INT32_MAX_LT_INTMAX_MAX=1;  AC_SUBST([INT32_MAX_LT_INTMAX_MAX])
   INT64_MAX_EQ_LONG_MAX='defined _LP64';  AC_SUBST([INT64_MAX_EQ_LONG_MAX])
   PRI_MACROS_BROKEN=0;   AC_SUBST([PRI_MACROS_BROKEN])
index b93fe7066d480d26046c428ebd1be1e9140d2d8f..e8d78f9d01aa35176b1d57e2999344071456b50a 100644 (file)
@@ -1,5 +1,5 @@
 # langinfo_h.m4 serial 7
-dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 1369bbe525efd71db6e269583db2062c493ac9bd..a1b564ad9afbc598da1ce9e57b8feca53f16f497 100644 (file)
@@ -1,13 +1,14 @@
 # Enable large files on systems where this is not the default.
 
-# Copyright 1992-1996, 1998-2012 Free Software Foundation, Inc.
+# Copyright 1992-1996, 1998-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# The following implementation works around a problem in autoconf <= 2.68;
-# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5.
-m4_version_prereq([2.69], [] ,[
+# The following implementation works around a problem in autoconf <= 2.69;
+# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5,
+# or configures them incorrectly in some cases.
+m4_version_prereq([2.70], [] ,[
 
 # _AC_SYS_LARGEFILE_TEST_INCLUDES
 # -------------------------------
@@ -25,9 +26,9 @@ m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES],
 
 
 # _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE,
-#                              CACHE-VAR,
-#                              DESCRIPTION,
-#                              PROLOGUE, [FUNCTION-BODY])
+#                               CACHE-VAR,
+#                               DESCRIPTION,
+#                               PROLOGUE, [FUNCTION-BODY])
 # --------------------------------------------------------
 m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE],
 [AC_CACHE_CHECK([for $1 value needed for large files], [$3],
@@ -93,12 +94,53 @@ if test "$enable_largefile" != no; then
       [_AC_SYS_LARGEFILE_TEST_INCLUDES])
   fi
 
-  AH_VERBATIM([_DARWIN_USE_64_BIT_INODE],
-[/* Enable large inode numbers on Mac OS X.  */
-#ifndef _DARWIN_USE_64_BIT_INODE
-# define _DARWIN_USE_64_BIT_INODE 1
-#endif])
+  AC_DEFINE([_DARWIN_USE_64_BIT_INODE], [1],
+    [Enable large inode numbers on Mac OS X 10.5.])
 fi
 ])# AC_SYS_LARGEFILE
+])# m4_version_prereq 2.70
 
-])# m4_version_prereq 2.69
+# Enable large files on systems where this is implemented by Gnulib, not by the
+# system headers.
+# Set the variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE if Gnulib
+# overrides ensure that off_t or 'struct size.st_size' are 64-bit, respectively.
+AC_DEFUN([gl_LARGEFILE],
+[
+  AC_REQUIRE([AC_CANONICAL_HOST])
+  case "$host_os" in
+    mingw*)
+      dnl Native Windows.
+      dnl mingw64 defines off_t to a 64-bit type already, if
+      dnl _FILE_OFFSET_BITS=64, which is ensured by AC_SYS_LARGEFILE.
+      AC_CACHE_CHECK([for 64-bit off_t], [gl_cv_type_off_t_64],
+        [AC_COMPILE_IFELSE(
+           [AC_LANG_PROGRAM(
+              [[#include <sys/types.h>
+                int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1];
+              ]],
+              [[]])],
+           [gl_cv_type_off_t_64=yes], [gl_cv_type_off_t_64=no])
+        ])
+      if test $gl_cv_type_off_t_64 = no; then
+        WINDOWS_64_BIT_OFF_T=1
+      else
+        WINDOWS_64_BIT_OFF_T=0
+      fi
+      dnl But all native Windows platforms (including mingw64) have a 32-bit
+      dnl st_size member in 'struct stat'.
+      WINDOWS_64_BIT_ST_SIZE=1
+      ;;
+    *)
+      dnl Nothing to do on gnulib's side.
+      dnl A 64-bit off_t is
+      dnl   - already the default on Mac OS X, FreeBSD, NetBSD, OpenBSD, IRIX,
+      dnl     OSF/1, Cygwin,
+      dnl   - enabled by _FILE_OFFSET_BITS=64 (ensured by AC_SYS_LARGEFILE) on
+      dnl     glibc, HP-UX, Solaris,
+      dnl   - enabled by _LARGE_FILES=1 (ensured by AC_SYS_LARGEFILE) on AIX,
+      dnl   - impossible to achieve on Minix 3.1.8.
+      WINDOWS_64_BIT_OFF_T=0
+      WINDOWS_64_BIT_ST_SIZE=0
+      ;;
+  esac
+])
index 4ed0eb6e4cfb1ca8bf3f0fbad24d040f433f2258..7470ec5973ad7e98438b1786153ce76505583c05 100644 (file)
@@ -1,5 +1,5 @@
 # lcmessage.m4 serial 7 (gettext-0.18.2)
-dnl Copyright (C) 1995-2002, 2004-2005, 2008-2012 Free Software Foundation,
+dnl Copyright (C) 1995-2002, 2004-2005, 2008-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index 292c4691bf8a472d55b78beea940443f6c081786..7baa52833f8a524ae6f2e04a49c55d1b6f15c53b 100644 (file)
@@ -1,6 +1,6 @@
 # If possible, ignore libraries that are not depended on.
 
-dnl Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 4e1374d9bcce3fc33048c3aee7f21f4bf89d9439..ddc569f73646f480b6bf5f8afa9ba3cf67d21dc4 100644 (file)
@@ -1,33 +1,39 @@
-# lib-ld.m4 serial 5 (gettext-0.18.2)
-dnl Copyright (C) 1996-2003, 2009-2012 Free Software Foundation, Inc.
+# lib-ld.m4 serial 6
+dnl Copyright (C) 1996-2003, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
 dnl Subroutines of libtool.m4,
-dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
-dnl with libtool.m4.
+dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid
+dnl collision with libtool.m4.
 
-dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
+dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no.
 AC_DEFUN([AC_LIB_PROG_LD_GNU],
 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
-[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 case `$LD -v 2>&1 </dev/null` in
 *GNU* | *'with BFD'*)
-  acl_cv_prog_gnu_ld=yes ;;
+  acl_cv_prog_gnu_ld=yes
+  ;;
 *)
-  acl_cv_prog_gnu_ld=no ;;
+  acl_cv_prog_gnu_ld=no
+  ;;
 esac])
 with_gnu_ld=$acl_cv_prog_gnu_ld
 ])
 
-dnl From libtool-1.4. Sets the variable LD.
+dnl From libtool-2.4. Sets the variable LD.
 AC_DEFUN([AC_LIB_PROG_LD],
-[AC_ARG_WITH([gnu-ld],
-[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
-test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
-AC_REQUIRE([AC_PROG_CC])dnl
+[AC_REQUIRE([AC_PROG_CC])dnl
 AC_REQUIRE([AC_CANONICAL_HOST])dnl
+
+AC_ARG_WITH([gnu-ld],
+    [AS_HELP_STRING([--with-gnu-ld],
+        [assume the C compiler uses GNU ld [default=no]])],
+    [test "$withval" = no || with_gnu_ld=yes],
+    [with_gnu_ld=no])dnl
+
 # Prepare PATH_SEPARATOR.
 # The user is always right.
 if test "${PATH_SEPARATOR+set}" != set; then
@@ -40,10 +46,11 @@ if test "${PATH_SEPARATOR+set}" != set; then
            || PATH_SEPARATOR=';'
        }
 fi
+
 ac_prog=ld
 if test "$GCC" = yes; then
   # Check if gcc -print-prog-name=ld gives a path.
-  AC_MSG_CHECKING([for ld used by GCC])
+  AC_MSG_CHECKING([for ld used by $CC])
   case $host in
   *-*-mingw*)
     # gcc leaves a trailing carriage return which upsets mingw
@@ -53,11 +60,11 @@ if test "$GCC" = yes; then
   esac
   case $ac_prog in
     # Accept absolute paths.
-    [[\\/]* | [A-Za-z]:[\\/]*)]
-      [re_direlt='/[^/][^/]*/\.\./']
-      # Canonicalize the path of ld
-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+    [[\\/]]* | ?:[[\\/]]*)
+      re_direlt='/[[^/]][[^/]]*/\.\./'
+      # Canonicalize the pathname of ld
+      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
+      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
       done
       test -z "$LD" && LD="$ac_prog"
@@ -78,23 +85,26 @@ else
 fi
 AC_CACHE_VAL([acl_cv_path_LD],
 [if test -z "$LD"; then
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   for ac_dir in $PATH; do
+    IFS="$acl_save_ifs"
     test -z "$ac_dir" && ac_dir=.
     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       acl_cv_path_LD="$ac_dir/$ac_prog"
       # Check to see if the program is GNU ld.  I'd rather use --version,
-      # but apparently some GNU ld's only accept -v.
+      # but apparently some variants of GNU ld only accept -v.
       # Break only if it was the GNU/non-GNU ld that we prefer.
-      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
+      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
       *GNU* | *'with BFD'*)
-        test "$with_gnu_ld" != no && break ;;
+        test "$with_gnu_ld" != no && break
+        ;;
       *)
-        test "$with_gnu_ld" != yes && break ;;
+        test "$with_gnu_ld" != yes && break
+        ;;
       esac
     fi
   done
-  IFS="$ac_save_ifs"
+  IFS="$acl_save_ifs"
 else
   acl_cv_path_LD="$LD" # Let the user override the test with a path.
 fi])
index d11b4b4350e5c1e1f055a5285260fef6dee7b1c7..3522d994d271334afbb80d173c3e998a8697f967 100644 (file)
@@ -1,5 +1,5 @@
 # lib-link.m4 serial 26 (gettext-0.18.2)
-dnl Copyright (C) 2001-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 007aa0532e6dece7d69c55b2fe10e9c50751eebc..31f49e40aa4bb3ca7f28e14e819395b58438b923 100644 (file)
@@ -1,5 +1,5 @@
 # lib-prefix.m4 serial 7 (gettext-0.18)
-dnl Copyright (C) 2001-2005, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2005, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 44e0ecff11e3a16ca7656be45268d0bd597afc51..d7c043f4f998971f1b81f7ab2c1e095fef45dee5 100644 (file)
@@ -1312,7 +1312,7 @@ ia64-*-hpux*)
   rm -rf conftest*
   ;;
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
@@ -1324,9 +1324,19 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
            LD="${LD-ld} -m elf_i386_fbsd"
            ;;
          x86_64-*linux*)
-           LD="${LD-ld} -m elf_i386"
+           case `/usr/bin/file conftest.o` in
+             *x86-64*)
+               LD="${LD-ld} -m elf32_x86_64"
+               ;;
+             *)
+               LD="${LD-ld} -m elf_i386"
+               ;;
+           esac
+           ;;
+         powerpc64le-*)
+           LD="${LD-ld} -m elf32lppclinux"
            ;;
-         ppc64-*linux*|powerpc64-*linux*)
+         powerpc64-*)
            LD="${LD-ld} -m elf32ppclinux"
            ;;
          s390x-*linux*)
@@ -1345,7 +1355,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
          x86_64-*linux*)
            LD="${LD-ld} -m elf_x86_64"
            ;;
-         ppc*-*linux*|powerpc*-*linux*)
+         powerpcle-*)
+           LD="${LD-ld} -m elf64lppc"
+           ;;
+         powerpc-*)
            LD="${LD-ld} -m elf64ppc"
            ;;
          s390*-*linux*|s390*-*tpf*)
@@ -1688,7 +1701,8 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     ;;
   *)
     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
-    if test -n "$lt_cv_sys_max_cmd_len"; then
+    if test -n "$lt_cv_sys_max_cmd_len" && \
+       test undefined != "$lt_cv_sys_max_cmd_len"; then
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     else
@@ -2512,17 +2526,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
@@ -2639,7 +2642,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
@@ -2684,6 +2687,18 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
+netbsdelf*-gnu)
+  version_type=linux
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+  soname_spec='${libname}${release}${shared_ext}$major'
+  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  dynamic_linker='NetBSD ld.elf_so'
+  ;;
+
 netbsd*)
   version_type=sunos
   need_lib_prefix=no
@@ -3243,10 +3258,6 @@ freebsd* | dragonfly*)
   fi
   ;;
 
-gnu*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
 haiku*)
   lt_cv_deplibs_check_method=pass_all
   ;;
@@ -3285,11 +3296,11 @@ irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-netbsd*)
+netbsd* | netbsdelf*-gnu)
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
   else
@@ -4037,7 +4048,7 @@ m4_if([$1], [CXX], [
            ;;
        esac
        ;;
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
+      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        case $cc_basename in
          KCC*)
            # KAI C++ Compiler
@@ -4101,7 +4112,7 @@ m4_if([$1], [CXX], [
            ;;
        esac
        ;;
-      netbsd*)
+      netbsd* | netbsdelf*-gnu)
        ;;
       *qnx* | *nto*)
         # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -4336,7 +4347,7 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
       ;;
 
-    linux* | k*bsd*-gnu | kopensolaris*-gnu)
+    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
       case $cc_basename in
       # old Intel for x86_64 which still supported -KPIC.
       ecc*)
@@ -4578,6 +4589,9 @@ m4_if([$1], [CXX], [
       ;;
     esac
     ;;
+  linux* | k*bsd*-gnu | gnu*)
+    _LT_TAGVAR(link_all_deplibs, $1)=no
+    ;;
   *)
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     ;;
@@ -4640,6 +4654,9 @@ dnl Note also adjust exclude_expsyms for C++ above.
   openbsd*)
     with_gnu_ld=no
     ;;
+  linux* | k*bsd*-gnu | gnu*)
+    _LT_TAGVAR(link_all_deplibs, $1)=no
+    ;;
   esac
 
   _LT_TAGVAR(ld_shlibs, $1)=yes
@@ -4861,7 +4878,7 @@ _LT_EOF
       fi
       ;;
 
-    netbsd*)
+    netbsd* | netbsdelf*-gnu)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
@@ -5038,6 +5055,7 @@ _LT_EOF
        if test "$aix_use_runtimelinking" = yes; then
          shared_flag="$shared_flag "'${wl}-G'
        fi
+       _LT_TAGVAR(link_all_deplibs, $1)=no
       else
        # not using gcc
        if test "$host_cpu" = ia64; then
@@ -5342,7 +5360,7 @@ _LT_EOF
       _LT_TAGVAR(link_all_deplibs, $1)=yes
       ;;
 
-    netbsd*)
+    netbsd* | netbsdelf*-gnu)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else
@@ -6222,9 +6240,6 @@ if test "$_lt_caught_CXX_error" != yes; then
         _LT_TAGVAR(ld_shlibs, $1)=yes
         ;;
 
-      gnu*)
-        ;;
-
       haiku*)
         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
         _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -6386,7 +6401,7 @@ if test "$_lt_caught_CXX_error" != yes; then
         _LT_TAGVAR(inherit_rpath, $1)=yes
         ;;
 
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
+      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
         case $cc_basename in
           KCC*)
            # Kuck and Associates, Inc. (KAI) C++ Compiler
index 8010379b18a96b4b27750777d2a048cab94f8721..ada2f01f6f75fa767b8fd09db47d2d6e731f7639 100644 (file)
@@ -1,5 +1,5 @@
 # localcharset.m4 serial 7
-dnl Copyright (C) 2002, 2004, 2006, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2004, 2006, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 04d801f23e4c738da89017cee0e94fad96e64377..27db5ab87ef0ad630bb27ee421878c6d5921d289 100644 (file)
@@ -1,5 +1,5 @@
-# locale-fr.m4 serial 16
-dnl Copyright (C) 2003, 2005-2012 Free Software Foundation, Inc.
+# locale-fr.m4 serial 17
+dnl Copyright (C) 2003, 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -37,7 +37,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -92,7 +92,7 @@ changequote([,])dnl
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
@@ -165,7 +165,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 # endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -220,7 +220,7 @@ changequote([,])dnl
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
index 201ac4e76a9326c7246f00c474b86811f7ba25a5..c88fe8b4e59d58bfbc4769dfee813605ada7d15c 100644 (file)
@@ -1,5 +1,5 @@
-# locale-ja.m4 serial 11
-dnl Copyright (C) 2003, 2005-2012 Free Software Foundation, Inc.
+# locale-ja.m4 serial 12
+dnl Copyright (C) 2003, 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -39,7 +39,7 @@ int main ()
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -91,7 +91,7 @@ changequote([,])dnl
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the AIX locale name.
index 26b2ba2695868697324b57fd829f23fa9e1850d1..535b256633e848cdb7a672e27dc9626a14b092db 100644 (file)
@@ -1,5 +1,5 @@
-# locale-tr.m4 serial 9
-dnl Copyright (C) 2003, 2005-2012 Free Software Foundation, Inc.
+# locale-tr.m4 serial 10
+dnl Copyright (C) 2003, 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -42,7 +42,7 @@ int main () {
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -95,7 +95,7 @@ changequote([,])dnl
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the usual locale name.
index 0cf5adacc466df3627a1e2f894f319cd4321acb7..d3b23474208c49006ae15034f5cd7c7b4418cbad 100644 (file)
@@ -1,5 +1,5 @@
-# locale-zh.m4 serial 11
-dnl Copyright (C) 2003, 2005-2012 Free Software Foundation, Inc.
+# locale-zh.m4 serial 12
+dnl Copyright (C) 2003, 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -40,7 +40,7 @@ int main ()
   if (setlocale (LC_ALL, "") == NULL) return 1;
 #endif
   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
-     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
+     On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
@@ -101,7 +101,7 @@ changequote([,])dnl
           ;;
         *)
           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
-          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
+          # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
           # configure script would override the LC_ALL setting. Likewise for
           # LC_CTYPE, which is also set at the beginning of the configure script.
           # Test for the locale name without encoding suffix.
index 4289587455fd5885892eae394223d835520f3f66..283858843b7b7c1ea2e3aa7616db6bd32a1e7c9f 100644 (file)
@@ -1,5 +1,5 @@
-# locale_h.m4 serial 14
-dnl Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+# locale_h.m4 serial 19
+dnl Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -10,18 +10,29 @@ AC_DEFUN([gl_LOCALE_H],
   dnl once only, before all statements that occur in other macros.
   AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
 
-  dnl Persuade glibc <locale.h> to define locale_t.
+  dnl Persuade glibc <locale.h> to define locale_t and the int_p_*, int_n_*
+  dnl members of 'struct lconv'.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
 
   dnl If <stddef.h> is replaced, then <locale.h> must also be replaced.
   AC_REQUIRE([gl_STDDEF_H])
 
+  dnl Solaris 11 2011-11 defines the int_p_*, int_n_* members of 'struct lconv'
+  dnl only if _LCONV_C99 is defined.
+  AC_REQUIRE([AC_CANONICAL_HOST])
+  case "$host_os" in
+    solaris*)
+      AC_DEFINE([_LCONV_C99], [1], [Define to 1 on Solaris.])
+      ;;
+  esac
+
   AC_CACHE_CHECK([whether locale.h conforms to POSIX:2001],
     [gl_cv_header_locale_h_posix2001],
     [AC_COMPILE_IFELSE(
        [AC_LANG_PROGRAM(
           [[#include <locale.h>
-            int x = LC_MESSAGES;]],
+            int x = LC_MESSAGES;
+            int y = sizeof (((struct lconv *) 0)->decimal_point);]],
           [[]])],
        [gl_cv_header_locale_h_posix2001=yes],
        [gl_cv_header_locale_h_posix2001=no])])
@@ -31,7 +42,7 @@ AC_DEFUN([gl_LOCALE_H],
   if test $ac_cv_header_xlocale_h = yes; then
     HAVE_XLOCALE_H=1
     dnl Check whether use of locale_t requires inclusion of <xlocale.h>,
-    dnl e.g. on MacOS X 10.5. If <locale.h> does not define locale_t by
+    dnl e.g. on Mac OS X 10.5. If <locale.h> does not define locale_t by
     dnl itself, we assume that <xlocale.h> will do so.
     AC_CACHE_CHECK([whether locale.h defines locale_t],
       [gl_cv_header_locale_has_locale_t],
@@ -54,6 +65,26 @@ AC_DEFUN([gl_LOCALE_H],
   fi
   AC_SUBST([HAVE_XLOCALE_H])
 
+  dnl Check whether 'struct lconv' is complete.
+  dnl Bionic libc's 'struct lconv' is just a dummy.
+  dnl On OpenBSD 4.9, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 1.5.x,
+  dnl mingw, MSVC 9, it lacks the int_p_* and int_n_* members.
+  AC_CACHE_CHECK([whether struct lconv is properly defined],
+    [gl_cv_sys_struct_lconv_ok],
+    [AC_COMPILE_IFELSE(
+       [AC_LANG_PROGRAM(
+          [[#include <locale.h>
+            struct lconv l;
+            int x = sizeof (l.decimal_point);
+            int y = sizeof (l.int_p_cs_precedes);]],
+          [[]])],
+       [gl_cv_sys_struct_lconv_ok=yes],
+       [gl_cv_sys_struct_lconv_ok=no])
+    ])
+  if test $gl_cv_sys_struct_lconv_ok = no; then
+    REPLACE_STRUCT_LCONV=1
+  fi
+
   dnl <locale.h> is always overridden, because of GNULIB_POSIXCHECK.
   gl_NEXT_HEADERS([locale.h])
 
@@ -79,10 +110,13 @@ AC_DEFUN([gl_LOCALE_MODULE_INDICATOR],
 
 AC_DEFUN([gl_LOCALE_H_DEFAULTS],
 [
+  GNULIB_LOCALECONV=0; AC_SUBST([GNULIB_LOCALECONV])
   GNULIB_SETLOCALE=0;  AC_SUBST([GNULIB_SETLOCALE])
   GNULIB_DUPLOCALE=0;  AC_SUBST([GNULIB_DUPLOCALE])
   dnl Assume proper GNU behavior unless another module says otherwise.
-  HAVE_DUPLOCALE=1;    AC_SUBST([HAVE_DUPLOCALE])
-  REPLACE_SETLOCALE=0; AC_SUBST([REPLACE_SETLOCALE])
-  REPLACE_DUPLOCALE=0; AC_SUBST([REPLACE_DUPLOCALE])
+  HAVE_DUPLOCALE=1;       AC_SUBST([HAVE_DUPLOCALE])
+  REPLACE_LOCALECONV=0;   AC_SUBST([REPLACE_LOCALECONV])
+  REPLACE_SETLOCALE=0;    AC_SUBST([REPLACE_SETLOCALE])
+  REPLACE_DUPLOCALE=0;    AC_SUBST([REPLACE_DUPLOCALE])
+  REPLACE_STRUCT_LCONV=0; AC_SUBST([REPLACE_STRUCT_LCONV])
 ])
diff --git a/m4/localeconv.m4 b/m4/localeconv.m4
new file mode 100644 (file)
index 0000000..1fd2919
--- /dev/null
@@ -0,0 +1,22 @@
+# localeconv.m4 serial 1
+dnl Copyright (C) 2012-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_LOCALECONV],
+[
+  AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
+  AC_REQUIRE([gl_LOCALE_H])
+
+  if test $REPLACE_STRUCT_LCONV = 1; then
+    REPLACE_LOCALECONV=1
+  fi
+])
+
+# Prerequisites of lib/localeconv.c.
+AC_DEFUN([gl_PREREQ_LOCALECONV],
+[
+  AC_CHECK_MEMBERS([struct lconv.decimal_point], [], [],
+    [[#include <locale.h>]])
+])
index 2ba295ebc6852bd108b7376ed785900ad3537141..d865c66d1d5121e07f8cd7575ca61259a6d6ed1e 100644 (file)
@@ -1,5 +1,5 @@
 # localename.m4 serial 2
-dnl Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index c0a620600ae2865b222944705b483af363578a47..73a3c54cee8f290e8382308ae766709de182c203 100644 (file)
@@ -1,5 +1,5 @@
-# lock.m4 serial 11 (gettext-0.18.2)
-dnl Copyright (C) 2005-2012 Free Software Foundation, Inc.
+# lock.m4 serial 13 (gettext-0.18.2)
+dnl Copyright (C) 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -10,7 +10,7 @@ AC_DEFUN([gl_LOCK],
 [
   AC_REQUIRE([gl_THREADLIB])
   if test "$gl_threads_api" = posix; then
-    # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
+    # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the
     # pthread_rwlock_* functions.
     AC_CHECK_TYPE([pthread_rwlock_t],
       [AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1],
@@ -24,6 +24,9 @@ AC_DEFUN([gl_LOCK],
         [[
 #if __FreeBSD__ == 4
 error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
+#elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \
+       && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
+error "No, in Mac OS X < 10.7 recursive mutexes actually don't work."
 #else
 int x = (int)PTHREAD_MUTEX_RECURSIVE;
 return !x;
@@ -35,7 +38,5 @@ return !x;
   gl_PREREQ_LOCK
 ])
 
-# Prerequisites of lib/lock.c.
-AC_DEFUN([gl_PREREQ_LOCK], [
-  AC_REQUIRE([AC_C_INLINE])
-])
+# Prerequisites of lib/glthread/lock.c.
+AC_DEFUN([gl_PREREQ_LOCK], [:])
index b9c65c756ee0665d1c45a35850d033eabf9bf753..eefb37c455eba6d20963c8756825ae243a0d0fa8 100644 (file)
@@ -1,5 +1,5 @@
 # longlong.m4 serial 17
-dnl Copyright (C) 1999-2007, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 1999-2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 86db59ecdc064d7c231e9f08f12944a19c84af8e..0904d02d52d4abc9cd485f541631b55cb129010b 100644 (file)
@@ -1,5 +1,5 @@
-# lseek.m4 serial 8
-dnl Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+# lseek.m4 serial 10
+dnl Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,11 +7,24 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FUNC_LSEEK],
 [
   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
+
+  AC_REQUIRE([AC_CANONICAL_HOST])
   AC_REQUIRE([AC_PROG_CC])
   AC_CHECK_HEADERS_ONCE([unistd.h])
   AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe],
-    [if test $cross_compiling = no; then
-       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+    [case "$host_os" in
+       mingw*)
+         dnl Native Windows.
+         dnl The result of lseek (fd, (off_t)0, SEEK_CUR) or
+         dnl SetFilePointer(handle, 0, NULL, FILE_CURRENT)
+         dnl for a pipe depends on the environment: In a Cygwin 1.5
+         dnl environment it succeeds (wrong); in a Cygwin 1.7 environment
+         dnl it fails with a wrong errno value.
+         gl_cv_func_lseek_pipe=no
+         ;;
+       *)
+         if test $cross_compiling = no; then
+           AC_LINK_IFELSE([AC_LANG_PROGRAM([[
 #include <sys/types.h> /* for off_t */
 #include <stdio.h> /* for SEEK_CUR */
 #if HAVE_UNISTD_H
@@ -23,26 +36,36 @@ AC_DEFUN([gl_FUNC_LSEEK],
   /* Exit with success only if stdin is seekable.  */
   return lseek (0, (off_t)0, SEEK_CUR) < 0;
 ]])],
-         [if test -s conftest$ac_exeext \
-             && ./conftest$ac_exeext < conftest.$ac_ext \
-             && test 1 = "`echo hi \
-               | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
-            gl_cv_func_lseek_pipe=yes
-          else
-            gl_cv_func_lseek_pipe=no
-          fi],
-         [gl_cv_func_lseek_pipe=no])
-     else
-       AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
-#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__
-/* mingw and BeOS mistakenly return 0 when trying to seek on pipes.  */
+             [if test -s conftest$ac_exeext \
+                 && ./conftest$ac_exeext < conftest.$ac_ext \
+                 && test 1 = "`echo hi \
+                   | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
+                gl_cv_func_lseek_pipe=yes
+              else
+                gl_cv_func_lseek_pipe=no
+              fi
+             ],
+             [gl_cv_func_lseek_pipe=no])
+         else
+           AC_COMPILE_IFELSE(
+             [AC_LANG_SOURCE([[
+#if defined __BEOS__
+/* BeOS mistakenly return 0 when trying to seek on pipes.  */
   Choke me.
 #endif]])],
-         [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no])
-     fi])
+             [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no])
+         fi
+         ;;
+     esac
+    ])
   if test $gl_cv_func_lseek_pipe = no; then
     REPLACE_LSEEK=1
     AC_DEFINE([LSEEK_PIPE_BROKEN], [1],
       [Define to 1 if lseek does not detect pipes.])
   fi
+
+  AC_REQUIRE([gl_SYS_TYPES_H])
+  if test $WINDOWS_64_BIT_OFF_T = 1; then
+    REPLACE_LSEEK=1
+  fi
 ])
index b83858bdb6028e8bbd8bea23a5f175c5c4230154..c5e72b81e824f4a84378145699b6a2968973f591 100644 (file)
@@ -1,6 +1,6 @@
-# serial 24
+# serial 26
 
-# Copyright (C) 1997-2001, 2003-2012 Free Software Foundation, Inc.
+# Copyright (C) 1997-2001, 2003-2014 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -16,20 +16,18 @@ AC_DEFUN([gl_FUNC_LSTAT],
   AC_CHECK_FUNCS_ONCE([lstat])
   if test $ac_cv_func_lstat = yes; then
     AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
-    if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then
-      REPLACE_LSTAT=1
-    fi
+    case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
+      *no)
+        REPLACE_LSTAT=1
+        ;;
+    esac
   else
     HAVE_LSTAT=0
   fi
 ])
 
 # Prerequisites of lib/lstat.c.
-AC_DEFUN([gl_PREREQ_LSTAT],
-[
-  AC_REQUIRE([AC_C_INLINE])
-  :
-])
+AC_DEFUN([gl_PREREQ_LSTAT], [:])
 
 AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK],
 [
@@ -51,20 +49,25 @@ AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK],
             ]])],
          [gl_cv_func_lstat_dereferences_slashed_symlink=yes],
          [gl_cv_func_lstat_dereferences_slashed_symlink=no],
-         [# When cross-compiling, be pessimistic so we will end up using the
-          # replacement version of lstat that checks for trailing slashes and
-          # calls lstat a second time when necessary.
-          gl_cv_func_lstat_dereferences_slashed_symlink=no
+         [case "$host_os" in
+                    # Guess yes on glibc systems.
+            *-gnu*) gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
+                    # If we don't know, assume the worst.
+            *)      gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
+          esac
          ])
      else
        # If the 'ln -s' command failed, then we probably don't even
        # have an lstat function.
-       gl_cv_func_lstat_dereferences_slashed_symlink=no
+       gl_cv_func_lstat_dereferences_slashed_symlink="guessing no"
      fi
      rm -f conftest.sym conftest.file
     ])
-  test $gl_cv_func_lstat_dereferences_slashed_symlink = yes &&
-    AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1],
-      [Define to 1 if 'lstat' dereferences a symlink specified
-       with a trailing slash.])
+  case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
+    *yes)
+      AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1],
+        [Define to 1 if 'lstat' dereferences a symlink specified
+         with a trailing slash.])
+      ;;
+  esac
 ])
index d3c39f5d96f686fc6d7c93e067cc834127e98094..322ad6effe81a598f0fcb69edda846b074df0feb 100644 (file)
@@ -1,9 +1,47 @@
-# malloc.m4 serial 13
-dnl Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+# malloc.m4 serial 14
+dnl Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
+m4_version_prereq([2.70], [] ,[
+
+# This is taken from the following Autoconf patch:
+# http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=7fbb553727ed7e0e689a17594b58559ecf3ea6e9
+AC_DEFUN([_AC_FUNC_MALLOC_IF],
+[
+  AC_REQUIRE([AC_HEADER_STDC])dnl
+  AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
+  AC_CHECK_HEADERS([stdlib.h])
+  AC_CACHE_CHECK([for GNU libc compatible malloc],
+    [ac_cv_func_malloc_0_nonnull],
+    [AC_RUN_IFELSE(
+       [AC_LANG_PROGRAM(
+          [[#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+            # include <stdlib.h>
+            #else
+            char *malloc ();
+            #endif
+          ]],
+          [[return ! malloc (0);]])
+       ],
+       [ac_cv_func_malloc_0_nonnull=yes],
+       [ac_cv_func_malloc_0_nonnull=no],
+       [case "$host_os" in
+          # Guess yes on platforms where we know the result.
+          *-gnu* | freebsd* | netbsd* | openbsd* \
+          | hpux* | solaris* | cygwin* | mingw*)
+            ac_cv_func_malloc_0_nonnull=yes ;;
+          # If we don't know, assume the worst.
+          *) ac_cv_func_malloc_0_nonnull=no ;;
+        esac
+       ])
+    ])
+  AS_IF([test $ac_cv_func_malloc_0_nonnull = yes], [$1], [$2])
+])# _AC_FUNC_MALLOC_IF
+
+])
+
 # gl_FUNC_MALLOC_GNU
 # ------------------
 # Test whether 'malloc (0)' is handled like in GNU libc, and replace malloc if
index 7841979f3c9834e1793833585b7159090e4b599c..dcc1a0843e94a586e3c121aeffefbaf606a6b0a0 100644 (file)
@@ -1,5 +1,5 @@
 # malloca.m4 serial 1
-dnl Copyright (C) 2003-2004, 2006-2007, 2009-2012 Free Software Foundation,
+dnl Copyright (C) 2003-2004, 2006-2007, 2009-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index fd0e3722d353850063c4787d080da2c240b43afc..e1cee6cf9d1105e17db161c1f5da4303be18ba9b 100644 (file)
@@ -1,5 +1,5 @@
-# manywarnings.m4 serial 3
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# manywarnings.m4 serial 6
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -35,14 +35,12 @@ AC_DEFUN([gl_MANYWARN_COMPLEMENT],
 # make sure your gcc understands it.
 AC_DEFUN([gl_MANYWARN_ALL_GCC],
 [
-  dnl First, check if -Wno-missing-field-initializers is needed.
-  dnl -Wmissing-field-initializers is implied by -W, but that issues
-  dnl warnings with GCC version before 4.7, for the common idiom
-  dnl of initializing types on the stack to zero, using { 0, }
+  dnl First, check for some issues that only occur when combining multiple
+  dnl gcc warning categories.
   AC_REQUIRE([AC_PROG_CC])
   if test -n "$GCC"; then
 
-    dnl First, check -W -Werror -Wno-missing-field-initializers is supported
+    dnl Check if -W -Werror -Wno-missing-field-initializers is supported
     dnl with the current $CC $CFLAGS $CPPFLAGS.
     AC_MSG_CHECKING([whether -Wno-missing-field-initializers is supported])
     AC_CACHE_VAL([gl_cv_cc_nomfi_supported], [
@@ -77,108 +75,149 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC],
       ])
       AC_MSG_RESULT([$gl_cv_cc_nomfi_needed])
     fi
+
+    dnl Next, check if -Werror -Wuninitialized is useful with the
+    dnl user's choice of $CFLAGS; some versions of gcc warn that it
+    dnl has no effect if -O is not also used
+    AC_MSG_CHECKING([whether -Wuninitialized is supported])
+    AC_CACHE_VAL([gl_cv_cc_uninitialized_supported], [
+      gl_save_CFLAGS="$CFLAGS"
+      CFLAGS="$CFLAGS -Werror -Wuninitialized"
+      AC_COMPILE_IFELSE(
+        [AC_LANG_PROGRAM([[]], [[]])],
+        [gl_cv_cc_uninitialized_supported=yes],
+        [gl_cv_cc_uninitialized_supported=no])
+      CFLAGS="$gl_save_CFLAGS"])
+    AC_MSG_RESULT([$gl_cv_cc_uninitialized_supported])
+
   fi
 
+  # List all gcc warning categories.
   gl_manywarn_set=
   for gl_manywarn_item in \
-    -Wall \
     -W \
-    -Wformat-y2k \
-    -Wformat-nonliteral \
-    -Wformat-security \
-    -Winit-self \
-    -Wmissing-include-dirs \
-    -Wswitch-default \
-    -Wswitch-enum \
-    -Wunused \
-    -Wunknown-pragmas \
-    -Wstrict-aliasing \
-    -Wstrict-overflow \
-    -Wsystem-headers \
-    -Wfloat-equal \
-    -Wtraditional \
-    -Wtraditional-conversion \
-    -Wdeclaration-after-statement \
-    -Wundef \
-    -Wshadow \
-    -Wunsafe-loop-optimizations \
-    -Wpointer-arith \
+    -Wabi \
+    -Waddress \
+    -Waggressive-loop-optimizations \
+    -Wall \
+    -Warray-bounds \
+    -Wattributes \
     -Wbad-function-cast \
-    -Wc++-compat \
-    -Wcast-qual \
-    -Wcast-align \
-    -Wwrite-strings \
-    -Wconversion \
-    -Wsign-conversion \
-    -Wlogical-op \
-    -Waggregate-return \
-    -Wstrict-prototypes \
-    -Wold-style-definition \
-    -Wmissing-prototypes \
-    -Wmissing-declarations \
-    -Wmissing-noreturn \
-    -Wmissing-format-attribute \
-    -Wpacked \
-    -Wpadded \
-    -Wredundant-decls \
-    -Wnested-externs \
-    -Wunreachable-code \
-    -Winline \
-    -Winvalid-pch \
-    -Wlong-long \
-    -Wvla \
-    -Wvolatile-register-var \
-    -Wdisabled-optimization \
-    -Wstack-protector \
-    -Woverlength-strings \
     -Wbuiltin-macro-redefined \
-    -Wmudflap \
-    -Wpacked-bitfield-compat \
-    -Wsync-nand \
-    ; do
-    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
-  done
-  # The following are not documented in the manual but are included in
-  # output from gcc --help=warnings.
-  for gl_manywarn_item in \
-    -Wattributes \
+    -Wcast-align \
+    -Wchar-subscripts \
+    -Wclobbered \
+    -Wcomment \
+    -Wcomments \
     -Wcoverage-mismatch \
-    -Wmultichar \
-    -Wunused-macros \
-    ; do
-    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
-  done
-  # More warnings from gcc 4.6.2 --help=warnings.
-  for gl_manywarn_item in \
-    -Wabi \
     -Wcpp \
     -Wdeprecated \
     -Wdeprecated-declarations \
+    -Wdisabled-optimization \
     -Wdiv-by-zero \
     -Wdouble-promotion \
+    -Wempty-body \
     -Wendif-labels \
+    -Wenum-compare \
     -Wextra \
     -Wformat-contains-nul \
     -Wformat-extra-args \
+    -Wformat-nonliteral \
+    -Wformat-security \
+    -Wformat-y2k \
     -Wformat-zero-length \
-    -Wformat=2 \
+    -Wfree-nonheap-object \
+    -Wignored-qualifiers \
+    -Wimplicit \
+    -Wimplicit-function-declaration \
+    -Wimplicit-int \
+    -Winit-self \
+    -Winline \
+    -Wint-to-pointer-cast \
+    -Winvalid-memory-model \
+    -Winvalid-pch \
+    -Wjump-misses-init \
+    -Wlogical-op \
+    -Wmain \
+    -Wmaybe-uninitialized \
+    -Wmissing-braces \
+    -Wmissing-declarations \
+    -Wmissing-field-initializers \
+    -Wmissing-include-dirs \
+    -Wmissing-parameter-type \
+    -Wmissing-prototypes \
     -Wmultichar \
+    -Wnarrowing \
+    -Wnested-externs \
+    -Wnonnull \
     -Wnormalized=nfc \
+    -Wold-style-declaration \
+    -Wold-style-definition \
     -Woverflow \
+    -Woverlength-strings \
+    -Woverride-init \
+    -Wpacked \
+    -Wpacked-bitfield-compat \
+    -Wparentheses \
+    -Wpointer-arith \
+    -Wpointer-sign \
     -Wpointer-to-int-cast \
     -Wpragmas \
+    -Wreturn-local-addr \
+    -Wreturn-type \
+    -Wsequence-point \
+    -Wshadow \
+    -Wsizeof-pointer-memaccess \
+    -Wstack-protector \
+    -Wstrict-aliasing \
+    -Wstrict-overflow \
+    -Wstrict-prototypes \
     -Wsuggest-attribute=const \
+    -Wsuggest-attribute=format \
     -Wsuggest-attribute=noreturn \
     -Wsuggest-attribute=pure \
+    -Wswitch \
+    -Wswitch-default \
+    -Wsync-nand \
+    -Wsystem-headers \
     -Wtrampolines \
+    -Wtrigraphs \
+    -Wtype-limits \
+    -Wuninitialized \
+    -Wunknown-pragmas \
+    -Wunsafe-loop-optimizations \
+    -Wunused \
+    -Wunused-but-set-parameter \
+    -Wunused-but-set-variable \
+    -Wunused-function \
+    -Wunused-label \
+    -Wunused-local-typedefs \
+    -Wunused-macros \
+    -Wunused-parameter \
+    -Wunused-result \
+    -Wunused-value \
+    -Wunused-variable \
+    -Wvarargs \
+    -Wvariadic-macros \
+    -Wvector-operation-performance \
+    -Wvla \
+    -Wvolatile-register-var \
+    -Wwrite-strings \
+    -fdiagnostics-show-option \
+    -funit-at-a-time \
+    \
     ; do
     gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
   done
 
-  # Disable the missing-field-initializers warning if needed
+  # Disable specific options as needed.
   if test "$gl_cv_cc_nomfi_needed" = yes; then
     gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers"
   fi
 
+  if test "$gl_cv_cc_uninitialized_supported" = no; then
+    gl_manywarn_set="$gl_manywarn_set -Wno-uninitialized"
+  fi
+
   $1=$gl_manywarn_set
 ])
index 8f829c8ea59b550d22bca5d66ab089218a4ce587..45696f54f6930b180bbe97bd479716982cd5b128 100644 (file)
@@ -1,5 +1,5 @@
-# mbrtowc.m4 serial 25
-dnl Copyright (C) 2001-2002, 2004-2005, 2008-2012 Free Software Foundation,
+# mbrtowc.m4 serial 26
+dnl Copyright (C) 2001-2002, 2004-2005, 2008-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -39,6 +39,7 @@ AC_DEFUN([gl_FUNC_MBRTOWC],
       gl_MBRTOWC_NULL_ARG2
       gl_MBRTOWC_RETVAL
       gl_MBRTOWC_NUL_RETVAL
+      gl_MBRTOWC_EMPTY_INPUT
       case "$gl_cv_func_mbrtowc_null_arg1" in
         *yes) ;;
         *) AC_DEFINE([MBRTOWC_NULL_ARG1_BUG], [1],
@@ -67,6 +68,14 @@ AC_DEFUN([gl_FUNC_MBRTOWC],
            REPLACE_MBRTOWC=1
            ;;
       esac
+      case "$gl_cv_func_mbrtowc_empty_input" in
+        *yes) ;;
+        *) AC_DEFINE([MBRTOWC_EMPTY_INPUT_BUG], [1],
+             [Define if the mbrtowc function does not return (size_t) -2
+              for empty input.])
+           REPLACE_MBRTOWC=1
+           ;;
+      esac
     fi
   fi
 ])
@@ -533,6 +542,41 @@ int main ()
     ])
 ])
 
+dnl Test whether mbrtowc returns the correct value on empty input.
+
+AC_DEFUN([gl_MBRTOWC_EMPTY_INPUT],
+[
+  AC_REQUIRE([AC_PROG_CC])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
+  AC_CACHE_CHECK([whether mbrtowc works on empty input],
+    [gl_cv_func_mbrtowc_empty_input],
+    [
+      dnl Initial guess, used when cross-compiling or when no suitable locale
+      dnl is present.
+changequote(,)dnl
+      case "$host_os" in
+                     # Guess no on AIX and glibc systems.
+        aix* | *-gnu*)
+                    gl_cv_func_mbrtowc_empty_input="guessing no" ;;
+        *)          gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
+      esac
+changequote([,])dnl
+      AC_RUN_IFELSE(
+        [AC_LANG_SOURCE([[
+           #include <wchar.h>
+           static wchar_t wc;
+           static mbstate_t mbs;
+           int
+           main (void)
+           {
+             return mbrtowc (&wc, "", 0, &mbs) == (size_t) -2;
+           }]])],
+        [gl_cv_func_mbrtowc_empty_input=no],
+        [gl_cv_func_mbrtowc_empty_input=yes],
+        [:])
+    ])
+])
+
 # Prerequisites of lib/mbrtowc.c.
 AC_DEFUN([gl_PREREQ_MBRTOWC], [
   :
index da56c3d11b2a6b14ca5c7cf4213ef0cc3ecb5b3f..e1598a1d7c62c4e4548026fc8f46fb5f0d59d10d 100644 (file)
@@ -1,5 +1,5 @@
 # mbsinit.m4 serial 8
-dnl Copyright (C) 2008, 2010-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2008, 2010-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 61a8190ce757d506749da3dba92aed3bc8c5b758..068155a52c323a2abfd759068086eded3dffc413 100644 (file)
@@ -1,5 +1,5 @@
 # mbstate_t.m4 serial 13
-dnl Copyright (C) 2000-2002, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2000-2002, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index fec0d2582bb6eeeff306dec4a692e85d08d07618..cacfe1610cb8008450a5adbaba58b901a4cc6258 100644 (file)
@@ -1,5 +1,5 @@
 # mbtowc.m4 serial 2
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index cc57da40876bb1165710a88bcd64a69d7c47e667..9033a4e60220a81bef15c54917b73cee0808c03a 100644 (file)
@@ -1,6 +1,6 @@
-#serial 22
+#serial 23
 
-# Copyright (C) 2001, 2003-2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003-2007, 2009-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -16,6 +16,7 @@
 AC_DEFUN([gl_FUNC_MKSTEMP],
 [
   AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
 
   AC_CHECK_FUNCS_ONCE([mkstemp])
   if test $ac_cv_func_mkstemp = yes; then
@@ -55,12 +56,21 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
               return result;]])],
           [gl_cv_func_working_mkstemp=yes],
           [gl_cv_func_working_mkstemp=no],
-          [gl_cv_func_working_mkstemp="guessing no"])
+          [case "$host_os" in
+                     # Guess yes on glibc systems.
+             *-gnu*) gl_cv_func_working_mkstemp="guessing yes" ;;
+                     # If we don't know, assume the worst.
+             *)      gl_cv_func_working_mkstemp="guessing no" ;;
+           esac
+          ])
         rm -rf conftest.mkstemp
       ])
-    if test "$gl_cv_func_working_mkstemp" != yes; then
-      REPLACE_MKSTEMP=1
-    fi
+    case "$gl_cv_func_working_mkstemp" in
+      *yes) ;;
+      *)
+        REPLACE_MKSTEMP=1
+        ;;
+    esac
   else
     HAVE_MKSTEMP=0
   fi
index 4613cbe5ba31c7ec846455938ab92296f69e2995..94ae2e2f21894445f3f499c284dde0533b25782c 100644 (file)
@@ -1,5 +1,5 @@
-# mmap-anon.m4 serial 9
-dnl Copyright (C) 2005, 2007, 2009-2012 Free Software Foundation, Inc.
+# mmap-anon.m4 serial 10
+dnl Copyright (C) 2005, 2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -9,7 +9,7 @@ dnl with or without modifications, as long as this notice is preserved.
 # - On Linux, AIX, OSF/1, Solaris, Cygwin, Interix, Haiku, both MAP_ANONYMOUS
 #   and MAP_ANON exist and have the same value.
 # - On HP-UX, only MAP_ANONYMOUS exists.
-# - On MacOS X, FreeBSD, NetBSD, OpenBSD, only MAP_ANON exists.
+# - On Mac OS X, FreeBSD, NetBSD, OpenBSD, only MAP_ANON exists.
 # - On IRIX, neither exists, and a file descriptor opened to /dev/zero must be
 #   used.
 
@@ -27,18 +27,18 @@ AC_DEFUN([gl_FUNC_MMAP_ANON],
   gl_have_mmap_anonymous=no
   if test $gl_have_mmap = yes; then
     AC_MSG_CHECKING([for MAP_ANONYMOUS])
-    AC_EGREP_CPP([I cant identify this map], [
+    AC_EGREP_CPP([I cannot identify this map], [
 #include <sys/mman.h>
 #ifdef MAP_ANONYMOUS
-    I cant identify this map
+    I cannot identify this map
 #endif
 ],
       [gl_have_mmap_anonymous=yes])
     if test $gl_have_mmap_anonymous != yes; then
-      AC_EGREP_CPP([I cant identify this map], [
+      AC_EGREP_CPP([I cannot identify this map], [
 #include <sys/mman.h>
 #ifdef MAP_ANON
-    I cant identify this map
+    I cannot identify this map
 #endif
 ],
         [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],
index 40f612a61248f328f936069914c84cc40f24a0e6..db6e192be9f156a06b9aa94f9b3272f1a138e8f5 100644 (file)
@@ -1,5 +1,5 @@
 # mode_t.m4 serial 2
-dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 8db4617599d06e5d545dccf41c5b11290e1f4bbd..7f26087e745fbde7ab4b7780128e29acb92b9aa4 100644 (file)
@@ -1,5 +1,5 @@
 # msvc-inval.m4 serial 1
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 012505070e0d4142fc9993db09a9016ed63765e8..9e32c171e899446f6c87a076d5b242f9f6e77a01 100644 (file)
@@ -1,5 +1,5 @@
 # msvc-nothrow.m4 serial 1
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index b424dce652babee407b5e842bb9ad7997047dcf8..2cb956dee56e56d92f4fb1629dca097cf4ec26ed 100644 (file)
@@ -1,12 +1,12 @@
-# multiarch.m4 serial 6
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# multiarch.m4 serial 7
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
 # Determine whether the compiler is or may be producing universal binaries.
 #
-# On MacOS X 10.5 and later systems, the user can create libraries and
+# On Mac OS X 10.5 and later systems, the user can create libraries and
 # executables that work on multiple system types--known as "fat" or
 # "universal" binaries--by specifying multiple '-arch' options to the
 # compiler but only a single '-arch' option to the preprocessor.  Like
index 80fe60d57625e7399f2f6e64e482404a5d6e4c90..6976e77678fecebc13413363722e71f310267b24 100644 (file)
@@ -1,5 +1,5 @@
 # nl_langinfo.m4 serial 5
-dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 08ef825499a302264e6e302f4e7c2bb65dab90ab..5a5d77d63b512d67f2b15d0f410f93583b3d6566 100644 (file)
@@ -1,5 +1,5 @@
-# nocrash.m4 serial 3
-dnl Copyright (C) 2005, 2009-2012 Free Software Foundation, Inc.
+# nocrash.m4 serial 4
+dnl Copyright (C) 2005, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -18,7 +18,7 @@ dnl          int main() { nocrash_init(); ... }
 AC_DEFUN([GL_NOCRASH],[[
 #include <stdlib.h>
 #if defined __MACH__ && defined __APPLE__
-/* Avoid a crash on MacOS X.  */
+/* Avoid a crash on Mac OS X.  */
 #include <mach/mach.h>
 #include <mach/mach_error.h>
 #include <mach/thread_status.h>
index a754bf0e2aa787727cbaa03acd6fec6a21291028..1f0b77a892b746e84c723e3395a31d1ba7d6df32 100644 (file)
@@ -3,7 +3,7 @@
 # The problem is that on systems supporting O_DIRECT, open with O_DIRECT
 # fails for some file system types (e.g., tmpfs on linux-2.6.21).
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
diff --git a/m4/off_t.m4 b/m4/off_t.m4
new file mode 100644 (file)
index 0000000..f5885b3
--- /dev/null
@@ -0,0 +1,18 @@
+# off_t.m4 serial 1
+dnl Copyright (C) 2012-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl Check whether to override the 'off_t' type.
+dnl Set WINDOWS_64_BIT_OFF_T.
+
+AC_DEFUN([gl_TYPE_OFF_T],
+[
+  m4_ifdef([gl_LARGEFILE], [
+    AC_REQUIRE([gl_LARGEFILE])
+  ], [
+    WINDOWS_64_BIT_OFF_T=0
+  ])
+  AC_SUBST([WINDOWS_64_BIT_OFF_T])
+])
index c85971dc1ad795798bf4b597988e9a20212a2495..68f116f0a83778efce967d4248f9ca71a6d6c961 100644 (file)
@@ -1,5 +1,5 @@
-# open.m4 serial 13
-dnl Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# open.m4 serial 14
+dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -86,7 +86,6 @@ changequote([,])dnl
 # Prerequisites of lib/open.c.
 AC_DEFUN([gl_PREREQ_OPEN],
 [
-  AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T])
   :
 ])
index 011786129e00d348c8774a310481c742ffc29ca2..114f91f04b5515ca9f5e20e414efdf5a1d606a32 100644 (file)
@@ -1,5 +1,5 @@
 # pathmax.m4 serial 10
-dnl Copyright (C) 2002-2003, 2005-2006, 2009-2012 Free Software Foundation,
+dnl Copyright (C) 2002-2003, 2005-2006, 2009-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index 538757b7afb4b1f40ec3019f95b19936d63e6422..6a1ed240472382bd6382577f4e325f6b9e2fa941 100644 (file)
@@ -1,6 +1,6 @@
-# serial 7
+# serial 8
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -10,7 +10,6 @@
 
 AC_DEFUN([gl_PRIV_SET],
 [
-  AC_REQUIRE([AC_C_INLINE])
   AC_CHECK_FUNCS([getppriv])
   AC_CHECK_HEADERS_ONCE([priv.h])
 ])
index 1cb23a594faed068c74364d0180aaee5ef12c679..d79321be9c2b2ce79ae0edc1edcf97450f101c9e 100644 (file)
@@ -1,5 +1,5 @@
-# putenv.m4 serial 18
-dnl Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# putenv.m4 serial 20
+dnl Copyright (C) 2002-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -12,6 +12,7 @@ dnl The putenv in libc on at least SunOS 4.1.4 does *not* do that.
 AC_DEFUN([gl_FUNC_PUTENV],
 [
   AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   AC_CACHE_CHECK([for putenv compatible with GNU and SVID],
    [gl_cv_func_svid_putenv],
    [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],[[
@@ -32,9 +33,24 @@ AC_DEFUN([gl_FUNC_PUTENV],
              gl_cv_func_svid_putenv=yes,
              gl_cv_func_svid_putenv=no,
              dnl When crosscompiling, assume putenv is broken.
-             gl_cv_func_svid_putenv=no)
+             [case "$host_os" in
+                        # Guess yes on glibc systems.
+                *-gnu*) gl_cv_func_svid_putenv="guessing yes" ;;
+                        # If we don't know, assume the worst.
+                *)      gl_cv_func_svid_putenv="guessing no" ;;
+              esac
+             ])
    ])
-  if test $gl_cv_func_svid_putenv = no; then
-    REPLACE_PUTENV=1
-  fi
+  case "$gl_cv_func_svid_putenv" in
+    *yes) ;;
+    *)
+      REPLACE_PUTENV=1
+      ;;
+  esac
+])
+
+# Prerequisites of lib/putenv.c.
+AC_DEFUN([gl_PREREQ_PUTENV],
+[
+  AC_CHECK_DECLS([_putenv])
 ])
index 7b05584747ffb32608caea36715787464f79603e..95b3e71b7152eb225d218406b15c0c7eeec3c78c 100644 (file)
@@ -1,5 +1,5 @@
 # quote.m4 serial 6
-dnl Copyright (C) 2002-2003, 2005-2006, 2009-2012 Free Software Foundation,
+dnl Copyright (C) 2002-2003, 2005-2006, 2009-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index 09c36bb26e09d2d51a4a568f7e0fb6a05c38d486..eaebbf638fc1170b0b3b2dd007dd2b9be2bb5c40 100644 (file)
@@ -1,5 +1,5 @@
 # quotearg.m4 serial 9
-dnl Copyright (C) 2002, 2004-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2004-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 69aeb09637bbe4aefef0dc1f65a1619bb148ed30..176b0b04d6bb7a6aeeca558f937f53320099748d 100644 (file)
@@ -1,5 +1,5 @@
-# read.m4 serial 3
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# read.m4 serial 4
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -23,7 +23,4 @@ AC_DEFUN([gl_FUNC_READ],
 ])
 
 # Prerequisites of lib/read.c.
-AC_DEFUN([gl_PREREQ_READ],
-[
-  AC_REQUIRE([AC_C_INLINE])
-])
+AC_DEFUN([gl_PREREQ_READ], [:])
index 107083f7c7249a9c870010c17de792de850f82cb..f9ce868c2e496b9f51bf33f7945b05431bcf2a4b 100644 (file)
@@ -1,5 +1,5 @@
-# readlink.m4 serial 11
-dnl Copyright (C) 2003, 2007, 2009-2012 Free Software Foundation, Inc.
+# readlink.m4 serial 12
+dnl Copyright (C) 2003, 2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,6 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FUNC_READLINK],
 [
   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   AC_CHECK_FUNCS_ONCE([readlink])
   if test $ac_cv_func_readlink = no; then
     HAVE_READLINK=0
@@ -32,15 +33,26 @@ AC_DEFUN([gl_FUNC_READLINK],
 ]], [[char buf[20];
       return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;]])],
          [gl_cv_func_readlink_works=yes], [gl_cv_func_readlink_works=no],
-         [gl_cv_func_readlink_works="guessing no"])
+         [case "$host_os" in
+                    # Guess yes on glibc systems.
+            *-gnu*) gl_cv_func_readlink_works="guessing yes" ;;
+                    # If we don't know, assume the worst.
+            *)      gl_cv_func_readlink_works="guessing no" ;;
+          esac
+         ])
       rm -f conftest.link conftest.lnk2])
-    if test "$gl_cv_func_readlink_works" != yes; then
-      AC_DEFINE([READLINK_TRAILING_SLASH_BUG], [1], [Define to 1 if readlink
-        fails to recognize a trailing slash.])
-      REPLACE_READLINK=1
-    elif test "$gl_cv_decl_readlink_works" != yes; then
-      REPLACE_READLINK=1
-    fi
+    case "$gl_cv_func_readlink_works" in
+      *yes)
+        if test "$gl_cv_decl_readlink_works" != yes; then
+          REPLACE_READLINK=1
+        fi
+        ;;
+      *)
+        AC_DEFINE([READLINK_TRAILING_SLASH_BUG], [1], [Define to 1 if readlink
+          fails to recognize a trailing slash.])
+        REPLACE_READLINK=1
+        ;;
+    esac
   fi
 ])
 
index 039ed192a6bc7104c05cedffaa2b43e9a80887b0..f96537ba67199953c0ab0e74af6ade6a3b0d0aae 100644 (file)
@@ -1,9 +1,47 @@
-# realloc.m4 serial 12
-dnl Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+# realloc.m4 serial 13
+dnl Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
+m4_version_prereq([2.70], [] ,[
+
+# This is taken from the following Autoconf patch:
+# http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=7fbb553727ed7e0e689a17594b58559ecf3ea6e9
+AC_DEFUN([_AC_FUNC_REALLOC_IF],
+[
+  AC_REQUIRE([AC_HEADER_STDC])dnl
+  AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
+  AC_CHECK_HEADERS([stdlib.h])
+  AC_CACHE_CHECK([for GNU libc compatible realloc],
+    [ac_cv_func_realloc_0_nonnull],
+    [AC_RUN_IFELSE(
+       [AC_LANG_PROGRAM(
+          [[#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+            # include <stdlib.h>
+            #else
+            char *realloc ();
+            #endif
+          ]],
+          [[return ! realloc (0, 0);]])
+       ],
+       [ac_cv_func_realloc_0_nonnull=yes],
+       [ac_cv_func_realloc_0_nonnull=no],
+       [case "$host_os" in
+          # Guess yes on platforms where we know the result.
+          *-gnu* | freebsd* | netbsd* | openbsd* \
+          | hpux* | solaris* | cygwin* | mingw*)
+            ac_cv_func_realloc_0_nonnull=yes ;;
+          # If we don't know, assume the worst.
+          *) ac_cv_func_realloc_0_nonnull=no ;;
+        esac
+       ])
+    ])
+  AS_IF([test $ac_cv_func_realloc_0_nonnull = yes], [$1], [$2])
+])# AC_FUNC_REALLOC
+
+])
+
 # gl_FUNC_REALLOC_GNU
 # -------------------
 # Test whether 'realloc (0, 0)' is handled like in GNU libc, and replace
index 08f1352e2508a9c002cfc9bc07af2bcb4a0c7e9f..08bd46a96d98c59c4a25b27b73b86f82a8c681ad 100644 (file)
@@ -1,6 +1,6 @@
-# serial 60
+# serial 65
 
-# Copyright (C) 1996-2001, 2003-2012 Free Software Foundation, Inc.
+# Copyright (C) 1996-2001, 2003-2014 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -27,15 +27,32 @@ AC_DEFUN([gl_REGEX],
     # following run test, then default to *not* using the included regex.c.
     # If cross compiling, assume the test would fail and use the included
     # regex.c.
+    AC_CHECK_DECLS_ONCE([alarm])
+    AC_CHECK_HEADERS_ONCE([malloc.h])
     AC_CACHE_CHECK([for working re_compile_pattern],
                    [gl_cv_func_re_compile_pattern_working],
       [AC_RUN_IFELSE(
         [AC_LANG_PROGRAM(
-          [AC_INCLUDES_DEFAULT[
-           #include <locale.h>
-           #include <limits.h>
-           #include <regex.h>
-           ]],
+          [[#include <regex.h>
+
+            #include <locale.h>
+            #include <limits.h>
+            #include <string.h>
+
+            #if defined M_CHECK_ACTION || HAVE_DECL_ALARM
+            # include <signal.h>
+            # include <unistd.h>
+            #endif
+
+            #if HAVE_MALLOC_H
+            # include <malloc.h>
+            #endif
+
+            #ifdef M_CHECK_ACTION
+            /* Exit with distinguishable exit code.  */
+            static void sigabrt_no_core (int sig) { raise (SIGTERM); }
+            #endif
+          ]],
           [[int result = 0;
             static struct re_pattern_buffer regex;
             unsigned char folded_chars[UCHAR_MAX + 1];
@@ -43,26 +60,72 @@ AC_DEFUN([gl_REGEX],
             const char *s;
             struct re_registers regs;
 
-            /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
-               This test needs valgrind to catch the bug on Debian
-               GNU/Linux 3.1 x86, but it might catch the bug better
-               on other platforms and it shouldn't hurt to try the
-               test here.  */
+            /* Some builds of glibc go into an infinite loop on this
+               test.  Use alarm to force death, and mallopt to avoid
+               malloc recursion in diagnosing the corrupted heap. */
+#if HAVE_DECL_ALARM
+            signal (SIGALRM, SIG_DFL);
+            alarm (2);
+#endif
+#ifdef M_CHECK_ACTION
+            signal (SIGABRT, sigabrt_no_core);
+            mallopt (M_CHECK_ACTION, 2);
+#endif
+
             if (setlocale (LC_ALL, "en_US.UTF-8"))
               {
-                static char const pat[] = "insert into";
-                static char const data[] =
-                  "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
-                re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
-                               | RE_ICASE);
-                memset (&regex, 0, sizeof regex);
-                s = re_compile_pattern (pat, sizeof pat - 1, &regex);
-                if (s)
-                  result |= 1;
-                else if (re_search (&regex, data, sizeof data - 1,
-                                    0, sizeof data - 1, &regs)
-                         != -1)
-                  result |= 1;
+                {
+                  /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
+                     This test needs valgrind to catch the bug on Debian
+                     GNU/Linux 3.1 x86, but it might catch the bug better
+                     on other platforms and it shouldn't hurt to try the
+                     test here.  */
+                  static char const pat[] = "insert into";
+                  static char const data[] =
+                    "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
+                  re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
+                                 | RE_ICASE);
+                  memset (&regex, 0, sizeof regex);
+                  s = re_compile_pattern (pat, sizeof pat - 1, &regex);
+                  if (s)
+                    result |= 1;
+                  else if (re_search (&regex, data, sizeof data - 1,
+                                      0, sizeof data - 1, &regs)
+                           != -1)
+                    result |= 1;
+                }
+
+                {
+                  /* This test is from glibc bug 15078.
+                     The test case is from Andreas Schwab in
+                     <http://www.sourceware.org/ml/libc-alpha/2013-01/msg00967.html>.
+                     */
+                  static char const pat[] = "[^x]x";
+                  static char const data[] =
+                    /* <U1000><U103B><U103D><U1014><U103A><U102F><U1015><U103A> */
+                    "\xe1\x80\x80"
+                    "\xe1\x80\xbb"
+                    "\xe1\x80\xbd"
+                    "\xe1\x80\x94"
+                    "\xe1\x80\xba"
+                    "\xe1\x80\xaf"
+                    "\xe1\x80\x95"
+                    "\xe1\x80\xba"
+                    "x";
+                  re_set_syntax (0);
+                  memset (&regex, 0, sizeof regex);
+                  s = re_compile_pattern (pat, sizeof pat - 1, &regex);
+                  if (s)
+                    result |= 1;
+                  else
+                    {
+                      i = re_search (&regex, data, sizeof data - 1,
+                                     0, sizeof data - 1, 0);
+                      if (i != 0 && i != 21)
+                        result |= 1;
+                    }
+                }
+
                 if (! setlocale (LC_ALL, "C"))
                   return 1;
               }
@@ -175,6 +238,9 @@ AC_DEFUN([gl_REGEX],
   esac
 
   if test $ac_use_included_regex = yes; then
+    AC_DEFINE([_REGEX_INCLUDE_LIMITS_H], [1],
+      [Define if you want <regex.h> to include <limits.h>, so that it
+       consistently overrides <limits.h>'s RE_DUP_MAX.])
     AC_DEFINE([_REGEX_LARGE_OFFSETS], [1],
       [Define if you want regoff_t to be at least as wide POSIX requires.])
     AC_DEFINE([re_syntax_options], [rpl_re_syntax_options],
@@ -217,7 +283,9 @@ AC_DEFUN([gl_PREREQ_REGEX],
   AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([AC_C_RESTRICT])
   AC_REQUIRE([AC_TYPE_MBSTATE_T])
+  AC_REQUIRE([gl_EEMALLOC])
+  AC_REQUIRE([gl_GLIBC21])
   AC_CHECK_HEADERS([libintl.h])
-  AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll])
+  AC_CHECK_FUNCS_ONCE([isblank iswctype])
   AC_CHECK_DECLS([isblank], [], [], [[#include <ctype.h>]])
 ])
index 36eb82a03490656253934d07b8fc83a9bd7f5b6b..6fd0f5dff92143336beaa9093caa8dae61afb4a4 100644 (file)
@@ -1,5 +1,5 @@
 # rpmatch.m4 serial 10
-dnl Copyright (C) 2002-2003, 2007-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2003, 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index c82acdb94c3ff778668e2ebee7417b35c18b6f79..f0c42e08f52a3f701c74da2da0c85407b17dcbdc 100644 (file)
@@ -1,5 +1,5 @@
 # safe-read.m4 serial 6
-dnl Copyright (C) 2002-2003, 2005-2006, 2009-2012 Free Software Foundation,
+dnl Copyright (C) 2002-2003, 2005-2006, 2009-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
diff --git a/m4/secure_getenv.m4 b/m4/secure_getenv.m4
new file mode 100644 (file)
index 0000000..149888d
--- /dev/null
@@ -0,0 +1,25 @@
+# Look up an environment variable more securely.
+dnl Copyright 2013-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_SECURE_GETENV],
+[
+  dnl Persuade glibc <stdlib.h> to declare secure_getenv().
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
+  AC_CHECK_FUNCS_ONCE([secure_getenv])
+  if test $ac_cv_func_secure_getenv = no; then
+    HAVE_SECURE_GETENV=0
+  fi
+])
+
+# Prerequisites of lib/secure_getenv.c.
+AC_DEFUN([gl_PREREQ_SECURE_GETENV], [
+  AC_CHECK_FUNCS([__secure_getenv])
+  if test $ac_cv_func___secure_getenv = no; then
+    AC_CHECK_FUNCS([issetugid])
+  fi
+])
index a1f30bc47bce42abfede665dd779fdfce1ae312a..0f46a7bec02900a36437acd1a2197d26f0d4c164 100644 (file)
@@ -1,5 +1,5 @@
-# setenv.m4 serial 25
-dnl Copyright (C) 2001-2004, 2006-2012 Free Software Foundation, Inc.
+# setenv.m4 serial 26
+dnl Copyright (C) 2001-2004, 2006-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,6 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FUNC_SETENV],
 [
   AC_REQUIRE([gl_FUNC_SETENV_SEPARATE])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   if test $ac_cv_func_setenv = no; then
     HAVE_SETENV=0
   else
@@ -33,10 +34,19 @@ AC_DEFUN([gl_FUNC_SETENV],
        return result;
       ]])],
       [gl_cv_func_setenv_works=yes], [gl_cv_func_setenv_works=no],
-      [gl_cv_func_setenv_works="guessing no"])])
-    if test "$gl_cv_func_setenv_works" != yes; then
-      REPLACE_SETENV=1
-    fi
+      [case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_setenv_works="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_setenv_works="guessing no" ;;
+       esac
+      ])])
+    case "$gl_cv_func_setenv_works" in
+      *yes) ;;
+      *)
+        REPLACE_SETENV=1
+        ;;
+    esac
   fi
 ])
 
@@ -56,6 +66,7 @@ AC_DEFUN([gl_FUNC_SETENV_SEPARATE],
 AC_DEFUN([gl_FUNC_UNSETENV],
 [
   AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   AC_CHECK_DECLS_ONCE([unsetenv])
   if test $ac_cv_have_decl_unsetenv = no; then
     HAVE_DECL_UNSETENV=0
@@ -115,10 +126,19 @@ int unsetenv (const char *name);
        if (getenv ("a")) return 6;
       ]])],
       [gl_cv_func_unsetenv_works=yes], [gl_cv_func_unsetenv_works=no],
-      [gl_cv_func_unsetenv_works="guessing no"])])
-    if test "$gl_cv_func_unsetenv_works" != yes; then
-      REPLACE_UNSETENV=1
-    fi
+      [case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_unsetenv_works="guessing no" ;;
+       esac
+      ])])
+    case "$gl_cv_func_unsetenv_works" in
+      *yes) ;;
+      *)
+        REPLACE_UNSETENV=1
+        ;;
+    esac
   fi
 ])
 
index c605241aa116661786d401cf079c978641e134d5..fe83aab303ad74513103ad9495a09ec913c6cccd 100644 (file)
@@ -1,5 +1,5 @@
 # setlocale.m4 serial 4
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 7e736d454ff041da323c851ed4d5a5ba0f776ad0..2f84da578c290ce63c6f8db4110b561ca3c2485c 100644 (file)
@@ -1,5 +1,5 @@
-# sleep.m4 serial 6
-dnl Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# sleep.m4 serial 7
+dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,6 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FUNC_SLEEP],
 [
   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   dnl We expect to see the declaration of sleep() in a header file.
   dnl Older versions of mingw have a sleep() function that is an alias to
   dnl _sleep() in MSVCRT. It has a different signature than POSIX sleep():
@@ -44,9 +45,18 @@ handle_alarm (int sig)
     return 0;
     ]])],
       [gl_cv_func_sleep_works=yes], [gl_cv_func_sleep_works=no],
-      [gl_cv_func_sleep_works="guessing no"])])
-    if test "$gl_cv_func_sleep_works" != yes; then
-      REPLACE_SLEEP=1
-    fi
+      [case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_sleep_works="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_sleep_works="guessing no" ;;
+       esac
+      ])])
+    case "$gl_cv_func_sleep_works" in
+      *yes) ;;
+      *)
+        REPLACE_SLEEP=1
+        ;;
+    esac
   fi
 ])
index 209d64c82354ce8c322f45098010980cb7786a2d..fbe1d0687ef555f6314a3695ce9785148f236593 100644 (file)
@@ -1,5 +1,5 @@
 # ssize_t.m4 serial 5 (gettext-0.18.2)
-dnl Copyright (C) 2001-2003, 2006, 2010-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2003, 2006, 2010-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index d67dbcdecd88dcf3e5cc33db623bcd72e491ff59..1ae327b3684511fe1e6ab5dec7b973c13416d03e 100644 (file)
@@ -1,6 +1,6 @@
-# serial 8
+# serial 11
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -23,8 +23,9 @@ AC_DEFUN([gl_FUNC_STAT],
             mingw*) gl_cv_func_stat_dir_slash="guessing no";;
             *) gl_cv_func_stat_dir_slash="guessing yes";;
           esac])])
-  dnl AIX 7.1, Solaris 9 mistakenly succeed on stat("file/")
-  dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/")
+  dnl AIX 7.1, Solaris 9, mingw64 mistakenly succeed on stat("file/").
+  dnl (For mingw, this is due to a broken stat() override in libmingwex.a.)
+  dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/").
   AC_CACHE_CHECK([whether stat handles trailing slashes on files],
       [gl_cv_func_stat_file_slash],
       [touch conftest.tmp
@@ -46,7 +47,13 @@ AC_DEFUN([gl_FUNC_STAT],
       return result;
            ]])],
          [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no],
-         [gl_cv_func_stat_file_slash="guessing no"])
+         [case "$host_os" in
+                    # Guess yes on glibc systems.
+            *-gnu*) gl_cv_func_stat_file_slash="guessing yes" ;;
+                    # If we don't know, assume the worst.
+            *)      gl_cv_func_stat_file_slash="guessing no" ;;
+          esac
+         ])
        rm -f conftest.tmp conftest.lnk])
   case $gl_cv_func_stat_dir_slash in
     *no) REPLACE_STAT=1
@@ -61,8 +68,4 @@ AC_DEFUN([gl_FUNC_STAT],
 ])
 
 # Prerequisites of lib/stat.c.
-AC_DEFUN([gl_PREREQ_STAT],
-[
-  AC_REQUIRE([AC_C_INLINE])
-  :
-])
+AC_DEFUN([gl_PREREQ_STAT], [:])
index 5c313cb8c91034c4b1983dbcb6199f47520c583b..732aa313b6aff04057f12c40975f6b57c59dee6d 100644 (file)
@@ -1,5 +1,5 @@
 # stdarg.m4 serial 6
-dnl Copyright (C) 2006, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index eabfa64579c2d7007ec404a146131053ee2fd407..006ed52de5dc227a240dc92051b32d20bf7c324a 100644 (file)
@@ -1,6 +1,6 @@
 # Check for stdbool.h that conforms to C99.
 
-dnl Copyright (C) 2002-2006, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2006, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index cc116096093401ce22232c7ffe21c47051e33832..c555e29524458b98a7369b58e0f5470a5ded57a2 100644 (file)
@@ -1,6 +1,6 @@
 dnl A placeholder for POSIX 2008 <stddef.h>, for platforms that have issues.
 # stddef_h.m4 serial 4
-dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 28d342ea233527ce1676208f176137f4104a1407..1981d9dbc2b5cf31781f4d43db2d520d2bc0c591 100644 (file)
@@ -1,5 +1,5 @@
 # stdint.m4 serial 43
-dnl Copyright (C) 2001-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 1973e8db15d1ec315623048f8c1dd91eede910fa..d15913a3ca02e81bbe79791cbb783f2e7e275172 100644 (file)
@@ -1,5 +1,5 @@
-# stdio_h.m4 serial 40
-dnl Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# stdio_h.m4 serial 43
+dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,18 +7,18 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_STDIO_H],
 [
   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
-  AC_REQUIRE([AC_C_INLINE])
   gl_NEXT_HEADERS([stdio.h])
 
   dnl No need to create extra modules for these functions. Everyone who uses
   dnl <stdio.h> likely needs them.
   GNULIB_FSCANF=1
+  gl_MODULE_INDICATOR([fscanf])
   GNULIB_SCANF=1
+  gl_MODULE_INDICATOR([scanf])
   GNULIB_FGETC=1
   GNULIB_GETC=1
   GNULIB_GETCHAR=1
   GNULIB_FGETS=1
-  GNULIB_GETS=1
   GNULIB_FREAD=1
   dnl This ifdef is necessary to avoid an error "missing file lib/stdio-read.c"
   dnl "expected source file, required through AC_LIBSOURCES, not found". It is
@@ -72,10 +72,10 @@ AC_DEFUN([gl_STDIO_H],
 
   dnl Check for declarations of anything we want to poison if the
   dnl corresponding gnulib module is not in use, and which is not
-  dnl guaranteed by C89.
+  dnl guaranteed by both C89 and C11.
   gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
-    ]], [dprintf fpurge fseeko ftello getdelim getline pclose popen renameat
-    snprintf tmpfile vdprintf vsnprintf])
+    ]], [dprintf fpurge fseeko ftello getdelim getline gets pclose popen
+    renameat snprintf tmpfile vdprintf vsnprintf])
 ])
 
 AC_DEFUN([gl_STDIO_MODULE_INDICATOR],
@@ -113,7 +113,6 @@ AC_DEFUN([gl_STDIO_H_DEFAULTS],
   GNULIB_GETCHAR=0;              AC_SUBST([GNULIB_GETCHAR])
   GNULIB_GETDELIM=0;             AC_SUBST([GNULIB_GETDELIM])
   GNULIB_GETLINE=0;              AC_SUBST([GNULIB_GETLINE])
-  GNULIB_GETS=0;                 AC_SUBST([GNULIB_GETS])
   GNULIB_OBSTACK_PRINTF=0;       AC_SUBST([GNULIB_OBSTACK_PRINTF])
   GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX])
   GNULIB_PCLOSE=0;               AC_SUBST([GNULIB_PCLOSE])
index ab43728ace41a4ce331571421396fbbe8ce867cb..03b448b94f4ec640d1f6550a2cffbada5a658349 100644 (file)
@@ -1,5 +1,5 @@
-# stdlib_h.m4 serial 41
-dnl Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# stdlib_h.m4 serial 42
+dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -22,7 +22,7 @@ AC_DEFUN([gl_STDLIB_H],
     ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt
     initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps
     posix_openpt ptsname ptsname_r random random_r realpath rpmatch
-    setenv setstate setstate_r srandom srandom_r
+    secure_getenv setenv setstate setstate_r srandom srandom_r
     strtod strtoll strtoull unlockpt unsetenv])
 ])
 
@@ -60,6 +60,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS],
   GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX])
   GNULIB_REALPATH=0;      AC_SUBST([GNULIB_REALPATH])
   GNULIB_RPMATCH=0;       AC_SUBST([GNULIB_RPMATCH])
+  GNULIB_SECURE_GETENV=0; AC_SUBST([GNULIB_SECURE_GETENV])
   GNULIB_SETENV=0;        AC_SUBST([GNULIB_SETENV])
   GNULIB_STRTOD=0;        AC_SUBST([GNULIB_STRTOD])
   GNULIB_STRTOLL=0;       AC_SUBST([GNULIB_STRTOLL])
@@ -88,6 +89,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS],
   HAVE_RANDOM_R=1;           AC_SUBST([HAVE_RANDOM_R])
   HAVE_REALPATH=1;           AC_SUBST([HAVE_REALPATH])
   HAVE_RPMATCH=1;            AC_SUBST([HAVE_RPMATCH])
+  HAVE_SECURE_GETENV=1;      AC_SUBST([HAVE_SECURE_GETENV])
   HAVE_SETENV=1;             AC_SUBST([HAVE_SETENV])
   HAVE_DECL_SETENV=1;        AC_SUBST([HAVE_DECL_SETENV])
   HAVE_STRTOD=1;             AC_SUBST([HAVE_STRTOD])
@@ -102,6 +104,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS],
   REPLACE_MALLOC=0;          AC_SUBST([REPLACE_MALLOC])
   REPLACE_MBTOWC=0;          AC_SUBST([REPLACE_MBTOWC])
   REPLACE_MKSTEMP=0;         AC_SUBST([REPLACE_MKSTEMP])
+  REPLACE_PTSNAME=0;         AC_SUBST([REPLACE_PTSNAME])
   REPLACE_PTSNAME_R=0;       AC_SUBST([REPLACE_PTSNAME_R])
   REPLACE_PUTENV=0;          AC_SUBST([REPLACE_PUTENV])
   REPLACE_RANDOM_R=0;        AC_SUBST([REPLACE_RANDOM_R])
diff --git a/m4/strcase.m4 b/m4/strcase.m4
deleted file mode 100644 (file)
index 717fa9c..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-# strcase.m4 serial 11
-dnl Copyright (C) 2002, 2005-2012 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_STRCASE],
-[
-  gl_FUNC_STRCASECMP
-  gl_FUNC_STRNCASECMP
-])
-
-AC_DEFUN([gl_FUNC_STRCASECMP],
-[
-  AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
-  AC_CHECK_FUNCS([strcasecmp])
-  if test $ac_cv_func_strcasecmp = no; then
-    HAVE_STRCASECMP=0
-  fi
-])
-
-AC_DEFUN([gl_FUNC_STRNCASECMP],
-[
-  AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
-  AC_CHECK_FUNCS([strncasecmp])
-  if test $ac_cv_func_strncasecmp = yes; then
-    HAVE_STRNCASECMP=1
-  else
-    HAVE_STRNCASECMP=0
-  fi
-  AC_CHECK_DECLS([strncasecmp])
-  if test $ac_cv_have_decl_strncasecmp = no; then
-    HAVE_DECL_STRNCASECMP=0
-  fi
-])
-
-# Prerequisites of lib/strcasecmp.c.
-AC_DEFUN([gl_PREREQ_STRCASECMP], [
-  :
-])
-
-# Prerequisites of lib/strncasecmp.c.
-AC_DEFUN([gl_PREREQ_STRNCASECMP], [
-  :
-])
index db0c8c1db9e022965eee9ebda8d5f88b6044bc97..1681a30eba91a9f715c94c8fe2f8a7baef3ad370 100644 (file)
@@ -1,6 +1,6 @@
 # strdup.m4 serial 13
 
-dnl Copyright (C) 2002-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2014 Free Software Foundation, Inc.
 
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index 6bf14ef1787ef0f09a666b102ee80cec9086072d..0763fe3b4d65c366c999f11d6b85f20bbbf20bc6 100644 (file)
@@ -1,5 +1,5 @@
-# strerror.m4 serial 16
-dnl Copyright (C) 2002, 2007-2012 Free Software Foundation, Inc.
+# strerror.m4 serial 17
+dnl Copyright (C) 2002, 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -9,6 +9,7 @@ AC_DEFUN([gl_FUNC_STRERROR],
   AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
   AC_REQUIRE([gl_HEADER_ERRNO_H])
   AC_REQUIRE([gl_FUNC_STRERROR_0])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [
     AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS])
   ])
@@ -22,14 +23,22 @@ AC_DEFUN([gl_FUNC_STRERROR],
            [[if (!*strerror (-2)) return 1;]])],
         [gl_cv_func_working_strerror=yes],
         [gl_cv_func_working_strerror=no],
-        [dnl Be pessimistic on cross-compiles for now.
-         gl_cv_func_working_strerror="guessing no"])
+        [case "$host_os" in
+                   # Guess yes on glibc systems.
+           *-gnu*) gl_cv_func_working_strerror="guessing yes" ;;
+                   # If we don't know, assume the worst.
+           *)      gl_cv_func_working_strerror="guessing no" ;;
+         esac
+        ])
     ])
-    if test "$gl_cv_func_working_strerror" != yes; then
-      dnl The system's strerror() fails to return a string for out-of-range
-      dnl integers. Replace it.
-      REPLACE_STRERROR=1
-    fi
+    case "$gl_cv_func_working_strerror" in
+      *yes) ;;
+      *)
+        dnl The system's strerror() fails to return a string for out-of-range
+        dnl integers. Replace it.
+        REPLACE_STRERROR=1
+        ;;
+    esac
     m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [
       dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's
       dnl buffer, we must replace strerror.
@@ -48,6 +57,7 @@ dnl Detect if strerror(0) passes (that is, does not set errno, and does not
 dnl return a string that matches strerror(-1)).
 AC_DEFUN([gl_FUNC_STRERROR_0],
 [
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   REPLACE_STRERROR_0=0
   AC_CACHE_CHECK([whether strerror(0) succeeds],
    [gl_cv_func_strerror_0_works],
@@ -67,12 +77,20 @@ AC_DEFUN([gl_FUNC_STRERROR_0],
            return result;]])],
       [gl_cv_func_strerror_0_works=yes],
       [gl_cv_func_strerror_0_works=no],
-      [dnl Be pessimistic on cross-compiles for now.
-       gl_cv_func_strerror_0_works="guessing no"])
+      [case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_strerror_0_works="guessing no" ;;
+       esac
+      ])
   ])
-  if test "$gl_cv_func_strerror_0_works" != yes; then
-    REPLACE_STRERROR_0=1
-    AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0)
-      does not return a message implying success.])
-  fi
+  case "$gl_cv_func_strerror_0_works" in
+    *yes) ;;
+    *)
+      REPLACE_STRERROR_0=1
+      AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0)
+        does not return a message implying success.])
+      ;;
+  esac
 ])
diff --git a/m4/strerror_r.m4 b/m4/strerror_r.m4
deleted file mode 100644 (file)
index 5bdf0ab..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-# strerror_r.m4 serial 14
-dnl Copyright (C) 2002, 2007-2012 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_FUNC_STRERROR_R],
-[
-  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
-  AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS])
-
-  dnl Persuade Solaris <string.h> to declare strerror_r().
-  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
-
-  dnl Some systems don't declare strerror_r() if _THREAD_SAFE and _REENTRANT
-  dnl are not defined.
-  AC_CHECK_DECLS_ONCE([strerror_r])
-  if test $ac_cv_have_decl_strerror_r = no; then
-    HAVE_DECL_STRERROR_R=0
-  fi
-
-  if test $ac_cv_func_strerror_r = yes; then
-    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
-      if test $gl_cv_func_strerror_r_posix_signature = yes; then
-        case "$gl_cv_func_strerror_r_works" in
-          dnl The system's strerror_r has bugs.  Replace it.
-          *no) REPLACE_STRERROR_R=1 ;;
-        esac
-      else
-        dnl The system's strerror_r() has a wrong signature. Replace it.
-        REPLACE_STRERROR_R=1
-      fi
-    else
-      dnl The system's strerror_r() cannot know about the new errno values we
-      dnl add to <errno.h>, or any fix for strerror(0). Replace it.
-      REPLACE_STRERROR_R=1
-    fi
-  fi
-])
-
-# Prerequisites of lib/strerror_r.c.
-AC_DEFUN([gl_PREREQ_STRERROR_R], [
-  dnl glibc >= 2.3.4 and cygwin 1.7.9 have a function __xpg_strerror_r.
-  AC_CHECK_FUNCS_ONCE([__xpg_strerror_r])
-  AC_CHECK_FUNCS_ONCE([catgets])
-  AC_CHECK_FUNCS_ONCE([snprintf])
-])
-
-# Detect if strerror_r works, but without affecting whether a replacement
-# strerror_r will be used.
-AC_DEFUN([gl_FUNC_STRERROR_R_WORKS],
-[
-  AC_REQUIRE([gl_HEADER_ERRNO_H])
-  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
-  AC_REQUIRE([gl_FUNC_STRERROR_0])
-
-  AC_CHECK_FUNCS_ONCE([strerror_r])
-  if test $ac_cv_func_strerror_r = yes; then
-    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
-      dnl The POSIX prototype is:  int strerror_r (int, char *, size_t);
-      dnl glibc, Cygwin:           char *strerror_r (int, char *, size_t);
-      dnl AIX 5.1, OSF/1 5.1:      int strerror_r (int, char *, int);
-      AC_CACHE_CHECK([for strerror_r with POSIX signature],
-        [gl_cv_func_strerror_r_posix_signature],
-        [AC_COMPILE_IFELSE(
-           [AC_LANG_PROGRAM(
-              [[#include <string.h>
-                int strerror_r (int, char *, size_t);
-              ]],
-              [])],
-           [gl_cv_func_strerror_r_posix_signature=yes],
-           [gl_cv_func_strerror_r_posix_signature=no])
-        ])
-      if test $gl_cv_func_strerror_r_posix_signature = yes; then
-        dnl AIX 6.1 strerror_r fails by returning -1, not an error number.
-        dnl HP-UX 11.31 strerror_r always fails when the buffer length argument
-        dnl is less than 80.
-        dnl FreeBSD 8.s strerror_r claims failure on 0
-        dnl MacOS X 10.5 strerror_r treats 0 like -1
-        dnl Solaris 10 strerror_r corrupts errno on failure
-        AC_CACHE_CHECK([whether strerror_r works],
-          [gl_cv_func_strerror_r_works],
-          [AC_RUN_IFELSE(
-             [AC_LANG_PROGRAM(
-                [[#include <errno.h>
-                  #include <string.h>
-                ]],
-                [[int result = 0;
-                  char buf[79];
-                  if (strerror_r (EACCES, buf, 0) < 0)
-                    result |= 1;
-                  errno = 0;
-                  if (strerror_r (EACCES, buf, sizeof buf) != 0)
-                    result |= 2;
-                  strcpy (buf, "Unknown");
-                  if (strerror_r (0, buf, sizeof buf) != 0)
-                    result |= 4;
-                  if (errno)
-                    result |= 8;
-                  if (strstr (buf, "nknown") || strstr (buf, "ndefined"))
-                    result |= 0x10;
-                  errno = 0;
-                  *buf = 0;
-                  if (strerror_r (-3, buf, sizeof buf) < 0)
-                    result |= 0x20;
-                  if (errno)
-                    result |= 0x40;
-                  if (!*buf)
-                    result |= 0x80;
-                  return result;
-                ]])],
-             [gl_cv_func_strerror_r_works=yes],
-             [gl_cv_func_strerror_r_works=no],
-             [
-changequote(,)dnl
-              case "$host_os" in
-                       # Guess no on AIX.
-                aix*)  gl_cv_func_strerror_r_works="guessing no";;
-                       # Guess no on HP-UX.
-                hpux*) gl_cv_func_strerror_r_works="guessing no";;
-                       # Guess no on BSD variants.
-                *bsd*)  gl_cv_func_strerror_r_works="guessing no";;
-                       # Guess yes otherwise.
-                *)     gl_cv_func_strerror_r_works="guessing yes";;
-              esac
-changequote([,])dnl
-             ])
-          ])
-      else
-        dnl The system's strerror() has a wrong signature.
-        dnl glibc >= 2.3.4 and cygwin 1.7.9 have a function __xpg_strerror_r.
-        AC_CHECK_FUNCS_ONCE([__xpg_strerror_r])
-        dnl In glibc < 2.14, __xpg_strerror_r does not populate buf on failure.
-        dnl In cygwin < 1.7.10, __xpg_strerror_r clobbers strerror's buffer.
-        if test $ac_cv_func___xpg_strerror_r = yes; then
-          AC_CACHE_CHECK([whether __xpg_strerror_r works],
-            [gl_cv_func_strerror_r_works],
-            [AC_RUN_IFELSE(
-               [AC_LANG_PROGRAM(
-                  [[#include <errno.h>
-                    #include <string.h>
-                    extern
-                    #ifdef __cplusplus
-                    "C"
-                    #endif
-                    int __xpg_strerror_r(int, char *, size_t);
-                  ]],
-                  [[int result = 0;
-                    char buf[256] = "^";
-                    char copy[256];
-                    char *str = strerror (-1);
-                    strcpy (copy, str);
-                    if (__xpg_strerror_r (-2, buf, 1) == 0)
-                      result |= 1;
-                    if (*buf)
-                      result |= 2;
-                    __xpg_strerror_r (-2, buf, 256);
-                    if (strcmp (str, copy))
-                      result |= 4;
-                    return result;
-                  ]])],
-               [gl_cv_func_strerror_r_works=yes],
-               [gl_cv_func_strerror_r_works=no],
-               [dnl Guess no on all platforms that have __xpg_strerror_r,
-                dnl at least until fixed glibc and cygwin are more common.
-                gl_cv_func_strerror_r_works="guessing no"
-               ])
-            ])
-        fi
-      fi
-    fi
-  fi
-])
index 5677e092d44b4d126f533db924d786ecced52770..64e683f9dc8ae56195bd6d426e1c2ff282beed5d 100644 (file)
@@ -1,6 +1,6 @@
 # Configure a GNU-like replacement for <string.h>.
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
diff --git a/m4/strings_h.m4 b/m4/strings_h.m4
deleted file mode 100644 (file)
index a057e1c..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-# Configure a replacement for <strings.h>.
-# serial 6
-
-# Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_HEADER_STRINGS_H],
-[
-  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
-  dnl once only, before all statements that occur in other macros.
-  AC_REQUIRE([gl_HEADER_STRINGS_H_BODY])
-])
-
-AC_DEFUN([gl_HEADER_STRINGS_H_BODY],
-[
-  AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
-
-  gl_CHECK_NEXT_HEADERS([strings.h])
-  if test $ac_cv_header_strings_h = yes; then
-    HAVE_STRINGS_H=1
-  else
-    HAVE_STRINGS_H=0
-  fi
-  AC_SUBST([HAVE_STRINGS_H])
-
-  dnl Check for declarations of anything we want to poison if the
-  dnl corresponding gnulib module is not in use.
-  gl_WARN_ON_USE_PREPARE([[
-    /* Minix 3.1.8 has a bug: <sys/types.h> must be included before
-       <strings.h>.  */
-    #include <sys/types.h>
-    #include <strings.h>
-    ]], [ffs strcasecmp strncasecmp])
-])
-
-AC_DEFUN([gl_STRINGS_MODULE_INDICATOR],
-[
-  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
-  AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
-  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
-])
-
-AC_DEFUN([gl_HEADER_STRINGS_H_DEFAULTS],
-[
-  GNULIB_FFS=0;            AC_SUBST([GNULIB_FFS])
-  dnl Assume proper GNU behavior unless another module says otherwise.
-  HAVE_FFS=1;              AC_SUBST([HAVE_FFS])
-  HAVE_STRCASECMP=1;       AC_SUBST([HAVE_STRCASECMP])
-  HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP])
-])
index bdde5fe1d2e3bafa0c9c707a3ffce64bf509e889..55df039987ba676e6d63b1c455a1d5641f79fcc0 100644 (file)
@@ -1,5 +1,5 @@
-# strndup.m4 serial 20
-dnl Copyright (C) 2002-2003, 2005-2012 Free Software Foundation, Inc.
+# strndup.m4 serial 21
+dnl Copyright (C) 2002-2003, 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -24,7 +24,7 @@ AC_DEFUN([gl_FUNC_STRNDUP],
       [AC_RUN_IFELSE([
          AC_LANG_PROGRAM([[#include <string.h>
                            #include <stdlib.h>]], [[
-#ifndef HAVE_DECL_STRNDUP
+#if !HAVE_DECL_STRNDUP
   extern
   #ifdef __cplusplus
   "C"
index d97e30759fb2e1fe0097ca4ad1cdfae637e1d678..94317f8a997fb650f0df6ab56e9f6f37f215da5a 100644 (file)
@@ -1,5 +1,5 @@
 # strnlen.m4 serial 13
-dnl Copyright (C) 2002-2003, 2005-2007, 2009-2012 Free Software Foundation,
+dnl Copyright (C) 2002-2003, 2005-2007, 2009-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index 5854bcb5827868500d36cf55af1c287b0633eab9..9f2a1777b39890afd9aaae627fa349ffdeb9c6b1 100644 (file)
@@ -1,5 +1,5 @@
 # strtoll.m4 serial 7
-dnl Copyright (C) 2002, 2004, 2006, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2004, 2006, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 7c659f57d4e748840a41a62f338383e2cea01758..f4d5f61660aa1356175ae96aaf167aad728a0ee9 100644 (file)
@@ -1,5 +1,5 @@
 # strtoull.m4 serial 7
-dnl Copyright (C) 2002, 2004, 2006, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2004, 2006, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index f84b21e40ebbe4ce1ebb7c3f37038f2275da1af7..de4924b431ad2d8616c3e3277500993cdee5f1ad 100644 (file)
@@ -1,7 +1,7 @@
-# serial 5
+# serial 6
 # See if we need to provide symlink replacement.
 
-dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -11,6 +11,7 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FUNC_SYMLINK],
 [
   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   AC_CHECK_FUNCS_ONCE([symlink])
   dnl The best we can do on mingw is provide a dummy that always fails, so
   dnl that compilation can proceed with fewer ifdefs.  On FreeBSD 7.2, AIX 7.1,
@@ -34,10 +35,19 @@ AC_DEFUN([gl_FUNC_SYMLINK],
              return result;
            ]])],
          [gl_cv_func_symlink_works=yes], [gl_cv_func_symlink_works=no],
-         [gl_cv_func_symlink_works="guessing no"])
+         [case "$host_os" in
+                    # Guess yes on glibc systems.
+            *-gnu*) gl_cv_func_symlink_works="guessing yes" ;;
+                    # If we don't know, assume the worst.
+            *)      gl_cv_func_symlink_works="guessing no" ;;
+          esac
+         ])
       rm -f conftest.f conftest.link conftest.lnk2])
-    if test "$gl_cv_func_symlink_works" != yes; then
-      REPLACE_SYMLINK=1
-    fi
+    case "$gl_cv_func_symlink_works" in
+      *yes) ;;
+      *)
+        REPLACE_SYMLINK=1
+        ;;
+    esac
   fi
 ])
index 8d4e7e1ebb42b5f29cc934e3e0d959bad7c88749..114d828172a919e23ed517ccb7004617ddc686c8 100644 (file)
@@ -1,5 +1,5 @@
-# sys_socket_h.m4 serial 22
-dnl Copyright (C) 2005-2012 Free Software Foundation, Inc.
+# sys_socket_h.m4 serial 23
+dnl Copyright (C) 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -10,7 +10,6 @@ AC_DEFUN([gl_HEADER_SYS_SOCKET],
 [
   AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS])
   AC_REQUIRE([AC_CANONICAL_HOST])
-  AC_REQUIRE([AC_C_INLINE])
 
   dnl On OSF/1, the functions recv(), send(), recvfrom(), sendto() have
   dnl old-style declarations (with return type 'int' instead of 'ssize_t')
index a0b96bc37645dd7ab7feb199e94dfb76e3ec1d87..eaa7642ba311bd74570887f5a8d6b9bead70a9b2 100644 (file)
@@ -1,5 +1,5 @@
-# sys_stat_h.m4 serial 26   -*- Autoconf -*-
-dnl Copyright (C) 2006-2012 Free Software Foundation, Inc.
+# sys_stat_h.m4 serial 28   -*- Autoconf -*-
+dnl Copyright (C) 2006-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -11,9 +11,6 @@ AC_DEFUN([gl_HEADER_SYS_STAT_H],
 [
   AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
 
-  dnl For the mkdir substitute.
-  AC_REQUIRE([AC_C_INLINE])
-
   dnl Check for broken stat macros.
   AC_REQUIRE([AC_HEADER_STAT])
 
@@ -22,6 +19,19 @@ AC_DEFUN([gl_HEADER_SYS_STAT_H],
   dnl Ensure the type mode_t gets defined.
   AC_REQUIRE([AC_TYPE_MODE_T])
 
+  dnl Whether to override 'struct stat'.
+  m4_ifdef([gl_LARGEFILE], [
+    AC_REQUIRE([gl_LARGEFILE])
+  ], [
+    WINDOWS_64_BIT_ST_SIZE=0
+  ])
+  AC_SUBST([WINDOWS_64_BIT_ST_SIZE])
+  if test $WINDOWS_64_BIT_ST_SIZE = 1; then
+    AC_DEFINE([_GL_WINDOWS_64_BIT_ST_SIZE], [1],
+      [Define to 1 if Gnulib overrides 'struct stat' on Windows so that
+       struct stat.st_size becomes 64-bit.])
+  fi
+
   dnl Define types that are supposed to be defined in <sys/types.h> or
   dnl <sys/stat.h>.
   AC_CHECK_TYPE([nlink_t], [],
index 26eaf8ea7f30d50c2fe300eab823e510f1dd4028..5c79300f8ec66e55a7b7a35eca0f0bcac22b8912 100644 (file)
@@ -1,7 +1,7 @@
 # Configure a replacement for <sys/time.h>.
 # serial 8
 
-# Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -52,7 +52,9 @@ AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY],
     dnl (in <sys/time.h> and <winsock2.h> for mingw64, in <winsock2.h> only
     dnl for MSVC) with a tv_sec field of type 'long' (32-bit!), which is
     dnl smaller than the 'time_t' type mandated by POSIX.
-    AC_CACHE_CHECK([for correct struct timeval.tv_sec member],
+    dnl On OpenBSD 5.1 amd64, tv_sec is 64 bits and time_t 32 bits, but
+    dnl that is good enough.
+    AC_CACHE_CHECK([for wide-enough struct timeval.tv_sec member],
       [gl_cv_sys_struct_timeval_tv_sec],
       [AC_COMPILE_IFELSE(
          [AC_LANG_PROGRAM(
@@ -65,7 +67,9 @@ AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY],
               #endif
             ]],
             [[static struct timeval x;
-              typedef int verify_tv_sec_type[sizeof (x.tv_sec) == sizeof (time_t) ? 1 : -1];
+              typedef int verify_tv_sec_type[
+                sizeof (time_t) <= sizeof x.tv_sec ? 1 : -1
+              ];
             ]])],
          [gl_cv_sys_struct_timeval_tv_sec=yes],
          [gl_cv_sys_struct_timeval_tv_sec=no])
index 8d18ddb4d1bf4753935f17f927a7aca9bbf99e92..9748905b5986ad97c588567c525987ae8472a84d 100644 (file)
@@ -1,10 +1,10 @@
-# sys_types_h.m4 serial 2
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# sys_types_h.m4 serial 5
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
-AC_DEFUN([gl_SYS_TYPES_H],
+AC_DEFUN_ONCE([gl_SYS_TYPES_H],
 [
   AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS])
   gl_NEXT_HEADERS([sys/types.h])
@@ -14,6 +14,9 @@ AC_DEFUN([gl_SYS_TYPES_H],
 
   dnl Ensure the type mode_t gets defined.
   AC_REQUIRE([AC_TYPE_MODE_T])
+
+  dnl Whether to override the 'off_t' type.
+  AC_REQUIRE([gl_TYPE_OFF_T])
 ])
 
 AC_DEFUN([gl_SYS_TYPES_H_DEFAULTS],
index 20ad78bc2f445e6e56ca07eafb9fc0f7d17c2593..1594e1f5d0494af537062782dc209f34ddfda682 100644 (file)
@@ -1,6 +1,6 @@
 #serial 5
 
-# Copyright (C) 2006-2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2006-2007, 2009-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
index cd66c3e9032825e7c56c54715b72c8ec1228647a..b6d602a633a30267940bf4f3e8d7f3ab81494e7c 100644 (file)
@@ -1,5 +1,5 @@
-# thread.m4 serial 2
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# thread.m4 serial 3
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,7 +7,6 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_THREAD],
 [
   AC_REQUIRE([gl_THREADLIB])
-  AC_REQUIRE([AC_C_INLINE])
 
   if test $gl_threads_api = posix; then
     gl_save_LIBS="$LIBS"
index 9cedb67006511f581431f1fdb95400918d49abfc..a88170261760153ec8609453f9b6ce8fa30340e7 100644 (file)
@@ -1,5 +1,5 @@
-# threadlib.m4 serial 9 (gettext-0.18.2)
-dnl Copyright (C) 2005-2012 Free Software Foundation, Inc.
+# threadlib.m4 serial 10 (gettext-0.18.2)
+dnl Copyright (C) 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -319,50 +319,50 @@ AC_DEFUN([gl_DISABLE_THREADS], [
 
 dnl Survey of platforms:
 dnl
-dnl Platform          Available   Compiler    Supports   test-lock
-dnl                   flavours    option      weak       result
-dnl ---------------   ---------   ---------   --------   ---------
-dnl Linux 2.4/glibc   posix       -lpthread       Y      OK
+dnl Platform           Available  Compiler    Supports   test-lock
+dnl                    flavours   option      weak       result
+dnl ---------------    ---------  ---------   --------   ---------
+dnl Linux 2.4/glibc    posix      -lpthread       Y      OK
 dnl
-dnl GNU Hurd/glibc    posix
+dnl GNU Hurd/glibc     posix
 dnl
-dnl FreeBSD 5.3       posix       -lc_r           Y
-dnl                   posix       -lkse ?         Y
-dnl                   posix       -lpthread ?     Y
-dnl                   posix       -lthr           Y
+dnl FreeBSD 5.3        posix      -lc_r           Y
+dnl                    posix      -lkse ?         Y
+dnl                    posix      -lpthread ?     Y
+dnl                    posix      -lthr           Y
 dnl
-dnl FreeBSD 5.2       posix       -lc_r           Y
-dnl                   posix       -lkse           Y
-dnl                   posix       -lthr           Y
+dnl FreeBSD 5.2        posix      -lc_r           Y
+dnl                    posix      -lkse           Y
+dnl                    posix      -lthr           Y
 dnl
-dnl FreeBSD 4.0,4.10  posix       -lc_r           Y      OK
+dnl FreeBSD 4.0,4.10   posix      -lc_r           Y      OK
 dnl
-dnl NetBSD 1.6        --
+dnl NetBSD 1.6         --
 dnl
-dnl OpenBSD 3.4       posix       -lpthread       Y      OK
+dnl OpenBSD 3.4        posix      -lpthread       Y      OK
 dnl
-dnl MacOS X 10.[123]  posix       -lpthread       Y      OK
+dnl Mac OS X 10.[123]  posix      -lpthread       Y      OK
 dnl
-dnl Solaris 7,8,9     posix       -lpthread       Y      Sol 7,8: 0.0; Sol 9: OK
-dnl                   solaris     -lthread        Y      Sol 7,8: 0.0; Sol 9: OK
+dnl Solaris 7,8,9      posix      -lpthread       Y      Sol 7,8: 0.0; Sol 9: OK
+dnl                    solaris    -lthread        Y      Sol 7,8: 0.0; Sol 9: OK
 dnl
-dnl HP-UX 11          posix       -lpthread       N (cc) OK
+dnl HP-UX 11           posix      -lpthread       N (cc) OK
 dnl                                               Y (gcc)
 dnl
-dnl IRIX 6.5          posix       -lpthread       Y      0.5
+dnl IRIX 6.5           posix      -lpthread       Y      0.5
 dnl
-dnl AIX 4.3,5.1       posix       -lpthread       N      AIX 4: 0.5; AIX 5: OK
+dnl AIX 4.3,5.1        posix      -lpthread       N      AIX 4: 0.5; AIX 5: OK
 dnl
-dnl OSF/1 4.0,5.1     posix       -pthread (cc)   N      OK
+dnl OSF/1 4.0,5.1      posix      -pthread (cc)   N      OK
 dnl                               -lpthread (gcc) Y
 dnl
-dnl Cygwin            posix       -lpthread       Y      OK
+dnl Cygwin             posix      -lpthread       Y      OK
 dnl
-dnl Any of the above  pth         -lpth                  0.0
+dnl Any of the above   pth        -lpth                  0.0
 dnl
-dnl Mingw             windows                     N      OK
+dnl Mingw              windows                    N      OK
 dnl
-dnl BeOS 5            --
+dnl BeOS 5             --
 dnl
 dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is
 dnl turned off:
index b88da764630ba64de67a27d3b4e976b277e2810d..9852778f9a5db376afbc8b2174cfc67ef96cc01a 100644 (file)
@@ -1,8 +1,8 @@
 # Configure a more-standard replacement for <time.h>.
 
-# Copyright (C) 2000-2001, 2003-2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2000-2001, 2003-2007, 2009-2014 Free Software Foundation, Inc.
 
-# serial 6
+# serial 8
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -25,7 +25,7 @@ AC_DEFUN([gl_HEADER_TIME_H_BODY],
   AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
 ])
 
-dnl Define HAVE_STRUCT_TIMESPEC if 'struct timespec' is declared
+dnl Check whether 'struct timespec' is declared
 dnl in time.h, sys/time.h, or pthread.h.
 
 AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC],
@@ -106,4 +106,13 @@ AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS],
   REPLACE_MKTIME=GNULIB_PORTCHECK;       AC_SUBST([REPLACE_MKTIME])
   REPLACE_NANOSLEEP=GNULIB_PORTCHECK;    AC_SUBST([REPLACE_NANOSLEEP])
   REPLACE_TIMEGM=GNULIB_PORTCHECK;       AC_SUBST([REPLACE_TIMEGM])
+
+  dnl Hack so that the time module doesn't depend on the sys_time module.
+  dnl First, default GNULIB_GETTIMEOFDAY to 0 if sys_time is absent.
+  : ${GNULIB_GETTIMEOFDAY=0};            AC_SUBST([GNULIB_GETTIMEOFDAY])
+  dnl Second, it's OK to not use GNULIB_PORTCHECK for REPLACE_GMTIME
+  dnl and REPLACE_LOCALTIME, as portability to Solaris 2.6 and earlier
+  dnl is no longer a big deal.
+  REPLACE_GMTIME=0;                      AC_SUBST([REPLACE_GMTIME])
+  REPLACE_LOCALTIME=0;                   AC_SUBST([REPLACE_LOCALTIME])
 ])
index 7595534fdf0e8950b8490142ac7729a749c6f8d0..1fa197e6943f8e9335c9c14d48ddb203f895f591 100644 (file)
@@ -1,5 +1,5 @@
-# unistd_h.m4 serial 63
-dnl Copyright (C) 2006-2012 Free Software Foundation, Inc.
+# unistd_h.m4 serial 67
+dnl Copyright (C) 2006-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -11,7 +11,6 @@ AC_DEFUN([gl_UNISTD_H],
   dnl Use AC_REQUIRE here, so that the default behavior below is expanded
   dnl once only, before all statements that occur in other macros.
   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
-  AC_REQUIRE([AC_C_INLINE])
 
   gl_CHECK_NEXT_HEADERS([unistd.h])
   if test $ac_cv_header_unistd_h = yes; then
@@ -24,6 +23,9 @@ AC_DEFUN([gl_UNISTD_H],
   dnl Ensure the type pid_t gets defined.
   AC_REQUIRE([AC_TYPE_PID_T])
 
+  dnl Determine WINDOWS_64_BIT_OFF_T.
+  AC_REQUIRE([gl_TYPE_OFF_T])
+
   dnl Check for declarations of anything we want to poison if the
   dnl corresponding gnulib module is not in use.
   gl_WARN_ON_USE_PREPARE([[
@@ -155,8 +157,10 @@ AC_DEFUN([gl_UNISTD_H_DEFAULTS],
   REPLACE_DUP=0;          AC_SUBST([REPLACE_DUP])
   REPLACE_DUP2=0;         AC_SUBST([REPLACE_DUP2])
   REPLACE_FCHOWNAT=0;     AC_SUBST([REPLACE_FCHOWNAT])
+  REPLACE_FTRUNCATE=0;    AC_SUBST([REPLACE_FTRUNCATE])
   REPLACE_GETCWD=0;       AC_SUBST([REPLACE_GETCWD])
   REPLACE_GETDOMAINNAME=0; AC_SUBST([REPLACE_GETDOMAINNAME])
+  REPLACE_GETDTABLESIZE=0; AC_SUBST([REPLACE_GETDTABLESIZE])
   REPLACE_GETLOGIN_R=0;   AC_SUBST([REPLACE_GETLOGIN_R])
   REPLACE_GETGROUPS=0;    AC_SUBST([REPLACE_GETGROUPS])
   REPLACE_GETPAGESIZE=0;  AC_SUBST([REPLACE_GETPAGESIZE])
index 4adf76238b21cb64d406e9cdcd0b68243910407f..03cf8ae0b1780d9ae06a5029049bf3656d3de51e 100644 (file)
@@ -1,5 +1,5 @@
-# unlink.m4 serial 9
-dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# unlink.m4 serial 11
+dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -9,6 +9,7 @@ AC_DEFUN([gl_FUNC_UNLINK],
   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
   AC_REQUIRE([AC_CANONICAL_HOST])
   AC_CHECK_HEADERS_ONCE([unistd.h])
+
   dnl Detect FreeBSD 7.2, AIX 7.1, Solaris 9 bug.
   AC_CACHE_CHECK([whether unlink honors trailing slashes],
     [gl_cv_func_unlink_honors_slashes],
@@ -41,16 +42,28 @@ AC_DEFUN([gl_FUNC_UNLINK],
          ]])],
       [gl_cv_func_unlink_honors_slashes=yes],
       [gl_cv_func_unlink_honors_slashes=no],
-      [gl_cv_func_unlink_honors_slashes="guessing no"])
+      [case "$host_os" in
+                 # Guess yes on glibc systems.
+         *-gnu*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
+                 # If we don't know, assume the worst.
+         *)      gl_cv_func_unlink_honors_slashes="guessing no" ;;
+       esac
+      ])
      rm -f conftest.file conftest.lnk])
-  dnl Detect MacOS X 10.5.6 bug: On read-write HFS mounts, unlink("..") or
+  case "$gl_cv_func_unlink_honors_slashes" in
+    *no)
+      REPLACE_UNLINK=1
+      ;;
+  esac
+
+  dnl Detect Mac OS X 10.5.6 bug: On read-write HFS mounts, unlink("..") or
   dnl unlink("../..") succeeds without doing anything.
   AC_CACHE_CHECK([whether unlink of a parent directory fails as it should],
     [gl_cv_func_unlink_parent_fails],
     [case "$host_os" in
        darwin*)
          dnl Try to unlink a subdirectory of /tmp, because /tmp is usually on a
-         dnl HFS mount on MacOS X. Use a subdirectory, owned by the current
+         dnl HFS mount on Mac OS X. Use a subdirectory, owned by the current
          dnl user, because otherwise unlink() may fail due to permissions
          dnl reasons, and because when running as root we don't want to risk
          dnl destroying the entire /tmp.
@@ -93,7 +106,9 @@ AC_DEFUN([gl_FUNC_UNLINK],
               ]])],
              [gl_cv_func_unlink_parent_fails=yes],
              [gl_cv_func_unlink_parent_fails=no],
-             [gl_cv_func_unlink_parent_fails="guessing no"])
+             [# If we don't know, assume the worst.
+              gl_cv_func_unlink_parent_fails="guessing no"
+             ])
            unset GL_SUBDIR_FOR_UNLINK
            rm -rf "$tmp"
          else
@@ -107,16 +122,9 @@ AC_DEFUN([gl_FUNC_UNLINK],
     ])
   case "$gl_cv_func_unlink_parent_fails" in
     *no)
+      REPLACE_UNLINK=1
       AC_DEFINE([UNLINK_PARENT_BUG], [1],
         [Define to 1 if unlink() on a parent directory may succeed])
       ;;
   esac
-  if test "$gl_cv_func_unlink_honors_slashes" != yes \
-     || { case "$gl_cv_func_unlink_parent_fails" in
-            *yes) false;;
-            *no) true;;
-          esac
-        }; then
-    REPLACE_UNLINK=1
-  fi
 ])
index 48cf33c46e5e2f22e5511042a7a13719d3fc5b10..99797af54e7ba854dee4369344f71996154028da 100644 (file)
@@ -1,6 +1,6 @@
 # serial 7
 
-# Copyright (C) 2005-2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2005-2007, 2009-2014 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
index 07fa9e9d433abb603376eedfadc8283c1f7b1de9..1d67e58b5184a19d482583d91e4f8e4129ac6204 100644 (file)
@@ -1,5 +1,5 @@
-# usleep.m4 serial 2
-dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# usleep.m4 serial 3
+dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -12,6 +12,7 @@ AC_DEFUN([gl_FUNC_USLEEP],
   dnl usleep was required in POSIX 2001, but dropped as obsolete in
   dnl POSIX 2008; therefore, it is not always exposed in headers.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   AC_CHECK_FUNCS_ONCE([usleep])
   AC_CHECK_TYPE([useconds_t], [],
     [AC_DEFINE([useconds_t], [unsigned int], [Define to an unsigned 32-bit
@@ -27,9 +28,18 @@ AC_DEFUN([gl_FUNC_USLEEP],
 #include <unistd.h>
 ]], [[return !!usleep (1000000);]])],
         [gl_cv_func_usleep_works=yes], [gl_cv_func_usleep_works=no],
-        [gl_cv_func_usleep_works="guessing no"])])
-    if test "$gl_cv_func_usleep_works" != yes; then
-      REPLACE_USLEEP=1
-    fi
+        [case "$host_os" in
+                   # Guess yes on glibc systems.
+           *-gnu*) gl_cv_func_usleep_works="guessing yes" ;;
+                   # If we don't know, assume the worst.
+           *)      gl_cv_func_usleep_works="guessing no" ;;
+         esac
+        ])])
+    case "$gl_cv_func_usleep_works" in
+      *yes) ;;
+      *)
+        REPLACE_USLEEP=1
+        ;;
+    esac
   fi
 ])
index 4c6c6786a1fcb4ae254e133088be3e21bbe96de1..667f9f82d94f1bf371079f4e80ccbc5e761eb54a 100644 (file)
@@ -1,5 +1,5 @@
 # version-etc.m4 serial 1
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
index 03b113cf400e0137f3e4771f17c7ba9c0f065974..cc690f8e2cb766766a4b14628e71e70420cd955a 100644 (file)
@@ -1,5 +1,5 @@
-# warn-on-use.m4 serial 4
-dnl Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# warn-on-use.m4 serial 5
+dnl Copyright (C) 2010-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -18,8 +18,8 @@ dnl with or without modifications, as long as this notice is preserved.
 # some systems declare functions in the wrong header, then INCLUDES
 # should do likewise.
 #
-# If you assume C89, then it is generally safe to assume declarations
-# for functions declared in that standard (such as gets) without
+# It is generally safe to assume declarations for functions declared
+# in the intersection of C89 and C11 (such as printf) without
 # needing gl_WARN_ON_USE_PREPARE.
 AC_DEFUN([gl_WARN_ON_USE_PREPARE],
 [
index 69d05a6700ff3ac50661933d18a6c40995c5ad84..43156f450066369b17991bdd7520843457fdcb90 100644 (file)
@@ -1,5 +1,5 @@
-# warnings.m4 serial 5
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# warnings.m4 serial 11
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -14,24 +14,66 @@ m4_ifdef([AS_VAR_APPEND],
 [m4_define([gl_AS_VAR_APPEND],
 [AS_VAR_SET([$1], [AS_VAR_GET([$1])$2])])])
 
-# gl_WARN_ADD(PARAMETER, [VARIABLE = WARN_CFLAGS])
-# ------------------------------------------------
-# Adds parameter to WARN_CFLAGS if the compiler supports it.  For example,
-# gl_WARN_ADD([-Wparentheses]).
-AC_DEFUN([gl_WARN_ADD],
-dnl FIXME: gl_Warn must be used unquoted until we can assume
-dnl autoconf 2.64 or newer.
-[AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_$1])dnl
-AC_CACHE_CHECK([whether compiler handles $1], m4_defn([gl_Warn]), [
-  gl_save_CPPFLAGS="$CPPFLAGS"
-  CPPFLAGS="${CPPFLAGS} $1"
-  AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])],
-                    [AS_VAR_SET(gl_Warn, [yes])],
-                    [AS_VAR_SET(gl_Warn, [no])])
-  CPPFLAGS="$gl_save_CPPFLAGS"
+
+# gl_COMPILER_OPTION_IF(OPTION, [IF-SUPPORTED], [IF-NOT-SUPPORTED],
+#                       [PROGRAM = AC_LANG_PROGRAM()])
+# -----------------------------------------------------------------
+# Check if the compiler supports OPTION when compiling PROGRAM.
+#
+# FIXME: gl_Warn must be used unquoted until we can assume Autoconf
+# 2.64 or newer.
+AC_DEFUN([gl_COMPILER_OPTION_IF],
+[AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_[]_AC_LANG_ABBREV[]_$1])dnl
+AS_VAR_PUSHDEF([gl_Flags], [_AC_LANG_PREFIX[]FLAGS])dnl
+AS_LITERAL_IF([$1],
+  [m4_pushdef([gl_Positive], m4_bpatsubst([$1], [^-Wno-], [-W]))],
+  [gl_positive="$1"
+case $gl_positive in
+  -Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;;
+esac
+m4_pushdef([gl_Positive], [$gl_positive])])dnl
+AC_CACHE_CHECK([whether _AC_LANG compiler handles $1], m4_defn([gl_Warn]), [
+  gl_save_compiler_FLAGS="$gl_Flags"
+  gl_AS_VAR_APPEND(m4_defn([gl_Flags]),
+    [" $gl_unknown_warnings_are_errors ]m4_defn([gl_Positive])["])
+  AC_LINK_IFELSE([m4_default([$4], [AC_LANG_PROGRAM([])])],
+                 [AS_VAR_SET(gl_Warn, [yes])],
+                 [AS_VAR_SET(gl_Warn, [no])])
+  gl_Flags="$gl_save_compiler_FLAGS"
 ])
-AS_VAR_IF(gl_Warn, [yes],
-  [gl_AS_VAR_APPEND(m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]), [" $1"])])
+AS_VAR_IF(gl_Warn, [yes], [$2], [$3])
+m4_popdef([gl_Positive])dnl
+AS_VAR_POPDEF([gl_Flags])dnl
 AS_VAR_POPDEF([gl_Warn])dnl
-m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])], [])])dnl
 ])
+
+# gl_UNKNOWN_WARNINGS_ARE_ERRORS
+# ------------------------------
+# Clang doesn't complain about unknown warning options unless one also
+# specifies -Wunknown-warning-option -Werror.  Detect this.
+AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS],
+[gl_COMPILER_OPTION_IF([-Werror -Wunknown-warning-option],
+   [gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'],
+   [gl_unknown_warnings_are_errors=])])
+
+# gl_WARN_ADD(OPTION, [VARIABLE = WARN_CFLAGS],
+#             [PROGRAM = AC_LANG_PROGRAM()])
+# ---------------------------------------------
+# Adds parameter to WARN_CFLAGS if the compiler supports it when
+# compiling PROGRAM.  For example, gl_WARN_ADD([-Wparentheses]).
+#
+# If VARIABLE is a variable name, AC_SUBST it.
+AC_DEFUN([gl_WARN_ADD],
+[AC_REQUIRE([gl_UNKNOWN_WARNINGS_ARE_ERRORS])
+gl_COMPILER_OPTION_IF([$1],
+  [gl_AS_VAR_APPEND(m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]), [" $1"])],
+  [],
+  [$3])
+m4_ifval([$2],
+         [AS_LITERAL_IF([$2], [AC_SUBST([$2])])],
+         [AC_SUBST([WARN_CFLAGS])])dnl
+])
+
+# Local Variables:
+# mode: autoconf
+# End:
index c7a8b2d781873420221f7fe5c7078e53acf5961e..85db95286b073f452ddcd9380cc26a1fe7b6b31c 100644 (file)
@@ -1,6 +1,6 @@
 dnl A placeholder for ISO C99 <wchar.h>, for platforms that have issues.
 
-dnl Copyright (C) 2007-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 534735d8c6313f6dde9ab17dd5e3a320ca30a741..839a04c17c34f4fb0b22ef1e18465fd271e3d806 100644 (file)
@@ -1,5 +1,5 @@
 # wchar_t.m4 serial 4 (gettext-0.18.2)
-dnl Copyright (C) 2002-2003, 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2003, 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 00d7302e8e3b808b1ea88e4820e6f8cf83b8b525..844ef6a8c3e8e9952c4ecd6b9511cdaf257808d5 100644 (file)
@@ -1,5 +1,5 @@
 # wcrtomb.m4 serial 11
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 786c881d589a6ae231f1d077ad854a31e448c4d7..41f57afc767dfa3b63fc91ed8b794e82e06a5123 100644 (file)
@@ -1,5 +1,5 @@
 # wctob.m4 serial 10
-dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 88fd6be812e7a30a836388e3218d06a4e242e01e..3b4ff7978d70b78155ca14b46a9ffb88eb6e40b3 100644 (file)
@@ -1,5 +1,5 @@
 # wctomb.m4 serial 2
-dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index a109383073dca2b90387639f30e5b3ba5113afbc..3fac0ee099d1b1bc2918d843e77b2b5e352da1e3 100644 (file)
@@ -1,8 +1,8 @@
-# wctype_h.m4 serial 16
+# wctype_h.m4 serial 18
 
 dnl A placeholder for ISO C99 <wctype.h>, for platforms that lack it.
 
-dnl Copyright (C) 2006-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -22,8 +22,6 @@ AC_DEFUN([gl_WCTYPE_H],
   fi
   AC_SUBST([HAVE_ISWCNTRL])
 
-  AC_REQUIRE([AC_C_INLINE])
-
   AC_REQUIRE([gt_TYPE_WINT_T])
   if test $gt_cv_c_wint_t = yes; then
     HAVE_WINT_T=1
@@ -57,7 +55,8 @@ AC_DEFUN([gl_WCTYPE_H],
                           #if __GNU_LIBRARY__ == 1
                           Linux libc5 i18n is broken.
                           #endif]], [])],
-              [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no])
+              [gl_cv_func_iswcntrl_works="guessing yes"],
+              [gl_cv_func_iswcntrl_works="guessing no"])
             ])
         ])
     fi
@@ -67,11 +66,10 @@ AC_DEFUN([gl_WCTYPE_H],
   fi
   AC_SUBST([HAVE_WCTYPE_H])
 
-  if test "$gl_cv_func_iswcntrl_works" = no; then
-    REPLACE_ISWCNTRL=1
-  else
-    REPLACE_ISWCNTRL=0
-  fi
+  case "$gl_cv_func_iswcntrl_works" in
+    *yes) REPLACE_ISWCNTRL=0 ;;
+    *)    REPLACE_ISWCNTRL=1 ;;
+  esac
   AC_SUBST([REPLACE_ISWCNTRL])
 
   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
index 3260cce323591e9bf2846e377745cb0b83435129..9b07b07090054edd2a4340698be18b2bbc0b7a7e 100644 (file)
@@ -1,5 +1,5 @@
 # wint_t.m4 serial 5 (gettext-0.18.2)
-dnl Copyright (C) 2003, 2007-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index f47b649b5d625285c8992ca4afa2f9b37adaa884..b6a2257befa85b9b9e593f13a4666d08c5d5a77f 100644 (file)
@@ -1,22 +1,7 @@
-# xalloc.m4 serial 17
-dnl Copyright (C) 2002-2006, 2009-2012 Free Software Foundation, Inc.
+# xalloc.m4 serial 18
+dnl Copyright (C) 2002-2006, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
-AC_DEFUN([gl_XALLOC],
-[
-  gl_PREREQ_XALLOC
-  gl_PREREQ_XMALLOC
-])
-
-# Prerequisites of lib/xalloc.h.
-AC_DEFUN([gl_PREREQ_XALLOC], [
-  AC_REQUIRE([gl_INLINE])
-  :
-])
-
-# Prerequisites of lib/xmalloc.c.
-AC_DEFUN([gl_PREREQ_XMALLOC], [
-  :
-])
+AC_DEFUN([gl_XALLOC], [:])
index 1642ca5113c7f40317f2be286ecd4d79531daec3..8521f0ed5f93a5cdcc54385671fc576cbbed646f 100644 (file)
@@ -1,5 +1,5 @@
 # xstrndup.m4 serial 2
-dnl Copyright (C) 2003, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 76f8f96eff7eb0551782bee937e611e8ed880305..03419d8143019e5f56c9adea24000b024da5c976 100644 (file)
@@ -1,5 +1,5 @@
 #serial 11
-dnl Copyright (C) 2002-2007, 2009-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2007, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 94e69c47bfe37a8c7f61f31a84d380b1ab39e7f0..e9442a6242d81974e2073c047f707e595982be59 100644 (file)
@@ -1,5 +1,5 @@
 # yield.m4 serial 2
-dnl Copyright (C) 2005-2012 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
index 1dd64935143d4dd172b25342d0f22ac672f3108a..b6cd5a2031c9469cac717687e35ff0482c63f009 100644 (file)
--- a/maint.mk
+++ b/maint.mk
@@ -2,7 +2,7 @@
 # This Makefile fragment tries to be general-purpose enough to be
 # used by many projects via the gnulib maintainer-makefile module.
 
-## Copyright (C) 2001-2012 Free Software Foundation, Inc.
+## Copyright (C) 2001-2014 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -28,6 +28,28 @@ ifneq ($(build_aux),)
 set $$(_build-aux) relative to $$(srcdir) instead of $$(build_aux)")
 endif
 
+# Helper variables.
+_empty =
+_sp = $(_empty) $(_empty)
+
+# _equal,S1,S2
+# ------------
+# If S1 == S2, return S1, otherwise the empty string.
+_equal = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1)))
+
+# member-check,VARIABLE,VALID-VALUES
+# ----------------------------------
+# Check that $(VARIABLE) is in the space-separated list of VALID-VALUES, and
+# return it.  Die otherwise.
+member-check =                                                         \
+  $(strip                                                              \
+    $(if $($(1)),                                                      \
+      $(if $(findstring $(_sp),$($(1))),                               \
+          $(error invalid $(1): '$($(1))', expected $(2)),             \
+          $(or $(findstring $(_sp)$($(1))$(_sp),$(_sp)$(2)$(_sp)),     \
+            $(error invalid $(1): '$($(1))', expected $(2)))),         \
+      $(error $(1) undefined)))
+
 # Do not save the original name or timestamp in the .tar.gz file.
 # Use --rsyncable if available.
 gzip_rsyncable := \
@@ -52,18 +74,18 @@ _dot_escaped_srcdir = $(subst .,\.,$(srcdir))
 # Post-process $(VC_LIST) output, prepending $(srcdir)/, but only
 # when $(srcdir) is not ".".
 ifeq ($(srcdir),.)
-_prepend_srcdir_prefix =
+  _prepend_srcdir_prefix =
 else
-_prepend_srcdir_prefix = | sed 's|^|$(srcdir)/|'
+  _prepend_srcdir_prefix = | $(SED) 's|^|$(srcdir)/|'
 endif
 
 # In order to be able to consistently filter "."-relative names,
 # (i.e., with no $(srcdir) prefix), this definition is careful to
 # remove any $(srcdir) prefix, and to restore what it removes.
 _sc_excl = \
-  $(if $(exclude_file_name_regexp--$@),$(exclude_file_name_regexp--$@),^$$)
+  $(or $(exclude_file_name_regexp--$@),^$$)
 VC_LIST_EXCEPT = \
-  $(VC_LIST) | sed 's|^$(_dot_escaped_srcdir)/||' \
+  $(VC_LIST) | $(SED) 's|^$(_dot_escaped_srcdir)/||' \
        | if test -f $(srcdir)/.x-$@; then grep -vEf $(srcdir)/.x-$@; \
          else grep -Ev -e "$${VC_LIST_EXCEPT_DEFAULT-ChangeLog}"; fi \
        | grep -Ev -e '($(VC_LIST_ALWAYS_EXCLUDE_REGEX)|$(_sc_excl))' \
@@ -78,32 +100,41 @@ VERSION_REGEXP = $(subst .,\.,$(VERSION))
 PREV_VERSION_REGEXP = $(subst .,\.,$(PREV_VERSION))
 
 ifeq ($(VC),$(GIT))
-this-vc-tag = v$(VERSION)
-this-vc-tag-regexp = v$(VERSION_REGEXP)
+  this-vc-tag = v$(VERSION)
+  this-vc-tag-regexp = v$(VERSION_REGEXP)
 else
-tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]')
-tag-this-version = $(subst .,_,$(VERSION))
-this-vc-tag = $(tag-package)-$(tag-this-version)
-this-vc-tag-regexp = $(this-vc-tag)
+  tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]')
+  tag-this-version = $(subst .,_,$(VERSION))
+  this-vc-tag = $(tag-package)-$(tag-this-version)
+  this-vc-tag-regexp = $(this-vc-tag)
 endif
 my_distdir = $(PACKAGE)-$(VERSION)
 
 # Old releases are stored here.
 release_archive_dir ?= ../release
 
+# If RELEASE_TYPE is undefined, but RELEASE is, use its second word.
+# But overwrite VERSION.
+ifdef RELEASE
+  VERSION := $(word 1, $(RELEASE))
+  RELEASE_TYPE ?= $(word 2, $(RELEASE))
+endif
+
+# Validate and return $(RELEASE_TYPE), or die.
+RELEASE_TYPES = alpha beta stable
+release-type = $(call member-check,RELEASE_TYPE,$(RELEASE_TYPES))
+
 # Override gnu_rel_host and url_dir_list in cfg.mk if these are not right.
 # Use alpha.gnu.org for alpha and beta releases.
 # Use ftp.gnu.org for stable releases.
 gnu_ftp_host-alpha = alpha.gnu.org
 gnu_ftp_host-beta = alpha.gnu.org
 gnu_ftp_host-stable = ftp.gnu.org
-gnu_rel_host ?= $(gnu_ftp_host-$(RELEASE_TYPE))
+gnu_rel_host ?= $(gnu_ftp_host-$(release-type))
 
-ifeq ($(gnu_rel_host),ftp.gnu.org)
-url_dir_list ?= http://ftpmirror.gnu.org/$(PACKAGE)
-else
-url_dir_list ?= ftp://$(gnu_rel_host)/gnu/$(PACKAGE)
-endif
+url_dir_list ?= $(if $(call _equal,$(gnu_rel_host),ftp.gnu.org),       \
+                     http://ftpmirror.gnu.org/$(PACKAGE),              \
+                     ftp://$(gnu_rel_host)/gnu/$(PACKAGE))
 
 # Override this in cfg.mk if you are using a different format in your
 # NEWS file.
@@ -124,17 +155,17 @@ export LC_ALL = C
 ## Sanity checks.  ##
 ## --------------- ##
 
-_cfg_mk := $(shell test -f $(srcdir)/cfg.mk && echo '$(srcdir)/cfg.mk')
+_cfg_mk := $(wildcard $(srcdir)/cfg.mk)
 
 # Collect the names of rules starting with 'sc_'.
-syntax-check-rules := $(sort $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' \
-                       $(srcdir)/$(ME) $(_cfg_mk)))
+syntax-check-rules := $(sort $(shell $(SED) -n \
+   's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(srcdir)/$(ME) $(_cfg_mk)))
 .PHONY: $(syntax-check-rules)
 
 ifeq ($(shell $(VC_LIST) >/dev/null 2>&1; echo $$?),0)
-local-checks-available += $(syntax-check-rules)
+  local-checks-available += $(syntax-check-rules)
 else
-local-checks-available += no-vc-detected
+  local-checks-available += no-vc-detected
 no-vc-detected:
        @echo "No version control files detected; skipping syntax check"
 endif
@@ -178,11 +209,20 @@ syntax-check: $(local-check)
 #     Regular expression (ERE) denoting either a forbidden construct
 #     or a required construct.  Those arguments are exclusive.
 #
+#  exclude
+#
+#     Regular expression (ERE) denoting lines to ignore that matched
+#     a prohibit construct.  For example, this can be used to exclude
+#     comments that mention why the nearby code uses an alternative
+#     construct instead of the simpler prohibited construct.
+#
 #  in_vc_files | in_files
 #
-#     grep-E-style regexp denoting the files to check.  If no files
-#     are specified the default are all the files that are under
-#     version control.
+#     grep-E-style regexp selecting the files to check.  For in_vc_files,
+#     the regexp is used to select matching files from the list of all
+#     version-controlled files; for in_files, it's from the names printed
+#     by "find $(srcdir)".  When neither is specified, use all files that
+#     are under version control.
 #
 #  containing | non_containing
 #
@@ -212,6 +252,17 @@ syntax-check: $(local-check)
 # when filtering by name via in_files, we explicitly filter out matching
 # names here as well.
 
+# Initialize each, so that envvar settings cannot interfere.
+export require =
+export prohibit =
+export exclude =
+export in_vc_files =
+export in_files =
+export containing =
+export non_containing =
+export halt =
+export with_grep_options =
+
 # By default, _sc_search_regexp does not ignore case.
 export ignore_case =
 _ignore_case = $$(test -n "$$ignore_case" && printf %s -i || :)
@@ -231,6 +282,9 @@ define _sc_search_regexp
    test -z "$$prohibit" && test -z "$$require"                         \
      && { msg='Should specify either prohibit or require'              \
           $(_sc_say_and_exit) } || :;                                  \
+   test -z "$$prohibit" && test -n "$$exclude"                         \
+     && { msg='Use of exclude requires a prohibit pattern'             \
+          $(_sc_say_and_exit) } || :;                                  \
    test -n "$$in_vc_files" && test -n "$$in_files"                     \
      && { msg='Cannot specify both in_vc_files and in_files'           \
           $(_sc_say_and_exit) } || :;                                  \
@@ -240,7 +294,7 @@ define _sc_search_regexp
    : Filter by file name;                                              \
    if test -n "$$in_files"; then                                       \
      files=$$(find $(srcdir) | grep -E "$$in_files"                    \
-              | grep -Ev '$(exclude_file_name_regexp--$@)');           \
+              | grep -Ev '$(_sc_excl)');                               \
    else                                                                        \
      files=$$($(VC_LIST_EXCEPT));                                      \
      if test -n "$$in_vc_files"; then                                  \
@@ -258,6 +312,7 @@ define _sc_search_regexp
    if test -n "$$files"; then                                          \
      if test -n "$$prohibit"; then                                     \
        grep $$with_grep_options $(_ignore_case) -nE "$$prohibit" $$files \
+         | grep -vE "$${exclude:-^$$}"                                 \
          && { msg="$$halt" $(_sc_say_and_exit) } || :;                 \
      else                                                              \
        grep $$with_grep_options $(_ignore_case) -LE "$$require" $$files \
@@ -303,12 +358,20 @@ sc_prohibit_atoi_atof:
          $(_sc_search_regexp)
 
 # Use STREQ rather than comparing strcmp == 0, or != 0.
+sp_ = strcmp *\(.+\)
 sc_prohibit_strcmp:
-       @grep -nE '! *str''cmp *\(|\<str''cmp *\(.+\) *[!=]='   \
-           $$($(VC_LIST_EXCEPT))                                       \
-         | grep -vE ':# *define STRN?EQ\(' &&                          \
-         { echo '$(ME): replace str''cmp calls above with STREQ/STRNEQ' \
-               1>&2; exit 1; } || :
+       @prohibit='! *strcmp *\(|\<$(sp_) *[!=]=|[!=]= *$(sp_)'         \
+       exclude='# *define STRN?EQ\('                                   \
+       halt='replace strcmp calls above with STREQ/STRNEQ'             \
+         $(_sc_search_regexp)
+
+# Really.  You don't want to use this function.
+# It may fail to NUL-terminate the destination,
+# and always NUL-pads out to the specified length.
+sc_prohibit_strncpy:
+       @prohibit='\<strncpy *\('                                       \
+       halt='do not use strncpy, period'                               \
+         $(_sc_search_regexp)
 
 # Pass EXIT_*, not number, to usage, exit, and error (when exiting)
 # Convert all uses automatically, via these two commands:
@@ -321,8 +384,9 @@ sc_prohibit_strcmp:
 #  | xargs --no-run-if-empty \
 #      perl -pi -e 's/(^|[^.])\b(exit ?)\(0\)/$1$2(EXIT_SUCCESS)/'
 sc_prohibit_magic_number_exit:
-       @prohibit='(^|[^.])\<(usage|exit) ?\([0-9]|\<error ?\([1-9][0-9]*,'     \
-       halt='use EXIT_* values rather than magic number'                       \
+       @prohibit='(^|[^.])\<(usage|exit|error) ?\(-?[0-9]+[,)]'        \
+       exclude='exit \(77\)|error ?\(((0|77),|[^,]*)'                  \
+       halt='use EXIT_* values rather than magic number'               \
          $(_sc_search_regexp)
 
 # Using EXIT_SUCCESS as the first argument to error is misleading,
@@ -384,7 +448,7 @@ sc_require_config_h_first:
        @if $(VC_LIST_EXCEPT) | grep -l '\.c$$' > /dev/null; then       \
          fail=0;                                                       \
          for i in $$($(VC_LIST_EXCEPT) | grep '\.c$$'); do             \
-           grep '^# *include\>' $$i | sed 1q                           \
+           grep '^# *include\>' $$i | $(SED) 1q                        \
                | grep -E '^# *include $(config_h_header)' > /dev/null  \
              || { echo $$i; fail=1; };                                 \
          done;                                                         \
@@ -404,7 +468,7 @@ sc_prohibit_HAVE_MBRTOWC:
 # re: a regular expression that matches IFF something provided by $h is used.
 define _sc_header_without_use
   dummy=; : so we do not need a semicolon before each use;             \
-  h_esc=`echo '[<"]'"$$h"'[">]'|sed 's/\./\\\\./g'`;                   \
+  h_esc=`echo '[<"]'"$$h"'[">]'|$(SED) 's/\./\\\\./g'`;                        \
   if $(VC_LIST_EXCEPT) | grep -l '\.c$$' > /dev/null; then             \
     files=$$(grep -l '^# *include '"$$h_esc"                           \
             $$($(VC_LIST_EXCEPT) | grep '\.c$$')) &&                   \
@@ -433,7 +497,8 @@ sc_prohibit_quotearg_without_use:
 
 # Don't include quote.h unless you use one of its functions.
 sc_prohibit_quote_without_use:
-       @h='quote.h' re='\<quote(_n)? *\(' $(_sc_header_without_use)
+       @h='quote.h' re='\<quote((_n)? *\(|_quoting_options\>)' \
+         $(_sc_header_without_use)
 
 # Don't include this header unless you use one of its functions.
 sc_prohibit_long_options_without_use:
@@ -526,7 +591,7 @@ sc_prohibit_root_dev_ino_without_use:
 
 sc_prohibit_openat_without_use:
        @h='openat.h' \
-       re='\<(openat_(permissive|needs_fchdir|(save|restore)_fail)|l?(stat|ch(own|mod))at|(euid)?accessat)\>' \
+       re='\<(openat_(permissive|needs_fchdir|(save|restore)_fail)|l?(stat|ch(own|mod))at|(euid)?accessat|(FCHMOD|FCHOWN|STAT)AT_INLINE)\>' \
          $(_sc_header_without_use)
 
 # Prohibit the inclusion of c-ctype.h without an actual use.
@@ -536,8 +601,6 @@ sc_prohibit_c_ctype_without_use:
        @h='c-ctype.h' re='\<c_($(ctype_re)) *\(' \
          $(_sc_header_without_use)
 
-_empty =
-_sp = $(_empty) $(_empty)
 # The following list was generated by running:
 # man signal.h|col -b|perl -ne '/bsd_signal.*;/.../sigwaitinfo.*;/ and print' \
 #   | perl -lne '/^\s+(?:int|void).*?(\w+).*/ and print $1' | fmt
@@ -690,6 +753,7 @@ sc_require_test_exit_idiom:
 sc_trailing_blank:
        @prohibit='[     ]$$'                                           \
        halt='found trailing blank(s)'                                  \
+       exclude='^Binary file .* matches$$'                             \
          $(_sc_search_regexp)
 
 # Match lines like the following, but where there is only one space
@@ -708,12 +772,10 @@ _gl_translatable_diag_func_re ?= error
 # Look for diagnostics that aren't marked for translation.
 # This won't find any for which error's format string is on a separate line.
 sc_unmarked_diagnostics:
-       @grep -nE                                                       \
-           '\<$(_gl_translatable_diag_func_re) *\([^"]*"[^"]*[a-z]{3}' \
-               $$($(VC_LIST_EXCEPT))                                   \
-         | grep -Ev '(_|ngettext ?)\(' &&                              \
-         { echo '$(ME): found unmarked diagnostic(s)' 1>&2;            \
-           exit 1; } || :
+       @prohibit='\<$(_gl_translatable_diag_func_re) *\([^"]*"[^"]*[a-z]{3}' \
+       exclude='(_|ngettext ?)\('                                      \
+       halt='found unmarked diagnostic(s)'                             \
+         $(_sc_search_regexp)
 
 # Avoid useless parentheses like those in this example:
 # #if defined (SYMBOL) || defined (SYM2)
@@ -727,7 +789,7 @@ sc_useless_cpp_parens:
 # #if HAVE_HEADER_H that you remove, be sure that your project explicitly
 # requires the gnulib module that guarantees the usability of that header.
 gl_assured_headers_ = \
-  cd $(gnulib_dir)/lib && echo *.in.h|sed 's/\.in\.h//g'
+  cd $(gnulib_dir)/lib && echo *.in.h|$(SED) 's/\.in\.h//g'
 
 # Convert the list of names to upper case, and replace each space with "|".
 az_ = abcdefghijklmnopqrstuvwxyz
@@ -746,6 +808,11 @@ sc_prohibit_always_true_header_tests:
        '  with the corresponding gnulib module, they are always true') \
          $(_sc_search_regexp)
 
+sc_prohibit_defined_have_decl_tests:
+       @prohibit='(#[   ]*ifn?def|\<defined)\>[         (]+HAVE_DECL_' \
+       halt='HAVE_DECL macros are always defined'                      \
+         $(_sc_search_regexp)
+
 # ==================================================================
 gl_other_headers_ ?= \
   intprops.h   \
@@ -773,7 +840,7 @@ define def_sym_regex
              && perl -lne '$(gl_extract_significant_defines_)' $$f;    \
          done;                                                         \
        ) | sort -u                                                     \
-         | sed 's/^/^ *# *(define|undef)  */;s/$$/\\>/'
+         | $(SED) 's/^/^ *# *(define|undef)  */;s/$$/\\>/'
 endef
 
 # Don't define macros that we already get from gnulib header files.
@@ -911,8 +978,15 @@ sc_prohibit_doubled_word:
 # A regular expression matching undesirable combinations of words like
 # "can not"; this matches them even when the two words appear on different
 # lines, but not when there is an intervening delimiter like "#" or "*".
+# Similarly undesirable, "See @xref{...}", since an @xref should start
+# a sentence.  Explicitly prohibit any prefix of "see" or "also".
+# Also prohibit a prefix matching "\w+ +".
+# @pxref gets the same see/also treatment and should be parenthesized;
+# presume it must *not* start a sentence.
+bad_xref_re_ ?= (?:[\w,:;] +|(?:see|also)\s+)\@xref\{
+bad_pxref_re_ ?= (?:[.!?]|(?:see|also))\s+\@pxref\{
 prohibit_undesirable_word_seq_RE_ ?=                                   \
-  /\bcan\s+not\b/gims
+  /(?:\bcan\s+not\b|$(bad_xref_re_)|$(bad_pxref_re_))/gims
 prohibit_undesirable_word_seq_ =                                       \
     -e 'while ($(prohibit_undesirable_word_seq_RE_))'                  \
     $(perl_filename_lineno_text_)
@@ -974,18 +1048,18 @@ sc_redundant_const:
          $(_sc_search_regexp)
 
 sc_const_long_option:
-       @grep '^ *static.*struct option ' $$($(VC_LIST_EXCEPT))         \
-         | grep -Ev 'const struct option|struct option const' && {     \
-             echo 1>&2 '$(ME): add "const" to the above declarations'; \
-             exit 1; } || :
+       @prohibit='^ *static.*struct option '                           \
+       exclude='const struct option|struct option const'               \
+       halt='add "const" to the above declarations'                    \
+         $(_sc_search_regexp)
 
 NEWS_hash =                                                            \
-  $$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p'             \
+  $$($(SED) -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p'          \
        $(srcdir)/NEWS                                                  \
      | perl -0777 -pe                                                  \
        's/^Copyright.+?Free\sSoftware\sFoundation,\sInc\.\n//ms'       \
      | md5sum -                                                                \
-     | sed 's/ .*//')
+     | $(SED) 's/ .*//')
 
 # Ensure that we don't accidentally insert an entry into an old NEWS block.
 sc_immutable_NEWS:
@@ -1023,7 +1097,7 @@ sc_makefile_at_at_check:
          && { echo '$(ME): use $$(...), not @...@' 1>&2; exit 1; } || :
 
 news-check: NEWS
-       if sed -n $(news-check-lines-spec)p $(srcdir)/NEWS              \
+       $(AM_V_GEN)if $(SED) -n $(news-check-lines-spec)p $<            \
            | grep -E $(news-check-regexp) >/dev/null; then             \
          :;                                                            \
        else                                                            \
@@ -1047,9 +1121,11 @@ fix_po_file_diag = \
 'you have changed the set of files with translatable diagnostics;\n\
 apply the above patch\n'
 
-# Verify that all source files using _() are listed in po/POTFILES.in.
+# Verify that all source files using _() (more specifically, files that
+# match $(_gl_translatable_string_re)) are listed in po/POTFILES.in.
 po_file ?= $(srcdir)/po/POTFILES.in
 generated_files ?= $(srcdir)/lib/*.[ch]
+_gl_translatable_string_re ?= \b(N?_|gettext *)\([^)"]*("|$$)
 sc_po_check:
        @if test -f $(po_file); then                                    \
          grep -E -v '^(#|$$)' $(po_file)                               \
@@ -1069,8 +1145,8 @@ sc_po_check:
            esac;                                                       \
            files="$$files $$file";                                     \
          done;                                                         \
-         grep -E -l '\b(N?_|gettext *)\([^)"]*("|$$)' $$files          \
-           | sed 's|^$(_dot_escaped_srcdir)/||' | sort -u > $@-2;      \
+         grep -E -l '$(_gl_translatable_string_re)' $$files            \
+           | $(SED) 's|^$(_dot_escaped_srcdir)/||' | sort -u > $@-2;   \
          diff -u -L $(po_file) -L $(po_file) $@-1 $@-2                 \
            || { printf '$(ME): '$(fix_po_file_diag) 1>&2; exit 1; };   \
          rm -f $@-1 $@-2;                                              \
@@ -1079,7 +1155,7 @@ sc_po_check:
 # Sometimes it is useful to change the PATH environment variable
 # in Makefiles.  When doing so, it's better not to use the Unix-centric
 # path separator of ':', but rather the automake-provided '$(PATH_SEPARATOR)'.
-msg = '$(ME): Do not use ":" above; use $$(PATH_SEPARATOR) instead'
+msg = 'Do not use ":" above; use $$(PATH_SEPARATOR) instead'
 sc_makefile_path_separator_check:
        @prohibit='PATH[=].*:'                                          \
        in_vc_files='akefile|\.mk$$'                                    \
@@ -1090,7 +1166,7 @@ sc_makefile_path_separator_check:
 # i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release)
 # and is read-only.
 writable-files:
-       if test -d $(release_archive_dir); then                         \
+       $(AM_V_GEN)if test -d $(release_archive_dir); then              \
          for file in $(DIST_ARCHIVES); do                              \
            for p in ./ $(release_archive_dir)/; do                     \
              test -e $$p$$file || continue;                            \
@@ -1116,7 +1192,7 @@ sc_copyright_check:
        in_vc_files=$(sample-test)                                      \
        halt='out of date copyright in $(sample-test); update it'       \
          $(_sc_search_regexp)
-       @require='Copyright @copyright\{\} .*'$$(date +%Y)' Free'       \
+       @require='Copyright @copyright\{\} .*'$$(date +%Y)              \
        in_vc_files=$(texi)                                             \
        halt='out of date copyright in $(texi); update it'              \
          $(_sc_search_regexp)
@@ -1172,22 +1248,31 @@ sc_Wundef_boolean:
 # not be constant, or might overflow a stack.  In general, use PATH_MAX as
 # a limit, not an array or alloca size.
 sc_prohibit_path_max_allocation:
-       @prohibit='(\balloca *\([^)]*|\[[^]]*)PATH_MAX'                 \
+       @prohibit='(\balloca *\([^)]*|\[[^]]*)\bPATH_MAX'               \
        halt='Avoid stack allocations of size PATH_MAX'                 \
          $(_sc_search_regexp)
 
 sc_vulnerable_makefile_CVE-2009-4029:
        @prohibit='perm -777 -exec chmod a\+rwx|chmod 777 \$$\(distdir\)' \
-       in_files=$$(find $(srcdir) -name Makefile.in)                   \
+       in_files='(^|/)Makefile\.in$$'                                  \
        halt=$$(printf '%s\n'                                           \
          'the above files are vulnerable; beware of running'           \
          '  "make dist*" rules, and upgrade to fixed automake'         \
          '  see http://bugzilla.redhat.com/542609 for details')        \
          $(_sc_search_regexp)
 
+sc_vulnerable_makefile_CVE-2012-3386:
+       @prohibit='chmod a\+w \$$\(distdir\)'                           \
+       in_files='(^|/)Makefile\.in$$'                                  \
+       halt=$$(printf '%s\n'                                           \
+         'the above files are vulnerable; beware of running'           \
+         '  "make distcheck", and upgrade to fixed automake'           \
+         '  see http://bugzilla.redhat.com/CVE-2012-3386 for details') \
+         $(_sc_search_regexp)
+
 vc-diff-check:
-       (unset CDPATH; cd $(srcdir) && $(VC) diff) > vc-diffs || :
-       if test -s vc-diffs; then                               \
+       $(AM_V_GEN)(unset CDPATH; cd $(srcdir) && $(VC) diff) > vc-diffs || :
+       $(AM_V_at)if test -s vc-diffs; then                     \
          cat vc-diffs;                                         \
          echo "Some files are locally modified:" 1>&2;         \
          exit 1;                                               \
@@ -1198,46 +1283,62 @@ vc-diff-check:
 rel-files = $(DIST_ARCHIVES)
 
 gnulib_dir ?= $(srcdir)/gnulib
-gnulib-version = $$(cd $(gnulib_dir) && git describe)
+gnulib-version = $$(cd $(gnulib_dir)                           \
+                    && { git describe || git rev-parse --short=10 HEAD; } )
 bootstrap-tools ?= autoconf,automake,gnulib
 
+gpgv = $$(gpgv2 --version >/dev/null && echo gpgv2 || echo gpgv)
 # If it's not already specified, derive the GPG key ID from
 # the signed tag we've just applied to mark this release.
-gpg_key_ID ?= \
-  $$(git cat-file tag v$(VERSION) \
-     | gpgv --status-fd 1 --keyring /dev/null - - 2>/dev/null \
-     | sed -n '/^\[GNUPG:\] ERRSIG /{s///;s/ .*//p;q}')
+gpg_key_ID ?=                                                          \
+  $$(cd $(srcdir)                                                      \
+     && git cat-file tag v$(VERSION)                                   \
+        | $(gpgv) --status-fd 1 --keyring /dev/null - - 2>/dev/null    \
+        | awk '/^\[GNUPG:\] ERRSIG / {print $$3; exit}')
 
 translation_project_ ?= coordinator@translationproject.org
 
 # Make info-gnu the default only for a stable release.
-ifeq ($(RELEASE_TYPE),stable)
-  announcement_Cc_ ?= $(translation_project_), $(PACKAGE_BUGREPORT)
-  announcement_mail_headers_ ?=                                                \
-    To: info-gnu@gnu.org                                               \
-    Cc: $(announcement_Cc_)                                            \
-    Mail-Followup-To: $(PACKAGE_BUGREPORT)
-else
-  announcement_Cc_ ?= $(translation_project_)
-  announcement_mail_headers_ ?=                                                \
-    To: $(PACKAGE_BUGREPORT)                                           \
-    Cc: $(announcement_Cc_)
-endif
-
+announcement_Cc_stable = $(translation_project_), $(PACKAGE_BUGREPORT)
+announcement_mail_headers_stable =             \
+  To: info-gnu@gnu.org                         \
+  Cc: $(announcement_Cc_)                      \
+  Mail-Followup-To: $(PACKAGE_BUGREPORT)
+
+announcement_Cc_alpha = $(translation_project_)
+announcement_mail_headers_alpha =              \
+  To: $(PACKAGE_BUGREPORT)                     \
+  Cc: $(announcement_Cc_)
+
+announcement_mail_Cc_beta = $(announcement_mail_Cc_alpha)
+announcement_mail_headers_beta = $(announcement_mail_headers_alpha)
+
+announcement_mail_Cc_ ?= $(announcement_mail_Cc_$(release-type))
+announcement_mail_headers_ ?= $(announcement_mail_headers_$(release-type))
 announcement: NEWS ChangeLog $(rel-files)
-       @$(srcdir)/$(_build-aux)/announce-gen                           \
+# Not $(AM_V_GEN) since the output of this command serves as
+# announcement message: it would start with " GEN announcement".
+       $(AM_V_at)$(srcdir)/$(_build-aux)/announce-gen                  \
            --mail-headers='$(announcement_mail_headers_)'              \
-           --release-type=$(RELEASE_TYPE)                              \
+           --release-type=$(release-type)                              \
            --package=$(PACKAGE)                                        \
            --prev=$(PREV_VERSION)                                      \
            --curr=$(VERSION)                                           \
            --gpg-key-id=$(gpg_key_ID)                                  \
+           --srcdir=$(srcdir)                                          \
            --news=$(srcdir)/NEWS                                       \
            --bootstrap-tools=$(bootstrap-tools)                        \
-           --gnulib-version=$(gnulib-version)                          \
+           $$(case ,$(bootstrap-tools), in (*,gnulib,*)                \
+              echo --gnulib-version=$(gnulib-version);; esac)          \
            --no-print-checksums                                        \
            $(addprefix --url-dir=, $(url_dir_list))
 
+.PHONY: release-commit
+release-commit:
+       $(AM_V_GEN)cd $(srcdir)                         \
+         && $(_build-aux)/do-release-commit-and-tag    \
+              -C $(abs_builddir) $(RELEASE)
+
 ## ---------------- ##
 ## Updating files.  ##
 ## ---------------- ##
@@ -1246,16 +1347,22 @@ ftp-gnu = ftp://ftp.gnu.org/gnu
 www-gnu = http://www.gnu.org
 
 upload_dest_dir_ ?= $(PACKAGE)
+upload_command =                                               \
+  $(srcdir)/$(_build-aux)/gnupload $(GNUPLOADFLAGS)            \
+  --to $(gnu_rel_host):$(upload_dest_dir_)                     \
+  $(rel-files)
 emit_upload_commands:
        @echo =====================================
        @echo =====================================
-       @echo "$(srcdir)/$(_build-aux)/gnupload $(GNUPLOADFLAGS) \\"
-       @echo "    --to $(gnu_rel_host):$(upload_dest_dir_) \\"
-       @echo "  $(rel-files)"
+       @echo '$(upload_command)'
        @echo '# send the ~/announce-$(my_distdir) e-mail'
        @echo =====================================
        @echo =====================================
 
+.PHONY: upload
+upload:
+       $(AM_V_GEN)$(upload_command)
+
 define emit-commit-log
   printf '%s\n' 'maint: post-release administrivia' ''                 \
     '* NEWS: Add header line for next release.'                                \
@@ -1265,7 +1372,8 @@ endef
 
 .PHONY: no-submodule-changes
 no-submodule-changes:
-       if test -d $(srcdir)/.git; then                                 \
+       $(AM_V_GEN)if test -d $(srcdir)/.git                            \
+               && git --version >/dev/null 2>&1; then                  \
          diff=$$(cd $(srcdir) && git submodule -q foreach              \
                  git diff-index --name-only HEAD)                      \
            || exit 1;                                                  \
@@ -1283,10 +1391,12 @@ submodule-checks ?= no-submodule-changes public-submodule-commit
 # cannot be built from a fresh clone.
 .PHONY: public-submodule-commit
 public-submodule-commit:
-       $(AM_V_GEN)if test -d $(srcdir)/.git; then                      \
+       $(AM_V_GEN)if test -d $(srcdir)/.git                            \
+               && git --version >/dev/null 2>&1; then                  \
          cd $(srcdir) &&                                               \
-         git submodule --quiet foreach test '$$(git rev-parse $$sha1)' \
-             = '$$(git merge-base origin $$sha1)'                      \
+         git submodule --quiet foreach                                 \
+             'test "$$(git rev-parse "$$sha1")"                        \
+                 = "$$(git merge-base origin "$$sha1")"'               \
            || { echo '$(ME): found non-public submodule commit' >&2;   \
                 exit 1; };                                             \
        else                                                            \
@@ -1301,19 +1411,23 @@ public-submodule-commit:
 gl_public_submodule_commit ?= public-submodule-commit
 check: $(gl_public_submodule_commit)
 
-.PHONY: alpha beta stable
+.PHONY: alpha beta stable release
 ALL_RECURSIVE_TARGETS += alpha beta stable
 alpha beta stable: $(local-check) writable-files $(submodule-checks)
-       test $@ = stable                                                \
+       $(AM_V_GEN)test $@ = stable                                     \
          && { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$'         \
               || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\
          || :
-       $(MAKE) vc-diff-check
-       $(MAKE) news-check
-       $(MAKE) distcheck
-       $(MAKE) dist XZ_OPT=-9ev
-       $(MAKE) $(release-prep-hook) RELEASE_TYPE=$@
-       $(MAKE) -s emit_upload_commands RELEASE_TYPE=$@
+       $(AM_V_at)$(MAKE) vc-diff-check
+       $(AM_V_at)$(MAKE) news-check
+       $(AM_V_at)$(MAKE) distcheck
+       $(AM_V_at)$(MAKE) dist
+       $(AM_V_at)$(MAKE) $(release-prep-hook) RELEASE_TYPE=$@
+       $(AM_V_at)$(MAKE) -s emit_upload_commands RELEASE_TYPE=$@
+
+release:
+       $(AM_V_GEN)$(MAKE) _version
+       $(AM_V_GEN)$(MAKE) $(release-type)
 
 # Override this in cfg.mk if you follow different procedures.
 release-prep-hook ?= release-prep
@@ -1321,19 +1435,19 @@ release-prep-hook ?= release-prep
 gl_noteworthy_news_ = * Noteworthy changes in release ?.? (????-??-??) [?]
 .PHONY: release-prep
 release-prep:
-       case $$RELEASE_TYPE in alpha|beta|stable) ;; \
-         *) echo "invalid RELEASE_TYPE: $$RELEASE_TYPE" 1>&2; exit 1;; esac
-       $(MAKE) --no-print-directory -s announcement > ~/announce-$(my_distdir)
-       if test -d $(release_archive_dir); then                 \
+       $(AM_V_GEN)$(MAKE) --no-print-directory -s announcement \
+         > ~/announce-$(my_distdir)
+       $(AM_V_at)if test -d $(release_archive_dir); then       \
          ln $(rel-files) $(release_archive_dir);               \
          chmod a-w $(rel-files);                               \
        fi
-       echo $(VERSION) > $(prev_version_file)
-       $(MAKE) update-NEWS-hash
-       perl -pi -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' NEWS
-       $(emit-commit-log) > .ci-msg
-       $(VC) commit -F .ci-msg -a
-       rm .ci-msg
+       $(AM_V_at)echo $(VERSION) > $(prev_version_file)
+       $(AM_V_at)$(MAKE) update-NEWS-hash
+       $(AM_V_at)perl -pi                                              \
+         -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"'        \
+         $(srcdir)/NEWS
+       $(AM_V_at)msg=$$($(emit-commit-log)) || exit 1;         \
+       cd $(srcdir) && $(VC) commit -m "$$msg" -a
 
 # Override this with e.g., -s $(srcdir)/some_other_name.texi
 # if the default $(PACKAGE)-derived name doesn't apply.
@@ -1341,14 +1455,20 @@ gendocs_options_ ?=
 
 .PHONY: web-manual
 web-manual:
-       @test -z "$(manual_title)" \
+       $(AM_V_GEN)test -z "$(manual_title)" \
          && { echo define manual_title in cfg.mk 1>&2; exit 1; } || :
-       @cd '$(srcdir)/doc'; \
+       $(AM_V_at)cd '$(srcdir)/doc'; \
          $(SHELL) ../$(_build-aux)/gendocs.sh $(gendocs_options_) \
             -o '$(abs_builddir)/doc/manual' \
             --email $(PACKAGE_BUGREPORT) $(PACKAGE) \
            "$(PACKAGE_NAME) - $(manual_title)"
-       @echo " *** Upload the doc/manual directory to web-cvs."
+       $(AM_V_at)echo " *** Upload the doc/manual directory to web-cvs."
+
+.PHONY: web-manual-update
+web-manual-update:
+       $(AM_V_GEN)cd $(srcdir) \
+         && $(_build-aux)/gnu-web-doc-update -C $(abs_builddir)
+
 
 # Code Coverage
 
@@ -1374,6 +1494,31 @@ gen-coverage:
 
 coverage: init-coverage build-coverage gen-coverage
 
+# Some projects carry local adjustments for gnulib modules via patches in
+# a gnulib patch directory whose default name is gl/ (defined in bootstrap
+# via local_gl_dir=gl).  Those patches become stale as the originals evolve
+# in gnulib.  Use this rule to refresh any stale patches.  It applies each
+# patch to the original in $(gnulib_dir) and uses the temporary result to
+# generate a fuzz-free .diff file.  If you customize the name of your local
+# gnulib patch directory via bootstrap.conf, this rule detects that name.
+# Run this from a non-VPATH (i.e., srcdir) build directory.
+.PHONY: refresh-gnulib-patches
+refresh-gnulib-patches:
+       gl=gl;                                                          \
+       if test -f bootstrap.conf; then                                 \
+         t=$$(perl -lne '/^\s*local_gl_dir=(\S+)/ and $$d=$$1;'        \
+              -e 'END{defined $$d and print $$d}' bootstrap.conf);     \
+         test -n "$$t" && gl=$$t;                                      \
+       fi;                                                             \
+       for diff in $$(cd $$gl; git ls-files | grep '\.diff$$'); do     \
+         b=$$(printf %s "$$diff"|$(SED) 's/\.diff$$//');               \
+         VERSION_CONTROL=none                                          \
+           patch "$(gnulib_dir)/$$b" "$$gl/$$diff" || exit 1;          \
+         ( cd $(gnulib_dir) || exit 1;                                 \
+           git diff "$$b" > "../$$gl/$$diff";                          \
+           git checkout $$b ) || exit 1;                               \
+       done
+
 # Update gettext files.
 PACKAGE ?= $(shell basename $(PWD))
 PO_DOMAIN ?= $(PACKAGE)
@@ -1385,7 +1530,8 @@ refresh-po:
        wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \
        echo 'en@boldquot' > $(PODIR)/LINGUAS && \
        echo 'en@quot' >> $(PODIR)/LINGUAS && \
-       ls $(PODIR)/*.po | sed 's/\.po//' | sed 's,$(PODIR)/,,' | sort >> $(PODIR)/LINGUAS
+       ls $(PODIR)/*.po | $(SED) 's/\.po//;s,$(PODIR)/,,' | \
+         sort >> $(PODIR)/LINGUAS
 
  # Running indent once is not idempotent, but running it twice is.
 INDENT_SOURCES ?= $(C_SOURCES)
@@ -1407,7 +1553,7 @@ update-copyright-env ?=
 # in the file .x-update-copyright.
 .PHONY: update-copyright
 update-copyright:
-       grep -l -w Copyright                                             \
+       $(AM_V_GEN)grep -l -w Copyright                                  \
          $$(export VC_LIST_EXCEPT_DEFAULT=COPYING && $(VC_LIST_EXCEPT)) \
          | $(update-copyright-env) xargs $(srcdir)/$(_build-aux)/$@
 
@@ -1480,6 +1626,7 @@ _gl_TS_obj_files ?= *.$(OBJEXT)
 # Files in which to search for the one-line style extern declarations.
 # $(_gl_TS_dir)-relative.
 _gl_TS_headers ?= $(noinst_HEADERS)
+_gl_TS_other_headers ?= *.h
 
 .PHONY: _gl_tight_scope
 _gl_tight_scope: $(bin_PROGRAMS)
@@ -1494,17 +1641,18 @@ _gl_tight_scope: $(bin_PROGRAMS)
               test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`;   \
        ( printf '^%s$$\n' '__.*' $(_gl_TS_unmarked_extern_functions);  \
          grep -h -A1 '^extern .*[^;]$$' $$src                          \
-           | grep -vE '^(extern |--)' | sed 's/ .*//';                 \
+           | grep -vE '^(extern |--)' | $(SED) 's/ .*//';              \
          perl -lne                                                     \
             '$(_gl_TS_function_match) and print "^$$1\$$"' $$hdr;      \
        ) | sort -u > $$t;                                              \
-       nm -e $(_gl_TS_obj_files) | sed -n 's/.* T //p'|grep -Ev -f $$t \
+       nm -e $(_gl_TS_obj_files)|$(SED) -n 's/.* T //p'|grep -Ev -f $$t \
          && { echo the above functions should have static scope >&2;   \
               exit 1; } || : ;                                         \
        ( printf '^%s$$\n' '__.*' $(_gl_TS_unmarked_extern_vars);       \
-         perl -lne '$(_gl_TS_var_match) and print "^$$1\$$"' $$hdr *.h \
+         perl -lne '$(_gl_TS_var_match) and print "^$$1\$$"'           \
+               $$hdr $(_gl_TS_other_headers)                           \
        ) | sort -u > $$t;                                              \
-       nm -e $(_gl_TS_obj_files) | sed -n 's/.* [BCDGRS] //p'          \
+       nm -e $(_gl_TS_obj_files) | $(SED) -n 's/.* [BCDGRS] //p'       \
             | sort -u | grep -Ev -f $$t                                        \
          && { echo the above variables should have static scope >&2;   \
               exit 1; } || :
index 73ec4b5f1c811b49929e16a567e6c8bb5a6e4ae4..2eaafe32f4af3948403b1ab4c73a0db6b4e3ff29 100644 (file)
@@ -12,7 +12,7 @@
 
 Summary:   The GNU disk partition manipulation program
 Name:      parted
-Version:   3.0.97-9f5a7
+Version:   3.2
 Release:   1
 Source:    ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
index 0b23693089bc5a782e13f415bd6494953a5540e8..e7bba2e8cd8db2a5b280f14d61e2ae04146adf28 100644 (file)
@@ -48,6 +48,6 @@ parted_LDFLAGS = $(PARTEDLDFLAGS)
 # Tell the linker to omit references to unused shared libraries.
 parted_LDFLAGS += $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
 
-INCLUDES       = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
 
 MAINTAINERCLEANFILES += Makefile.in
index 4aa29eb03c5659fd071627fd4def396905323b9a..183db2635c186dc0c74b95c574585e509a1d5a7d 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -53,13 +80,13 @@ build_triplet = @build@
 host_triplet = @host@
 sbin_PROGRAMS = parted$(EXEEXT)
 subdir = parted
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/build-aux/depcomp
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -67,16 +94,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -86,35 +114,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -141,9 +170,7 @@ LIBRARIES = $(noinst_LIBRARIES)
 AM_V_AR = $(am__v_AR_@AM_V@)
 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
 am__v_AR_0 = @echo "  AR      " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_AR_1 = 
 libver_a_AR = $(AR) $(ARFLAGS)
 libver_a_LIBADD =
 nodist_libver_a_OBJECTS = version.$(OBJEXT)
@@ -160,9 +187,22 @@ parted_DEPENDENCIES = libver.a $(top_builddir)/libparted/libparted.la \
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
+am__v_lt_1 = 
 parted_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(parted_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -176,6 +216,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CC = $(am__v_CC_@AM_V@)
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC      " $@;
+am__v_CC_1 = 
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -183,11 +224,31 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD    " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_CCLD_1 = 
 SOURCES = $(nodist_libver_a_SOURCES) $(parted_SOURCES)
 DIST_SOURCES = $(parted_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -269,7 +330,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -306,7 +366,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -322,6 +381,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -397,6 +457,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -521,7 +582,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -545,7 +605,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -619,6 +678,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -628,10 +688,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -761,7 +819,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -781,7 +838,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -845,21 +901,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -888,6 +949,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -922,6 +984,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -971,6 +1035,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1027,6 +1093,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1063,7 +1130,7 @@ parted_LDADD = \
 
 # Tell the linker to omit references to unused shared libraries.
 parted_LDFLAGS = $(PARTEDLDFLAGS) $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
-INCLUDES = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
 all: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) all-am
 
@@ -1102,20 +1169,26 @@ $(am__aclocal_m4_deps):
 
 clean-noinstLIBRARIES:
        -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+
 libver.a: $(libver_a_OBJECTS) $(libver_a_DEPENDENCIES) $(EXTRA_libver_a_DEPENDENCIES) 
        $(AM_V_at)-rm -f libver.a
        $(AM_V_AR)$(libver_a_AR) libver.a $(libver_a_OBJECTS) $(libver_a_LIBADD)
        $(AM_V_at)$(RANLIB) libver.a
 install-sbinPROGRAMS: $(sbin_PROGRAMS)
        @$(NORMAL_INSTALL)
-       test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
        @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
+       fi; \
        for p in $$list; do echo "$$p $$p"; done | \
        sed 's/$(EXEEXT)$$//' | \
-       while read p p1; do if test -f $$p || test -f $$p1; \
-         then echo "$$p"; echo "$$p"; else :; fi; \
+       while read p p1; do if test -f $$p \
+        || test -f $$p1 \
+         ; then echo "$$p"; echo "$$p"; else :; fi; \
        done | \
-       sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+       sed -e 'p;s,.*/,,;n;h' \
+           -e 's|.*|.|' \
            -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
        sed 'N;N;N;s,\n, ,g' | \
        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
@@ -1136,7 +1209,8 @@ uninstall-sbinPROGRAMS:
        @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
        files=`for p in $$list; do echo "$$p"; done | \
          sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-             -e 's/$$/$(EXEEXT)/' `; \
+             -e 's/$$/$(EXEEXT)/' \
+       `; \
        test -n "$$list" || exit 0; \
        echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
        cd "$(DESTDIR)$(sbindir)" && rm -f $$files
@@ -1149,6 +1223,7 @@ clean-sbinPROGRAMS:
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
        echo " rm -f" $$list; \
        rm -f $$list
+
 parted$(EXEEXT): $(parted_OBJECTS) $(parted_DEPENDENCIES) $(EXTRA_parted_DEPENDENCIES) 
        @rm -f parted$(EXEEXT)
        $(AM_V_CCLD)$(parted_LINK) $(parted_OBJECTS) $(parted_LDADD) $(LIBS)
@@ -1167,22 +1242,25 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
 
 .c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
@@ -1193,26 +1271,15 @@ mostlyclean-libtool:
 clean-libtool:
        -rm -rf .libs _libs
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1224,15 +1291,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1241,9 +1304,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
 
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1404,19 +1468,20 @@ uninstall-am: uninstall-sbinPROGRAMS
 
 .MAKE: all check install install-am install-strip
 
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
        clean-libtool clean-noinstLIBRARIES clean-sbinPROGRAMS \
-       cscopelist ctags distclean distclean-compile distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-sbinPROGRAMS install-strip \
-       installcheck installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-compile \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags uninstall uninstall-am uninstall-sbinPROGRAMS
+       cscopelist-am ctags ctags-am distclean distclean-compile \
+       distclean-generic distclean-libtool distclean-tags distdir dvi \
+       dvi-am html html-am info info-am install install-am \
+       install-data install-data-am install-dvi install-dvi-am \
+       install-exec install-exec-am install-html install-html-am \
+       install-info install-info-am install-man install-pdf \
+       install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \
+       install-strip installcheck installcheck-am installdirs \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+       pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
+       uninstall-sbinPROGRAMS
 
 version.c: Makefile
        $(AM_V_GEN)rm -f $@
index 63af343226f3b9e2e5bdeb4d307ee94595e19d38..bc70e8ac7f42703f72caf689429afc0d0cc93646 100644 (file)
@@ -1,6 +1,6 @@
 /*
     parted - a frontend to libparted
-    Copyright (C) 1999-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@
 
 Command*
 command_create (const StrList* names,
-               int (*method) (PedDevice** dev),
+               int (*method) (PedDevice** dev, PedDisk** diskp),
                const StrList* summary,
                const StrList* help,
                 const int non_interactive)
@@ -118,6 +118,8 @@ command_get_names (Command** list)
 void
 command_print_summary (Command* cmd)
 {
+        if (cmd->summary == NULL)
+                return;
         fputs ("  ", stdout);
        str_list_print_wrap (cmd->summary, screen_width(), 2, 8, stdout);
        putchar ('\n');
@@ -134,7 +136,7 @@ command_print_help (Command* cmd)
 }
 
 int
-command_run (Command* cmd, PedDevice** dev)
+command_run (Command* cmd, PedDevice** dev, PedDisk** diskp)
 {
-       return cmd->method (dev);
+       return cmd->method (dev, diskp);
 }
index b602c2498b764a93e6cdb0d8a434ed07384a7b16..28c3f8ef0a966fe6b353eb981d6ed1eee0990cbd 100644 (file)
@@ -1,6 +1,6 @@
 /*
     parted - a frontend to libparted
-    Copyright (C) 1999-2000, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2000, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 typedef struct {
        StrList*        names;
-       int             (*method) (PedDevice** dev);
+       int             (*method) (PedDevice** dev, PedDisk** diskp);
        StrList*        summary;
        StrList*        help;
         int             non_interactive:1;
 } Command;
 
 extern Command* command_create (const StrList* names,
-                               int (*method) (PedDevice** dev),
+                               int (*method) (PedDevice** dev, PedDisk** diskp),
                                const StrList* summary,
                                const StrList* help,
                                 int non_interactive);
@@ -42,6 +42,6 @@ extern Command* command_get (Command** list, char* name);
 extern StrList* command_get_names (Command** list);
 extern void command_print_summary (Command* cmd);
 extern void command_print_help (Command* cmd);
-extern int command_run (Command* cmd, PedDevice** dev);
+extern int command_run (Command* cmd, PedDevice** dev, PedDisk** diskp);
 
 #endif /* COMMAND_H_INCLUDED */
index 789030a399456f0c81193bcda602125105547a68..f27a035806bc8aefa3b739852a936f014407fa2e 100644 (file)
@@ -1,6 +1,6 @@
 /*
     parted - a frontend to libparted
-    Copyright (C) 1999-2003, 2005-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2003, 2005-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -144,6 +144,7 @@ static const char* number_msg = N_(
 
 static const char* label_type_msg_start = N_("LABEL-TYPE is one of: ");
 static const char* flag_msg_start =   N_("FLAG is one of: ");
+static const char* disk_flag_msg_start =   N_("FLAG is one of: ");
 static const char* unit_msg_start =   N_("UNIT is one of: ");
 static const char* min_or_opt_msg = N_("desired alignment: minimum or optimal");
 static const char* part_type_msg =    N_("PART-TYPE is one of: primary, logical, "
@@ -152,6 +153,9 @@ static const char* fs_type_msg_start = N_("FS-TYPE is one of: ");
 static const char* start_end_msg =    N_("START and END are disk locations, such as "
                 "4GB or 10%.  Negative values count from the end of the disk.  "
                 "For example, -1s specifies exactly the last sector.\n");
+static const char* end_msg =          N_("END is disk location, such as "
+                "4GB or 10%.  Negative value counts from the end of the disk.  "
+                "For example, -1s specifies exactly the last sector.\n");
 static const char* state_msg =        N_("STATE is one of: on, off\n");
 static const char* device_msg =       N_("DEVICE is usually /dev/hda or /dev/sda\n");
 static const char* name_msg =         N_("NAME is any word you want\n");
@@ -167,6 +171,7 @@ static const char* copyright_msg = N_(
 
 static char* label_type_msg;
 static char* flag_msg;
+static char* disk_flag_msg;
 static char* unit_msg;
 
 static char* mkpart_fs_type_msg;
@@ -176,7 +181,7 @@ static PedTimer* g_timer;
 static TimerContext timer_context;
 
 static int _print_list ();
-static void _done (PedDevice* dev);
+static void _done (PedDevice* dev, PedDisk *diskp);
 static bool partition_align_check (PedDisk const *disk,
                         PedPartition const *part, enum AlignmentType a_type);
 
@@ -219,14 +224,17 @@ _partition_warn_busy (PedPartition* part)
 
         if (ped_partition_is_busy (part)) {
                 path = ped_partition_get_path (part);
-                ped_exception_throw (
-                        PED_EXCEPTION_ERROR,
-                        PED_EXCEPTION_CANCEL,
-                        _("Partition %s is being used. You must unmount it "
-                          "before you modify it with Parted."),
-                        path);
+                if (ped_exception_throw (
+                            PED_EXCEPTION_WARNING,
+                            PED_EXCEPTION_YES_NO,
+                            _("Partition %s is being used. Are you sure you " \
+                              "want to continue?"),
+                            path) != PED_EXCEPTION_YES)
+                {
+                        free (path);
+                        return 0;
+                }
                 free (path);
-                return 0;
         }
         return 1;
 }
@@ -435,6 +443,21 @@ constraint_from_start_end (PedDevice* dev, PedGeometry* range_start,
                 range_start, range_end, 1, dev->length);
 }
 
+
+static PedConstraint*
+constraint_from_start_end_fixed_start (PedDevice* dev, PedSector start_sector,
+                           PedGeometry* range_end)
+{
+        PedGeometry range_start;
+        range_start.dev = dev;
+        range_start.start = start_sector;
+        range_start.end = start_sector;
+        range_start.length = 1;
+
+        return ped_constraint_new (ped_alignment_any, ped_alignment_any,
+                &range_start, range_end, 1, dev->length);
+}
+
 void
 help_on (char* topic)
 {
@@ -469,7 +492,7 @@ print_options_help ()
 }
 
 int
-do_help (PedDevice** dev)
+do_help (PedDevice** dev, PedDisk** diskp)
 {
         if (command_line_get_word_count ()) {
                 char*   word = command_line_pop_word ();
@@ -484,26 +507,28 @@ do_help (PedDevice** dev)
 }
 
 static int
-do_mklabel (PedDevice** dev)
+do_mklabel (PedDevice** dev, PedDisk** diskp)
 {
         PedDisk*                disk;
         const PedDiskType*      type = NULL;
 
-        ped_exception_fetch_all ();
-        disk = ped_disk_new (*dev);
-        if (!disk) ped_exception_catch ();
-        ped_exception_leave_all ();
+        if (*diskp)
+                disk = *diskp;
+        else {
+                ped_exception_fetch_all ();
+                disk = ped_disk_new (*dev);
+                if (!disk) ped_exception_catch ();
+                ped_exception_leave_all ();
+        }
 
         if (!command_line_get_disk_type (_("New disk label type?"), &type))
                 goto error;
 
         if (disk) {
                 if (!_disk_warn_busy (disk))
-                        goto error_destroy_disk;
+                        goto error;
                 if (!opt_script_mode && !_disk_warn_loss (disk))
-                        goto error_destroy_disk;
-
-                ped_disk_destroy (disk);
+                        goto error;
         }
 
         disk = ped_disk_new_fresh (*dev, type);
@@ -512,15 +537,17 @@ do_mklabel (PedDevice** dev)
 
         if (!ped_disk_commit (disk))
                 goto error_destroy_disk;
-        ped_disk_destroy (disk);
 
         if ((*dev)->type != PED_DEVICE_FILE)
                 disk_is_modified = 1;
-
+        if (*diskp)
+                ped_disk_destroy (*diskp);
+        *diskp = disk;
         return 1;
 
 error_destroy_disk:
         ped_disk_destroy (disk);
+        *diskp = 0;
 error:
         return 0;
 }
@@ -598,7 +625,7 @@ _adjust_end_if_iec (PedSector* start, PedSector* end,
 }
 
 static int
-do_mkpart (PedDevice** dev)
+do_mkpart (PedDevice** dev, PedDisk** diskp)
 {
         PedDisk*                 disk;
         PedPartition*            part;
@@ -614,21 +641,26 @@ do_mkpart (PedDevice** dev)
         char                     *start_usr = NULL, *end_usr = NULL;
         char                     *start_sol = NULL, *end_sol = NULL;
 
-        disk = ped_disk_new (*dev);
+        if (*diskp)
+                disk = *diskp;
+        else {
+                disk = ped_disk_new (*dev);
+                *diskp = disk;
+        }
         if (!disk)
                 goto error;
 
         if (ped_disk_is_flag_available(disk, PED_DISK_CYLINDER_ALIGNMENT))
                 if (!ped_disk_set_flag(disk, PED_DISK_CYLINDER_ALIGNMENT,
                                        alignment == ALIGNMENT_CYLINDER))
-                        goto error_destroy_disk;
+                        goto error;
 
         if (!ped_disk_type_check_feature (disk->type, PED_DISK_TYPE_EXTENDED)) {
                 part_type = PED_PARTITION_NORMAL;
         } else {
                 if (!command_line_get_part_type (_("Partition type?"),
                                                 disk, &part_type))
-                        goto error_destroy_disk;
+                        goto error;
         }
 
         /* The undocumented feature that mkpart sometimes takes a
@@ -654,15 +686,15 @@ do_mkpart (PedDevice** dev)
         } else {
                 if (!command_line_get_fs_type (_("File system type?"),
                                                &fs_type))
-                        goto error_destroy_disk;
+                        goto error;
         }
         free (peek_word);
 
         if (!command_line_get_sector (_("Start?"), *dev, &start, &range_start, NULL))
-                goto error_destroy_disk;
+                goto error;
         char *end_input;
         if (!command_line_get_sector (_("End?"), *dev, &end, &range_end, &end_input))
-                goto error_destroy_disk;
+                goto error;
 
         _adjust_end_if_iec(&start, &end, range_end, end_input);
         free(end_input);
@@ -670,7 +702,7 @@ do_mkpart (PedDevice** dev)
         /* processing starts here */
         part = ped_partition_new (disk, part_type, fs_type, start, end);
         if (!part)
-                goto error_destroy_disk;
+                goto error;
 
         snap_to_boundaries (&part->geom, NULL, disk, range_start, range_end);
 
@@ -778,16 +810,14 @@ do_mkpart (PedDevice** dev)
         free (part_name);  /* avoid double-free upon failure */
         part_name = NULL;
         if (!ped_partition_set_system (part, fs_type))
-                goto error_destroy_disk;
+                goto error;
         if (ped_partition_is_flag_available (part, PED_PARTITION_LBA))
                 ped_partition_set_flag (part, PED_PARTITION_LBA, 1);
 
         if (!ped_disk_commit (disk))
-                goto error_destroy_disk;
+                goto error;
 
         /* clean up */
-        ped_disk_destroy (disk);
-
         if (range_start != NULL)
                 ped_geometry_destroy (range_start);
         if (range_end != NULL)
@@ -807,10 +837,8 @@ error_remove_part:
         ped_disk_remove_partition (disk, part);
 error_destroy_simple_constraints:
         ped_partition_destroy (part);
-error_destroy_disk:
-        free (part_name);
-        ped_disk_destroy (disk);
 error:
+        free (part_name);
         if (range_start != NULL)
                 ped_geometry_destroy (range_start);
         if (range_end != NULL)
@@ -825,36 +853,33 @@ error:
 }
 
 static int
-do_name (PedDevice** dev)
+do_name (PedDevice** dev, PedDisk** diskp)
 {
-        PedDisk*        disk;
         PedPartition*   part = NULL;
         char*           name;
 
-        disk = ped_disk_new (*dev);
-        if (!disk)
+        if (!*diskp)
+                *diskp = ped_disk_new (*dev);
+        if (!diskp)
                 goto error;
 
-        if (!command_line_get_partition (_("Partition number?"), disk, &part))
-                goto error_destroy_disk;
+        if (!command_line_get_partition (_("Partition number?"), *diskp, &part))
+                goto error;
 
         name = command_line_get_word (_("Partition name?"),
                         ped_partition_get_name (part), NULL, 0);
         if (!name)
-                goto error_destroy_disk;
+                goto error;
         if (!ped_partition_set_name (part, name))
                 goto error_free_name;
         free (name);
 
-        if (!ped_disk_commit (disk))
-                goto error_destroy_disk;
-        ped_disk_destroy (disk);
+        if (!ped_disk_commit (*diskp))
+                goto error;
         return 1;
 
 error_free_name:
         free (name);
-error_destroy_disk:
-        ped_disk_destroy (disk);
 error:
         return 0;
 }
@@ -941,7 +966,7 @@ _print_disk_geometry (const PedDevice *dev)
 }
 
 static void
-_print_disk_info (const PedDevice *dev, const PedDisk *disk)
+_print_disk_info (const PedDevice *dev, const PedDisk *diskp)
 {
         char const *const transport[] = {"unknown", "scsi", "ide", "dac960",
                                          "cpqarray", "file", "ataraid", "i2o",
@@ -955,8 +980,8 @@ _print_disk_info (const PedDevice *dev, const PedDisk *disk)
                                     - (default_unit == PED_UNIT_CHS ||
                                        default_unit == PED_UNIT_CYLINDER));
 
-        const char* pt_name = disk ? disk->type->name : "unknown";
-        char *disk_flags = disk_print_flags (disk);
+        const char* pt_name = diskp ? diskp->type->name : "unknown";
+        char *disk_flags = disk_print_flags (diskp);
 
         if (opt_machine_mode) {
             switch (default_unit) {
@@ -995,9 +1020,8 @@ _print_disk_info (const PedDevice *dev, const PedDisk *disk)
 }
 
 static int
-do_print (PedDevice** dev)
+do_print (PedDevice** dev, PedDisk** diskp)
 {
-        PedDisk*        disk = NULL;
         Table*          table;
         int             has_extended;
         int             has_name;
@@ -1039,22 +1063,23 @@ do_print (PedDevice** dev)
         }
 
         if (!has_devices_arg && !has_list_arg) {
-                disk = ped_disk_new (*dev);
+                if (!*diskp)
+                        *diskp = ped_disk_new (*dev);
                 /* Returning NULL here is an indication of failure, when in
                    script mode.  Otherwise (interactive mode) it may indicate
                    a real error, but it may also indicate that the user
                    declined when asked to perform some operation.  FIXME:
                    what this really needs is an API change, but a reliable
                    exit code is less important in interactive mode.  */
-                if (disk == NULL && opt_script_mode)
+                if (*diskp == NULL && opt_script_mode)
                         ok = 0;
         }
 
-        if (disk &&
-            ped_disk_is_flag_available(disk, PED_DISK_CYLINDER_ALIGNMENT))
-                if (!ped_disk_set_flag(disk, PED_DISK_CYLINDER_ALIGNMENT,
+        if (*diskp &&
+            ped_disk_is_flag_available(*diskp, PED_DISK_CYLINDER_ALIGNMENT))
+                if (!ped_disk_set_flag(*diskp, PED_DISK_CYLINDER_ALIGNMENT,
                                        alignment == ALIGNMENT_CYLINDER))
-                        goto error_destroy_disk;
+                        return 0;
 
         if (has_devices_arg) {
                 char*           dev_name;
@@ -1087,24 +1112,23 @@ do_print (PedDevice** dev)
         else if (has_list_arg)
                 return _print_list ();
 
-        else if (disk && has_num_arg) {
+        else if (*diskp && has_num_arg) {
                 PedPartition*   part = NULL;
                 int             status = 0;
-                if (command_line_get_partition ("", disk, &part))
+                if (command_line_get_partition ("", *diskp, &part))
                         status = partition_print (part);
-                ped_disk_destroy (disk);
                 return status;
         }
 
-        _print_disk_info (*dev, disk);
-        if (!disk)
+        _print_disk_info (*dev, *diskp);
+        if (!*diskp)
                 goto nopt;
         if (!opt_machine_mode)
                 putchar ('\n');
 
-        has_extended = ped_disk_type_check_feature (disk->type,
+        has_extended = ped_disk_type_check_feature ((*diskp)->type,
                                          PED_DISK_TYPE_EXTENDED);
-        has_name = ped_disk_type_check_feature (disk->type,
+        has_name = ped_disk_type_check_feature ((*diskp)->type,
                                          PED_DISK_TYPE_PARTITION_NAME);
 
         PedPartition* part;
@@ -1134,8 +1158,8 @@ do_print (PedDevice** dev)
 
             table_add_row_from_strlist (table, row1);
 
-            for (part = ped_disk_next_partition (disk, NULL); part;
-                 part = ped_disk_next_partition (disk, part)) {
+            for (part = ped_disk_next_partition (*diskp, NULL); part;
+                 part = ped_disk_next_partition (*diskp, part)) {
 
                     if ((!has_free_arg && !ped_partition_is_active(part)) ||
                         part->type & PED_PARTITION_METADATA)
@@ -1210,8 +1234,8 @@ do_print (PedDevice** dev)
 
         } else {
 
-            for (part = ped_disk_next_partition (disk, NULL); part;
-                 part = ped_disk_next_partition (disk, part)) {
+            for (part = ped_disk_next_partition (*diskp, NULL); part;
+                 part = ped_disk_next_partition (*diskp, part)) {
 
                 if ((!has_free_arg && !ped_partition_is_active(part)) ||
                         part->type & PED_PARTITION_METADATA)
@@ -1259,13 +1283,8 @@ do_print (PedDevice** dev)
             }
         }
 
-        ped_disk_destroy (disk);
-
         return ok;
 
-error_destroy_disk:
-        ped_disk_destroy (disk);
-        return 0;
 nopt:
         return ok;
 }
@@ -1274,11 +1293,15 @@ static int
 _print_list ()
 {
         PedDevice *current_dev = NULL;
+        PedDisk *diskp = NULL;
 
         ped_device_probe_all();
 
         while ((current_dev = ped_device_get_next(current_dev))) {
-                do_print (&current_dev);
+                do_print (&current_dev, &diskp);
+                if (diskp)
+                        ped_disk_destroy (diskp);
+                diskp = 0;
                 putchar ('\n');
         }
 
@@ -1286,9 +1309,9 @@ _print_list ()
 }
 
 static int
-do_quit (PedDevice** dev)
+do_quit (PedDevice** dev, PedDisk **diskp)
 {
-        _done (*dev);
+        _done (*dev, *diskp);
         exit (EXIT_SUCCESS);
 }
 
@@ -1434,7 +1457,7 @@ error_remove_partition:
 }
 
 static int
-do_rescue (PedDevice** dev)
+do_rescue (PedDevice** dev, PedDisk** diskp)
 {
         PedDisk*                disk;
         PedSector               start = 0, end = 0;
@@ -1442,6 +1465,10 @@ do_rescue (PedDevice** dev)
         PedGeometry             probe_start_region;
         PedGeometry             probe_end_region;
 
+        if (*diskp) {
+                ped_disk_destroy (*diskp);
+                *diskp = 0;
+        }
         disk = ped_disk_new (*dev);
         if (!disk)
                 goto error;
@@ -1478,37 +1505,104 @@ error:
 }
 
 static int
-do_rm (PedDevice** dev)
+do_resize (PedDevice **dev, PedDisk** diskp)
 {
-        PedDisk*                disk;
-        PedPartition*           part = NULL;
+        ped_exception_throw (
+                PED_EXCEPTION_ERROR,
+                PED_EXCEPTION_CANCEL,
+                _("The resize command has been removed in parted 3.0"));
+        return 0;
+}
 
-        disk = ped_disk_new (*dev);
+static int
+do_resizepart (PedDevice** dev, PedDisk** diskp)
+{
+        PedDisk                 *disk = *diskp;
+        PedPartition            *part = NULL;
+        PedSector               start, end, oldend;
+        PedGeometry             *range_end = NULL;
+        PedConstraint*          constraint;
+        int rc = 0;
+
+        if (!disk) {
+                disk = ped_disk_new (*dev);
+                *diskp = disk;
+        }
         if (!disk)
                 goto error;
 
+        if (ped_disk_is_flag_available(disk, PED_DISK_CYLINDER_ALIGNMENT))
+                if (!ped_disk_set_flag(disk, PED_DISK_CYLINDER_ALIGNMENT,
+                                       alignment == ALIGNMENT_CYLINDER))
+                        goto error;
+
         if (!command_line_get_partition (_("Partition number?"), disk, &part))
-                goto error_destroy_disk;
+                goto error;
         if (!_partition_warn_busy (part))
-                goto error_destroy_disk;
+                goto error;
 
-        ped_disk_delete_partition (disk, part);
+        start = part->geom.start;
+        end = oldend = part->geom.end;
+        if (!command_line_get_sector (_("End?"), *dev, &end, &range_end, NULL))
+                goto error;
+        /* Do not move start of the partition */
+        constraint = constraint_from_start_end_fixed_start (*dev, start, range_end);
+        if (!ped_disk_set_partition_geom (disk, part, constraint,
+                                          start, end))
+                goto error_destroy_constraint;
+        /* warn when shrinking partition - might lose data */
+        if (part->geom.end < oldend)
+                if (ped_exception_throw (
+                            PED_EXCEPTION_WARNING,
+                            PED_EXCEPTION_YES_NO,
+                            _("Shrinking a partition can cause data loss, " \
+                              "are you sure you want to continue?")) != PED_EXCEPTION_YES)
+                        goto error_destroy_constraint;
         ped_disk_commit (disk);
-        ped_disk_destroy (disk);
+
+        if ((*dev)->type != PED_DEVICE_FILE)
+                disk_is_modified = 1;
+
+        rc = 1;
+
+error_destroy_constraint:
+        ped_constraint_destroy (constraint);
+error:
+        if (range_end != NULL)
+                ped_geometry_destroy (range_end);
+        return rc;
+}
+
+
+static int
+do_rm (PedDevice** dev, PedDisk** diskp)
+{
+        PedPartition*           part = NULL;
+
+        if (!*diskp)
+                *diskp = ped_disk_new (*dev);
+        if (!*diskp)
+                goto error;
+
+        if (!command_line_get_partition (_("Partition number?"), *diskp, &part))
+                goto error;
+        if (!_partition_warn_busy (part))
+                goto error;
+
+        ped_disk_delete_partition (*diskp, part);
+        ped_disk_commit (*diskp);
 
         if ((*dev)->type != PED_DEVICE_FILE)
                 disk_is_modified = 1;
 
         return 1;
 
-error_destroy_disk:
-        ped_disk_destroy (disk);
 error:
         return 0;
 }
 
 static int
-do_select (PedDevice** dev)
+do_select (PedDevice** dev, PedDisk** diskp)
 {
         PedDevice*      new_dev = *dev;
 
@@ -1518,6 +1612,10 @@ do_select (PedDevice** dev)
                 return 0;
 
         ped_device_close (*dev);
+        if (*diskp) {
+                ped_disk_destroy (*diskp);
+                *diskp = 0;
+        }
         *dev = new_dev;
         print_using_dev (*dev);
         return 1;
@@ -1548,26 +1646,25 @@ partition_align_check (PedDisk const *disk, PedPartition const *part,
 }
 
 static int
-do_align_check (PedDevice **dev)
+do_align_check (PedDevice **dev, PedDisk** diskp)
 {
-  PedDisk *disk = ped_disk_new (*dev);
-  if (!disk)
+  if (!*diskp)
+    *diskp = ped_disk_new (*dev);
+  if (!*diskp)
     goto error;
 
   enum AlignmentType align_type = PA_OPTIMUM;
   PedPartition *part = NULL;
 
   if (!command_line_get_align_type (_("alignment type(min/opt)"), &align_type))
-    goto error_destroy_disk;
-  if (!command_line_get_partition (_("Partition number?"), disk, &part))
-    goto error_destroy_disk;
+    goto error;
+  if (!command_line_get_partition (_("Partition number?"), *diskp, &part))
+    goto error;
 
-  bool aligned = partition_align_check (disk, part, align_type);
+  bool aligned = partition_align_check (*diskp, part, align_type);
   if (!opt_script_mode)
     printf(aligned ? _("%d aligned\n") : _("%d not aligned\n"), part->num);
 
-  ped_disk_destroy (disk);
-
   if (opt_script_mode)
     return aligned ? 1 : 0;
 
@@ -1575,115 +1672,107 @@ do_align_check (PedDevice **dev)
      with the other modes.  */
   return 1;
 
-error_destroy_disk:
-  ped_disk_destroy (disk);
 error:
   return 0;
 }
 
 static int
-do_disk_set (PedDevice** dev)
+do_disk_set (PedDevice** dev, PedDisk** diskp)
 {
-    PedDisk*    disk;
     PedDiskFlag flag;
     int         state;
 
-    disk = ped_disk_new (*dev);
-    if (!disk)
+    if (!*diskp)
+            *diskp = ped_disk_new (*dev);
+    if (!diskp)
         goto error;
 
-    if (!command_line_get_disk_flag (_("Flag to Invert?"), disk, &flag))
-        goto error_destroy_disk;
-    state = (ped_disk_get_flag (disk, flag) == 0 ? 1 : 0);
+    if (!command_line_get_disk_flag (_("Flag to Invert?"), *diskp, &flag))
+        goto error;
+    state = (ped_disk_get_flag (*diskp, flag) == 0 ? 1 : 0);
 
     if (!is_toggle_mode) {
         if (!command_line_get_state (_("New state?"), &state))
-            goto error_destroy_disk;
+            goto error;
     }
 
-    if (!ped_disk_set_flag (disk, flag, state))
-        goto error_destroy_disk;
-    if (!ped_disk_commit (disk))
-        goto error_destroy_disk;
-    ped_disk_destroy (disk);
+    if (!ped_disk_set_flag (*diskp, flag, state))
+        goto error;
+    if (!ped_disk_commit (*diskp))
+        goto error;
 
     if ((*dev)->type != PED_DEVICE_FILE)
         disk_is_modified = 1;
 
     return 1;
 
-error_destroy_disk:
-    ped_disk_destroy (disk);
 error:
     return 0;
 }
 
 static int
-do_set (PedDevice** dev)
+do_set (PedDevice** dev, PedDisk **diskp)
 {
-        PedDisk*                disk;
         PedPartition*           part = NULL;
         PedPartitionFlag        flag;
         int                     state;
 
-        disk = ped_disk_new (*dev);
-        if (!disk)
+        if (*diskp == 0)
+                *diskp = ped_disk_new (*dev);
+        if (!*diskp)
                 goto error;
 
-        if (!command_line_get_partition (_("Partition number?"), disk, &part))
-                goto error_destroy_disk;
+        if (!command_line_get_partition (_("Partition number?"), *diskp, &part))
+                goto error;
         if (!command_line_get_part_flag (_("Flag to Invert?"), part, &flag))
-                goto error_destroy_disk;
+                goto error;
         state = (ped_partition_get_flag (part, flag) == 0 ? 1 : 0);
 
         if (!is_toggle_mode) {
                 if (!command_line_get_state (_("New state?"), &state))
-                           goto error_destroy_disk;
+                        goto error;
         }
 
         if (!ped_partition_set_flag (part, flag, state))
-                       goto error_destroy_disk;
-       if (!ped_disk_commit (disk))
-                       goto error_destroy_disk;
-       ped_disk_destroy (disk);
+                goto error;
+        if (!ped_disk_commit (*diskp))
+                goto error;
 
         if ((*dev)->type != PED_DEVICE_FILE)
                 disk_is_modified = 1;
 
-           return 1;
+        return 1;
 
-error_destroy_disk:
-        ped_disk_destroy (disk);
 error:
         return 0;
 }
 
 static int
-do_disk_toggle (PedDevice **dev)
+do_disk_toggle (PedDevice **dev, PedDisk** diskp)
 {
     int result;
 
     is_toggle_mode = 1;
-    result = do_disk_set (dev);
+    result = do_disk_set (dev, diskp);
     is_toggle_mode = 0;
 
     return result;
 }
 
 static int
-do_toggle (PedDevice **dev)
+do_toggle (PedDevice **dev, PedDisk** diskp)
 {
         int result;
 
         is_toggle_mode = 1;
-        result = do_set (dev);
+        result = do_set (dev, diskp);
         is_toggle_mode = 0;
 
         return result;
 }
 
 static int
-do_unit (PedDevice** dev)
+do_unit (PedDevice** dev, PedDisk** diskp)
 {
         PedUnit unit = ped_unit_get_default ();
         if (!command_line_get_unit (_("Unit?"), &unit))
@@ -1710,6 +1799,7 @@ _init_messages ()
         PedFileSystemAlias*     fs_alias;
         PedDiskType*            disk_type;
         PedPartitionFlag        part_flag;
+        PedDiskFlag             disk_flag;
         PedUnit                 unit;
 
 /* flags */
@@ -1728,6 +1818,22 @@ _init_messages ()
 
         flag_msg = str_list_convert (list);
         str_list_destroy (list);
+/* disk flags */
+        first = 1;
+        list = str_list_create (_(disk_flag_msg_start), NULL);
+        for (disk_flag = ped_disk_flag_next (0); disk_flag;
+                        disk_flag = ped_disk_flag_next (disk_flag)) {
+                if (first)
+                        first = 0;
+                else
+                        str_list_append (list, ", ");
+                str_list_append (list,
+                                 _(ped_disk_flag_get_name (disk_flag)));
+        }
+        str_list_append (list, "\n");
+
+        disk_flag_msg = str_list_convert (list);
+        str_list_destroy (list);
 
 /* units */
         first = 1;
@@ -1890,6 +1996,20 @@ _("rescue START END                         rescue a lost partition near "
 NULL),
         str_list_create (_(start_end_msg), NULL), 1));
 
+command_register (commands, command_create (
+        str_list_create_unique ("resize", _("resize"), NULL),
+        do_resize,
+        NULL,
+        str_list_create (_(N_("The resize command was removed in parted 3.0\n")), NULL), 1));
+
+command_register (commands, command_create (
+        str_list_create_unique ("resizepart", _("resizepart"), NULL),
+        do_resizepart,
+        str_list_create (
+_("resizepart NUMBER END                    resize partition NUMBER"),
+NULL),
+        str_list_create (_(number_msg), _(end_msg), NULL), 1));
+
 command_register (commands, command_create (
         str_list_create_unique ("rm", _("rm"), NULL),
         do_rm,
@@ -1912,7 +2032,7 @@ command_register (commands, command_create (
         str_list_create (
 _("disk_set FLAG STATE                      change the FLAG on selected device"),
 NULL),
-        str_list_create (flag_msg, _(state_msg), NULL), 1));
+        str_list_create (disk_flag_msg, _(state_msg), NULL), 1));
 
 command_register (commands, command_create (
         str_list_create_unique ("disk_toggle", _("disk_toggle"), NULL),
@@ -1921,7 +2041,7 @@ command_register (commands, command_create (
 _("disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"),
 NULL),
-        str_list_create (flag_msg, NULL), 1));
+        str_list_create (disk_flag_msg, NULL), 1));
 
 command_register (commands, command_create (
                str_list_create_unique ("set", _("set"), NULL),
@@ -2131,20 +2251,22 @@ return NULL;
 }
 
 static void
-_done (PedDevice* dev)
+_done (PedDevice* dev, PedDisk* diskp)
 {
-if (dev->boot_dirty && dev->type != PED_DEVICE_FILE) {
-        ped_exception_throw (
-                PED_EXCEPTION_WARNING,
-                PED_EXCEPTION_OK,
-        _("You should reinstall your boot loader before "
-          "rebooting.  Read section 4 of the Parted User "
-          "documentation for more information."));
-}
-if (!opt_script_mode && !opt_machine_mode && disk_is_modified) {
-        ped_exception_throw (
-                PED_EXCEPTION_INFORMATION, PED_EXCEPTION_OK,
-                _("You may need to update /etc/fstab.\n"));
+        if (diskp)
+                ped_disk_destroy (diskp);
+        if (dev->boot_dirty && dev->type != PED_DEVICE_FILE) {
+                ped_exception_throw (
+                        PED_EXCEPTION_WARNING,
+                        PED_EXCEPTION_OK,
+                        _("You should reinstall your boot loader before "
+                          "rebooting.  Read section 4 of the Parted User "
+                          "documentation for more information."));
+        }
+        if (!opt_script_mode && !opt_machine_mode && disk_is_modified) {
+                ped_exception_throw (
+                        PED_EXCEPTION_INFORMATION, PED_EXCEPTION_OK,
+                        _("You may need to update /etc/fstab.\n"));
 }
 
 ped_device_close (dev);
@@ -2159,6 +2281,7 @@ int
 main (int argc, char** argv)
 {
         PedDevice*      dev;
+       PedDisk*        diskp = 0;
         int             status;
 
         set_program_name (argv[0]);
@@ -2169,11 +2292,11 @@ main (int argc, char** argv)
                 return 1;
 
         if (argc || opt_script_mode)
-                status = non_interactive_mode (&dev, commands, argc, argv);
+                status = non_interactive_mode (&dev, &diskp, commands, argc, argv);
         else
-                status = interactive_mode (&dev, commands);
+                status = interactive_mode (&dev, &diskp, commands);
 
-        _done (dev);
+        _done (dev, diskp);
 
         return !status;
 }
index d34fb5630ed7f32c999ccf1be082dbb4e7e8bbd6..bca93665aa3a60a25e697b8311d382b2c68e4c66 100644 (file)
@@ -1,6 +1,6 @@
 /*
     parted - a frontend to libparted
-    Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -112,10 +112,10 @@ gettext_to_wchar (const char* str)
 
        memset(&ps, 0, sizeof (ps));
        status = mbsrtowcs(result, &str, count, &ps);
-       if (status == (size_t) -1)
+       if (str != NULL)
                goto error;
 
-       result = xrealloc (result, (wcslen (result) + 1) * sizeof (wchar_t));
+       result = xrealloc (result, (status + 1) * sizeof (wchar_t));
        return result;
 
 error:
index 380881875c0914c876e242b9904a70165f05bdfb..1b67a5d0d64108d9f727db010246746d5e38b3b9 100644 (file)
@@ -1,6 +1,6 @@
 /*
     parted - a frontend to libparted
-    Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2001, 2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 8563e3c3f399d10cef1e9667283ddc25235edba3..b26de3fcc40860ab729235f5b2fa109bc0163318 100644 (file)
@@ -3,7 +3,7 @@
  */
 /*
     parted - a frontend to libparted
-    Copyright (C) 2006-2012 Free Software Foundation, Inc.
+    Copyright (C) 2006-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index 23120c3c77eb904a906e3ed875469d87a95cbc24..0487559e1b2dd61bc2c25b76b133a48cfff8ff7a 100644 (file)
@@ -1,6 +1,6 @@
 /*
     parted - a frontend to libparted
-    Copyright (C) 2006-2007, 2009-2012 Free Software Foundation, Inc.
+    Copyright (C) 2006-2007, 2009-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
index d00c65a73147bc545ceaccc68ca9dd220f7d52fc..7365e7d4f60b2393fa4f51a846f8d717e57962b4 100644 (file)
@@ -1,6 +1,6 @@
 /*
     parted - a frontend to libparted
-    Copyright (C) 1999-2002, 2006-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2002, 2006-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -647,15 +647,7 @@ exception_handler (PedException* ex)
 
         got_ctrl_c = 0;
 
-        do {
-                opt = command_line_get_ex_opt ("", ex->options);
-        } while (opt == PED_EXCEPTION_UNHANDLED
-                 && (isatty (0) || pretend_input_tty) && !got_ctrl_c);
-
-        if (got_ctrl_c) {
-                got_ctrl_c = 0;
-                opt = PED_EXCEPTION_UNHANDLED;
-        }
+       opt = command_line_get_ex_opt ("", ex->options);
 
         return opt;
 }
@@ -900,6 +892,10 @@ command_line_get_word (const char* prompt, const char* def,
 
                 command_line_prompt_words (prompt, def, possibilities,
                                            multi_word);
+                if (got_ctrl_c) {
+                        got_ctrl_c = 0;
+                        return NULL;
+                }
         } while (command_line_get_word_count ());
 
         return NULL;
@@ -1474,7 +1470,7 @@ init_readline (void)
 #ifdef HAVE_LIBREADLINE
   if (!opt_script_mode) {
     rl_initialize ();
-    rl_attempted_completion_function = (CPPFunction*) complete_function;
+    rl_attempted_completion_function = (rl_completion_func_t *) complete_function;
     readline_state.in_readline = 0;
   }
 #endif
@@ -1561,7 +1557,7 @@ print_using_dev (PedDevice* dev)
 }
 
 int
-interactive_mode (PedDevice** dev, Command* cmd_list[])
+interactive_mode (PedDevice** dev, PedDisk** disk, Command* cmd_list[])
 {
         StrList*    list;
         StrList*    command_names = command_get_names (cmd_list);
@@ -1581,7 +1577,7 @@ interactive_mode (PedDevice** dev, Command* cmd_list[])
                 Command*    cmd;
 
                 while (!command_line_get_word_count ()) {
-                        if (feof (stdin)) {
+                        if (got_ctrl_c) {
                                 putchar ('\n');
                                 return 1;
                         }
@@ -1594,7 +1590,7 @@ interactive_mode (PedDevice** dev, Command* cmd_list[])
                         cmd = command_get (commands, word);
                         free (word);
                         if (cmd) {
-                                if (!command_run (cmd, dev))
+                                if (!command_run (cmd, dev, disk))
                                         command_line_flush ();
                         } else
                                 print_commands_help ();
@@ -1606,7 +1602,7 @@ interactive_mode (PedDevice** dev, Command* cmd_list[])
 
 
 int
-non_interactive_mode (PedDevice** dev, Command* cmd_list[],
+non_interactive_mode (PedDevice** dev, PedDisk **disk, Command* cmd_list[],
                       int argc, char* argv[])
 {
         int         i;
@@ -1637,7 +1633,7 @@ non_interactive_mode (PedDevice** dev, Command* cmd_list[],
                         goto error;
                 }
 
-                if (!command_run (cmd, dev))
+                if (!command_run (cmd, dev, disk))
                         goto error;
         }
         return 1;
index 9c8605a2bcf5d5b3dc41f51610eacbabd36eab00..5e4719b8ecd6fbc379c37e5346d2616df08c70af 100644 (file)
@@ -1,6 +1,6 @@
 /*
     parted - a frontend to libparted
-    Copyright (C) 1999-2001, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 1999-2001, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -31,9 +31,11 @@ extern const char *prog_name;
 
 extern int init_ui ();
 extern int init_readline ();
-extern int non_interactive_mode (PedDevice** dev, Command* cmd_list[],
-                                int argc, char* argv[]);
-extern int interactive_mode (PedDevice** dev, Command* cmd_list[]);
+extern int non_interactive_mode (PedDevice** dev, PedDisk **disk,
+                                Command* cmd_list[], int argc,
+                                char* argv[]);
+extern int interactive_mode (PedDevice** dev, PedDisk **disk,
+                            Command* cmd_list[]);
 extern void done_ui ();
 
 extern int screen_width ();
index dbe2c9fa6df3708f757c03a64b705efc736629d2..c0304a051b729131acf046d2cdadc5970377f8ea 100644 (file)
@@ -13,4 +13,4 @@ partprobe_LDADD = \
 
 partprobe_LDFLAGS = $(PARTEDLDFLAGS)
 
-INCLUDES       = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
index 2837b3b7edece147ff6af23f2ffce3a188fadadb..ffc2f03ad8cbb49c532cc81349bcaa591c0d7359 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 @SET_MAKE@
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -52,13 +79,13 @@ build_triplet = @build@
 host_triplet = @host@
 sbin_PROGRAMS = partprobe$(EXEEXT)
 subdir = partprobe
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/build-aux/depcomp
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -66,16 +93,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -85,35 +113,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -147,9 +176,22 @@ partprobe_DEPENDENCIES = $(top_builddir)/libparted/libparted.la \
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
+am__v_lt_1 = 
 partprobe_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(partprobe_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -163,9 +205,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CC = $(am__v_CC_@AM_V@)
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC      " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_1 = 
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -173,11 +213,31 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD    " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_CCLD_1 = 
 SOURCES = $(partprobe_SOURCES)
 DIST_SOURCES = $(partprobe_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -259,7 +319,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -296,7 +355,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -312,6 +370,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -387,6 +446,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -511,7 +571,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -535,7 +594,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -609,6 +667,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -618,10 +677,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -751,7 +808,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -771,7 +827,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -835,21 +890,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -878,6 +938,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -912,6 +973,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -961,6 +1024,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1017,6 +1082,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1036,7 +1102,7 @@ partprobe_LDADD = \
   $(PARTED_LIBS)
 
 partprobe_LDFLAGS = $(PARTEDLDFLAGS)
-INCLUDES = $(partedincludedir) $(INTLINCS)
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)
 all: all-am
 
 .SUFFIXES:
@@ -1073,14 +1139,19 @@ $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 $(am__aclocal_m4_deps):
 install-sbinPROGRAMS: $(sbin_PROGRAMS)
        @$(NORMAL_INSTALL)
-       test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
        @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
+       if test -n "$$list"; then \
+         echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
+         $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
+       fi; \
        for p in $$list; do echo "$$p $$p"; done | \
        sed 's/$(EXEEXT)$$//' | \
-       while read p p1; do if test -f $$p || test -f $$p1; \
-         then echo "$$p"; echo "$$p"; else :; fi; \
+       while read p p1; do if test -f $$p \
+        || test -f $$p1 \
+         ; then echo "$$p"; echo "$$p"; else :; fi; \
        done | \
-       sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+       sed -e 'p;s,.*/,,;n;h' \
+           -e 's|.*|.|' \
            -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
        sed 'N;N;N;s,\n, ,g' | \
        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
@@ -1101,7 +1172,8 @@ uninstall-sbinPROGRAMS:
        @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
        files=`for p in $$list; do echo "$$p"; done | \
          sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-             -e 's/$$/$(EXEEXT)/' `; \
+             -e 's/$$/$(EXEEXT)/' \
+       `; \
        test -n "$$list" || exit 0; \
        echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
        cd "$(DESTDIR)$(sbindir)" && rm -f $$files
@@ -1114,6 +1186,7 @@ clean-sbinPROGRAMS:
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
        echo " rm -f" $$list; \
        rm -f $$list
+
 partprobe$(EXEEXT): $(partprobe_OBJECTS) $(partprobe_DEPENDENCIES) $(EXTRA_partprobe_DEPENDENCIES) 
        @rm -f partprobe$(EXEEXT)
        $(AM_V_CCLD)$(partprobe_LINK) $(partprobe_OBJECTS) $(partprobe_LDADD) $(LIBS)
@@ -1127,22 +1200,25 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/partprobe.Po@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
 
 .c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
@@ -1153,26 +1229,15 @@ mostlyclean-libtool:
 clean-libtool:
        -rm -rf .libs _libs
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1184,15 +1249,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1201,9 +1262,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
 
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1359,19 +1421,19 @@ uninstall-am: uninstall-sbinPROGRAMS
 
 .MAKE: install-am install-strip
 
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libtool clean-sbinPROGRAMS cscopelist ctags distclean \
-       distclean-compile distclean-generic distclean-libtool \
-       distclean-tags distdir dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-sbinPROGRAMS install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
+       clean-libtool clean-sbinPROGRAMS cscopelist-am ctags ctags-am \
+       distclean distclean-compile distclean-generic \
+       distclean-libtool distclean-tags distdir dvi dvi-am html \
+       html-am info info-am install install-am install-data \
+       install-data-am install-dvi install-dvi-am install-exec \
+       install-exec-am install-html install-html-am install-info \
+       install-info-am install-man install-pdf install-pdf-am \
+       install-ps install-ps-am install-sbinPROGRAMS install-strip \
+       installcheck installcheck-am installdirs maintainer-clean \
        maintainer-clean-generic mostlyclean mostlyclean-compile \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags uninstall uninstall-am uninstall-sbinPROGRAMS
+       tags tags-am uninstall uninstall-am uninstall-sbinPROGRAMS
 
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
index 8bccc4f867ff97d38fe71bdd49572d56af6e9147..34997fe9e482c69bfa2be70dd259bee8a0eec7dc 100644 (file)
@@ -1,6 +1,6 @@
 /*
     partprobe - informs the OS kernel of partition layout
-    Copyright (C) 2001-2002, 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2001-2002, 2007-2014 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -57,9 +57,6 @@
 
 static struct option const long_options[] =
   {
-    /* Note: the --no-update option is deprecated, and deliberately
-     * not documented.  FIXME: remove --no-update in 2009. */
-    {"no-update", no_argument, NULL, 'd'},
     {"dry-run", no_argument, NULL, 'd'},
     {"summary", no_argument, NULL, 's'},
     {"help", no_argument, NULL, 'h'},
@@ -109,12 +106,21 @@ process_dev (PedDevice* dev)
        PedDisk*        disk;
 
        disk_type = ped_disk_probe (dev);
-       if (!disk_type || !strcmp (disk_type->name, "loop"))
-               return 1;
-
-       disk = ped_disk_new (dev);
-       if (!disk)
-               goto error;
+       if (!disk_type) {
+               /* Partition table not found, so create dummy,
+                  empty one */
+               disk_type = ped_disk_type_get("msdos");
+               if (!disk_type)
+                       goto error;
+
+               disk = ped_disk_new_fresh (dev, disk_type);
+               if (!disk)
+                       goto error_destroy_disk;
+       } else {
+               disk = ped_disk_new (dev);
+               if (!disk)
+                       goto error;
+       }
        if (!opt_no_inform) {
                if (!ped_disk_commit_to_os (disk))
                        goto error_destroy_disk;
index 6eefa26f4dc960795a3ffdda9091873cd1407d8d..a8e59941b8f206b178d7153da4cd4f472130648f 100644 (file)
@@ -1,5 +1,5 @@
 # libparted
-# Copyright (C) 1999-2001, 2006-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2006-2014 Free Software Foundation, Inc.
 # This file may be modified and/or copied without restriction.
 
 # list of files containing translatable strings
index 10456a18f3cb8f0e001497afa3e3119f89a86ee7..57ba45c46404ecb7b721c11259c1d5c95fe49229 100644 (file)
Binary files a/po/ca.gmo and b/po/ca.gmo differ
index 9d8debbcd33c087afb53303f781516a51895b098..86af570aad5b72485537908ddd4535601091ea15 100644 (file)
--- a/po/ca.po
+++ b/po/ca.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 1.6.0\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2002-05-05 14:47+0100\n"
 "Last-Translator: Miquel Matas <miquelmatas@wanadoo.es>\n"
 "Language-Team: Catalan <ca@dodds.net>\n"
@@ -17,9 +17,9 @@ msgstr ""
 "X-Generator: KBabel 0.7\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "No s'ha pogut obrir %s"
+msgstr ""
 
 #: lib/argmatch.c:134
 #, c-format
@@ -27,11 +27,10 @@ msgid "ambiguous argument %s for %s"
 msgstr ""
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "No s'ha pogut obrir %s"
+msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr ""
 
@@ -61,14 +60,14 @@ msgid "%s: option '--%s' requires an argument\n"
 msgstr ""
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "No s'ha pogut obrir %s - etiqueta de disc desconeguda."
+msgstr ""
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "No s'ha pogut obrir %s - etiqueta de disc desconeguda."
+msgstr ""
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
@@ -116,83 +115,83 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr ""
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr ""
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr ""
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr ""
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr ""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr ""
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr ""
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr ""
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr ""
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr ""
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr ""
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr ""
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr ""
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr ""
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr ""
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ""
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr ""
 
@@ -202,7 +201,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr ""
 
@@ -212,7 +211,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr ""
 
@@ -369,78 +368,78 @@ msgid "memory exhausted"
 msgstr ""
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "No s'ha pogut obrir %s"
+msgstr ""
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "No s'ha pogut obrir %s"
+msgstr ""
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "No s'ha pogut obrir %s"
+msgstr ""
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr ""
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Error obrint %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "No s'ha pogut obrir %s lectura/escritura (%s). %s s'ha obert només lectura. "
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s mentre es preparava per llegir a %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s mentre s'estava llegint a %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "No s'ha pogut escriure a %s, ja que era obert per només lectura"
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s mentre es preparava per escruire a %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s mentre s'estava escrivint a %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr ""
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -450,13 +449,13 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -501,7 +500,7 @@ msgstr ""
 "de les modificacions fetes. S'ha de re-arrencar la màquina abans de fer res "
 "amb %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -514,45 +513,45 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s intentant de sincronitzar %s al dics"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Impossible d'inicialitzar el dispositiu %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, fuzzy, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "No s'ha pogut determinar la mida de %s (%s)"
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, fuzzy, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "No s'ha pogut determinar la mida de %s (%s)"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "No s'ha pogut obtenir la identitat del dispositiu %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr ""
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -561,19 +560,19 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Error inicialitzant el dispositiu SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, fuzzy, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -582,87 +581,87 @@ msgstr ""
 "No s'ha pogut determinar la geometria del fitxer/dispositiu. No s'hauria de "
 "fer servir Parted EXCEPTE que se sàpiga el que s'està fent!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Controlador RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Controlador ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Controlador I20"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "Dispositiu d'origen?"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Desconegut"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Dispositiu no suportat"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Error obrint %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, fuzzy, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -674,17 +673,12 @@ msgstr ""
 "reinicieu - per tant no podeu muntar-la o utilitzar-la en cap sentit abans "
 "d'inicialitzar la màquina. "
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "No s'ha pogut determinar la mida de %s (%s)"
 
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "No s'ha pogut determinar si la partició està muntada."
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -693,31 +687,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"El kernel no ha pogut rellegir la taula de particions a %s (%s).Aixó vol dir "
-"que Linux no reconeixerà cap de les modificacions fetes. Heu d'arrencar la "
-"màquina abans de fer res amb %s."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "No es pot acabar abans de començar!"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "No es pot fer una partició fora del disc!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, fuzzy, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "S'ha intentat escriure sectors %ld-%ld fora de la partició a %s"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "comprovant blocs errònis"
 
@@ -731,12 +711,12 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, fuzzy, c-format
 msgid "%s: unrecognised disk label"
 msgstr "No s'ha pogut obrir %s - etiqueta de disc desconeguda."
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -745,41 +725,41 @@ msgstr ""
 "Aquesta libparted no té suport per escriure a %s. Potser va ser compilada "
 "per només lectura."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, fuzzy, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "La partició %d és de %.3fMb, però el sistema de fitxers és de %.3fMb."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, fuzzy, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Flag desconegut a %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Les etiquetes de disc de %s no suporten particions exteses."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "Les etiquetes de disc de %s no suporten particions lògiques o exteses."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 #, fuzzy
 msgid "Too many primary partitions."
 msgstr "Massa particions primàries."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -787,110 +767,128 @@ msgstr ""
 "No es pot afegir una partició lògica a %s, ja que no hi ha una partició "
 "extesa"
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, fuzzy, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "No pot haver més d'una partició extesa a %s"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "No poden haver particions lògiques fora de la partició extesa."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "No pot haver una partició lògica fora de la partició extesa a %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
+#: libparted/disk.c:1911
+msgid "Can't have a primary partition inside an extended partition."
+msgstr "No pot haver una partició primaria dins d'una partició extesa."
+
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "No es pot fer una partició fora del disc!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
 #, fuzzy
 msgid "Can't have overlapping partitions."
 msgstr "No poden haver particions solapades."
 
-#: libparted/disk.c:1958
-msgid "Can't have a primary partition inside an extended partition."
-msgstr "No pot haver una partició primaria dins d'una partició extesa."
-
-#: libparted/disk.c:2389
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadata"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "lliure"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "extesa"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "lògica"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primària"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "oculta"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "servei-hp"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr ""
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr ""
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr ""
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Sí"
+
+#: libparted/disk.c:2414
 #, fuzzy, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Flag desconegut a %d."
@@ -948,15 +946,13 @@ msgid "Cancel"
 msgstr "Cancel·lar"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"S'ha detectat un bug a GNU Parted. Si-us-plau, envieu un e-mail a bug-"
-"parted@gnu.org que contingui la versió (%s) i el següent missatge:"
 
 #: libparted/labels/aix.c:103
 #, fuzzy
@@ -998,10 +994,10 @@ msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
 "El suport per crear sistemes de fitxers de %s encara no està implementat."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "No s'ha pogut satisfer les limitacions a la partició"
@@ -1011,30 +1007,30 @@ msgstr "No s'ha pogut satisfer les limitacions a la partici
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "No s'ha pogut reservar una etiqueta bsd"
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 #, fuzzy
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "No s'ha pogut reservar una etiqueta bsd"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, fuzzy, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Taula de particions invàlida a %s - signatura dolenta %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Taula de particions invàlida - partició recursiva a %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "No es pot crear cap més partició."
@@ -1075,120 +1071,110 @@ msgstr "Nom
 msgid "Too many primary partitions"
 msgstr "Massa particions primàries."
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 #, fuzzy
 msgid "Unsupported disk type"
 msgstr "ped_device_new()  Dispositiu no suportat"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr ""
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr ""
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr ""
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 #, fuzzy
 msgid "Fatal error"
 msgstr "Fatal"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 #, fuzzy
 msgid "No room for partition info."
 msgstr "No s'ha trobat un mapa de particions vàlid."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 #, fuzzy
 msgid "Could not retrieve disk geometry information."
 msgstr "No s'ha pogut llegir la geometria de %s - %s"
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, fuzzy, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s conté signatures GPT, la qual cosa indica que té una taula GPT. No "
-"obstant, no té una taula de particions msdos imitada, com hauria de ser.  "
-"Potser és corrupte - possiblement per un programa que no és capaç d'entendre "
-"les taules de partició GPT. O potser, també, heu esborrat la taula GPT i ara "
-"feu servir una taula de particions msdos. És aquesta una partició GPT? "
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Sistema de fitxers massa petit per ext2."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1197,7 +1183,7 @@ msgstr ""
 "El format de la taula de particions GPT és més nou que el que Parted pot "
 "reconeixer. Si-us-plau, diga'ns-ho a  bug-parted@gnu.org"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1205,17 +1191,17 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "La còpia de la taula GPT no és al final del disc com hauriea d'ser. Això pot "
 "voler dir que un altre sistema operatiu creu que el disc és més petit. Ho "
 "voleu arreglar novent la còpia al final ( i esborrant la còpia antiga)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 #, fuzzy
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
@@ -1225,7 +1211,7 @@ msgstr ""
 "taula actualitzada, i fent servir la opció de rescat de Parted per "
 "reconstruïr les particions."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 #, fuzzy
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
@@ -1234,7 +1220,7 @@ msgstr ""
 "La taula primària GPT és corrupte, però la còpia sembla correcta, per tant "
 "es farà servir aquesta."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 #, fuzzy
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
@@ -1243,10 +1229,15 @@ msgstr ""
 "La taula primària GPT és corrupte, però la còpia sembla correcta, per tant "
 "es farà servir aquesta."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "No s'ha pogut determinar si la partició està muntada."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1261,42 +1252,42 @@ msgstr "El Mapa de particions no t
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s massa petita per una etiqueta d'un disc Mac."
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "La partició %d té una signatura invàlida %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "La partició %d té una logitud invàlida de 0 bytes!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 #, fuzzy
 msgid "The data region doesn't start at the start of the partition."
 msgstr "La regió de dades no comença al principi de la partició"
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 #, fuzzy
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "La regió d'arrencada no comemça al principi de la partició"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "La regió d'arrencada de la partició no ocupa la partició sencera."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "La regió de dades de la partició no ocupa la partició sencera."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 "La mida de bloc extrany al dispositiu: %d bytes no és divisible per 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1305,11 +1296,11 @@ msgstr ""
 "El controlador diu que el tamany de bloc físic és de %d bytes, però Linux "
 "troba que és de %d bytes."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "No s'ha trobat un mapa de particions vàlid."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, fuzzy, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1318,7 +1309,7 @@ msgstr ""
 "Conflicte de mida de entrada del mapa de particions! La entrada 1 diu que és "
 "%d, però la entrada %d diu que és %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 #, fuzzy
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Estrany - 2 entrades de mapes de particions!"
@@ -1331,7 +1322,7 @@ msgstr ""
 "Canviar el nom d'una partició root o swap impedirà que Linux les reconeixi "
 "com a tals."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 #, fuzzy
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
@@ -1474,58 +1465,62 @@ msgstr ""
 msgid "reading from device failed"
 msgstr ""
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 #, fuzzy
 msgid "Could not read volume label."
 msgstr "No s'ha pogut llegir la geometria de %s - %s"
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 #, fuzzy
 msgid "Could not write volume label."
 msgstr "No s'ha pogut detectar el sistema de fitxers."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr ""
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Sense memòria."
 
@@ -1561,25 +1556,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr ""
@@ -1619,7 +1614,7 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr ""
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 #, fuzzy
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
@@ -1628,27 +1623,26 @@ msgstr ""
 "GNU Parted va ser mal compilat: el sector boot de FAT ha de ser de 512 "
 "bytes. El suport per FAT serà desactivat."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr ""
 "El sistema de fitxers té una signatura invàlida per a un sistema de fitxers "
 "FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "El sistema de fitxers té una mida de sector invàlida per a un sistema de "
 "fitxers FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 #, fuzzy
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "El sistema de fitxers té una mida de sector invàlida per a un sistema de "
 "fitxers FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 #, fuzzy
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
@@ -1656,70 +1650,51 @@ msgstr ""
 "El sistema de fitxers té un número de sectors reservats per a un sistema de "
 "fitxers FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 #, fuzzy
 msgid "File system has an invalid number of FATs."
 msgstr "El sistema de fitxers té un número de FATS invàlid."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Aquest sistema de fitxers té una mida de sector lògic de %d. GNU Parted no "
-"treballarà correctament amb mides de sectors diferents de 512 bytes."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "El sector boot de la FAT diu que la mida del sector lògic és 0. Això és "
 "extrany."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "El sector boot de la FAT diu que no hi ha taules FAT.  Això és extrany."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "El sector boot de la FAT diu que els clústers tenen 0 sectors. Això és "
 "extrany."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 #, fuzzy
 msgid "File system is FAT12, which is unsupported."
 msgstr "El sistema de fitxers és FAT12, que no està suportat."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"El sector d'informació té una signatura incorrecta (%x).  Selecciona "
-"cancel·la ara mateix, i envia-ns un informe.  Si estas desesperat, el més "
-"segur és Ignorar."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Signatura de linux swap '%10s' no reconeguda."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, fuzzy, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Signatura de linux swap '%10s' no reconeguda."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, fuzzy, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Signatura de linux swap '%10s' no reconeguda."
@@ -1731,7 +1706,16 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Aquest sistema de fitxers té una mida de sector lògic de %d. GNU Parted no "
+"treballarà correctament amb mides de sectors diferents de 512 bytes."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1741,6 +1725,16 @@ msgid ""
 "geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"El sector d'informació té una signatura incorrecta (%x).  Selecciona "
+"cancel·la ara mateix, i envia-ns un informe.  Si estas desesperat, el més "
+"segur és Ignorar."
+
 #: libparted/fs/r/fat/calc.c:134
 #, fuzzy, c-format
 msgid ""
@@ -1805,12 +1799,12 @@ msgstr ""
 "El fitxer %s està marcat com un sistema de fitxers.  Això vol dir que si el "
 "moveu por ocasionar que alguns programes no funcionin."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, fuzzy, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partició massa gran/petita per un sistema de fitxers %s"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1818,11 +1812,11 @@ msgstr ""
 "Les FATs no coincideixen. Si no saps què vols dir aixó, llavors selecciona "
 "cancelar, executa scandisk al sistema de fitxers, i després torna."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "No hi ha configuracions possibles per aquest tipus de FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1834,7 +1828,7 @@ msgstr ""
 "(hauria de ser de %d); la mida de FAT és de %d sectors ( hauria de ser de %d "
 "sectors)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2079,9 +2073,8 @@ msgid "Error while writing the allocation file."
 msgstr "Error escribint al directori root."
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Error escribint al directori root."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2253,7 +2246,7 @@ msgstr "mostra la versi
 #: parted/parted.c:130
 #, fuzzy
 msgid "alignment for new partitions"
-msgstr "No es pot crear cap més partició."
+msgstr "No es poden copiar particions exteses."
 
 #: parted/parted.c:142
 #, fuzzy
@@ -2269,47 +2262,53 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "TIPUS-ETI és una d'aquestes: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAG és una d'aquests:"
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 #, fuzzy
 msgid "UNIT is one of: "
 msgstr "FLAG és una d'aquests:"
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "TIPUS-PART és una d'aquestes: primària, lògica, extesa\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "TIPUS-SF és un d'aquests: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "ESTAT és un d'aquests: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "DISPOS és, normalment, /dev/hda o /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NOM és qualsevol paraula que vulguis\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 #, fuzzy
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
@@ -2330,150 +2329,144 @@ msgstr ""
 "General Pública GNU.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(temps que queda %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "La(s) partició(ns) a %s s'està utilitzant."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Nou tipus d'etiqueta?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Tipus de partició?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Nom de la partició?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Sistema de fitxers?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Inici?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Fi?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Has demanat de crear una partició a %.3f-%.3fMb. El més proper que Parted "
-"pot manegar és %.3f-%.3fMb."
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Número de partició?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr ""
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, fuzzy, c-format
 msgid "Disk %s: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Tipus d'etiqueta: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, fuzzy, c-format
 msgid "Partition Table: %s\n"
 msgstr "Nom de la partició?"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Tipus d'etiqueta: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr ""
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 #, fuzzy
 msgid "Start"
 msgstr "Inici?"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 #, fuzzy
 msgid "End"
 msgstr "Fi?"
 
-#: parted/parted.c:1119
-#, fuzzy
+#: parted/parted.c:1143
 msgid "Size"
-msgstr "resize"
+msgstr ""
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr ""
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 #, fuzzy
 msgid "File system"
 msgstr "Sistema de fitxers?"
 
-#: parted/parted.c:1128
-#, fuzzy
+#: parted/parted.c:1152
 msgid "Name"
-msgstr "name"
+msgstr ""
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Flags"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr ""
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, fuzzy, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2482,74 +2475,82 @@ msgstr ""
 "Una partició %s %s ha estat trobada a %.3fMb -> %.3fMb.  Vols afegir-la a la "
 "taula de particions?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 #, fuzzy
 msgid "searching for file systems"
 msgstr "sistema de fitxers creixent"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Nou dispositiu?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 #, fuzzy
 msgid "Flag to Invert?"
 msgstr "Flag a canviar?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Nou estat?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr ""
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 #, fuzzy
 msgid "align-check"
 msgstr "comprova"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "ajuda"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 #, fuzzy
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr "Ajuda [ORDRE]                 imprimeix ajuda general, o ajuda d'ORDRE"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
-#, fuzzy
+#: parted/parted.c:1933
 msgid "mktable"
-msgstr "mklabel"
+msgstr ""
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 #, fuzzy
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
@@ -2557,16 +2558,16 @@ msgid ""
 msgstr ""
 "mklabel TIPUS-ETI        crea una nova etiqueta de disc (taula de partició)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 #, fuzzy
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart TIPUS-PART [TIPUS-SF] INICI FI      crea una partició"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 #, fuzzy
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
@@ -2575,171 +2576,187 @@ msgstr ""
 "mkpart crea una partició sense crear cap sistema de fitxers a la partició. "
 "TIPUS-SF ha de ser especificat per assignar una ID de partició.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 #, fuzzy
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name MINOR NOM               anomena la partició MINOR NOM"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 #, fuzzy
 msgid "quit                                     exit program"
 msgstr "quit                          surt del programa"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescatar"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 #, fuzzy
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
 msgstr "rescatar INICI FI        rescata particions perdudes entre INICI i FI"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm MINOR                      suprimeix la partició MINOR"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 #, fuzzy
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm MINOR                      suprimeix la partició MINOR"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 #, fuzzy
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select DISPOSITIU                 escollir el dispositiu a editar"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set MINOR FLAG ESTAT          canvia un flag a la partició MINOR"
+msgstr ""
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr ""
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 #, fuzzy
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set MINOR FLAG ESTAT          canvia un flag a la partició MINOR"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr ""
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 
-#: parted/parted.c:1945
-#, fuzzy
+#: parted/parted.c:2065
 msgid "unit"
-msgstr "quit"
+msgstr ""
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 #, fuzzy
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "quit                          surt del programa"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr ""
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "No s'ha trobat el dispositiu"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 #, fuzzy
 msgid "You may need to update /etc/fstab.\n"
 msgstr "No us oblideu d'actualitzar /etc/fstab si cal.\n"
@@ -2927,192 +2944,250 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, fuzzy, c-format
 msgid "invalid token: %s"
-msgstr "No s'ha pogut obrir %s"
+msgstr "Taula de particions invàlida a %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "S'esperava un múmero de partició."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "La partició no existeix."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "S'esperava un tipus de sistema de fitxers."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Tipus de sistema de fitxers desconegut \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "S'esperava un tipus de etiqueta de dics."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "No es pot crear cap més partició."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "S'esperava un tipus de partició."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "off"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "OPCIONS:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "ORDRES:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Utilitzant %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr ""
 
-#, fuzzy
-#~ msgid "too few arguments"
-#~ msgstr "Massa pàgines incorrectes."
-
-#, fuzzy
-#~ msgid "too many arguments"
-#~ msgstr "Massa pàgines incorrectes."
-
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "No s'ha pogut obrir %s"
-
-#~ msgid "Support for opening %s file systems is not implemented yet."
+#~ msgid ""
+#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
+#~ "with drives with sector sizes other than %d bytes"
 #~ msgstr ""
-#~ "El suport per obrir sistemes de fitxers de %s encara no està implementat."
+#~ "La mida del sector a %s és de %d bytes. Parted no funcionarà correctament "
+#~ "amb discs d'una mida de sector diferent de %d bytes"
 
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "El suport per crear sistemes de fitxers de %s encara no està implementat."
+#~ msgid "Device %s has dodgey geometry."
+#~ msgstr "El dispositiu %s té una geometria incorrecte."
 
-#~ msgid "Support for checking %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "El suport per comprovar sistemes de fitxers de %s encara no està "
-#~ "implementat."
+#~ msgid "IDE"
+#~ msgstr "IDE"
 
-#~ msgid "raw block copying"
-#~ msgstr "copiant bloc raw"
+#~ msgid "SCSI"
+#~ msgstr "SCSI"
 
-#~ msgid "growing file system"
-#~ msgstr "sistema de fitxers creixent"
+#~ msgid "Device %s is neither a SCSI nor IDE drive."
+#~ msgstr "El dispositiu %s no és ni SCSI ni IDE"
 
-#~ msgid "Can't copy onto an overlapping partition."
-#~ msgstr "No es pot copiar a una partició solapada."
+#~ msgid "Error reading %s (%s) to determine if partition is mounted."
+#~ msgstr "Error al llegir %s (%s) per determinar si la partició està muntada."
 
-#, fuzzy
 #~ msgid ""
-#~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
-#~ "can be copied if the new partition is at least as big as the old one.  "
-#~ "So, either shrink the partition you are trying to copy, or copy to a "
-#~ "bigger partition."
-#~ msgstr ""
-#~ "Support directe per copiar sistemes de fitxers encara no ha estat "
-#~ "implementada per %s. No obstant, si que està implementat el suport per el "
-#~ "redimensionament. Per tant, el sistema de fitxers pot ser copiat si la "
-#~ "nova partició és, com a mínim, tant gran com la antiga. Per tant, o es "
-#~ "contrau la partició que es vol copiar o es copia a una partició més gran."
-
-#~ msgid "Support for copying %s file systems is not implemented yet."
+#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
+#~ "means Linux won't know anything nothing about the modifications you made "
+#~ "until you reboot.  You should reboot your computer before doing anything "
+#~ "with %s."
 #~ msgstr ""
-#~ "Suport per copiar sistemes de fitxers %s encara no està implementat."
+#~ "El kernel no ha pogut rellegir la taula de particions a %s (%s).Aixó vol "
+#~ "dir que Linux no reconeixerà cap de les modificacions fetes. Heu "
+#~ "d'arrencar la màquina abans de fer res amb %s."
 
-#, fuzzy
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  However, the most likely reason is that Linux "
+#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
+#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
+#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
+#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
+#~ "GRUB documentation for more information.  If you think Parted's suggested "
+#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
+#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
 #~ msgstr ""
-#~ "El sistema de fitxers té una signatura invàlida per a un sistema de "
-#~ "fitxers FAT."
-
-#, fuzzy
-#~ msgid "checking"
-#~ msgstr "comprova"
+#~ "La taula de particions a %s és inconsistent.  Hi ha diverses raons per "
+#~ "les quals es pot donar aquest error.  Però la més comú sol ser que Linux "
+#~ "ha detectat la geometria de la BIOS de %s incorrectament. GNU Parted creu "
+#~ "que la autèntica geometria ha de ser %d/%d/%d ( i no %d/%d/%d). Primer "
+#~ "s'ha de comprovar la BIOS que sigui correcta. Es pot especificar a Linux "
+#~ "afegint el paràmetre %s=%d,%d,%d a la línia de comandes. Veieu la "
+#~ "documentació de LILO o GRUB per més informació. Si es creu que la "
+#~ "geometria que suggereix Parted és correcta, seleccioneu Ignorar per "
+#~ "continuar ( i arregleu Linux després). Si no, seleccioneu Cancel·lar ( i "
+#~ "arregleu Linux i/o la BIOS ara mateix)."
 
-#, fuzzy
 #~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  Often, the reason is that Linux detected the "
+#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
+#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
+#~ "with some boot loaders, and may cause problems with FAT file systems.  "
+#~ "Using LBA is recommended."
 #~ msgstr ""
-#~ "El sistema de fitxers ext2 ha passat una comprovació bàsica. Per una "
-#~ "comprovació més completa utilitzar el programa e2fsck."
+#~ "La taula de particions a %s és inconsistent. Hi ha diverses raons per les "
+#~ "quals es pot donar aquest error. Però la més comú sol ser que Linux ha "
+#~ "detectat la geometria de la BIOS incorrectament. No obstant, no sembla "
+#~ "ser el cas aqui. El més segur és Ignorar, però ignorant pot causar "
+#~ "problemes (que es podren arreglar) en alguns carregadors d'arrencada i "
+#~ "també pot donar problemes amb sistemes de fitxers FAT. Es recomana "
+#~ "utilitzar LBA."
 
-#, fuzzy
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
+#~ msgid ""
+#~ "Unable to align partition properly.  This probably means that another "
+#~ "partitioning tool generated an incorrect partition table, because it "
+#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
+#~ "may cause (fixable) problems with some boot loaders."
 #~ msgstr ""
-#~ "Ho sento, no es pot moure encara el començament de les particions ext2"
+#~ "No s'ha pogut aliniar la partició correctament. Aixó vol dir que, "
+#~ "probablement, que un altre gestor de particions ha generat una taula de "
+#~ "particions incorrecta ja que no té una correcta geometria a la BIOS. El "
+#~ "més segur és Ignorar, però si s'ignora pot causar problemes (que es "
+#~ "podren arreglar)amb alguns carregadors d'arrencada."
 
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "Perill"
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted - possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s conté signatures GPT, la qual cosa indica que té una taula GPT. No "
+#~ "obstant, no té una taula de particions msdos imitada, com hauria de ser.  "
+#~ "Potser és corrupte - possiblement per un programa que no és capaç "
+#~ "d'entendre les taules de partició GPT. O potser, també, heu esborrat la "
+#~ "taula GPT i ara feu servir una taula de particions msdos. És aquesta una "
+#~ "partició GPT? "
 
-#, fuzzy
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Sistema de fitxers massa petit per ext2."
+#~ msgid "Support for opening %s file systems is not implemented yet."
+#~ msgstr ""
+#~ "El suport per obrir sistemes de fitxers de %s encara no està implementat."
+
+#~ msgid "Support for checking %s file systems is not implemented yet."
+#~ msgstr ""
+#~ "El suport per comprovar sistemes de fitxers de %s encara no està "
+#~ "implementat."
+
+#~ msgid "raw block copying"
+#~ msgstr "copiant bloc raw"
+
+#~ msgid "Can't copy onto an overlapping partition."
+#~ msgstr "No es pot copiar a una partició solapada."
+
+#~ msgid ""
+#~ "Direct support for copying file systems is not yet implemented for %s.  "
+#~ "However, support for resizing implemented.  Therefore, the file system "
+#~ "can be copied if the new partition is at least as big as the old one.  "
+#~ "So, either shrink the partition you are trying to copy, or copy to a "
+#~ "bigger partition."
+#~ msgstr ""
+#~ "Support directe per copiar sistemes de fitxers encara no ha estat "
+#~ "implementada per %s. No obstant, si que està implementat el suport per el "
+#~ "redimensionament. Per tant, el sistema de fitxers pot ser copiat si la "
+#~ "nova partició és, com a mínim, tant gran com la antiga. Per tant, o es "
+#~ "contrau la partició que es vol copiar o es copia a una partició més gran."
+
+#~ msgid "Support for copying %s file systems is not implemented yet."
+#~ msgstr ""
+#~ "Suport per copiar sistemes de fitxers %s encara no està implementat."
+
+#~ msgid ""
+#~ "A bug has been detected in GNU parted.  Please email a bug report to bug-"
+#~ "parted@gnu.org containing the version (%s) and the following message:"
+#~ msgstr ""
+#~ "S'ha detectat un bug a GNU Parted. Si-us-plau, envieu un e-mail a bug-"
+#~ "parted@gnu.org que contingui la versió (%s) i el següent missatge:"
+
+#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
+#~ msgstr "S'ha intentat llegir sectors %ld-%ld fora de la partició a %s"
 
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "Grup de descriptors inconsistent!"
 
-#, fuzzy
-#~ msgid "File system full!"
+#~ msgid "Filesystem full!"
 #~ msgstr "Sistema de fitxers ple!"
 
-#, fuzzy
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
+#~ msgid ""
+#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
+#~ "this (yet)."
+#~ msgstr ""
+#~ "Aquest sistema de fitxers ext2 té un disseny bastant extrany! Parted "
+#~ "(encara) no el pot redimensionar."
+
+#~ msgid "Invalid superblock.  Are you sure this is an ext2 filesystem?"
 #~ msgstr "Superblock invàlid. Segur que és un sistema de fitxers ext2?"
 
-#, fuzzy
-#~ msgid "File system has errors!  You should run e2fsck."
+#~ msgid "Filesystem has errors!  You should run e2fsck."
 #~ msgstr "El sistema de fitxers té errors! Has d'executar e2fsck."
 
-#, fuzzy
-#~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
+#~ msgid "Filesystem was not cleanly unmounted!  You should e2fsck."
 #~ msgstr ""
 #~ "El sistema de fitxers no ha estat desmuntat correctament! S'ha d'executar "
 #~ "e2fsck."
 
+#~ msgid "Filesystem has incompatible feature enabled"
+#~ msgstr "El sistema de fitxers té una característica incompatible activada"
+
 #~ msgid "Error allocating buffer cache."
 #~ msgstr "Error en la reserva de la memòria cau de la memòria intermèdia"
 
-#, fuzzy
 #~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
+#~ "Found an inode with a incorrect link count.  Better go run e2fsck first."
 #~ msgstr ""
 #~ "S'ha trobat un inode amb un número d'enllaços incorrecte. Millor que "
 #~ "primer s'executi e2fsck."
@@ -3120,55 +3195,41 @@ msgstr ""
 #~ msgid "Not enough free inodes!"
 #~ msgstr "No hi ha suficients inodes lliures!"
 
-#, fuzzy
-#~ msgid "File system is too full to remove a group!"
+#~ msgid "Filesystem is too occupied to remove a group!"
 #~ msgstr "El sistema de fitxers està massa ocupat a suprimir un grup!"
 
-#, fuzzy
-#~ msgid "File system has too many allocated inodes to remove a group!"
+#~ msgid "Filesystem has too many allocated inodes to remove a group!"
 #~ msgstr ""
 #~ "El sistema de fitxers té massa inodes reservats per suprimir un grup!"
 
 #~ msgid "adding groups"
 #~ msgstr "afegint grups"
 
-#, fuzzy
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
+#~ msgid "Your filesystem is too occupied to resize it to %i blocks. Sorry."
 #~ msgstr ""
 #~ "El sistema de fitxers està massa ocupat en redimensionar-se a %i blocs.Ho "
 #~ "sento."
 
-#, fuzzy
 #~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
+#~ "Your filesystem has too much occupied inodes to resize it to %i blocks. "
 #~ "Sorry."
 #~ msgstr ""
 #~ "El sistema de fitxers té massa inodes ocupats per redimensionar-se a %i "
 #~ "blocs.Ho sento."
 
-#, fuzzy
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
-#~ msgstr ""
-#~ "El sistema de fitxers no ha estat desmuntat correctament! S'ha d'executar "
-#~ "e2fsck."
-
-#, fuzzy
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
+#~ msgid "Cross-linked blocks found! better go run e2fsck first!"
 #~ msgstr ""
 #~ "S'ha trobat blocs amb enllaços creuats! Millor que primer s'executi "
 #~ "e2fsck!"
 
-#, fuzzy
-#~ msgid "Block %i has no reference?  Weird."
+#~ msgid "Block %i has no reference?  Weird"
 #~ msgstr "El bloc %i no té referència? Extrany"
 
-#, fuzzy
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
+#~ msgid "Block %i shouldn't have been marked!"
 #~ msgstr "El bloc %i no hauria d'estar marcat!"
 
-#, fuzzy
 #~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
+#~ "The ext2 filesystem passed a basic check.  For a more comprehensive "
 #~ "check, use the e2fsck program."
 #~ msgstr ""
 #~ "El sistema de fitxers ext2 ha passat una comprovació bàsica. Per una "
@@ -3184,31 +3245,53 @@ msgstr ""
 #~ msgid "writing per-group metadata"
 #~ msgstr "escribint metadata per-grup"
 
-#~ msgid "File system too small for ext2."
-#~ msgstr "Sistema de fitxers massa petit per ext2."
+#~ msgid "File system has an invalid signature for a FAT file systems."
+#~ msgstr ""
+#~ "El sistema de fitxers té una signatura invàlida per a un sistema de "
+#~ "fitxers FAT."
+
+#~ msgid ""
+#~ "The FATs aren't big enough to describe all clusters!  Each FAT is %d "
+#~ "sectors.  There are %d clusters, which would require each FAT to be %d "
+#~ "sectors.  This is REALLY weird.  You might want to write us an email: bug-"
+#~ "parted@gnu.org"
+#~ msgstr ""
+#~ "Les FATs no són el suficientment grans per descriure tots els clústers!  "
+#~ "Cada FAT és de %d sectors.  Hi ha %d clústers, que vol dir que cada FAT "
+#~ "tingui %d sectors.  Això és molt extrany. Ens podries escriure un e-mail "
+#~ "a: bug-parted@gnu.org"
 
 #~ msgid "Too many bad pages."
 #~ msgstr "Massa pàgines incorrectes."
 
+#~ msgid "where necessary, prompts for user intervention"
+#~ msgstr "quan és necessari, pregunta a l'usuari"
+
+#~ msgid "START and END are in megabytes\n"
+#~ msgstr "INICI i FI són en megabytes\n"
+
+#~ msgid "Partition is being used."
+#~ msgstr "La partició s'està utilitzant."
+
 #~ msgid "Source partition number?"
 #~ msgstr "Número de partició d'origen?"
 
-#, fuzzy
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "No es poden copiar particions exteses."
-
 #~ msgid "Destination partition number?"
 #~ msgstr "Número de partició destí?"
 
-#, fuzzy
 #~ msgid ""
-#~ "An extended partition cannot hold a file system.  Did you want mkpart?"
+#~ "You requested to create a partition at %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Has demanat de crear una partició a %.3f-%.3fMb. El més proper que Parted "
+#~ "pot manegar és %.3f-%.3fMb."
+
+#~ msgid "Extended partitions can't have file systems.  Did you want mkpart?"
 #~ msgstr ""
 #~ "Les particions exteses no poden tenir sistemes de fitxers.  Voleu "
 #~ "executar mkpart?"
 
-#, fuzzy
-#~ msgid "Can't move an extended partition."
+#~ msgid "Can't move extended partitions."
 #~ msgstr "No es poden moure particions exteses"
 
 #~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
@@ -3216,35 +3299,54 @@ msgstr ""
 #~ "No es por moure una partició a ella mateixa.  Vols redimensionar-la, "
 #~ "potser?"
 
+#~ msgid ""
+#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Has demanat de moure una partició a %.3f-%.3fMb. El més proper que Parted "
+#~ "pot manegar és %.3f-%.3fMb."
+
 #~ msgid "Minor: %d\n"
 #~ msgstr "Minor: %d\n"
 
-#, fuzzy
-#~ msgid "Flags: %s\n"
+#~ msgid "Flags: "
 #~ msgstr "Flags:"
 
 #~ msgid "File System: %s\n"
 #~ msgstr "Sistema de fitxers:%s\n"
 
-#, fuzzy
-#~ msgid "Size:         "
+#~ msgid "Size:         %10.3fMb (%d%%)\n"
 #~ msgstr "Mida:         %10.3fMb (%d%%)\n"
 
-#, fuzzy
-#~ msgid "Minimum size: "
+#~ msgid "Minimum size: %10.3fMb (%d%%)\n"
 #~ msgstr "Mida mínima: %10.3fMb (%d%%)\n"
 
-#, fuzzy
-#~ msgid "Maximum size: "
+#~ msgid "Maximum size: %10.3fMb (%d%%)\n"
 #~ msgstr "Mida màxima: %10.3fMb (%d%%)\n"
 
-#~ msgid "check"
-#~ msgstr "comprova"
+#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
+#~ msgstr "La geometria del disc per %s: 0.000-%.3f megabytes\n"
+
+#~ msgid "Minor    Start       End     "
+#~ msgstr "Minor    Inici       Fi     "
+
+#~ msgid "Type      "
+#~ msgstr "Tipus      "
+
+#~ msgid "Filesystem  "
+#~ msgstr "Sistema de fitxers  "
+
+#~ msgid "Name                  "
+#~ msgstr "Nom                   "
 
-#, fuzzy
 #~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
+#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Has demanat redimensionar una partició a %.3f-%.3fMb. El més proper que "
+#~ "Parted pot manegar és %.3f-%.3fMb."
+
+#~ msgid "check MINOR                   do a simple check on the filesystem"
 #~ msgstr ""
 #~ "comprova MINOR                 fa una simple comprovació al sistema de "
 #~ "fitxers"
@@ -3252,9 +3354,8 @@ msgstr ""
 #~ msgid "cp"
 #~ msgstr "cp"
 
-#, fuzzy
 #~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copy filesystem to another "
 #~ "partition"
 #~ msgstr ""
 #~ "cp [DESDE-DISPOS] DE-MINOR A-MINOR      copia un sistema de fitxers a una "
@@ -3263,10 +3364,9 @@ msgstr ""
 #~ msgid "mkfs"
 #~ msgstr "mkfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
+#~ "mkfs MINOR FS-TYPE            make a filesystem FS-TYPE on partititon "
+#~ "MINOR"
 #~ msgstr ""
 #~ "mkfs MINOR TIPUS-SF      crea un sistema de fitxers TIPUS-SF a la "
 #~ "partició MINOR"
@@ -3274,10 +3374,9 @@ msgstr ""
 #~ msgid "mkpartfs"
 #~ msgstr "mkpartfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
+#~ "mkpartfs PART-TYPE FS-TYPE START END      make a partition with a "
+#~ "filesystem"
 #~ msgstr ""
 #~ "mkpartfs TIPUS-PART TIPUS-SF INICI FI      crea una partició amb un "
 #~ "sistema de fitxers"
@@ -3285,177 +3384,9 @@ msgstr ""
 #~ msgid "move"
 #~ msgstr "move"
 
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
+#~ msgid "move MINOR START END          move partition MINOR"
 #~ msgstr "move MINOR INICI FI          mou la partició MINOR"
 
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "rescatar INICI FI        rescata particions perdudes entre INICI i FI"
-
-#, fuzzy
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "No s'ha pogut determinar la mida de %s (%s)"
-
-#, fuzzy
-#~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr ""
-#~ "El kernel no ha pogut rellegir la taula de particions a %s (%s).Aixó vol "
-#~ "dir que Linux no reconeixerà cap de les modificacions fetes. Heu "
-#~ "d'arrencar la màquina abans de fer res amb %s."
-
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than %d bytes"
-#~ msgstr ""
-#~ "La mida del sector a %s és de %d bytes. Parted no funcionarà correctament "
-#~ "amb discs d'una mida de sector diferent de %d bytes"
-
-#~ msgid "Device %s has dodgey geometry."
-#~ msgstr "El dispositiu %s té una geometria incorrecte."
-
-#~ msgid "IDE"
-#~ msgstr "IDE"
-
-#~ msgid "SCSI"
-#~ msgstr "SCSI"
-
-#~ msgid "Device %s is neither a SCSI nor IDE drive."
-#~ msgstr "El dispositiu %s no és ni SCSI ni IDE"
-
-#~ msgid "Error reading %s (%s) to determine if partition is mounted."
-#~ msgstr "Error al llegir %s (%s) per determinar si la partició està muntada."
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  However, the most likely reason is that Linux "
-#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
-#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
-#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
-#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
-#~ "GRUB documentation for more information.  If you think Parted's suggested "
-#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
-#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
-#~ msgstr ""
-#~ "La taula de particions a %s és inconsistent.  Hi ha diverses raons per "
-#~ "les quals es pot donar aquest error.  Però la més comú sol ser que Linux "
-#~ "ha detectat la geometria de la BIOS de %s incorrectament. GNU Parted creu "
-#~ "que la autèntica geometria ha de ser %d/%d/%d ( i no %d/%d/%d). Primer "
-#~ "s'ha de comprovar la BIOS que sigui correcta. Es pot especificar a Linux "
-#~ "afegint el paràmetre %s=%d,%d,%d a la línia de comandes. Veieu la "
-#~ "documentació de LILO o GRUB per més informació. Si es creu que la "
-#~ "geometria que suggereix Parted és correcta, seleccioneu Ignorar per "
-#~ "continuar ( i arregleu Linux després). Si no, seleccioneu Cancel·lar ( i "
-#~ "arregleu Linux i/o la BIOS ara mateix)."
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  Often, the reason is that Linux detected the "
-#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
-#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
-#~ "with some boot loaders, and may cause problems with FAT file systems.  "
-#~ "Using LBA is recommended."
-#~ msgstr ""
-#~ "La taula de particions a %s és inconsistent. Hi ha diverses raons per les "
-#~ "quals es pot donar aquest error. Però la més comú sol ser que Linux ha "
-#~ "detectat la geometria de la BIOS incorrectament. No obstant, no sembla "
-#~ "ser el cas aqui. El més segur és Ignorar, però ignorant pot causar "
-#~ "problemes (que es podren arreglar) en alguns carregadors d'arrencada i "
-#~ "també pot donar problemes amb sistemes de fitxers FAT. Es recomana "
-#~ "utilitzar LBA."
-
-#~ msgid ""
-#~ "Unable to align partition properly.  This probably means that another "
-#~ "partitioning tool generated an incorrect partition table, because it "
-#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
-#~ "may cause (fixable) problems with some boot loaders."
-#~ msgstr ""
-#~ "No s'ha pogut aliniar la partició correctament. Aixó vol dir que, "
-#~ "probablement, que un altre gestor de particions ha generat una taula de "
-#~ "particions incorrecta ja que no té una correcta geometria a la BIOS. El "
-#~ "més segur és Ignorar, però si s'ignora pot causar problemes (que es "
-#~ "podren arreglar)amb alguns carregadors d'arrencada."
-
-#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
-#~ msgstr "S'ha intentat llegir sectors %ld-%ld fora de la partició a %s"
-
-#~ msgid ""
-#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
-#~ "this (yet)."
-#~ msgstr ""
-#~ "Aquest sistema de fitxers ext2 té un disseny bastant extrany! Parted "
-#~ "(encara) no el pot redimensionar."
-
-#~ msgid "Filesystem has incompatible feature enabled"
-#~ msgstr "El sistema de fitxers té una característica incompatible activada"
-
-#~ msgid "File system has an invalid signature for a FAT file systems."
-#~ msgstr ""
-#~ "El sistema de fitxers té una signatura invàlida per a un sistema de "
-#~ "fitxers FAT."
-
-#~ msgid ""
-#~ "The FATs aren't big enough to describe all clusters!  Each FAT is %d "
-#~ "sectors.  There are %d clusters, which would require each FAT to be %d "
-#~ "sectors.  This is REALLY weird.  You might want to write us an email: bug-"
-#~ "parted@gnu.org"
-#~ msgstr ""
-#~ "Les FATs no són el suficientment grans per descriure tots els clústers!  "
-#~ "Cada FAT és de %d sectors.  Hi ha %d clústers, que vol dir que cada FAT "
-#~ "tingui %d sectors.  Això és molt extrany. Ens podries escriure un e-mail "
-#~ "a: bug-parted@gnu.org"
-
-#~ msgid "where necessary, prompts for user intervention"
-#~ msgstr "quan és necessari, pregunta a l'usuari"
-
-#~ msgid "START and END are in megabytes\n"
-#~ msgstr "INICI i FI són en megabytes\n"
-
-#~ msgid "Partition is being used."
-#~ msgstr "La partició s'està utilitzant."
-
-#~ msgid ""
-#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr ""
-#~ "Has demanat de moure una partició a %.3f-%.3fMb. El més proper que Parted "
-#~ "pot manegar és %.3f-%.3fMb."
-
-#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
-#~ msgstr "La geometria del disc per %s: 0.000-%.3f megabytes\n"
-
-#~ msgid "Disk label type: %s\n"
-#~ msgstr "Tipus d'etiqueta: %s\n"
-
-#~ msgid "Minor    Start       End     "
-#~ msgstr "Minor    Inici       Fi     "
-
-#~ msgid "Type      "
-#~ msgstr "Tipus      "
-
-#~ msgid "Filesystem  "
-#~ msgstr "Sistema de fitxers  "
-
-#~ msgid "Name                  "
-#~ msgstr "Nom                   "
-
-#~ msgid ""
-#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr ""
-#~ "Has demanat redimensionar una partició a %.3f-%.3fMb. El més proper que "
-#~ "Parted pot manegar és %.3f-%.3fMb."
-
 #~ msgid ""
 #~ "print [MINOR]                 display the partition table, or a partition"
 #~ msgstr ""
index 90aca647cb3fb612345f2fa3ce8fc8099412d01d..2d98651e7a450535da3ecdc0e226a0b159d351dc 100644 (file)
Binary files a/po/cs.gmo and b/po/cs.gmo differ
index 87b4ad0fb09ccc9e5582beafb2cdd0176fae0c44..b2a80d1a24bc13938b7caf428b09f0c616004e8d 100644 (file)
--- a/po/cs.po
+++ b/po/cs.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 1.8.8\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2007-09-11 14:02+0200\n"
 "Last-Translator: Miloslav Trmac <mitr@volny.cz>\n"
 "Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
@@ -26,11 +26,10 @@ msgid "ambiguous argument %s for %s"
 msgstr ""
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "neplatný token: %s"
+msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "chyba při zápisu"
 
@@ -114,83 +113,83 @@ msgstr "%s: přepínač `%s' vyžaduje parametr\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "„"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "”"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Úspěch"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Žádný výskyt"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Neplatný regulární výraz"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Neplatný řadicí znak"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Neplatný název třídy znaků"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Koncové zpětné lomítko"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Neplatný odkaz zpět"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Nepárová [ nebo [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Nepárová ( nebo \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Nepárová \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Neplatný obsah \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Neplatný konec rozsahu"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Došla paměť"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Neplatný předchozí regulární výraz"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Předčasný konec regulárního výrazu"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Regulární výraz je příliš velký"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Nepárová ) nebo \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Žádný předchozí regulární výraz"
 
@@ -200,7 +199,7 @@ msgstr "Žádný předchozí regulární výraz"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[aA]"
 
@@ -210,7 +209,7 @@ msgstr "^[aA]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -400,73 +399,73 @@ msgid "invalid %s%s argument '%s'"
 msgstr "neplatný token: %s"
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "neplatný token: %s"
+msgstr ""
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "neplatný token: %s"
+msgstr ""
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr "Obraz disku"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Chyba při otevírání %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Nemohu otevřít %s pro čtení/zápis (%s). %s bylo otevřeno jen pro čtení."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s při seek pro čtení %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s při čtení %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Nemohu zapisovat na %s, protože je otevřen jen pro čtení."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s při seek pro zápis na %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s při zápisu na %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Pro více informací zkuste `%s --help'.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "použití: %s [PŘEPÍNAČ] [ZAŘÍZENÍ]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -482,7 +481,7 @@ msgstr ""
 "  -h, --help       zobrazit tuto nápovědu a skončit\n"
 "  -v, --version    vypsat informace o verzi a skončit\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -490,7 +489,7 @@ msgstr ""
 "\n"
 "Když není zadáno ZAŘÍZENÍ, prozkoumat všechny oddíly.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -535,7 +534,7 @@ msgstr ""
 "změnách, které jste provedli. Než budete cokoli dělat s %s, měli byste "
 "restartovat svůj počítač."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -548,18 +547,18 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s při pokusu sync %s na disk"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Nemohu stat zařízení %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, fuzzy, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Nemohu určit velikost %s (%s)."
 
-#: libparted/arch/linux.c:677
-#, fuzzy, c-format
+#: libparted/arch/linux.c:757
+#, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
@@ -567,7 +566,7 @@ msgstr ""
 "Nemohu zjistit velikost sektoru pro %s: %s.\n"
 "Používám implicitní velikost sektoru (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, fuzzy, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -576,21 +575,21 @@ msgstr ""
 "Nemohu zjistit velikost sektoru pro %s: %s.\n"
 "Používám implicitní velikost sektoru (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Nemohu určit velikost %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Nemohu získat identitu zařízení %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Obecné IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -603,12 +602,12 @@ msgstr ""
 "jmenovky disku/systému souborů, např. GPT a ext2/3.\n"
 "Pro aktuální informace prosím navštivte WWW server."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Chyba při inicializaci zařízení SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, fuzzy, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -617,7 +616,7 @@ msgstr ""
 "Zařízení %s má nulovou délku a nemůže obsahovat systém souborů nebo tabulku "
 "oddílů. Možná jste vybrali špatné zařízení?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -626,88 +625,88 @@ msgstr ""
 "Nemohu určit geometrii souboru/zařízení %s. Neměli byste používat Parted, "
 "pokud OPRAVDU nevíte, co děláte!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Řadič RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Zařízení Promise SX8 SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "Disk IBM S390 DASD"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "Virtuální DASD IBM iSeries"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Řadič ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Řadič I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "UBD User-mode Linuxu"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "Zdrojové zařízení?"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, fuzzy, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux device-mapper"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Virtuální blokové zařízení Xenu"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Neznámý"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 #, fuzzy
 msgid "Virtio Block Device"
 msgstr "Virtuální blokové zařízení Xenu"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Nepodporovaný typ zařízení"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Chyba při otevírání %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -718,17 +717,12 @@ msgstr ""
 "nebude vědět o změnách, které provedli na %s, dokud nerestartujete systém — "
 "takže byste jej neměli připojovat nebo jej před restartem jakkoli používat."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Nemohu určit velikost %s (%s)."
 
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "%s : Nemohučíst blok oddílu %llu\n"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -737,30 +731,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted nemohl znovu načíst tabulku oddílů na %s (%s). To znamená, že Linux "
-"nebude vědět nic o změnách, které jste provedli."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Nemohu mít konec před začátkem!"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Nemohu mít oddíl mimo disk!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Pokus zapisovat sektory %ld-%ld mimo oddíl na %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "hledám špatné bloky"
 
@@ -774,12 +755,12 @@ msgstr "Backtrace má na zásobníku %d volání:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Tvrzení (%s) na %s:%d ve funkci %s() selhalo."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: neznámá jmenovka disku"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -788,148 +769,166 @@ msgstr ""
 "Tato libparted nemá podporu pro zápis pro %s. Možná byla přeložena jen pro "
 "čtení."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Oddíl %d je %s, ale systém souborů je %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, fuzzy, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Neznámý příznak oddílu, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Jmenovky disku %s nepodporují rozšířené oddíly."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "Jmenovky disku %s nepodporují logické nebo rozšířené oddíly."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Příliš mnoho primárních oddílů."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr "Nemohu přidat logický oddíl do %s, protože neexistuje rozšířený oddíl."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Nemohu mít více než jeden rozšířený oddíl na %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Nemohu mít logické oddíly mimo rozšířený oddíl."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "Nemohu mít logický oddíl mimo rozšířený oddíl na %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Nemohu mít překrývající se oddíly."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Nemohu mít primární oddíl uvnitř rozšířeného oddílu."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Nemohu mít oddíl mimo disk!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Nemohu mít překrývající se oddíly."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadata"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "volné"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "rozšířený"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logický"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primární"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "skrytý"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Ano"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Neznámý příznak oddílu, %d."
@@ -1035,10 +1034,10 @@ msgstr ""
 "Podpora pro nastavování přepínačů ve jmenovkách disku AIXu ještě není "
 "implementována."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Nemohu splnit všechna omezení na oddíl."
@@ -1047,30 +1046,30 @@ msgstr "Nemohu splnit všechna omezení na oddíl."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Nemohu alokovat položku jmenovky disku bsd."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Nemohu alokovat položku jmenovky disku dasd"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Neplatná tabulka oddílů na %s - nesprávný podpis %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Neplatná tabulka oddílů - rekurzivní oddíl na %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Rozšířené oddíly nelze na jmenovkách disku msdos skrývat."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted neumí měnit velikost oddílů spravovaných pomocí Windows Dynamic Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Nemohu vytvářet další oddíly."
@@ -1108,116 +1107,106 @@ msgstr "Jen logické oddíly (zaváděcí soubory) mají název."
 msgid "Too many primary partitions"
 msgstr "Příliš mnoho primárních oddílů"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "chyba při otevírání"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "chyba při posunu"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "chyba při čtení"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "chyba při ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "Nesoulad verzí API"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Nepodporovaný typ disku"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Nepodporovaný formát disku"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disk se používá"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Chyba syntaxe v souboru s nastavením"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Jmenovka svazku je poškozena"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Název sady dat je poškozen"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Alokace paměti selhala"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Ověřování zařízení selhalo"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Zadané zařízení není platné zařízení DASD"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Fatální chyba"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Není místo na jmenovku svazku."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Není místo pro informace o oddílech."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Neplatná VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Nemohu získat verzi API."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr "Aktuální verze API '%d' neodpovídá verzi API ovladače '%d'!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Nemohu získat informace o geometrii disku."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Nemohu získat informace o velikosti bloku."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Nemohu získat informace o disku."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s obsahuje podpisy GPT, což naznačuje, že má tabulku GPT. Nemá ale platnou "
-"falešnou tabulku oddílů msdos, kterou by měl mít. Možná byla poškozena — "
-"např. programem, který nerozumí tabulkám oddílů GPT. Nebo jste možná "
-"odstranili tabulku oddílů GPT a nyní používáte tabulku oddílů msdos. Je toto "
-"tabulka oddílů GPT?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Zařízení pro %lu bloků příliš malé."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1226,7 +1215,7 @@ msgstr ""
 "Formát tabulky oddílů GPT je verze %x, což je novější, než kterou umí "
 "rozpoznat Parted. Oznamte nám to prosím! bug-parted@gnu.org"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1237,17 +1226,17 @@ msgstr ""
 "používala všechno místo (dalších %llu bloků) nebo pokračovat se současným "
 "nasatvením? "
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Záložní tabulka GPT není na konci disku, jak by měla být. To možná znamená, "
 "že jiný operační systém si myslí, že disk je menší. Mám to opravit "
 "přesunutím zálohy na konec (a odstraněním staré zálohy)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1255,7 +1244,7 @@ msgstr ""
 "Primární i záložní tabulka GPT je poškozena. Zkuste vytvořit novou tabulku a "
 "obnovit oddíly pomocí schopnosti Partedu rescue."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 #, fuzzy
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
@@ -1264,7 +1253,7 @@ msgstr ""
 "Primární tabulka GPT je poškozena, ale záloha se zdá být v pořádku, takže "
 "bude použita záloha."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1272,10 +1261,15 @@ msgstr ""
 "Primární tabulka GPT je poškozena, ale záloha se zdá být v pořádku, takže "
 "bude použita záloha."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Nemohu alokovat číslo oddílu."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1290,40 +1284,40 @@ msgstr "Mapa oddílů nemá žádnou položku mapy oddílů!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s je příliš malý pro jmenovku disku Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Oddíl %d má neplatný podpis %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Oddíl %d má neplatnou délku 0 bajtů."
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Datový region nezačíná na začátku oddílu."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Zaváděcí region nezačíná na začátku oddílu."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Zaváděcí region oddílu nezabírá celý oddíl."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Datový region oddílu nezabírá celý oddíl."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 "Podivná velikost bloku v deskriptoru zařízení: %d bajtů není dělitelné 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1332,11 +1326,11 @@ msgstr ""
 "Deskriptor ovladače říká, že fyzická velikost bloku je %d bajtů ale Linux "
 "říká, že je to %d bajtů."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Nenalezena platná mapa oddílů."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1345,7 +1339,7 @@ msgstr ""
 "Kolidující velikosti položek mapy oddílů! Položka 1 říká, že je to %d, ale "
 "položka %d říká, že je to %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Podivné! Existují 2 položky mapy oddílu!"
 
@@ -1357,7 +1351,7 @@ msgstr ""
 "Změna názvu kořenového nebo odkládacího oddílu zabrání Linuxu v jeho "
 "rozpoznání."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Nemohu přidat další oddíl — mapa oddílů je příliš malá!"
 
@@ -1495,56 +1489,61 @@ msgstr "zápis na zařízení selhal"
 msgid "reading from device failed"
 msgstr "čtení ze zařízení selhalo"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Nemohu číst jmenovku svazku."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Nemohu zapsat jmenovku svazku."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Nemohu číst jmenovky VTOC."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Nemohu číst FMT1 DSCB VTOC."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Nemohu číst FMT4 DSCB VTOC."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Nemohu číst FMT5 DSCB VTOC."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Nemohu číst FMT7 DSCB VTOC."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Nemohu zapisovat jmenovky VTOC."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Nemohu zapisovat FMT1 DSCB VTOC."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Nemohu zapisovat FMT4 DSCB VTOC."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Nemohu zapisovat FMT5 DSCB VTOC."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Nemohu zapisovat FMT7 DSCB VTOC."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Nemohu zapisovat FMT1 DSCB VTOC."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Nedostatek paměti."
 
@@ -1580,25 +1579,25 @@ msgstr "Neplatné číslo."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Nemohu alokovat blok oddílu\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Nemohu alokovat blok\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Nemohu číst zaváděcí blok %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Nemohu číst kořenový blok %llu\n"
@@ -1638,7 +1637,7 @@ msgstr "%s : Nenašeljsem blok rdb, to by se nemělo nikdy stát\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Nemohučíst blok oddílu %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1646,85 +1645,65 @@ msgstr ""
 "GNU Parted byl nesprávně přeložen: zaváděcí sektor FAT by měl být 512 bajtů. "
 "Podpora FAT bude zakázána."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Systém souborů má neplatný podpis pro systém souborů FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "Systém souborů má neplatnou velikost sektoru pro systém souborů FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "Systém souborů má neplatnou velikost clusteru pro systém souborů FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Systém souborů má neplatný počet rezervovaných sektorů pro systém souborů "
 "FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Systém souborů má neplatný počet FAT."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Systém souborů má logickou velikost sektoru %d. Ví se, že GNU Parted "
-"nepracuje správně s velikostí sektoru jinou než 512 bajtů."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "Zaváděcí sektor FAT říká, že logická velikost sektoru je 0. To je divné. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "Zaváděcí sektor FAT říká, že neexistuje žádná tabulka FAT. To je divné. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "Zaváděcí sektor FAT říká, že cluster je 0 sektorů. To je divné. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Systém souborů je FAT12, což není podporováno."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Sektor informací má nesprávný podpis (%x). Zatím zvolte Zrušit a pošlete "
-"hlášení o chybě. Pokud jste v úzkých, můžete to pravděpodobně bez obav "
-"ignorovat."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Nerozpoznaný podpis odkládacího oddílu linuxu '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, fuzzy, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Nerozpoznaný podpis odkládacího oddílu linuxu '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, fuzzy, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Nerozpoznaný podpis odkládacího oddílu linuxu '%10s'."
@@ -1738,7 +1717,16 @@ msgstr ""
 "Parted nemůže používat systémy souborů HFS na disků s velikostí sektoru "
 "jinou než %d bajtů."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Systém souborů má logickou velikost sektoru %d. Ví se, že GNU Parted "
+"nepracuje správně s velikostí sektoru jinou než 512 bajtů."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1753,6 +1741,16 @@ msgstr ""
 "systému souborů bude nastavena tak, aby odpovídala geometrii CHS tabulky "
 "oddílů."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Sektor informací má nesprávný podpis (%x). Zatím zvolte Zrušit a pošlete "
+"hlášení o chybě. Pokud jste v úzkých, můžete to pravděpodobně bez obav "
+"ignorovat."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1813,12 +1811,12 @@ msgstr ""
 "Soubor %s je označen jako systémový soubor. To znamená, že jeho přesun může "
 "způsobit, že některé programy přestanou fungovat."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Oddíl je příliš velký/malý pro systém souborů %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1826,11 +1824,11 @@ msgstr ""
 "Tabulky FAT si neodpovídají. Pokud nevíte, co to znamená, zvolte Zrušit, "
 "spusťte na systému souborů scandisk a pak se vraťte."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Pro tento typ FAT neexistuje možná konfigurace."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1841,7 +1839,7 @@ msgstr ""
 "clusteru je %dk (očekáváno %dk); počet clusterů je %d (očekáváno %d); "
 "velikost FAT je %d sektorů (očekáváno %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2279,27 +2277,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "TYP-JMENOVKY je jeden z: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "PŘEPÍNAČ je jeden z: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "JEDNOTKA je jedna z: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "TYP-ODDÍLU je jeden z: primary, logical, extended\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "TYP-FS je jeden z: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2308,19 +2306,28 @@ msgstr ""
 "ZAČÁTEK a KONEC jsou místa na disku, např. 4GB nebo 10%. Záporné hodnoty se "
 "počítají od konce disku. Například -1s určuje přesně poslední sektor.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"ZAČÁTEK a KONEC jsou místa na disku, např. 4GB nebo 10%. Záporné hodnoty se "
+"počítají od konce disku. Například -1s určuje přesně poslední sektor.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "STAV je jeden z: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "ZAŘÍZENÍ je obvykle /dev/hda nebo /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NÁZEV je libovolné slovo\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2340,25 +2347,23 @@ msgstr ""
 "podrobnosti najdete v GNU General Public License.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(zbylý čas %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "Oddíl %s se používá. Než jej budete upravovat Partedem, musíte jej odpojit."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Oddíl(a) na %s jsou používány."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2367,31 +2372,31 @@ msgstr ""
 "Existující jmenovka disku na %s bude zničena a všechna data na tomto disku "
 "budou ztracena. Chcete pokračovat?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Typ nové jmenovky disku?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Typ oddílu?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Název oddílu?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Typ souborového systému?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Začátek?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Konec?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, fuzzy, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2401,88 +2406,88 @@ msgstr ""
 "Nejbližší umístění, které zvládneme, je %s až %s. Je to pro vás ještě "
 "přijatelné?"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Číslo oddílu?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr "Geometrie cylindr,hlava,sektor BIOSu: %d,%d,%d. Každý cylindr je %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Model: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Sector size (logical/physical): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Tabulka oddílů: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Číslo"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Začátek"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Konec"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Velikost"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Typ"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Systém souborů"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Název"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Přepínače"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Volné místo"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2490,56 +2495,65 @@ msgid ""
 msgstr ""
 "Byl nalezen oddíl %s %s na %s -> %s. Chcete jej přidat do tabulky oddílů?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "hledám systémy souborů"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Nové zařízení?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Přepínač, který změnit?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Nový stav?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Jednotka?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 #, fuzzy
 msgid "align-check"
 msgstr "check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2547,15 +2561,15 @@ msgstr ""
 "help [PŘÍKAZ]                            vypsat obecnou nápovědu nebo "
 "nápovědu o PŘÍKAZu"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2563,15 +2577,15 @@ msgstr ""
 "mklabel,mktable TYP-JMENOVKY             vytvořit novou jmenovku disku "
 "(tabulku oddílů)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart TYP-ODDÍLU [TYP-FS] ZAČÁTEK KONEC  vytvořit oddíl"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2579,19 +2593,19 @@ msgstr ""
 "'mkpart' vytvoří oddíl bez vytvoření nového systému souborů na něm. TYP-FS "
 "může být určen pro nastavení odpovídajícího ID oddílu.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name ČÍSLO NÁZEV                         pojmenovat oddíl ČÍSLO NÁZEV"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2600,7 +2614,7 @@ msgstr ""
 "print [devices|free|list,all|ČÍSLO]      zobrazit tabulku oddílů, dostupná "
 "zařízení, volné místo, všechny nalezené oddíly, nebo konkrétní oddíl"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2608,11 +2622,11 @@ msgstr ""
 "'print' bez parametrů zobrazí celou tabulku oddílů. S následujícími "
 "parametry ale provede různé jiné akce.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : zobrazit všechna aktivní bloková zařízení\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2620,32 +2634,32 @@ msgstr ""
 "  free      : zobrazit informace o volném místě mimo oddíly na aktuálním "
 "blokovém zařízení\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : zobrazit tabulky oddílů všech aktivních blokových zařízení\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 "  ČÍSLO     : zobrazit podrobnější informace o tomto konkrétním oddílu\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     ukončit program"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2653,39 +2667,57 @@ msgstr ""
 "rescue ZAČÁTEK KONEC                     zachránit ztracený oddíl poblíž "
 "ZAČÁTKU a KONCE"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "move ČÍSLO ZAČÁTEK KONEC                 přesunout oddíl ČÍSLO"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm ČÍSLO                                 odstranit oddíl ČÍSLO"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select ZAŘÍZENÍ                          zvolit upravované zařízení"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 #, fuzzy
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 "set ČÍSLO PŘEPÍNAČ STAV                  změnit PŘEPÍNAČ na oddílu ČÍSLO"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 #, fuzzy
 msgid "disk_toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 #, fuzzy
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
@@ -2694,21 +2726,21 @@ msgstr ""
 "toggle [ČÍSLO [PŘEPÍNAČ]]                přepnout stav PŘEPÍNAČE na oddílu "
 "ČÍSLO"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "set ČÍSLO PŘEPÍNAČ STAV                  změnit PŘEPÍNAČ na oddílu ČÍSLO"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2716,21 +2748,21 @@ msgstr ""
 "toggle [ČÍSLO [PŘEPÍNAČ]]                přepnout stav PŘEPÍNAČE na oddílu "
 "ČÍSLO"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit JEDNOTKA                            nastavit implicitní jednotku na "
 "JEDNOTKA"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2738,7 +2770,7 @@ msgstr ""
 "version                                  zobrazit číslo verze a informace o "
 "copyrightu GNU Parted"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2746,21 +2778,21 @@ msgstr ""
 "'version' zobrazí informace o copyrightu a informace o verzi odpovídající "
 "této kopii GNU Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, fuzzy, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr "Použití: %s [-hlmsv] [ZAŘÍZENÍ [PŘÍKAZ [PARAMETRY]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Nenalezeno žádné zařízení"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 #, fuzzy
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr "VAROVÁNÍ: Nejste superuživatel. Pozor na oprávnění."
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Možná budete potřebovat aktualizovat /etc/fstab.\n"
 
@@ -3018,65 +3050,65 @@ msgstr ""
 "\n"
 "Chyba: Byl přijat obecný signál SIGILL."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "neplatný token: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Očekávám číslo oddílu."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Oddíl neexistuje."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Očekávám typ systému souborů."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Neznámý typ systému souborů \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Očekávám typ jmenovky disku."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Nemohu vytvářet další oddíly."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Očekávám typ oddílu."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "off"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "PŘEPÍNAČe:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "PŘÍKAZy:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, fuzzy, c-format
 msgid ""
 "\n"
@@ -3085,15 +3117,18 @@ msgstr ""
 "\n"
 "Chyby hlaste na <%s>.\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Používám %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 
+#~ msgid "%s: illegal option -- %c\n"
+#~ msgstr "%s: neplatný přepínač -- %c\n"
+
 #~ msgid ""
 #~ "Usage: %s [OPTION]\n"
 #~ "  or:  %s DEVICE MINOR\n"
@@ -3121,9 +3156,31 @@ msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 #~ msgid "too many arguments"
 #~ msgstr "příliš mnoho parametrů"
 
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "neplatný token: %s"
+#~ msgid ""
+#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
+#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
+#~ msgstr ""
+#~ "Zařízení %s má logickou velikost sektoru %lld. Ne všechny části GNU "
+#~ "Parted to momentálně podporují, a fungující kód je VELICE "
+#~ "EXPERIMENTÁLNÍ.\n"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "parted nemohl znovu načíst tabulku oddílů na %s (%s). To znamená, že "
+#~ "Linux nebude vědět nic o změnách, které jste provedli."
+
+#~ msgid ""
+#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
+#~ "means Linux won't know anything about the modifications you made until "
+#~ "you reboot.  You should reboot your computer before doing anything with "
+#~ "%s."
+#~ msgstr ""
+#~ "Jádro nemohlo znovu načíst tabulku oddílů na %s (%s). To znamená, že "
+#~ "Linux nebude vědět nic o změnách, které jste provedli, dokud "
+#~ "nerestartujete systém. Měli byste svůj počítač restartovat, než budete s "
+#~ "%s něco dělat."
 
 #~ msgid "Support for opening %s file systems is not implemented yet."
 #~ msgstr ""
@@ -3201,9 +3258,6 @@ msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 #~ msgid "Couldn't create reiserfs device abstraction handler."
 #~ msgstr "Nemohu vytvořit vrtsvu abstrakce zařízení reiserfs."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Zařízení pro %lu bloků příliš malé."
-
 #~ msgid "copying"
 #~ msgstr "kopíruji"
 
@@ -3220,6 +3274,25 @@ msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 #~ "GNU Parted detekoval nesoulad ve verzích rozhraní libreiserfs. Nalezeno "
 #~ "%d-%d, vyžadováno %d. Podpora ReiserFS bude zakázána."
 
+#~ msgid "Unable to determine the block size of this dasd"
+#~ msgstr "Nemohu určit bloku tohoto dasd"
+
+#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
+#~ msgstr "Toto není disk ECKD! Tento typ disku není podporován!"
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s obsahuje podpisy GPT, což naznačuje, že má tabulku GPT. Nemá ale "
+#~ "platnou falešnou tabulku oddílů msdos, kterou by měl mít. Možná byla "
+#~ "poškozena — např. programem, který nerozumí tabulkám oddílů GPT. Nebo "
+#~ "jste možná odstranili tabulku oddílů GPT a nyní používáte tabulku oddílů "
+#~ "msdos. Je toto tabulka oddílů GPT?"
+
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "Nekonzistentní deskriptory skupin!"
 
@@ -3239,6 +3312,9 @@ msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 #~ "Systém souborů nebyl čistě odpojen! Měli byste spustit e2fsck. Úpravy "
 #~ "nečistého systému souborů mohou způsobit vážné poškození dat."
 
+#~ msgid "File system has an incompatible feature enabled."
+#~ msgstr "Systém souborů má povolenou nekompatibilní vlastnost."
+
 #~ msgid "Error allocating buffer cache."
 #~ msgstr "Chyba při alokaci buffer cache."
 
@@ -3379,9 +3455,6 @@ msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 #~ msgid "Maximum size: "
 #~ msgstr "Maximální velikost: "
 
-#~ msgid "check"
-#~ msgstr "check"
-
 #~ msgid ""
 #~ "check NUMBER                             do a simple check on the file "
 #~ "system"
@@ -3402,10 +3475,9 @@ msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 #~ msgid "mkfs"
 #~ msgstr "mkfs"
 
-#, fuzzy
 #~ msgid ""
 #~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
+#~ "partititon NUMBER"
 #~ msgstr ""
 #~ "mkfs ČÍSLO TYP-FS                        vytvořit systém souborů TYP-FS "
 #~ "na oddílu ČÍSLO"
@@ -3423,12 +3495,6 @@ msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 #~ msgid "move"
 #~ msgstr "move"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move ČÍSLO ZAČÁTEK KONEC                 přesunout oddíl ČÍSLO"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
@@ -3436,45 +3502,6 @@ msgstr "Tento příkaz nedává smysl v neinteraktivním režimu.\n"
 #~ "resize ČÍSLO ZAČÁTEK KONEC               změnit velikost oddílu ČÍSLO a "
 #~ "jeho systému souborů"
 
-#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
-#~ msgstr "Toto není disk ECKD! Tento typ disku není podporován!"
-
-#~ msgid ""
-#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
-#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
-#~ msgstr ""
-#~ "Zařízení %s má logickou velikost sektoru %lld. Ne všechny části GNU "
-#~ "Parted to momentálně podporují, a fungující kód je VELICE "
-#~ "EXPERIMENTÁLNÍ.\n"
-
-#, fuzzy
-#~ msgid ""
-#~ "Could not determine minimum io size for %s: %s.\n"
-#~ "Using the default size (%lld)."
-#~ msgstr ""
-#~ "Nemohu zjistit velikost sektoru pro %s: %s.\n"
-#~ "Používám implicitní velikost sektoru (%lld)."
-
-#~ msgid "%s: illegal option -- %c\n"
-#~ msgstr "%s: neplatný přepínač -- %c\n"
-
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Nemohu určit bloku tohoto dasd"
-
-#~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr ""
-#~ "Jádro nemohlo znovu načíst tabulku oddílů na %s (%s). To znamená, že "
-#~ "Linux nebude vědět nic o změnách, které jste provedli, dokud "
-#~ "nerestartujete systém. Měli byste svůj počítač restartovat, než budete s "
-#~ "%s něco dělat."
-
-#~ msgid "File system has an incompatible feature enabled."
-#~ msgstr "Systém souborů má povolenou nekompatibilní vlastnost."
-
 #~ msgid "IDE"
 #~ msgstr "IDE"
 
index 3318c3c5bcbf3bf0e91a78c14d7280d89b738bda..70dc109ca5926598dc6f590c6468fdfe8e9ce8dc 100644 (file)
Binary files a/po/da.gmo and b/po/da.gmo differ
index 87e37b757e7b17879b1bcc004bbf3d1e76cadc76..6e40b70671bfd84459aa94f5a71d89a7ec3bddd3 100644 (file)
--- a/po/da.po
+++ b/po/da.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 3.0\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2011-06-03 23:23+0200\n"
 "Last-Translator: Keld Simonsen <keld@keldix.com>\n"
 "Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
@@ -31,7 +31,7 @@ msgstr "flertydigt argument %s for %s"
 msgid "Valid arguments are:"
 msgstr "Gyldige argumenter er:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "skrivefejl"
 
@@ -115,83 +115,83 @@ msgstr "%s: flaget '-W %s' kr
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "'"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "'"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Lykkedes"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Ingen træffer"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Ugyldigt regulært udtryk"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Ugyldigt sorteringstegn"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Ugyldigt tegnklassnavn"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Efterfølgende omvendt skråstreg"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Ugyldig bagudreference"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Ensomt [ eller [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Ensomt ( eller \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Ensomt \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Ugyldigt indhold i \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Ugyldig intervalslut"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Slut på hukommelse"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Ugyldigt foregående regulært udtryk"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "For tidlig slutning på regulært udtryk"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Regulært udtryk er for stort"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Ensomt ) eller \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Ingen tidligere regulære udtryk"
 
@@ -201,7 +201,7 @@ msgstr "Ingen tidligere regul
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[jJyY]"
 
@@ -211,7 +211,7 @@ msgstr "^[jJyY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -415,60 +415,60 @@ msgid "Disk Image"
 msgstr "Diskafbildning"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "En fejl opstod da %s åbnedes: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Kunne ikke åbne %s for både læsning og skrivning (%s). %s åbnedes i "
 "læsetilstand."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s under positionering for at læse på %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s under læsning på %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Kan ikke skrive til %s eftersom den kun er åbnet i læsetilstand."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s under positionering for at skrive på %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s under skrivning på %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Prøv '%s --help' for mere information.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Brug: %s [FLAG] [ENHED]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -484,7 +484,7 @@ msgstr ""
 "  -h, --help       vis denne hjælpetekst og afslut\n"
 "  -v, --version    vis versionsinformation og afslut\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -492,7 +492,7 @@ msgstr ""
 "\n"
 "Når ingen ENHED er sngivet, så undersøg alle partitioner.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -539,7 +539,7 @@ msgstr ""
 "véd noget som helst om de ændringer du lavede. Du bør genstarte maskinen "
 "inden du gør noget som helst med %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -552,17 +552,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s prøver at synkronisere %s med disk"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Kunne ikke tage status på enheden %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Kunne ikke bestemme dm-typen på %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -571,7 +571,7 @@ msgstr ""
 "Kunne ikke bestemme sektorstørrelse for %s: %s.\n"
 "Bruger standardsektorstørrelsen (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -580,21 +580,21 @@ msgstr ""
 "Kunne ikke bestemme fysisk sektorstørrelse for %s.\n"
 "Bruger den logiske sektorstørrelse (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Kunne ikke bestemme størrelsen på %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Kunne ikke finde identitet for enhed %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Generisk IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -607,12 +607,12 @@ msgstr ""
 "kombinationer af disketikette/filsystem, fx GPT og ext2/3.\n"
 "Referér til webstedet for opdateret information."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "En fejl opstod ved initiering af SCSI-enheden %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -621,7 +621,7 @@ msgstr ""
 "Enheden %s har så lille at den slet ikke kan indeholde et filsystem eller en "
 "partitionstabel. Måske har du valgt den forkerte enhed?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -630,86 +630,86 @@ msgstr ""
 "Kunne ikke bestemme geometrien på fil/enhed %s. Du bør ikke bruge Parted "
 "hvis du ikke er RIGTIGT sikker på hvad du gør!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Generelt SD/MMC-lagringskort"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Styrekort for DAC960 RAID"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Promise SX8 SATA-enhed"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "ATA over Ethernet-enhed"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "IBM S390 DASD-enhed"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries virtuel DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Styrekort for ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O-styrekort"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr ""
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux device-mapper (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Xen virtuel blokenhed"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Ukendt"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Virtio-blokenhed"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Linux programmeret RAID"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new() Understøttelse mangler for denne enhedstype"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "fejl ved fsync/close på %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, fuzzy, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "filslutning ved læsning af %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -721,17 +721,12 @@ msgstr ""
 "før du genopstarter - så du bør ikke montere den eller bruge den på nogen "
 "måde før du har genstartet."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Kunne ikke bestemme størrelsen eller længden af %s."
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Mislykkedes med at tilføje partition %d (%s)"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -744,30 +739,17 @@ msgstr ""
 "gamle partitioner stadig i bruge  Du bør genstate nu før du laver yderligere "
 "ændringer."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted kunne ikke genindlæse partitionstabellen på %s (%s). Det betyder at "
-"Linux ikke véd noget som helst om de ændringer du lavede. "
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Kan ikke have slutningen før begyndelsen! (startsektor=%jd længde=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Kan ikke have en partition udenfor disken!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Forsøg på at skrive sektorerne %ld-%ld udenfor partitionen på %s"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "kontrollerer for dårlige blokke"
 
@@ -781,12 +763,12 @@ msgstr "Backtrace har %d kald p
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Påstand (%s) på %s:%d i funktionen %s() mislykkedes."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: ukendt diskmærke"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -795,42 +777,42 @@ msgstr ""
 "Denne libparted har ikke skriveunderstøttelse for %s. Måske var den oversat "
 "skrivebeskyttet."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Partition %d er %s, men filsystemet er %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "start"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Ukendt diskflag, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Filallokeringstabeller for %s understøtter ikke udvidede partitioner."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "Filallokeringstabeller for %s understøtter ikke logiske eller udvidede "
 "partitioner."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "For mange primære partitioner."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -838,110 +820,128 @@ msgstr ""
 "Kan ikke tilføje en logisk partition til %s, da der mangler en udvidet "
 "partition."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Kan ikke have mere end én udvidet partition på %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Kan ikke have logiske partitioner udenfor den udvidede partition."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "Kan ikke have en logisk partition udenfor den udvidede partition på %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Kan ikke have overlappende partitioner."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Kan ikke have en primær partition inden i en udvidet partition."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Kan ikke have en partition udenfor disken!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Kan ikke have overlappende partitioner."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadata"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "ledigt"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "udvidet"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logisk"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primær"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "start"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "rod"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swapplads"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "skjult"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "legacy_boot"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Ja"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Ukendt partitionsflag, %d."
@@ -1048,10 +1048,10 @@ msgstr ""
 "Understøttelse for at sætte flag i AIX disketiketter er ikke implementeret "
 "endnu."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Kunne ikke opfylde alle begrænsninger på partitionen."
@@ -1060,31 +1060,31 @@ msgstr "Kunne ikke opfylde alle begr
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Kan ikke tildele en plads til bsd-disketikette."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Kan ikke tildele en plads til dasd-disketikette"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Ugyldig partitionstabel på %s - fejlagtig signatur %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Ugyldig partitionstabel - rekursiv partition på %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Udvidede partitioner kan ikke være skjulte i etiketter af typen msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted kan ikke ændre størrelse på partitioner som håndteres af Windows "
 "Dynamic Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Kan ikke tilføje flere partitioner."
@@ -1124,83 +1124,83 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "For mange primære partitioner"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "fejl ved åbning (open)"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "fejl ved søgning (seek)"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "fejl ved læsning (read)"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "ioctl()-fejl"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "API-versionen stemmer ikke"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Disktypen understøttes ikke"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Diskformatet understøttes ikke"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disken er i brug"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Syntaksfejl i konfigurationsfilen"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Volumetiketten er skaded"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Et datasætnavn er skadet"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Hukommelsesallokeringen mislykkedes"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Enhedsverificeringen mislykkedes"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Den angivne enhed er ikke en gyldig DASD-enhed"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Fatal fejl"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Ingen plads for volumetikette."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Ingen plads for partitionsinformation."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Ugyldig VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Kunne ikke få fat på API-versionen."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
@@ -1208,34 +1208,23 @@ msgstr ""
 "Den aktuelle API-version '%d' passer ikke med API-versionen '%d' for dasd-"
 "drivrutinen!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Kunne ikke få fat på information om diskgeometri."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Kunne ikke få fat på information om blokstørrelse."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Kunne ikke få fat på diskinformation."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
 msgstr ""
-"%s indeholder GPT-signaturer, der tyder på at den har en GPT-tabel. "
-"Imidlertid har den ikke en gyldig falsk msdos-partitionstabel som den burde. "
-"Måske er den ødelagt - muligvis af et program der ikke forstår GPT-"
-"partitionstabeller. Eller måske slettede du GPT-tabellen, og bruger nu en "
-"msdos-partitionstabel. Er dette en GPT-tabel?"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1244,7 +1233,7 @@ msgstr ""
 "Formatet på GPT-partitionstabellen er version %x, hvilket er nyere end hvad "
 "Parted kan genkende. Rapportér gerne dette!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1255,10 +1244,10 @@ msgstr ""
 "GPT til at bruge al pladsen (%llu blokke mere), eller fortsæt med at bruge "
 "den aktuelle indstilling? "
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Sikkerhedskopien af GPT-tabellen er ikke i slutningen af disken, som den "
@@ -1266,7 +1255,7 @@ msgstr ""
 "Skal det rettes ved at flytte sikkerhedskopien til slutningen (og fjerne den "
 "gamle sikkerhedskopi)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1274,7 +1263,7 @@ msgstr ""
 "Både den primære GPT-tabel og sikkerhedskopien er ødelagt. Prøv at lave en "
 "frisk tabel, og at genskabe partitioner med Parteds redningsfacilitet."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1282,7 +1271,7 @@ msgstr ""
 "Sikkerhedskopien af GPT-tabellen er ødelagt, men den primære tabel ser ud "
 "til at være i orden, så den vil blive brugt."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1290,10 +1279,15 @@ msgstr ""
 "Den primære GPT-tabel er ødelagt, men sikkerhedskopien ser ud til at være i "
 "orden, så den vil blive brugt."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "Uoverensstemmelse for CRC på primær partitionstabel"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Kan ikke tildele et partitionsnummer."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1308,33 +1302,33 @@ msgstr "Partitionstabellen mangler oplysninger om sig selv!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s er for lille for en filallokeringstabel for Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Partition %d har en ugyldig signatur %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Partition %d har en ugyldig længde, 0 byte!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Dataområdet begynder ikke ved partitionens begyndelse."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Startområdet begynder ikke ved partitionens begyndelse"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Partitionens opstartområde optager ikke hele partitionens plads."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Partitionens dataområde optager ikke hele partitionens plads."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1342,7 +1336,7 @@ msgstr ""
 "Mærkelig blokstørrelse på enhedens beskriver: %d byte er ikke helt delbart "
 "med 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1351,11 +1345,11 @@ msgstr ""
 "Enhedens beskriver påstår at den fysiske blokstørrelse er %d byte, men Linux "
 "påstår at den er %d byte."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Ingen gyldig partitionstabel kunne findes."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1364,7 +1358,7 @@ msgstr ""
 "Konfliktende størrelsesdata i partitionstabellen! Post 1 påstår den er %d, "
 "mens post %d påstår den er %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Mærkeligt! Der er 2 poster i partitionstabellen!"
 
@@ -1376,7 +1370,7 @@ msgstr ""
 "At ændre navnet på en rod- eller swappartition gør at Linux ikke kan "
 "genkende dem."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Kan ikke tilføje endnu en partition - partitionstabellen er for lille!"
 
@@ -1520,56 +1514,61 @@ msgstr "skrivning til enheden mislykkedes"
 msgid "reading from device failed"
 msgstr "læsning fra enheden mislykkedes"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Kunne ikke læse volumetikette."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Kunne ikke skrive volumetikette."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Kunne ikke læse VTOC-etiketter."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Kunne ikke læse VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Kunne ikke læse VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Kunne ikke læse VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Kunne ikke læse VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Kunne ikke skrive VTOC-etiketter."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Kunne ikke skrive VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Kunne ikke skrive VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Kunne ikke skrive VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Kunne ikke skrive VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Kunne ikke skrive VTOC FMT1 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Ikke mere hukommelse."
 
@@ -1605,25 +1604,25 @@ msgstr "Ugyldigt nummer."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Mislykkedes med at allokere partitionsblok\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Mislykkedes med at allokere blok\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Kunne ikke læse startblok %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Kunne ikke læse rodblok %llu\n"
@@ -1663,7 +1662,7 @@ msgstr "%s :Fandt ikke rdb-blok, dette burde aldig kunne ske\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Mislykkedes med at læse partitionsblok %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1671,86 +1670,66 @@ msgstr ""
 "GNU Parted kompileredes fejlagtigt: FAT's startsektor skal være 512 byte. "
 "Understøttelsen for FAT vil være deaktiveret."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Filsystemet har en ugyldig signatur for filsystemer af typen FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Filsystemet har en ugyldig sektorstørrelse for et filsystem af typen FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "Filsystemet har en ugyldig klyngestørrelse for et filsystem af typen FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Filsystemet har et ugyldigt antal reserverede sektorer for et filsystem af "
 "typen FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Filsystemet har et fejlagtigt antal filallokeringstabeller (FAT)."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Filsystemet har en logisk sektorstørrelse på %d. Det er kendt at GNU Parted "
-"ikke fungerer godt med andre sektorstørrelser end 512 byte."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "FAT's startsektor mener at den logiske sektorstørrelse er 0. Mærkeligt."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "FAT's startsektor mener at der mangler FAT-tabeller. Mærkeligt."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "FAT's startsektor mener at en klynge består af 0 sektorer. Mærkeligt."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Filsystemet er FAT12, som ikke understøttes."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Informationssektoren har forkert signatur (%x). Vælg annullér og indsend en "
-"fejlrapport. Hvis du er desperat så er det formodentlig sikkert at ignorere "
-"fejlen."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Ukendt signatur '%10s' for gammel type Linux swapplads."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Ukendt signatur '%10s' for ny type Linux swapplads."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Ukendt Linux swsup signatur '%9s'."
@@ -1764,7 +1743,16 @@ msgstr ""
 "Parted kan ikke bruge HFS-filsystemer på diske med en sektorstørrelse "
 "forskellig fra %d byte."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Filsystemet har en logisk sektorstørrelse på %d. Det er kendt at GNU Parted "
+"ikke fungerer godt med andre sektorstørrelser end 512 byte."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1779,6 +1767,16 @@ msgstr ""
 "vil filsystemets CHS-geometri bilve sat til at matche partitionstabellens "
 "CHS-geometri."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Informationssektoren har forkert signatur (%x). Vælg annullér og indsend en "
+"fejlrapport. Hvis du er desperat så er det formodentlig sikkert at ignorere "
+"fejlen."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1829,22 +1827,22 @@ msgid ""
 "some programs to stop working."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, fuzzy, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partition %d er %s, men filsystemet er %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1852,7 +1850,7 @@ msgid ""
 "FATs is %d sectors (%d expected)."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2247,27 +2245,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "LABEL-TYPE er en af:"
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAG er et af: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "ENHED er et af: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "ønsket tilpasning: mindste eller bedste"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "PART-TYPE er en af: primær, logisk, udvidet\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "FS-TYPE er en af: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2277,19 +2275,29 @@ msgstr ""
 "regnes fra slutningen på disken. For eksempel angiver -1s præcist den sidste "
 "sektor.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"START og SLUT er steder på disken, såsom 4GB eller 10%.  Negative værdier "
+"regnes fra slutningen på disken. For eksempel angiver -1s præcist den sidste "
+"sektor.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "TILSTAND er en af: på, af\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "ENHED er normalt /dev/hda eller /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAVN er et vilkårligt ord\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2308,26 +2316,24 @@ msgstr ""
 "SALGBARHED eller EGNETHED FOR NOGET SPECIELT FORMÅL. Se GNU General\n"
 "Public License for yderligere information.\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(tid tilbage %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "Partitionen %s bruges. Du skal afmontere den inden du kan ændre den med "
 "Parted."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Partitionen på %s er i brug."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2336,31 +2342,31 @@ msgstr ""
 "Den eksisterende disketikette på %s vil blive ødelagt og alle data på denne "
 "disk vil gå tabt. Vil du fortsætte?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Type på ny disketikette?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Type på partitionen"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Navn på partitionen?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Type på filsystemet?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Start?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Slut?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, fuzzy, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2369,7 +2375,7 @@ msgstr ""
 "Du bad om at oprette en partition fra %s til %s.\n"
 "Det nærmeste Parted kan klare er fra %s til %s.%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2377,83 +2383,83 @@ msgstr ""
 "\n"
 "Er dette stadigvæk acceptabelt for dig?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr "Den resulterende partition er ikke rigtigt justeret for bedste ydelse."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Nummer på partitionen?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "BIOS-geometri for cylinder,hoved,sektor: %d,%d,%d. Hver cylinder er %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Model: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Sektorstørrelse (logisk/fysisk): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Partitionstabel: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Nummer"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Start"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Slut"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Størrelse"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Type"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Filsystem"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Name"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Flag"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Fri plads"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2462,45 +2468,54 @@ msgstr ""
 "En %s %s partition blev fundet på %s -> %s. Ønsker du at tilføje den til "
 "partitionstabellen?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "leder efter filsystemer"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Ny enhed?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "justeringstype (min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d justeret\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d ikke justeret\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Flag at invertere?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Ny tilstand?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Enhed?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2508,11 +2523,11 @@ msgstr ""
 "align-check TYPE N                        tjek partition N for TYPE(min|opt) "
 "justering"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "hjælp"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2520,15 +2535,15 @@ msgstr ""
 "hjælp [KOMMANDO]                         udskriver generel hjælp, eller "
 "speciel hjælp for KOMMANDO"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2536,15 +2551,15 @@ msgstr ""
 "mklabel,mktable ETIKETTE-TYPE            opret en ny disketikette "
 "(partitionstabel)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart PARTITIONSTYPE [FS-TYPE] START SLUT    lav en partition"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2552,20 +2567,20 @@ msgstr ""
 "'mkpart' laver en partition uden at oprette et nyt filsystem på partitionen. "
 "FS-TYPE kan angives for at sætte en passende identitet på partitionen.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "name NUMMER NAVN                         navngiv partition NUMMER som NAVN"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2575,7 +2590,7 @@ msgstr ""
 "tilgængelige enheder, ledig plads, alle partitioner som blev fundet, eller "
 "en specifik partition"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2584,11 +2599,11 @@ msgstr ""
 "en partition er angivet vil mere detaljeret information om denne partition "
 "blive vist.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : vis alle aktive blokenheder\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2596,31 +2611,31 @@ msgstr ""
 "  free      : vis information om ledig upartitioneret plads på den aktuelle "
 "blokenhed\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr "  list, all : vis partitionstabellerne på alle aktive blokenheder\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 "  NUMMER    : vis mere detaljeret information om denne specifikke partition\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     afslut programmet"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2628,39 +2643,56 @@ msgstr ""
 "rescue START SLUT                        red tabte partitioner nær ved START "
 "og SLUT"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr ""
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr ""
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm NUMMER                                slet partition NUMMER"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm NUMMER                                slet partition NUMMER"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "vælg"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "vælg ENHED                               vælg enhed at redigere"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 #, fuzzy
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 "sæt NUMMER FLAG TILSTAND                 ændr et flag på partition NUMMER"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 #, fuzzy
 msgid "disk_toggle"
 msgstr "skift"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 #, fuzzy
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
@@ -2669,21 +2701,21 @@ msgstr ""
 "skift [NUMMER [FLAG]]                  væxla tilstandet for FLAG på "
 "partition NUMMER"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "sæt"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "sæt NUMMER FLAG TILSTAND                 ændr et flag på partition NUMMER"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "skift"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2691,19 +2723,19 @@ msgstr ""
 "skift [NUMMER [FLAG]]                  væxla tilstandet for FLAG på "
 "partition NUMMER"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "enhed ENHED                              sæt standardenheden til ENHED"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2711,7 +2743,7 @@ msgstr ""
 "version                                  vis versionsnummeret og "
 "ophavsretlig information om GNU Parted"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2719,22 +2751,22 @@ msgstr ""
 "'version' viser information om version og ophavsret for denne kopi af GNU "
 "Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr "Usage: %s [-hlmsv] [-a<align>] [ENHED [KOMMANDO [PARAMETRE]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Ingen enhed fundet"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 #, fuzzy
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 "ADVARSEL: Du er ikke superbruger. Vær opmærksom på rettighedsproblemer."
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Glem ikke at opdatere /etc/fstab, om nødvendigt.\n"
 
@@ -2994,65 +3026,65 @@ msgstr ""
 "\n"
 "Fejl: Et generelt SIGILL-signal indtraf."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "ugyldigt token: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Forventer et partitionsnummer."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Partitionen findes ikke."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Forventer en filsystemstype."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Ukendt filsystemstype '%s'."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Forventer en disketikettetype."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Kan ikke tilføje flere partitioner."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Forventer eN partitionstype."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "på"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "fra"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimal"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "FLAG:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "KOMMANDOer:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3061,11 +3093,34 @@ msgstr ""
 "\n"
 "Rapportér fejl til %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Bruger %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Denne kommando er meningsløs i ikke-interaktiv tilstand.\n"
+
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Mislykkedes med at tilføje partition %d (%s)"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "parted kunne ikke genindlæse partitionstabellen på %s (%s). Det betyder "
+#~ "at Linux ikke véd noget som helst om de ændringer du lavede. "
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s indeholder GPT-signaturer, der tyder på at den har en GPT-tabel. "
+#~ "Imidlertid har den ikke en gyldig falsk msdos-partitionstabel som den "
+#~ "burde. Måske er den ødelagt - muligvis af et program der ikke forstår GPT-"
+#~ "partitionstabeller. Eller måske slettede du GPT-tabellen, og bruger nu en "
+#~ "msdos-partitionstabel. Er dette en GPT-tabel?"
index 943de4b88c622f8c8283de25c2e4cae97a0e2435..905b8353e31dc912a24fd3bb1bba2d6816ef8fac 100644 (file)
Binary files a/po/de.gmo and b/po/de.gmo differ
index c19e53047845ed7400ef2d2fce5e06589ccd5f85..68c4a08732ffd9d636419b47cc551804e1d42901 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -1,40 +1,38 @@
-# translation of parted-1.8.8.po to German
-# German message for GNU parted.
-# Copyright (C) 1999, 2000, 2001, 2002, 2007 Free Software Foundation, Inc.
-#
-#
-# Martin Ereth <martin.ereth@arcor.de>, 2007.
+# German translation of parted.
+# Copyright (C) 1999, 2000, 2001, 2002, 2007, 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the parted package.
 # Martin von Löwis <martin@v.loewis.de>, 1999, 2000, 2001, 2002.
+# Martin Ereth <martin.ereth@arcor.de>, 2007.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
 msgid ""
 msgstr ""
-"Project-Id-Version: parted-1.8.8\n"
+"Project-Id-Version: parted-3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2007-08-15 12:16+0200\n"
-"Last-Translator: Martin Ereth <martin.ereth@arcor.de>\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-03 21:25+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
 "Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
 "Language: de\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
+"X-Generator: Poedit 1.5.4\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "Unbekanntes Zeichen: %s"
+msgstr "ungültiges Argument %s für %s"
 
 #: lib/argmatch.c:134
 #, c-format
 msgid "ambiguous argument %s for %s"
-msgstr ""
+msgstr "Mehrdeutiges Argument %s für %s"
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "Unbekanntes Zeichen: %s"
+msgstr "Zulässige Argumente sind:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "Schreibfehler"
 
@@ -43,59 +41,59 @@ msgid "Unknown system error"
 msgstr "Unbekannter Systemfehler"
 
 #: lib/getopt.c:547 lib/getopt.c:576
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '%s' is ambiguous; possibilities:"
-msgstr "%s: Die Option `%s' ist mehrdeutig\n"
+msgstr "%s: Die Option »%s« ist mehrdeutig; Möglichkeiten:"
 
 #: lib/getopt.c:624 lib/getopt.c:628
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '--%s' doesn't allow an argument\n"
-msgstr "%s: Die Option `%s' erlaubt kein Argument\n"
+msgstr "%s: Die Option »%s« erlaubt kein Argument\n"
 
 #: lib/getopt.c:637 lib/getopt.c:642
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '%c%s' doesn't allow an argument\n"
-msgstr "%s: Die Option `%c%s' erlaubt kein Argument\n"
+msgstr "%s: Die Option »%c%s« erlaubt kein Argument\n"
 
 #: lib/getopt.c:685 lib/getopt.c:704
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '--%s' requires an argument\n"
-msgstr "%s: Die Option `%s' benötigt ein Argument\n"
+msgstr "%s: Die Option »%s« benötigt ein Argument\n"
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "%s: Unbekannte Option `--%s'\n"
+msgstr "%s: Unbekannte Option »--%s«\n"
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "%s: unbekannte Option `%c%s'\n"
+msgstr "%s: unbekannte Option »%c%s«\n"
 
 #: lib/getopt.c:805 lib/getopt.c:808
-#, fuzzy, c-format
+#, c-format
 msgid "%s: invalid option -- '%c'\n"
-msgstr "%s: ungültige Option -- %c\n"
+msgstr "%s: ungültige Option -- »%c«\n"
 
 #: lib/getopt.c:861 lib/getopt.c:878 lib/getopt.c:1088 lib/getopt.c:1106
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option requires an argument -- '%c'\n"
-msgstr "%s: Die Option benötigt ein Argument -- %c\n"
+msgstr "%s: Die Option benötigt ein Argument -- »%c«\n"
 
 #: lib/getopt.c:934 lib/getopt.c:950
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '-W %s' is ambiguous\n"
-msgstr "%s: Die Option `-W %s' ist mehrdeutig\n"
+msgstr "%s: Die Option »-W %s« ist mehrdeutig\n"
 
 #: lib/getopt.c:974 lib/getopt.c:992
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '-W %s' doesn't allow an argument\n"
-msgstr "%s: Die Option `-W %s' erlaubt kein Argument\n"
+msgstr "%s: Die Option »-W %s« erlaubt kein Argument\n"
 
 #: lib/getopt.c:1013 lib/getopt.c:1031
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '-W %s' requires an argument\n"
-msgstr "%s: Die Option `%s' benötigt ein Argument\n"
+msgstr "%s: Die Option »-W %s« benötigt ein Argument\n"
 
 #. TRANSLATORS:
 #. Get translations for open and closing quotation marks.
@@ -118,83 +116,83 @@ msgstr "%s: Die Option `%s' benötigt ein Argument\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
-msgstr "`"
+msgstr "»"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
-msgstr "'"
+msgstr "«"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Erfolg"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Keine Übereinstimmung"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Ungültiger regulärer Ausdruck"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Ungültiger Sortierbuchstabe"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Ungültiger Klassenname des Buchstabens"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Angehängter umgekehrter Schrägstrich"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Ungültige Zurück-Referenz"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Nicht gefunden: [ oder [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Nicht gefunden: ( oder \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Nicht gefunden: \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Ungültiger Inhalt in \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Ungültiges Ende des Bereichs"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Speicher erschöpft"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
-msgstr "Vorrausgehender ungültiger regülärer Ausdruck"
+msgstr "Vorausgehender ungültiger regulärer Ausdruck"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Verfrühtes Ende des regülären Ausdrucks"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Regulärer Ausdruck zu groß"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Nicht gefunden: ) oder \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Kein regulärer Ausdruck vorher"
 
@@ -204,7 +202,7 @@ msgstr "Kein regulärer Ausdruck vorher"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[jJ]"
 
@@ -214,19 +212,19 @@ msgstr "^[jJ]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
 #: lib/version-etc.c:74
 #, c-format
 msgid "Packaged by %s (%s)\n"
-msgstr ""
+msgstr "Gepackt von %s (%s)\n"
 
 #: lib/version-etc.c:77
 #, c-format
 msgid "Packaged by %s\n"
-msgstr ""
+msgstr "Gepackt von %s\n"
 
 #. TRANSLATORS: Translate "(C)" to the copyright symbol
 #. (C-in-a-circle), if this symbol is available in the user's
@@ -236,7 +234,6 @@ msgid "(C)"
 msgstr "(C)"
 
 #: lib/version-etc.c:86
-#, fuzzy
 msgid ""
 "\n"
 "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl."
@@ -246,9 +243,9 @@ msgid ""
 "\n"
 msgstr ""
 "\n"
-"Lizenz GPLv3+: GNU GPL Version 3 oder später <http://gnu.org/licenses/gpl."
+"Lizenz GPLv3+: GNU GPL Version 3 oder neuer <http://gnu.org/licenses/gpl."
 "html>\n"
-"Dies ist freie Software: Es ist Ihnen freigestellt sie zu verändern und zu "
+"Dies ist freie Software: Es ist Ihnen freigestellt, sie zu verändern und zu "
 "verbreiten.\n"
 "Es gibt in dem gesetzlichen gegebenen Umfang KEINE GARANTIE.\n"
 "\n"
@@ -364,112 +361,112 @@ msgstr ""
 #. "Report translation bugs to <...>\n" with the address for translation
 #. bugs (typically your translation team's web or email address).
 #: lib/version-etc.c:245
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "\n"
 "Report bugs to: %s\n"
 msgstr ""
 "\n"
-"Fehler an <%s> berichten.\n"
+"Melden Sie Fehler an: %s\n"
 
 #: lib/version-etc.c:247
-#, fuzzy, c-format
+#, c-format
 msgid "Report %s bugs to: %s\n"
-msgstr ""
-"\n"
-"Fehler an <%s> berichten.\n"
+msgstr "Melden Sie %s-Fehler an: %s\n"
 
 #: lib/version-etc.c:251
 #, c-format
 msgid "%s home page: <%s>\n"
-msgstr ""
+msgstr "Webseite von %s: <%s>\n"
 
 #: lib/version-etc.c:253
 #, c-format
 msgid "%s home page: <http://www.gnu.org/software/%s/>\n"
-msgstr ""
+msgstr "Webseite von %s: <http://www.gnu.org/software/%s/>\n"
 
 #: lib/version-etc.c:256
 msgid "General help using GNU software: <http://www.gnu.org/gethelp/>\n"
-msgstr ""
+msgstr "Allgemeine Hilfe zu GNU-Software: <http://www.gnu.org/gethelp/>\n"
 
 #: lib/xalloc-die.c:34
 msgid "memory exhausted"
 msgstr "Speicher erschöpft"
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "Unbekanntes Zeichen: %s"
+msgstr "Ungültiges %s%s-Argument »%s«"
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "Unbekanntes Zeichen: %s"
+msgstr "Ungültiges Suffix im %s%s-Argument »%s«"
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "Unbekanntes Zeichen: %s"
+msgstr "%s%s Argument »%s« zu groß"
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr "Speicherabbild"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Fehler beim Öffnen von %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
-msgstr "Kann %s nicht zum Schreiben öffnen (%s). %s wurde nur lesbar geöffnet."
+msgstr ""
+"%s kann nicht zum Schreiben geöffnet werden (%s). %s wurde nur lesbar "
+"geöffnet."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s, während %s zum Lesen positioniert wurde"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s, während von %s gelesen wurde"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr ""
 "Auf %s kann nicht geschrieben werden, weil es nur-lesend geöffnet wurde."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s, während %s zum Schreiben positioniert wurde"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s, während auf %s geschrieben wurde"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
-msgstr "Versuchen Sie `%s --help' für mehr Informationen\n"
+msgstr "Rufen Sie »%s --help« auf, um mehr Informationen zu erhalten.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
-msgstr "Aufruf: %s [OPTION] [GERÄT]...\n"
+msgstr "Aufruf: %s [OPTION] [GERÄT] …\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -480,12 +477,12 @@ msgid ""
 msgstr ""
 "Dem Betriebssystem Änderungen an der Partitionstabelle mitteilen.\n"
 "\n"
-"  -d, --dry-run  das Betriebssystem nicht informieren\n"
+"  -d, --dry-run    das Betriebssystem nicht informieren\n"
 "  -s, --summary    eine Zusammenfassung der Inhalte ausgeben\n"
 "  -h, --help       diese Hilfe anzeigen und beenden\n"
 "  -v, --version    Versionsangaben ausgeben und beenden\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -493,7 +490,7 @@ msgstr ""
 "\n"
 "Ohne GERÄT, alle Partitionen testen.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -524,7 +521,7 @@ msgstr ""
 "Rechner neu hochfahren, bevor Sie geänderte Partitionen einhängen. Sie "
 "müssen auch Ihren Bootlader vor dem Booten neu installieren (was u.U. das "
 "Einhängen geänderter Partitionen erfordert). Man kann nicht beides tun! Also "
-"müssen Sie von einer Rettungsdiskette booten und ihren Bootlader von dort "
+"müssen Sie von einer Rettungsdiskette booten und Ihren Bootlader von dort "
 "neu installieren. Lesen Sie Abschnitt 4 der Benutzerdokumentation von Parted "
 "für mehr Informationen."
 
@@ -536,15 +533,15 @@ msgid ""
 "before doing anything with %s."
 msgstr ""
 "Die Partitionstabelle auf %s konnte nicht neu eingelesen werden (%s). Das "
-"bedeutet, dass das Hurd nichts über Ihre Änderungen weiss. Sie sollten den "
-"Computer neu starten, bevor Sie irgendwas mit %s machen."
+"bedeutet, dass das Hurd nichts über Ihre Änderungen weiß. Sie sollten den "
+"Computer neu starten, bevor Sie irgend etwas mit %s machen."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
 msgstr ""
-"Vor einem Neustart sollten Sie Ihren Bootlader neu installieren.  Lesen Sie "
+"Vor einem Neustart sollten Sie Ihren Bootlader neu installieren. Lesen Sie "
 "den Abschnitt 4 der Benutzerdokumentation von Parted für mehr Informationen."
 
 #: libparted/arch/gnu.c:788
@@ -553,18 +550,18 @@ msgid "%s trying to sync %s to disk"
 msgstr "%s beim Versuch, %s auf die Platte zu speichern (sync)"
 
 # cformat removed for testing
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
-msgstr "Ruf von stat für Gerät %s schlug fehl - %s."
+msgstr "Aufruf von stat für Gerät %s schlug fehl - %s."
 
-#: libparted/arch/linux.c:586
-#, fuzzy, c-format
+#: libparted/arch/linux.c:679
+#, c-format
 msgid "Unable to determine the dm type of %s."
-msgstr "Die Größe von %s kann nicht festgestellt werden (%s)."
+msgstr "dm-Typ von %s kann nicht festgestellt werden."
 
-#: libparted/arch/linux.c:677
-#, fuzzy, c-format
+#: libparted/arch/linux.c:757
+#, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
@@ -572,30 +569,30 @@ msgstr ""
 "Die Sektorgröße von %s konnte nicht ermittelt werden: %s.\n"
 "Es wird die Standardsektorgröße verwendet (%lld)."
 
-#: libparted/arch/linux.c:698
-#, fuzzy, c-format
+#: libparted/arch/linux.c:778
+#, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
-"Die Sektorgröße von %s konnte nicht ermittelt werden: %s.\n"
-"Es wird die Standardsektorgröße verwendet (%lld)."
+"Die physische Sektorgröße von %s konnte nicht ermittelt werden.\n"
+"Es wird die logische Sektorgröße verwendet (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Die Größe von %s kann nicht festgestellt werden (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Die Identität von Gerät %s konnte nicht ermittelt werden - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Standard IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -608,112 +605,110 @@ msgstr ""
 "Plattenkennungen/Dateisystem-Kombinationen, z.B.: GPT und ext2/3.\n"
 "Bitte besuchen Sie die Webseite für aktuelle Informationen."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Fehler in der Initialisierung von SCSI-Gerät %s - %s"
 
-#: libparted/arch/linux.c:1111
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1191
+#, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
-"Das Gerät %s hat die Länge 0 und kann unmöglich ein Dateisystem oder eine "
-"Partitionstabelle speichern. Vielleicht haben Sie das falsche Gerät "
-"ausgewählt?"
+"Das Gerät %s ist derart klein, dass es wahrscheinlich kein Dateisystem oder "
+"eine Partitionstabelle speichern kann. Vielleicht haben Sie das falsche "
+"Gerät ausgewählt?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
 "unless you REALLY know what you're doing!"
 msgstr ""
 "Geometrie von Datei/Gerät %s konnte nicht ermittelt werden. Sie sollten "
-"Parted nicht verwenden, wenn sie nicht WIRKLICH wissen, was Sie tun!"
+"Parted nicht verwenden, wenn Sie nicht WIRKLICH wissen, was Sie tun!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
-msgstr ""
+msgstr "Generisch SD/MMC-Speicherkarte"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
-msgstr "DAC960 RAID controller"
+msgstr "DAC960 RAID-Controller"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
-msgstr "Promise SX8 SATA Device"
+msgstr "Promise SX8 SATA-Gerät"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
-msgstr ""
+msgstr "ATA over Ethernet-Gerät"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
-msgstr "IBM S390 DASD drive"
+msgstr "IBM S390 DASD-Laufwerk"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
-msgstr "ATARAID Controller"
+msgstr "ATARAID-Controller"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
-msgstr "I20 controller"
+msgstr "I20-Controller"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux UBD"
 
-#: libparted/arch/linux.c:1389
-#, fuzzy
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr "Quellgerät?"
+msgstr "Loopback-Gerät"
 
-#: libparted/arch/linux.c:1397
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1481
+#, c-format
 msgid "Linux device-mapper (%s)"
-msgstr "Linux device-mapper"
+msgstr "Linux device-mapper (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Xen Virtuelles Blockorientiertes Gerät"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Unbekannt"
 
-#: libparted/arch/linux.c:1422
-#, fuzzy
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
-msgstr "Xen Virtuelles Blockorientiertes Gerät"
+msgstr "Virtio Blockorientiertes Gerät"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
-msgstr ""
+msgstr "Linux Software-RAID-Verbund"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Nicht unterstützter Gerätetyp"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
+#, c-format
 msgid "Error fsyncing/closing %s: %s"
-msgstr "Fehler beim Öffnen von %s: %s"
+msgstr "Fehler beim Abgleich oder Schließen von %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
-msgstr ""
+msgstr "%0.0sDateiende beim Lesen von %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -725,17 +720,12 @@ msgstr ""
 "sehen wird. Sie sollten daher die Partition nicht einhängen oder sonst "
 "irgendwie benutzen, bis Sie den Rechner neu gestartet haben."
 
-#: libparted/arch/linux.c:2517
-#, fuzzy, c-format
+#: libparted/arch/linux.c:2683
+#, c-format
 msgid "Unable to determine the start and length of %s."
-msgstr "Die Größe von %s kann nicht festgestellt werden (%s)."
-
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "%s : Der Partitionsblock %llu kann nicht gelesen werden\n"
+msgstr "Beginn und Länge von %s können nicht festgestellt werden."
 
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -743,35 +733,26 @@ msgid ""
 "the old partition(s) will remain in use.  You should reboot now before "
 "making further changes."
 msgstr ""
+"Der/die Partition(en) %s auf %s wurden geschrieben, aber es war nicht "
+"möglich, den Kernel über die Änderungen zu informieren, weil sie "
+"wahrscheinlich in Benutzung sind. Daher werden die alten Partitionen noch "
+"benutzt. Sie sollten nun den Rechner neu starten, bevor Sie weitere "
+"Änderungen vornehmen."
 
-#: libparted/arch/linux.c:2785
+#: libparted/cs/geom.c:162
 #, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Parted konnte die Partitionstabelle von %s nicht neu einlesen (%s). Das "
-"bedeutet, dass Linux bis zum Neustart nichts über Ihrer Modifikationen "
-"weiss. "
-
-#: libparted/cs/geom.c:161
-#, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
-msgstr "Das Ende kommt nicht vor dem Anfang!"
-
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Partitionen ausserhalb der Festplatte sind nicht möglich!"
+msgstr "Das Ende kommt nicht vor dem Anfang! (Startsektor=%jd Länge=%jd)"
 
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 "Versuch, die Sektoren %ld-%ld außerhalb der Partition auf %s zu schreiben."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
-msgstr "Suche nach defekten Blöcken"
+msgstr "Nach defekten Blöcken wird gesucht"
 
 #: libparted/debug.c:96
 #, c-format
@@ -783,55 +764,54 @@ msgstr "Die Ablaufverfolgung hat %d Aufrufe auf dem Stack:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Aussage (%s) bei %s:%d in der Funktion %s() fehlgeschlagen."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: unbekannte Partitionstabelle"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
 msgstr ""
 "Der libparted fehlt die Schreibunterstützung für %s. Vielleicht wurde sie "
-"nur lesbar übersetzt."
+"nur lesbar kompiliert."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Die Partition %d hat %s, aber das Dateisystem hat %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
-msgstr ""
+msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
-#, fuzzy
+#: libparted/disk.c:842
 msgid "pmbr_boot"
-msgstr "boot"
+msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
-#, fuzzy, c-format
+#: libparted/disk.c:847
+#, c-format
 msgid "Unknown disk flag, %d."
-msgstr "Unbekanntes Partitionsflag %d."
+msgstr "Unbekanntes Disk-Flag, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s-Disk-Labels unterstützen keine erweiterten Partitionen."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "%s-Disk-Labels unterstützen keine logischen oder erweiterten Partitionen."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Zu viele primäre Partitionen."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -839,112 +819,128 @@ msgstr ""
 "Zu %s kann keine logische Partition hinzugefügt werden, da es keine "
 "erweiterte Partition gibt."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Auf %s kann es nicht mehr als eine erweiterte Partition geben."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr ""
 "Logische Partitionen können nicht außerhalb der erweiterten Partition sein."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "Außerhalb der erweiterten Partition auf %s kann keine logische Partition "
 "existieren."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Es können keine überlappenden Partitionen existieren."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Es kann keine primäre Partition in einer erweiterten Partition sein."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Partitionen außerhalb der Festplatte sind nicht möglich!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Es können keine überlappenden Partitionen existieren."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "Metadaten"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "frei"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "erweitert"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logisch"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primär"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
-msgstr ""
+msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "versteckt"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
-msgstr ""
+msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
-msgstr ""
+msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
-msgstr ""
+msgstr "legacy_boot"
+
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Unbekanntes Partitionsflag %d."
@@ -1002,7 +998,7 @@ msgid "Cancel"
 msgstr "Abbrechen"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
@@ -1011,8 +1007,8 @@ msgid ""
 msgstr ""
 "Es wurde ein Bug in GNU parted entdeckt. Bitte lesen Sie die Webseite http://"
 "www.gnu.org/software/parted/parted.html für Informationen, was wichtig für "
-"einen Fehlerbericht sein könnte. Bitte senden Sie einen Fehlerbericht an bug-"
-"parted@gnu.org unter Angabe der Version (%s) und der folgenden Meldung:  "
+"einen Fehlerbericht sein könnte. Bitte senden Sie einen Fehlerbericht an %s "
+"unter Angabe der Version (%s) und der folgenden Meldung:  "
 
 #: libparted/labels/aix.c:103
 msgid "Support for reading AIX disk labels is is not implemented yet."
@@ -1037,7 +1033,7 @@ msgstr ""
 msgid ""
 "Support for duplicating partitions in AIX disk labels is not implemented yet."
 msgstr ""
-"Unterstützung für das Verdoppeln von Partitionen in AIX-Partitionstabellen "
+"Unterstützung für das Duplizieren von Partitionen in AIX-Partitionstabellen "
 "ist noch nicht implementiert."
 
 #: libparted/labels/aix.c:155
@@ -1051,50 +1047,49 @@ msgstr ""
 #: libparted/labels/aix.c:165
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
-"Unterstützung für das Setzen von Bitschaltern in AIX-Partitionstabellen ist "
-"noch nicht implementiert."
+"Unterstützung für das Setzen von Flags in AIX-Partitionstabellen ist noch "
+"nicht implementiert."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Es können nicht alle Anforderungen an die Partition erfüllt werden."
 
 #: libparted/labels/bsd.c:596
 msgid "Unable to allocate a bsd disklabel slot."
-msgstr "Kann keine BSD-Disklabel-Zeile belegen."
+msgstr "BSD-Disklabel-Zeilen können nicht belegt werden."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
-msgstr "Kann keine dasd Disklabel-Zeile belegen"
+msgstr "dasd-Disklabel-Zeilen können nicht belegt werden"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Ungültige Partitionstabelle auf %s -- falsche Signatur %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Ungültige Partitionstabelle - Rekursive Partition auf %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 "Erweiterte Partitionen können in MS-DOS-Disk-Labels nicht versteckt werden."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted kann von Windows Dynamic Disk verwaltete Partitionen nicht in der "
 "Größe verändern."
 
-#: libparted/labels/dos.c:2414
-#, fuzzy
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
-msgstr "Kann keine weitere Partition erzeugen."
+msgstr "Es können keine weiteren Partitionen erzeugt werden."
 
 #: libparted/labels/dvh.c:182
 #, c-format
@@ -1119,161 +1114,148 @@ msgid "Only logical partitions can be a boot file."
 msgstr "Nur logische Partitionen können Boot-Dateien sein."
 
 #: libparted/labels/dvh.c:718
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "failed to set dvh partition name to %s:\n"
 "Only logical partitions (boot files) have a name."
-msgstr "Nur logische Partitionen (Boot-Dateien) haben einen Namen."
+msgstr ""
+"dvh-Partitionsname kann nicht auf %s gesetzt werden:\n"
+"Nur logische Partitionen (Boot-Dateien) haben einen Namen."
 
 #: libparted/labels/dvh.c:811
 msgid "Too many primary partitions"
 msgstr "Zu viele primäre Partitionen"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "Fehler beim Öffnen"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "Fehler beim Suchen"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "Lesefehler"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "ioctl() Fehler"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "Versionsunterschied der API"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
-msgstr " Nicht unterstützter Festplattentyp"
+msgstr "Nicht unterstützter Festplattentyp"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Nicht unterstütztes Festplattenfomat"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Festplatte ist in Verwendung"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Syntaxfehler in der Konfigurationsdatei"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Die Volumenbezeichnung ist beschädigt"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Ein Datensatzname ist beschädigt"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
-msgstr "Speicherreservierung ist fehlgeschlagen"
+msgstr "Speicherzuweisung ist fehlgeschlagen"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Geräteprüfung fehlgeschlagen"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Das angegebene Gerät ist kein gültiges DASD-Gerät"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Fataler Fehler"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Kein Platz für eine Volumenbezeichnung."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Kein Platz für Partitionsinformationen."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Ungültiges VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Die API-Version kann nicht abgefragt werden."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
-"Die aktuelle API-Version '%d' stimmt nicht mit der dasd-Treiber API '%d' "
+"Die aktuelle API-Version »%d« stimmt nicht mit der dasd-Treiber-API »%d« "
 "überein!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Die Festplattengeometrie konnte nicht gelesen werden."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Die Blöckgröße konnte nicht gelesen werden."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Die Festplatteninformationen konnten nicht gelesen werden."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s enthält GPT-Signaturen, die anzeigen, dass es eine GPT-Tabelle hat. Es "
-"ist jedoch keine gültige vorgetäuschte MSDOS-Partitionstabelle vorhanden, "
-"die erforderlich wäre. Vielleicht wurde diese zerstört -- eventuell durch "
-"ein Programm, das GPT-Partitionstabellen nicht versteht. Oder vielleicht "
-"haben Sie die GPT-Tabelle gelöscht, und verwenden jetzt eine MS-DOS-"
-"Partitions-Tabelle. Ist dies eine GPT-Partitionstabelle?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "Gerät ist für GPT zu klein"
 
-#: libparted/labels/gpt.c:700
-#, fuzzy, c-format
+#: libparted/labels/gpt.c:734
+#, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
 "Das Format der GPT-Partitionstabelle (%x) ist neuer als das von Parted "
-"verstandene. Bitte melden Sie das an: bug-parted@gnu.org"
+"verstandene. Bitte melden Sie das."
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
 "to use all of the space (an extra %llu blocks) or continue with the current "
 "setting? "
 msgstr ""
-"Nicht der gesamte verfügbare Platz von %s scheint verwendet. Sie können die "
-"GPT reparieren, damit der gesamte Platz verwendet wird (zusätzlich %llu "
+"Nicht der gesamte verfügbare Platz von %s scheint belegt zu sein. Sie können "
+"die GPT reparieren, damit der gesamte Platz verwendet wird (zusätzlich %llu "
 "Blöcke) oder Sie können mit den aktuellen Einstellungen fortfahren."
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Die Sicherung der GPT-Tabelle ist nicht am Ende der Festplatte, wo sie "
-"normalerweise sein sollte. Das kann bedeuten, dass ein anderes "
-"Betriebssystem glaubt, die Festplatte sei kleiner. Soll das durch "
-"Verschieben der Sicherung zum Ende (und löschen der alten Sicherung) "
-"korrigiert werden?"
+"normalerweise sein sollte. Soll das durch Verschieben der Sicherung zum Ende "
+"(und löschen der alten Sicherung) korrigiert werden?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1282,16 +1264,15 @@ msgstr ""
 "Sie, eine neue Tabelle anzulegen und die Partititionen mit Hilfe von "
 "Parted's Rettungsmöglichkeiten zu restaurieren."
 
-#: libparted/labels/gpt.c:1002
-#, fuzzy
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr ""
-"Die primäre GPT-Tabelle ist defekt, aber die Sicherung scheint in Ordnung zu "
-"sein. Daher wird die Sicherung verwendet."
+"Die gesicherte GPT-Tabelle ist defekt, aber die primäre scheint in Ordnung "
+"zu sein, daher wird diese verwendet."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1299,9 +1280,13 @@ msgstr ""
 "Die primäre GPT-Tabelle ist defekt, aber die Sicherung scheint in Ordnung zu "
 "sein. Daher wird die Sicherung verwendet."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
-msgstr ""
+msgstr "Array der primären Partitionstabelle und CRC stimmen nicht überein"
+
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "Der Partitionsname konnte nicht übersetzt werden."
 
 #: libparted/labels/mac.c:184
 #, c-format
@@ -1317,33 +1302,33 @@ msgstr "Die Partitionskarte hat keinen Partitionskarteneintrag!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s ist zu klein für eine Mac-Partitionstabelle!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Partition %d hat eine ungültige Signatur %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Partition %d hat eine ungültige Länge von 0 Bytes!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Die Datenregion beginnt nicht am Anfang der Partition."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Die Bootregion beginnt nicht am Anfang der Partition."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Die Bootregion der Partition belegt nicht die ganze Partition."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Die Datenregion der Partition belegt nicht die ganze Partition."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1351,7 +1336,7 @@ msgstr ""
 "Seltsame Blockgröße auf dem Gerätedeskriptor: %d Bytes ist nicht durch 512 "
 "teilbar."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1360,11 +1345,11 @@ msgstr ""
 "Der Treiberdeskriptor sagt, dass die physische Blockgröße %d Bytes ist. "
 "Linux sagt, dass es %d Bytes sind."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Keine gültige Partitionskarte gefunden."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1373,7 +1358,7 @@ msgstr ""
 "Widersprüchliche Größen in den Partitionskarteneinträgen! Eintrag 1 sagt, "
 "dass es %d Bytes sind, Eintrag %d sagt aber, dass es %d Bytes sind!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Seltsam! Es gibt 2 Partitionskarteneinträge!"
 
@@ -1385,7 +1370,7 @@ msgstr ""
 "Eine Änderung des Namens der Root- oder Swap-Partition verhindert, dass "
 "Linux sie als solche erkennt."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
 "Eine weitere Partition kann nicht hinzugefügt werden -- die Partitionskarte "
@@ -1402,8 +1387,8 @@ msgid ""
 "Partition %d isn't aligned to cylinder boundaries.  This is still "
 "unsupported."
 msgstr ""
-"Partition %d ist nicht auf Zylindergrenzen ausgerichtet. Das ist immer noch "
-"nicht unterstützt."
+"Partition %d ist nicht an den Zylindergrenzen ausgerichtet. Dies wird immer "
+"noch nicht unterstützt."
 
 #: libparted/labels/pc98.c:733
 msgid "Can't add another partition."
@@ -1415,6 +1400,8 @@ msgid ""
 "partition length of %jd sectors exceeds the %s-partition-table-imposed "
 "maximum of %jd"
 msgstr ""
+"Partitionslänge von %jd Sektoren übersteigt das %s-partition-table-imposed "
+"Maximum von %jd"
 
 #: libparted/labels/pt-tools.c:146
 #, c-format
@@ -1422,16 +1409,19 @@ msgid ""
 "starting sector number, %jd exceeds the %s-partition-table-imposed maximum "
 "of %jd"
 msgstr ""
+"Startsektornummer %jd übersteigt das %s-partition-table-imposed Maximum von "
+"%jd"
 
 #: libparted/labels/rdb.c:169
 #, c-format
 msgid "%s : Bad checksum on block %llu of type %s."
-msgstr "%s : Schlechte Prüfsumme bei Block %llu vom Typ %s."
+msgstr "%s : Falsche Prüfsumme bei Block %llu vom Typ %s."
 
 #: libparted/labels/rdb.c:484
 #, c-format
 msgid "%s : Didn't find rdb block, should never happen."
-msgstr "%s : Konnte rdb-Block nicht finden. Das sollte niemals passieren."
+msgstr ""
+"%s : rdb-Block konnte nicht gefunden werden. Das sollte niemals passieren."
 
 #: libparted/labels/rdb.c:573
 #, c-format
@@ -1529,67 +1519,72 @@ msgstr "Fehler beim Schreiben auf das Gerät"
 msgid "reading from device failed"
 msgstr "Fehler beim Lesen vom Gerät"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Volumenbezeichnung kann nicht gelesen werden."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
-msgstr "Volumenbeschriftung kann nicht geschrieben werden."
+msgstr "Volumenbezeichnung kann nicht geschrieben werden."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
-msgstr "VTOC-Beschriftung kann nicht gelesen werden."
+msgstr "VTOC-Bezeichnung kann nicht gelesen werden."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
-msgstr "Konnte das VTOC FMT1 DSCB nicht lesen."
+msgstr "VTOC FMT1 DSCB konnte nicht gelesen werden."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
-msgstr "Konnte das VTOC FMT4 DSCB nicht lesen."
+msgstr "VTOC FMT4 DSCB konnte nicht gelesen werden."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
-msgstr "Konnte das VTOC FMT5 DSCB nicht lesen."
+msgstr "VTOC FMT5 DSCB konnte nicht gelesen werden."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
-msgstr "Konnte das VTOC FMT7 DSCB nicht lesen."
+msgstr "VTOC FMT7 DSCB konnte nicht gelesen werden."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
-msgstr "VTOC-Beschriftung kann nicht geschrieben werden."
+msgstr "VTOC-Bezeichnung kann nicht geschrieben werden."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
-msgstr "Konnte das VTOC FMT1 DSCB nicht schreiben."
+msgstr "VTOC FMT1 DSCB kann nicht geschrieben werden."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
-msgstr "Konnte das VTOC FMT4 DSCB nicht schreiben."
+msgstr "VTOC FMT4 DSCB kann nicht geschrieben werden."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
-msgstr "Konnte das VTOC FMT5 DSCB nicht schreiben."
+msgstr "VTOC FMT5 DSCB kann nicht geschrieben werden."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
-msgstr "Konnte das VTOC FMT7 DSCB nicht schreiben."
+msgstr "VTOC FMT7 DSCB kann nicht geschrieben werden."
+
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "VTOC FMT9 DSCB kann nicht geschrieben werden."
 
-#: libparted/libparted.c:230
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Speicher erschöpft."
 
 #: libparted/unit.c:139
 msgid "Cannot get unit size for special unit 'COMPACT'."
-msgstr "Konnte die Größe der speziellen Einheit 'COMPACT' nicht bekommen."
+msgstr ""
+"Die Größe der speziellen Einheit »COMPACT« konnte nicht ermittelt werden."
 
 #: libparted/unit.c:385
 #, c-format
 msgid "\"%s\" has invalid syntax for locations."
-msgstr "\"%s\" hat eine ungültige Syntax für Orte."
+msgstr "»%s« hat eine ungültige Syntax für Orte."
 
 #: libparted/unit.c:393
 #, c-format
@@ -1612,27 +1607,27 @@ msgstr "Ungültige Nummer."
 
 #: libparted/unit.c:538
 msgid "Use a smaller unit instead of a value < 1"
-msgstr ""
+msgstr "Verwenden Sie eine kleinere Einheit anstelle eines Wertes < 1."
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Der Partitionsblock konnte nicht belegt werden\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Der Block konnte nicht belegt werden\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Der Boot-Block %llu konnte nicht gelesen werden\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Der Root-Block %llu konnte nicht gelesen werden\n"
@@ -1640,7 +1635,7 @@ msgstr "%s : Der Root-Block %llu konnte nicht gelesen werden\n"
 #: libparted/fs/amiga/amiga.c:71
 #, c-format
 msgid "%s : Failed to allocate id list element\n"
-msgstr "%s : Das Id-Listen-Element konnte nicht belegt werden\n"
+msgstr "%s : Das ID-Listen-Element konnte nicht belegt werden\n"
 
 #: libparted/fs/amiga/amiga.c:188
 #, c-format
@@ -1650,12 +1645,12 @@ msgstr "%s: Der Block %llu konnte nicht gelesen werden\n"
 #: libparted/fs/amiga/amiga.c:201
 #, c-format
 msgid "%s : Bad checksum on block %llu of type %s\n"
-msgstr "%s : Schlechte Prüfsumme bei Block %llu vom Typ %s\n"
+msgstr "%s : Falsche Prüfsumme bei Block %llu vom Typ %s\n"
 
 #: libparted/fs/amiga/amiga.c:211
 #, c-format
 msgid "%s : Couldn't write block %d\n"
-msgstr "%s : Konnte den Block %d nicht schreiben\n"
+msgstr "%s : Block %d konnte nicht geschrieben werden\n"
 
 #: libparted/fs/amiga/amiga.c:277
 #, c-format
@@ -1666,105 +1661,88 @@ msgstr ""
 #: libparted/fs/amiga/amiga.c:288
 #, c-format
 msgid "%s : Didn't find rdb block, should never happen\n"
-msgstr "%s : Konnte rdb-Block nicht finden. Das sollte niemals passieren\n"
+msgstr ""
+"%s : rdb-Block konnte nicht gefunden werden. Das sollte niemals passieren\n"
 
 #: libparted/fs/amiga/amiga.c:317
 #, c-format
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Der Partitionsblock %llu kann nicht gelesen werden\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr ""
-"GNU parted ist fehlerhaft übersetzt: Der FAT-Bootsektor sollte 512 Bytes "
+"GNU parted ist fehlerhaft kompiliert: Der FAT-Bootsektor sollte 512 Bytes "
 "sein. FAT-Unterstützung wird deaktiviert."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Das Dateisystem hat eine ungültige Signatur für ein FAT-Dateisystem."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Das Dateisystem hat eine ungültige Sektorgröße für ein FAT-Dateisystem."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "Das Dateisystem hat eine ungültige Clustergröße für ein FAT-Dateisystem."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Das Dateisystem hat eine ungültige Zahl von reservierten Sektoren für ein "
 "FAT-Dateisystem."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Das Dateisystem hat eine ungültige Anzahl von FATs."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Dieses Dateisystem hat eine logische Sektorgröße von %d. GNU Parted "
-"funktioniert mit anderen Sektorgrößen als 512 Bytes nicht richtig."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
+"Die CHS-Geometrie des Dateisystems ist (%d, %d, %d), dies ist unzulässig. "
+"Die CHS-Geometrie der Partitionstabelle ist (%d, %d, %d)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "Der FAT-Bootsektor sagt, die logische Sektorgröße sei 0. Das ist seltsam."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "Der FAT-Bootsektor sagt, es gäbe keine FAT-Tabellen. Das ist seltsam."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "Der FAT-Bootsektor sagt, Cluster seien 0 Sektoren groß. Das ist seltsam."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Das Dateisystem ist FAT12, welches nicht unterstützt wird."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Der Informationssektor hat die falsche Signatur (%x). Wählen Sie jetzt "
-"Abbrechen und senden Sie einen Fehlerbericht. Wenn es sein muß, können Sie "
-"das auch ignorieren."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
-#, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
-msgstr "Unbekannte Linux-Swap-Signatur '%10s'."
+msgstr "Unbekannte veraltete Linux-Swap-Signatur »%10s«."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
-#, fuzzy, c-format
+#: libparted/fs/linux_swap/linux_swap.c:268
+#, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
-msgstr "Unbekannte Linux-Swap-Signatur '%10s'."
+msgstr "Unbekannte neue Linux-Swap-Signatur »%10s«."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
-#, fuzzy, c-format
+#: libparted/fs/linux_swap/linux_swap.c:308
+#, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
-msgstr "Unbekannte Linux-Swap-Signatur '%10s'."
+msgstr "Unbekannte swsusp-Linux-Swap-Signatur »%9s«."
 
 #: libparted/fs/hfs/probe.c:50 libparted/fs/r/hfs/probe.c:50
 #, c-format
@@ -1775,7 +1753,16 @@ msgstr ""
 "Parted kann das HFS-Dateisystem nicht auf Festplatten mit einer Sektorgröße "
 "ungleich %d Bytes verwenden."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Dieses Dateisystem hat eine logische Sektorgröße von %d. GNU Parted "
+"funktioniert mit anderen Sektorgrößen als 512 Bytes nicht richtig."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1790,6 +1777,16 @@ msgstr ""
 "Reparieren auswählen, wird die CHS-Geometrie des Dateisystems so gesetzt, "
 "dass sie mit der CHS-Geometrie der Partitionstabelle übereinstimmt."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Der Informationssektor hat die falsche Signatur (%x). Wählen Sie jetzt "
+"Abbrechen und senden Sie einen Fehlerbericht. Wenn es sein muss, können Sie "
+"das auch ignorieren."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1797,7 +1794,7 @@ msgid ""
 "Currently, only %s is free."
 msgstr ""
 "Sie benötigen %s freien Platz, um diese Partition auf diese Größe zu "
-"verkleinern.Momentan ist nur %s frei."
+"verkleinern. Momentan ist nur %s frei."
 
 #: libparted/fs/r/fat/context.c:55
 #, c-format
@@ -1850,27 +1847,27 @@ msgid ""
 "some programs to stop working."
 msgstr ""
 "Die Datei %s ist als Systemdatei markiert. Das bedeutet, dass nach dem "
-"Verschieben einige Programme nicht mehr funktionieren können."
+"Verschieben einige Programme nicht mehr funktionieren könnten."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Die Partition ist für ein %s-Dateisystem zu groß/klein."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
 "Die FATs stimmen nicht überein. Wenn Sie nicht wissen, was das bedeutet, "
-"brechen Sie ab, rufen Scandisk für das Dateisystem auf und versuchen es "
-"nochmal."
+"brechen Sie ab, rufen Scandisk für das Dateisystem auf und versuchen es noch "
+"einmal."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Es gibt keine möglichen Konfigurationen für diesen FAT-Typ."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1881,7 +1878,7 @@ msgstr ""
 "%dk (%dk erwartet); die Clusterzahl ist %d (%d erwartet); die FAT-Größe ist "
 "%d Sektoren (%d erwartet)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -1902,7 +1899,7 @@ msgstr "Fehler beim Schreiben in das Root-Verzeichnis."
 #: libparted/fs/r/fat/resize.c:488
 msgid "If you leave your file system as FAT16, then you will have no problems."
 msgstr ""
-"Wenn Sie Ihr Dateisystem als FAT16 lassen, werden Sie keine Probleme haben."
+"Wenn Sie Ihr Dateisystem als FAT16 belassen, werden Sie keine Probleme haben."
 
 #: libparted/fs/r/fat/resize.c:491
 msgid ""
@@ -1920,7 +1917,7 @@ msgid ""
 "If you leave your file system as FAT32, then you will not introduce any new "
 "problems."
 msgstr ""
-"Wenn Sie Ihr Dateisystem als FAT32 lassen, werden Sie keine neuen Probleme "
+"Wenn Sie Ihr Dateisystem als FAT32 belassen, werden Sie keine neuen Probleme "
 "herbeiführen."
 
 #: libparted/fs/r/fat/resize.c:503
@@ -1971,7 +1968,7 @@ msgid ""
 "GNU Parted cannot resize this partition to this size.  We're working on it!"
 msgstr ""
 "GNU Parted kann diese Partition nicht auf diese Größe verändern. Wir "
-"arbeiten dran!"
+"arbeiten daran!"
 
 #: libparted/fs/r/fat/table.c:136
 #, c-format
@@ -2001,9 +1998,9 @@ msgid "Could not detect file system."
 msgstr "Dateisystem wurde nicht erkannt."
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
-#, fuzzy, c-format
+#, c-format
 msgid "resizing %s file systems is not supported"
-msgstr "Größenänderung von Dateisystemen ist für %s noch nicht implementiert."
+msgstr "Größenänderung von %s-Dateisystemen ist noch nicht implementiert."
 
 #: libparted/fs/r/filesys.c:170
 msgid "The file system is bigger than its volume!"
@@ -2028,7 +2025,7 @@ msgid ""
 msgstr ""
 "Es wurde versucht, einen erweiterten Anfang bei Block 0x%X zu registrieren, "
 "aber es existiert bereits ein anderer an dieser Stelle. Sie sollten das "
-"Dateisystem überprüfen lassen!"
+"Dateisystem überprüfen!"
 
 #: libparted/fs/r/hfs/cache.c:213
 #, c-format
@@ -2056,7 +2053,8 @@ msgstr ""
 #: libparted/fs/r/hfs/file.c:189 libparted/fs/r/hfs/file.c:219
 #, c-format
 msgid "Could not find sector %lli of HFS file with CNID %X."
-msgstr "Konnte den Sektor %lli der HFS-Datei mit der CNID %X nicht finden."
+msgstr ""
+"Der Sektor %lli der HFS-Datei mit der CNID %X konnte nicht gefunden werden."
 
 #: libparted/fs/r/hfs/file.c:209
 #, c-format
@@ -2080,7 +2078,8 @@ msgstr ""
 #: libparted/fs/r/hfs/file_plus.c:212 libparted/fs/r/hfs/file_plus.c:255
 #, c-format
 msgid "Could not find sector %lli of HFS+ file with CNID %X."
-msgstr "Konnte den Sektor %lli der HFS+-Datei mit der CNID %X nicht finden."
+msgstr ""
+"Der Sektor %lli der HFS+-Datei mit der CNID %X konnte nicht gefunden werden."
 
 #: libparted/fs/r/hfs/file_plus.c:244
 #, c-format
@@ -2103,7 +2102,8 @@ msgstr "Die Umlagerung der Daten ist fehlgeschlagen."
 #: libparted/fs/r/hfs/hfs.c:281
 msgid "Data relocation left some data in the end of the volume."
 msgstr ""
-"Die Umlagerung der Daten hat einige Daten am Ende des Datenträgers gelassen."
+"Die Umlagerung der Daten hat einige Daten am Ende des Datenträgers "
+"hinterlassen."
 
 #: libparted/fs/r/hfs/hfs.c:320
 msgid "writing HFS Master Directory Block"
@@ -2126,7 +2126,8 @@ msgstr "Die HFSX-Version %d ist nicht unterstützt."
 #: libparted/fs/r/hfs/hfs.c:672
 msgid "Data relocation left some data at the end of the volume."
 msgstr ""
-"Die Umlagerung der Daten hat einige Daten am Ende des Datenträgers gelassen."
+"Die Umlagerung der Daten hat einige Daten am Ende des Datenträgers "
+"hinterlassen."
 
 #: libparted/fs/r/hfs/hfs.c:720
 msgid "Error while writing the allocation file."
@@ -2134,7 +2135,7 @@ msgstr "Fehler beim Schreiben der Belegungsdatei."
 
 #: libparted/fs/r/hfs/hfs.c:735
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Fehler beim Schreiben des Verträglichkeitsteils der Belegungsdatei."
+msgstr "Fehler beim Schreiben des Kompatibilitätsteils der Belegungsdatei."
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2143,7 +2144,7 @@ msgstr "Schreiben des HFS+-Datenträger-Kopfes"
 #: libparted/fs/r/hfs/hfs.c:850
 msgid "An error occurred while looking for the mandatory bad blocks file."
 msgstr ""
-"Beim Suchen nach der notwendigen Datei, die schlechte Blöcke enthält, trat "
+"Beim Suchen nach der notwendigen Datei, die fehlerhafte Blöcke enthält, trat "
 "ein Fehler auf."
 
 #: libparted/fs/r/hfs/hfs.c:904
@@ -2151,7 +2152,7 @@ msgid ""
 "It seems there is an error in the HFS wrapper: the bad blocks file doesn't "
 "contain the embedded HFS+ volume."
 msgstr ""
-"Es scheint, als wäre im HFS-Wrapper ein Fehler: die Datei der schlechten "
+"Es scheint, als wäre im HFS-Wrapper ein Fehler: die Datei der fehlerhaften "
 "Blöcke enthält nicht den eingebetteten HFS+-Datenträger."
 
 #: libparted/fs/r/hfs/hfs.c:940
@@ -2192,8 +2193,8 @@ msgstr "Prüfsummenfehler im Kopf der Liste der schlechten Blöcke."
 msgid ""
 "Invalid size of a transaction block while replaying the journal (%i bytes)."
 msgstr ""
-"Ungültige Größe eines Vorgangsblocks während das Journal überprüft wurde (%i "
-"Bytes)."
+"Ungültige Größe eines Vorgangsblocks, während das Journal überprüft wurde "
+"(%i Bytes)."
 
 #: libparted/fs/r/hfs/journal.c:259
 msgid ""
@@ -2230,7 +2231,7 @@ msgstr ""
 
 #: libparted/fs/r/hfs/journal.c:334
 msgid "Bad journal checksum."
-msgstr "Schlechte Prüfsumme des Journals."
+msgstr "Falsche Prüfsumme des Journals."
 
 #: libparted/fs/r/hfs/journal.c:352
 msgid ""
@@ -2246,7 +2247,8 @@ msgid ""
 "the journal.  You should restart Parted."
 msgstr ""
 "Der Kopf des Datenträgers oder der Block des Hauptverzeichnisses hat sich "
-"während dem Überprüfen der Vorgänge geändert. Sie sollten Parted neustarten."
+"während des Überprüfens der Vorgänge geändert. Sie sollten Parted neu "
+"starten."
 
 #: libparted/fs/r/hfs/reloc.c:150 libparted/fs/r/hfs/reloc_plus.c:154
 msgid "An extent has not been relocated."
@@ -2257,7 +2259,7 @@ msgid ""
 "A reference to an extent comes from a place it should not.  You should check "
 "the file system!"
 msgstr ""
-"Ein Verweis einer Erweiterung kam von einem Ort, von des er nicht kommen "
+"Ein Verweis einer Erweiterung kam von einem Ort, von dem er nicht kommen "
 "sollte. Sie sollten das Dateisystem überprüfen lassen!"
 
 #: libparted/fs/r/hfs/reloc.c:379
@@ -2322,9 +2324,8 @@ msgid "displays the version"
 msgstr "zeigt die Version"
 
 #: parted/parted.c:130
-#, fuzzy
 msgid "alignment for new partitions"
-msgstr "Kann keine weitere Partition erzeugen."
+msgstr "Ausrichtung für neue Partitionen"
 
 #: parted/parted.c:142
 msgid ""
@@ -2337,29 +2338,29 @@ msgstr ""
 
 #: parted/parted.c:145
 msgid "LABEL-TYPE is one of: "
-msgstr "LABEL-TYP ist eines aus: "
+msgstr "LABEL-TYP ist eines von: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
-msgstr "FLAG ist eines aus: "
+msgstr "FLAG ist eines von: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
-msgstr "EINHEIT ist eines aus: "
+msgstr "EINHEIT ist eines von: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
-msgstr ""
+msgstr "Gewünschte Ausrichtung: minimum oder optimal"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
-msgstr "PART-TYP ist eines aus: primär, logisch, erweitert\n"
+msgstr "PART-TYP ist eines von: primär, logisch, erweitert\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
-msgstr "FS-TYP ist eines aus: "
+msgstr "FS-TYP ist eines von: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2369,19 +2370,28 @@ msgstr ""
 "Werte zählen vom Ende der Festplatte aus. Beispielsweise steht -1s für genau "
 "den letzen Sektor.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"ENDE ist eine Stelle auf der Festplatte, z.B. 4GB oder 10%. Negative Werte "
+"zählen vom Ende der Festplatte aus. Beispielsweise steht -1s für genau den "
+"letzten Sektor.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
-msgstr "STATUS ist eines aus: an, aus\n"
+msgstr "STATUS ist eines von: an, aus\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "GERÄT ist normalerweise /dev/hda oder /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAME ist ein beliebiges Wort Ihrer Wahl\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2402,26 +2412,24 @@ msgstr ""
 "\"GNU General Public License\" können weitere Einzelheiten nachgelesen\n"
 "werden.\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(Restzeit %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
-"Die Partition %s wird gerade verwendet. Sie müssen sie aushängen, bevor Sie "
-"sie mit Parted verändern."
+"Die Partition %s wird gerade verwendet. Sind Sie sicher, dass Sie fortsetzen "
+"wollen?"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Partition(en) auf %s werden verwendet."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2430,123 +2438,127 @@ msgstr ""
 "Die bestehende Partitionstabelle und alle Daten auf %s werden gelöscht. "
 "Wollen Sie fortfahren?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Neuer Disk-Label-Typ?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Partitionstyp?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Partitionsname?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Dateisystemtyp?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Anfang?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Ende?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Sie wollen eine Partition von %s bis %s. Das Beste, was Parted bieten kann, "
-"ist von %s nach %s. Ist das in Ordnung?"
+"Sie wollen eine Partition von %s bis %s (Sektoren %llu..%llu).\n"
+"Das Beste, was Parted bieten kann, ist von %s nach %s (Sektoren %llu..%llu)."
+"%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
+"\n"
+"Ist dies noch akzeptabel für Sie?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
+"Die Partition ist nicht sauber ausgerichtet, gemessen an bester Performance."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Partitionsnummer?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "BIOS Zylinder-, Kopf-, Sektor-Geometrie: %d, %d, %d. Jeder Zylinder ist %s "
 "groß.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Modell: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Festplatte  %s:  %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Sektorgröße (logisch/physisch): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Partitionstabelle: %s\n"
 
-#: parted/parted.c:992
-#, fuzzy, c-format
+#: parted/parted.c:1017
+#, c-format
 msgid "Disk Flags: %s\n"
-msgstr "Festplatte  %s:  %s\n"
+msgstr "Disk-Flags: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Nummer"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Anfang"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Ende"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Größe"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Typ"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Dateisystem"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Name"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Flags"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Freier Platz"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2555,72 +2567,83 @@ msgstr ""
 "Eine %s %s-Partition wurde bei %s -> %s gefunden. Wollen Sie diese Partition "
 "zur Partitionstabelle hinzufügen?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "Suche nach Dateisystemen"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "Der resize-Befehl wurde in parted 3.0 entfernt."
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+"Das Verkleinern einer Partition kann Datenverlust zur Folge haben, sind Sie "
+"sicher, dass Sie fortsetzen wollen?"
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Neues Gerät?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
-msgstr ""
+msgstr "Ausrichtungstyp (min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
-msgstr ""
+msgstr "%d ausgerichtet\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
-msgstr ""
+msgstr "%d nicht ausgerichtet\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Umzukehrendes Flag?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Neuer Zustand?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Einheit?"
 
-#: parted/parted.c:1807
-#, fuzzy
+#: parted/parted.c:1913
 msgid "align-check"
-msgstr "Prüfen"
+msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
+"align-check TYP N                         Partition N auf TYP (min|opt) der "
+"Ausrichtung prüfen"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr ""
-"help [KOMMANDO]                          Allgemeine Hilfe, oder Hilfe zu "
-"KOMMANDO"
+"help [BEFEHL]                          Allgemeine Hilfe, oder Hilfe zu BEFEHL"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2628,37 +2651,37 @@ msgstr ""
 "mklabel,mktable LABEL-TYP                Neues Disklabel (Partitionstabelle) "
 "erzeugen"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart PART-TYP [FS-TYP] ANFANG ENDE    Partition erzeugen"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
 msgstr ""
-"'mkpart' erzeugt eine Partition ohne ein neues Dateisystem auf der Partition "
-"zu erzeugen. FS-TYP kann angegeben werden, um eine geeignete Partitions-ID "
-"zu setzen.\n"
+"»mkpart« erzeugt eine Partition, ohne ein neues Dateisystem auf der "
+"Partition zu erzeugen. FS-TYP kann angegeben werden, um eine geeignete "
+"Partitions-ID zu setzen.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "name NUMMER NAME                         Partition NUMMER mit NAME benennen"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2668,53 +2691,54 @@ msgstr ""
 "Geräte, freien Speicher, alle Paritionen oder eine bestimmte Partition "
 "anzeigen"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
-"Ohne Argumente zeigt 'print' die komplette Partitionstabelle an. Mit den "
+"Ohne Argumente zeigt »print« die komplette Partitionstabelle an. Mit den "
 "folgenden Argumenten verrichtet es die zahlreichen anderen Aktionen.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : zeigt alle aktiven blockorientierten Geräte an\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 "  free      : zeigt Informationen über freien, unpartitionierten Platz auf "
-"dem aktuellen blockorientierten Gerät an\n"
+"dem\n"
+"              aktuellen blockorientierten Gerät an\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
-"  list, all : anzeigen der Partitionstabellen aller aktiven "
-"blockorientierten Geräte\n"
+"  list, all : zeigt Partitionstabellen aller aktiven blockorientierten\n"
+"              Geräte an\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
-"  NUMMER    : Detailiertere Informationen über diese Partition anzeigen\n"
+"  NUMMER    : zeigt detailliertere Informationen über diese Partition an\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     Programm beenden"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2722,124 +2746,139 @@ msgstr ""
 "rescue ANFANG ENDE                       Eine verlorene Partitionen zwischen "
 "ANFANG und ENDE retten"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "Der resize-Befehl wurde in parted 3.0 entfernt.\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "resizepart"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr ""
+"resizepart NUMMER ENDE                   Größe der Partition NUMMER ändern"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
-msgstr "rm NUMMER                                Partion NUMMER löschen"
+msgstr "rm NUMMER                                Partition NUMMER löschen"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr ""
 "select GERÄT                             Wählen Sie ein GERÄT zur Bearbeitung"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
-msgstr ""
+msgstr "disk_set"
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
-"set NUMMER FLAG STATUS                   ändern des FLAGs auf der Partition "
-"NUMMER"
+"disk_set FLAG STATUS                     ändern des FLAGs auf dem gewählten "
+"Gerät"
 
-#: parted/parted.c:1918
-#, fuzzy
+#: parted/parted.c:2038
 msgid "disk_toggle"
-msgstr "toggle"
+msgstr "disk_toggle"
 
-#: parted/parted.c:1921
-#, fuzzy
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
-"toggle [NUMMER [FLAG]]                   umschalten des FLAGs von Partition "
-"NUMMER"
+"disk_toggle [FLAG]                       Umschalten des FLAGs auf dem "
+"gewählten Gerät"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
-"set NUMMER FLAG STATUS                   Ã¤ndern des FLAGs auf der Partition "
+"set NUMMER FLAG STATUS                   Ã\84ndern des FLAGs auf der Partition "
 "NUMMER"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
-"toggle [NUMMER [FLAG]]                   umschalten des FLAGs von Partition "
+"toggle [NUMMER [FLAG]]                   Umschalten des FLAGs von Partition "
 "NUMMER"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit EINHEIT                             die Standardgröße auf EINHEIT setzen"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 "version                                  zeigt die Versions- und Copyright-"
-"Informationen von GNU Parted an"
+"Informationen\n"
+"                                         von GNU Parted an"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
-"'version' zeigt die Versions- und Copyright-Informationen zu dieser Kopie "
+"»version« zeigt die Versions- und Copyright-Informationen zu dieser Kopie "
 "von GNU Parted an\n"
 
-#: parted/parted.c:2028
-#, fuzzy, c-format
+#: parted/parted.c:2148
+#, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
-msgstr "Aufruf: %s [-hlmsv] [GERÄT [KOMMANDO [PARAMETER]]...]\n"
+msgstr "Aufruf: %s [-hlmsv] [-a<Ausrichtung>] [GERÄT [BEFEHL [PARAMETER]] …]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Kein Gerät gefunden"
 
-#: parted/parted.c:2109
-#, fuzzy
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
-msgstr "WARNUNG: Sie sind nicht root. Achten Sie auf Ihre Rechte."
+msgstr ""
+"WARNUNG: Sie sind kein Systemadministrator. Achten Sie auf Ihre Rechte.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Möglicherweise müssen Sie /etc/fstab anpassen.\n"
 
 #: parted/ui.c:162
 msgid "Welcome to GNU Parted! Type 'help' to view a list of commands.\n"
 msgstr ""
-"Willkommen zu GNU Parted! Geben Sie 'help' ein, um eine Liste der "
-"verfügbaren Kommados zu erhalten.\n"
+"Willkommen zu GNU Parted! Rufen Sie »help« auf, um eine Liste der "
+"verfügbaren Befehle zu erhalten.\n"
 
 #: parted/ui.c:165
 msgid ""
@@ -2848,10 +2887,10 @@ msgid ""
 "in\n"
 "interactive mode.\n"
 msgstr ""
-"Aufruf: parted [OPTION]... [GERÄT [KOMMANDO [PARAMETER]...]...]\n"
-"KOMMANDOs mit PARAMETERn für GERÄT ausführen. Wenn keine KOMMANDOs angegeben "
+"Aufruf: parted [OPTION] … [GERÄT [BEFEHL [PARAMETER] …] …]\n"
+"BEFEHLE mit PARAMETERN für GERÄT ausführen. Wenn keine BEFEHLE angegeben "
 "sind,\n"
-" interaktiv arbeiten.\n"
+"interaktiv arbeiten.\n"
 
 #: parted/ui.c:170
 #, c-format
@@ -2894,7 +2933,7 @@ msgstr ""
 "Bleiben Sie ruhig! Der Fehler sollte Ihre Daten nicht beeinträchtigt haben.\n"
 "Helfen Sie uns, den Fehler zu beseitigen, indem Sie folgendes tun:\n"
 "\n"
-"Überprüfen Sie, ob der Fehler bereits ausgebesert wurde, indem Sie die \n"
+"Überprüfen Sie, ob der Fehler bereits beseitigt wurde, indem Sie die \n"
 "neueste Version von GNU Parted verwenden:\n"
 "\n"
 "\thttp://ftp.gnu.org/gnu/parted/\n"
@@ -2903,19 +2942,19 @@ msgstr ""
 "einreichen.\n"
 "\n"
 "Falls der Fehler noch nicht beseitigt sein sollte, oder falls Sie nicht "
-"wissen sollten, wie Sie das überprüfen soll,\n"
-" besuchen Sie bitte die GNU Parted- Webseite:\n"
+"wissen sollten, wie Sie das überprüfen sollen,\n"
+"besuchen Sie bitte die GNU Parted- Webseite:\n"
 "\n"
-"\thttp://www.gnu.org/software/parted\n"
+"\thttp://www.gnu.org/software/parted,\n"
 "\n"
-"für weitere Informationen.\n"
+"um weitere Informationen zu erhalten.\n"
 "\n"
-"Ihr Bericht sollte die Version dieser Fregabe beinhalten (%s),\n"
+"Ihr Bericht sollte die Version dieser Freigabe beinhalten (%s),\n"
 "die untenstehende Fehlermeldung und die Ausgabe von \n"
 "\n"
 "\tparted GERÄT unit co print unit s print\n"
 "\n"
-"und die folgende Befehlsgeschichte, die sie eingegeben haben.\n"
+"und die folgende Befehlsfolge, die Sie eingegeben haben.\n"
 "Nehmen Sie auch noch weitere Informationen über Ihr System auf, die Sie als "
 "wichtig empfinden.\n"
 
@@ -2925,7 +2964,7 @@ msgid ""
 "Command History:\n"
 msgstr ""
 "\n"
-"Befehlsgeschichte:\n"
+"Befehlsfolge:\n"
 
 #: parted/ui.c:354
 msgid ""
@@ -2949,7 +2988,7 @@ msgid ""
 "Error: A general SIGSEGV signal was encountered.\n"
 msgstr ""
 "\n"
-"Fehler: Ein genereller SIGSEGV-Signal wurde empfangen.\n"
+"Fehler: Ein generelles SIGSEGV-Signal wurde empfangen.\n"
 
 #: parted/ui.c:389
 msgid ""
@@ -2965,7 +3004,7 @@ msgid ""
 "Error: FPE_INTOVF (Integer: overflow)"
 msgstr ""
 "\n"
-"Fehler: FPE_INTOVF (Ganzzahl: Overflow)"
+"Fehler: FPE_INTOVF (Ganzzahl: Überlauf)"
 
 #: parted/ui.c:399
 msgid ""
@@ -2981,7 +3020,7 @@ msgid ""
 "Error: FPE_FLTOVF (Float: overflow)"
 msgstr ""
 "\n"
-"Fehler: FPE_FLTOVF (Fließkommazahl: Overflow)"
+"Fehler: FPE_FLTOVF (Fließkommazahl: Überlauf)"
 
 #: parted/ui.c:409
 msgid ""
@@ -2989,7 +3028,7 @@ msgid ""
 "Error: FPE_FLTUND (Float: underflow)"
 msgstr ""
 "\n"
-"Fehler: FPE_FLTUND (Fließkommazahl: Underflow)"
+"Fehler: FPE_FLTUND (Fließkommazahl: Unterlauf)"
 
 #: parted/ui.c:414
 msgid ""
@@ -2997,7 +3036,7 @@ msgid ""
 "Error: FPE_FLTRES (Float: inexact result)"
 msgstr ""
 "\n"
-"Fehler: FPE_FLTRES (Fließkommazahl ungenaues Ergebnis)"
+"Fehler: FPE_FLTRES (Fließkommazahl: ungenaues Ergebnis)"
 
 #: parted/ui.c:419
 msgid ""
@@ -3095,482 +3134,103 @@ msgstr ""
 "\n"
 "Fehler: Ein generelles SIGILL-Signal wurde empfangen."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "Unbekanntes Zeichen: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Es wird eine Partitionsnummer erwartet."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Die Partition existiert nicht."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Es wird ein Dateisystemtyp erwartet."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
-msgstr "Unbekannter Dateisystemtyp \"%s\"."
+msgstr "Unbekannter Dateisystemtyp »%s«."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Es wird ein Disklabeltyp erwartet."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
-msgstr "Kann keine weitere Partition erzeugen."
+msgstr "Weitere Partitionen können nicht mehr erzeugt werden."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Es wird ein Partitionstyp erwartet."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "an"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "aus"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
-msgstr ""
+msgstr "optimal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
-msgstr ""
+msgstr "minimal"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
-msgstr "OPTIONen:"
+msgstr "OPTIONEN:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
-msgstr "KOMMANDOs:"
+msgstr "BEFEHLE:"
 
-#: parted/ui.c:1553
-#, fuzzy, c-format
+#: parted/ui.c:1549
+#, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 "\n"
-"Fehler an <%s> berichten.\n"
+"Melden Sie Fehler an %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
-msgstr "Verwende %s\n"
+msgstr "%s wird verwendet\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
-msgstr "Dieses Kommando macht im nicht-interaktiven Modus keinen Sinn.\n"
+msgstr "Dieser Befehl ergibt im nicht-interaktiven Modus keinen Sinn.\n"
 
-#~ msgid ""
-#~ "Usage: %s [OPTION]\n"
-#~ "  or:  %s DEVICE MINOR\n"
-#~ msgstr ""
-#~ "Aufruf: %s [OPTION]\n"
-#~ "  oder:  %s GERÄT NUMMER\n"
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Partition %d konnte nicht hinzugefügt werden (%s)"
 
 #~ msgid ""
-#~ "Clear unused space on a FAT partition (a GNU Parted testing tool).\n"
-#~ "\n"
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
 #~ msgstr ""
-#~ "Unbenutzten Speicherplatz auf einer FAT-Partiton löschen (ein GNU Parted-"
-#~ "Test-Programm)\n"
-#~ "\n"
-
-#~ msgid "      --help     display this help and exit\n"
-#~ msgstr "      --help     diese Hilfe anzeigen und beenden\n"
-
-#~ msgid "      --version  output version information and exit\n"
-#~ msgstr "      --version  Versionsangaben ausgeben und beenden\n"
-
-#~ msgid "too few arguments"
-#~ msgstr "zu wenige Argumente"
-
-#~ msgid "too many arguments"
-#~ msgstr "Zu viele falsche Argumente"
-
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "Unbekanntes Zeichen: %s"
-
-#~ msgid "Support for opening %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "Die Unterstützung für das Öffnen von Dateisystemen ist für %s noch nicht "
-#~ "implementiert."
-
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr "Erzeugung von Dateisystemen ist für %s noch nicht implementiert."
-
-#~ msgid "Support for checking %s file systems is not implemented yet."
-#~ msgstr "Überprüfung von Dateisystemen ist für %s noch nicht implementiert."
-
-#~ msgid "raw block copying"
-#~ msgstr "Kopieren von Blöcken vom Typ \"raw\""
-
-#~ msgid "growing file system"
-#~ msgstr "Dateisystem wird vergrößert"
-
-#~ msgid "Can't copy onto an overlapping partition."
-#~ msgstr "Auf überlappende Partitionen kann nicht kopiert werden."
+#~ "Parted konnte die Partitionstabelle von %s nicht neu einlesen (%s). Das "
+#~ "bedeutet, dass Linux bis zum Neustart nichts über Ihrer Modifikationen "
+#~ "weiß. "
 
 #~ msgid ""
-#~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
-#~ "can be copied if the new partition is at least as big as the old one.  "
-#~ "So, either shrink the partition you are trying to copy, or copy to a "
-#~ "bigger partition."
-#~ msgstr ""
-#~ "Direkte Unterstützung für das Kopieren von Dateisystemen ist für %s noch "
-#~ "nicht implementiert, Größenänderungen sind aber unterstützt. Deshalb kann "
-#~ "das Dateisystem kopiert werden, wenn die neue Partition mindestens so "
-#~ "groß ist, wie die alte. Also sollten Sie entweder die Partition, die Sie "
-#~ "kopieren wollen, verkleinern, oder auf eine größere Partition kopieren."
-
-#~ msgid "Support for copying %s file systems is not implemented yet."
-#~ msgstr "Kopieren von Dateisystemen ist für %s noch nicht implementiert."
-
-#~ msgid "creating"
-#~ msgstr "erstellen"
-
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr ""
-#~ "Das Dateisystem hat einen ungültigen Status. Ist es vielleicht "
-#~ "eingebunden?"
-
-#~ msgid "The file system is in old (unresizeable) format."
-#~ msgstr ""
-#~ "Das Dateisystem ist in einem alten (nicht vergrößerbaren/verkleinerbaren) "
-#~ "Format."
-
-#~ msgid "Invalid free blocks count.  Run reiserfsck --check first."
-#~ msgstr ""
-#~ "Ungültige Anzahl freier Blöcke. Führen Sie zuerst reiserfsck --check aus."
-
-#~ msgid "checking"
-#~ msgstr "prüfen"
-
-#~ msgid "Reiserfs tree seems to be corrupted.  Run reiserfsck --check first."
-#~ msgstr ""
-#~ "Der Reiserfs-Baum scheint beschädigt zu sein. Führen Sie zuerst "
-#~ "reiserfsck --check aus."
-
-#~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
-#~ msgstr ""
-#~ "Das Reiserfs-Dateisystem hat die Basisprüfung bestanden. Um eine "
-#~ "ausführlichere Prüfung auszuführen, führen Sie reiserfsck --check aus."
-
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr ""
-#~ "Leider kann der Anfang von Reiserfs-Partitionen noch nicht verschoben "
-#~ "werden."
-
-#~ msgid "Couldn't reopen device abstraction layer for read/write."
-#~ msgstr ""
-#~ "Die Abstraktionsschicht kann nicht erneut zum lesen/schreiben geöffnet "
-#~ "werden."
-
-#~ msgid "expanding"
-#~ msgstr "vergrößern"
-
-#~ msgid "Couldn't create reiserfs device abstraction handler."
-#~ msgstr ""
-#~ "Der Reiserfs-Gerät-Abstraktions-Handhaber konnte nicht erstellt werden."
-
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Das Gerät ist für %lu Blöcke zu klein."
-
-#~ msgid "copying"
-#~ msgstr "kopieren"
-
-#~ msgid "Couldn't resolve symbol %s.  Error: %s."
-#~ msgstr "Das Symbol %s konnte nicht aufgelöst werden. Fehler: %s."
-
-#~ msgid "GNU Parted found an invalid libreiserfs library."
-#~ msgstr "GNU Parted hat eine ungültige libreiserfs-Bibliothek gefunden."
-
-#~ msgid ""
-#~ "GNU Parted has detected libreiserfs interface version mismatch.  Found %d-"
-#~ "%d, required %d. ReiserFS support will be disabled."
-#~ msgstr ""
-#~ "GNU Parted hat einen Versionskonflikt mit dem libreiserfs-Interface "
-#~ "festgestellt. Gefunden: %d-%d, benötigt: %d. ReiserFS-Unterstützung wird "
-#~ "deaktiviert."
-
-#~ msgid "Inconsistent group descriptors!"
-#~ msgstr "Inkonsistente Gruppendeskriptoren!"
-
-#~ msgid "File system full!"
-#~ msgstr "Dateisystem voll!"
-
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
-#~ msgstr ""
-#~ "Ungültiger Superblock. Sind Sie sicher, dass das ein ext2-Dateisystem ist?"
-
-#~ msgid "File system has errors!  You should run e2fsck."
-#~ msgstr "Das Dateisystem hat Fehler! Sie sollten e2fsck aufrufen."
-
-#~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
-#~ msgstr ""
-#~ "Das Dateisystem wurde nicht sauber ausgehängt! Sie sollten e2fsck "
-#~ "ausführen. Das Bearbeiten eines unsauberen Dateisystems kann zu schweren "
-#~ "Beschädigungen führen."
-
-#~ msgid "Error allocating buffer cache."
-#~ msgstr "Fehler beim Belegen des Puffercaches."
-
-#~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "I-Node mit ungültigem Linkzähler gefunden. Führen Sie besser zuerst "
-#~ "e2fsck aus!"
-
-#~ msgid "Not enough free inodes!"
-#~ msgstr "Nicht genügend freie I-Nodes!"
-
-#~ msgid "File system is too full to remove a group!"
-#~ msgstr "Dateisystem ist zu voll, um eine Gruppe entfernen zu können!"
-
-#~ msgid "File system has too many allocated inodes to remove a group!"
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
 #~ msgstr ""
-#~ "Dateisystem hat zu viele belegte I-Nodes, um eine Gruppe entfernen zu "
-#~ "können!"
-
-#~ msgid "adding groups"
-#~ msgstr "Gruppen hinzufügen"
-
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
-#~ msgstr ""
-#~ "Ihr Dateisystem ist zu voll, um es auf %i Blöcke verkleinern zu können. "
-#~ "Entschuldigung."
-
-#~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
-#~ "Sorry."
-#~ msgstr ""
-#~ "Ihr Dateisystem hat zu viele belegt I-Nodes, um es auf %i Blöcke "
-#~ "reduzieren zu können. Entschuldigung."
-
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
-#~ msgstr ""
-#~ "Das Dateisystem wurde nicht sauber ausgehängt! Sie sollten e2fsck "
-#~ "ausführen."
-
-#~ msgid ""
-#~ "The file system has the 'dir_index' feature enabled.  Parted can only "
-#~ "resize the file system if it disables this feature.  You can enable it "
-#~ "later by running 'tune2fs -O dir_index DEVICE' and then 'e2fsck -fD "
-#~ "DEVICE'."
-#~ msgstr ""
-#~ "Das Dateisystem hat 'dir_index' eingeschaltet. Parted kann nur die Größe "
-#~ "des Dateisystems ändern, wenn diese Eigenschaft ausgeschaltet ist. Sie "
-#~ "können die Fähigkeit später mit 'tune2fs -O dir_index GERÄT' und dann "
-#~ "'e2fsck -fD GERÄT' wieder einschalten."
-
-#~ msgid ""
-#~ "A resize operation on this file system will use EXPERIMENTAL code\n"
-#~ "that MAY CORRUPT it (although no one has reported any such damage yet).\n"
-#~ "You should at least backup your data first, and run 'e2fsck -f' "
-#~ "afterwards."
-#~ msgstr ""
-#~ "Eine Größenänderungsoperation an diesem Dateisystem wird EXPERIMENTELLEN "
-#~ "Code verwenden,\n"
-#~ " der es beschädigen kann (obwohl niemand bisher eine solche Beschädigung "
-#~ "gemeldet hat).\n"
-#~ "Sie sollten zumindest zuvor ihre Daten sichern und danach 'e2fsck -f' "
-#~ "ausführen."
-
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Querverbundene Blöcke gefunden! Führen Sie lieber zuerst e2fsck aus!"
-
-#~ msgid "Block %i has no reference?  Weird."
-#~ msgstr "Block %i hat keine Referenz? Seltsam."
-
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
-#~ msgstr "Block %i dürfte nicht markiert sein (%d, %d)!"
-
-#~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
-#~ "check, use the e2fsck program."
-#~ msgstr ""
-#~ "Das ext2-Dateisystem hat die Basisprüfung bestanden. Für eine "
-#~ "ausführlichere Prüfungverwenden Sie bitte e2fsck."
-
-#~ msgid "Sorry, can't move the start of ext2 partitions yet!"
-#~ msgstr ""
-#~ "Leider kann der Anfang von ext2-Partitionen noch nicht verschoben werden."
-
-#~ msgid "Couldn't flush buffer cache!"
-#~ msgstr "Der Puffercache konnte nicht geleert werden."
-
-#~ msgid "writing per-group metadata"
-#~ msgstr "Schreiben der Meta-Daten pro Gruppe"
-
-#~ msgid "File system too small for ext2."
-#~ msgstr "Das Dateisystem ist für ext2 zu klein."
-
-#~ msgid "Too many bad pages."
-#~ msgstr "Zu viele falsche Seiten."
-
-#~ msgid "The partition must have one of the following FS-TYPEs: "
-#~ msgstr "Die Partition muss eines der folgenden FS-TYPe haben: "
-
-#~ msgid ""
-#~ "The existing file system will be destroyed and all data on the partition "
-#~ "will be lost. Do you want to continue?"
-#~ msgstr ""
-#~ "Das existierende Dateisystem wird zerstört und alle Daten in der "
-#~ "Partition werden gelöscht. Wollen Sie fortfahren?"
-
-#~ msgid "Source partition number?"
-#~ msgstr "Quellpartitionsnummer?"
-
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "Eine erweiterte Partition kann nicht kopiert werden."
-
-#~ msgid "Destination partition number?"
-#~ msgstr "Zielpartitionsnummer?"
-
-#~ msgid ""
-#~ "An extended partition cannot hold a file system.  Did you want mkpart?"
-#~ msgstr ""
-#~ "Eine erweiterte Partition kann kein Dateisystem beinhalten. Wollten Sie "
-#~ "eine Partition erstellen (mkpart)?"
-
-#~ msgid "Can't move an extended partition."
-#~ msgstr "Eine erweiterte Partition kann nicht verschoben werden."
-
-#~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
-#~ msgstr ""
-#~ "Die Partition kann nicht auf sich selbst verschoben werden. Vielleicht "
-#~ "wollen Sie eine Größenänderung (resize) versuchen?"
-
-#~ msgid "Minor: %d\n"
-#~ msgstr "Nummer: %d\n"
-
-#~ msgid "Flags: %s\n"
-#~ msgstr "Flags: %s\n"
-
-#~ msgid "File System: %s\n"
-#~ msgstr "Dateisystem: %s\n"
-
-#~ msgid "Size:         "
-#~ msgstr "Größe:         "
-
-#~ msgid "Minimum size: "
-#~ msgstr "Minimale Größe: "
-
-#~ msgid "Maximum size: "
-#~ msgstr "Maximale Größe: "
-
-#~ msgid "check"
-#~ msgstr "Prüfen"
-
-#~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
-#~ msgstr ""
-#~ "check NUMMER                             Einen einfachen Test auf dem "
-#~ "Dateisystem ausführen."
-
-#~ msgid "cp"
-#~ msgstr "cp"
-
-#~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
-#~ "partition"
-#~ msgstr ""
-#~ "cp [VON-GERÄT] VON-NUMMER AUF-NUMMER   Dateisystem auf andere Partition "
-#~ "kopieren"
-
-#~ msgid "mkfs"
-#~ msgstr "mkfs"
-
-#, fuzzy
-#~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
-#~ msgstr ""
-#~ "mkfs NUMMER FS-TYP                       Dateisystem FS-TYP auf Partition "
-#~ "NUMMER erzeugen"
-
-#~ msgid "mkpartfs"
-#~ msgstr "mkpartfs"
-
-#~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
-#~ msgstr ""
-#~ "mkpartfs PART-TYP FS-TYP ANFANG ENDE     Partition mit Dateisystem "
-#~ "erzeugen"
-
-#~ msgid "move"
-#~ msgstr "move"
-
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr ""
-#~ "move NUMMER ANFANG ENDE                  Partition NUMBER verschieben"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "resize NUMMER ANFANG ENDE                Dateisystem- und Partitionsgröße "
-#~ "auf Partition NUMMER ändern"
-
-#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
-#~ msgstr ""
-#~ "Dies ist keine ECKD-Festplatte!  Dieser Festplattentyp wird nicht "
-#~ "unterstützt!"
-
-#~ msgid ""
-#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
-#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
-#~ msgstr ""
-#~ "Das Gerät %s hat eine logische Sektorgröße von %lld. Nicht alle Teile von "
-#~ "GNU Parted unterstützen dies im Moment und der funktionierende Code ist "
-#~ "HOCH EXPERIMENTELL.\n"
-
-#, fuzzy
-#~ msgid ""
-#~ "Could not determine minimum io size for %s: %s.\n"
-#~ "Using the default size (%lld)."
-#~ msgstr ""
-#~ "Die Sektorgröße von %s konnte nicht ermittelt werden: %s.\n"
-#~ "Es wird die Standardsektorgröße verwendet (%lld)."
-
-#~ msgid "%s: illegal option -- %c\n"
-#~ msgstr "%s: unerlaubte Option -- %c\n"
-
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Die Blockgröße dieses dasd kann nicht kann nicht bestimmt werden"
-
-#~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr ""
-#~ "Der Kernel konnte die Partitionstabelle von %s nicht neu einlesen (%s). "
-#~ "Das bedeutet, dass Linux bis zum Neustart nichts über Ihrer "
-#~ "Modifikationen weiss. Sie sollten den Rechner neu starten, bevor Sie %s "
-#~ "irgendwie verwenden."
-
-#~ msgid "File system has an incompatible feature enabled."
-#~ msgstr "Das Dateisystem hat eine inkompatible Funktion aktiviert."
+#~ "%s enthält GPT-Signaturen, die anzeigen, dass es eine GPT-Tabelle hat. Es "
+#~ "ist jedoch keine gültige vorgetäuschte MSDOS-Partitionstabelle vorhanden, "
+#~ "die erforderlich wäre. Vielleicht wurde diese zerstört -- eventuell durch "
+#~ "ein Programm, das GPT-Partitionstabellen nicht versteht. Oder vielleicht "
+#~ "haben Sie die GPT-Tabelle gelöscht, und verwenden jetzt eine MS-DOS-"
+#~ "Partitions-Tabelle. Ist dies eine GPT-Partitionstabelle?"
index 053e1b1a43250764d0c53085e9996ec5f50d8102..d60d6b7e4163e0f73fb263ae18d91a5df5d8d47b 100644 (file)
Binary files a/po/es.gmo and b/po/es.gmo differ
index b82415441902ca71d2c16dcaa115309fef5a5855..654639ca5ff4d33bdf354164840e8e6c7dc589d3 100644 (file)
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GNU parted 1.6.23\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2005-09-18 20:05+0100\n"
 "Last-Translator: Vicente E. Llorens <vllorens@mundofree.com>\n"
 "Language-Team: Spanish <es@li.org>\n"
@@ -16,9 +16,9 @@ msgstr ""
 "Content-Transfer-Encoding: 8-bit\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "No se puede abrir %s."
+msgstr ""
 
 #: lib/argmatch.c:134
 #, c-format
@@ -26,11 +26,10 @@ msgid "ambiguous argument %s for %s"
 msgstr ""
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "No se puede abrir %s."
+msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr ""
 
@@ -60,14 +59,14 @@ msgid "%s: option '--%s' requires an argument\n"
 msgstr ""
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "No se puede abrir %s - etiqueta de disco desconocida."
+msgstr ""
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "No se puede abrir %s - etiqueta de disco desconocida."
+msgstr ""
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
@@ -115,83 +114,83 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr ""
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr ""
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr ""
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr ""
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr ""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr ""
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr ""
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr ""
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr ""
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr ""
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr ""
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr ""
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr ""
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr ""
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr ""
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ""
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr ""
 
@@ -201,7 +200,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr ""
 
@@ -211,7 +210,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr ""
 
@@ -368,19 +367,19 @@ msgid "memory exhausted"
 msgstr ""
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "No se puede abrir %s."
+msgstr ""
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "No se puede abrir %s."
+msgstr ""
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "No se puede abrir %s."
+msgstr ""
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
@@ -388,61 +387,61 @@ msgstr ""
 
 # o también "al abrir"
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Error al abrir %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "No se puede abrir %s en modo lectura-escritura (%s). %s ha sido abierto en "
 "modo de sólo lectura."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s durante la preparación para lectura en %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s durante la lectura en %s"
 
 # para sólo lectura.
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "No se puede escribir en %s, porque está abierto para sólo lectura."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s durante la preparación para escribir en %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s durante la escritura en %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr ""
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -452,13 +451,13 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -505,7 +504,7 @@ msgstr ""
 "computadora antes de hacer nada con %s."
 
 # boot loader -> cargador de arranque.
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -518,45 +517,45 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s intentando sincronizar %s al disco"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "No se puede hacer `stat' sobre el dispositivo %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, fuzzy, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "No se puede determinar el tamaño de %s (%s)."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "No se puede determinar el tamaño de %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "No se puede obtener la identidad del dispositivo %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr ""
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -565,12 +564,12 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Error iniciando el dispositivo SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -579,7 +578,7 @@ msgstr ""
 
 # el Parted -> Parted. No se suelen poner artículos a los nombres de
 # los programas. queda un poco despectivo
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, fuzzy, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -588,92 +587,92 @@ msgstr ""
 "No se puede determinar la geometría del fichero/dispositivo.  ¡No debería "
 "utilizar Parted a no ser que REALMENTE sepa lo que está haciendo!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Controladora RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
 # de Compaq
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Estructura Smart de Compaq"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Controladora ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Controladora I20"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "¿Dispositivo de origen?"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr ""
 
 # ¿Qué, exactamente, es desconocido? ¿No será desconocida?
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Desconocida"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Tipo de dispositivo no soportado"
 
 # o también "al abrir"
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Error al abrir %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
 # informing the kernel -> al informar al núcleo
 # in any way -> de ninguna forma
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -685,17 +684,12 @@ msgstr ""
 "%s hasta que lo reinicie -- por lo tanto no puede montarla o utilizarla "
 "antes de reiniciarla."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "No se puede determinar el tamaño de %s (%s)."
 
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Fallo al escribir el bloque de la partición en %d."
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -704,32 +698,18 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"El núcleo no pudo releer la tabla de particiones en %s (%s).  Esto significa "
-"que Linux no reconocerá las modificaciones que hizo.  Debe reiniciarlo antes "
-"de hacer cualquier uso con %s."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "¡No se puede tener el final de la partición antes del inicio!"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "¡No se puede hacer una partición fuera del disco!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 "Se intentaron escribir los sectores %ld-%ld fuera de la partición en %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "comprobando bloques erroneos"
 
@@ -743,13 +723,13 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, fuzzy, c-format
 msgid "%s: unrecognised disk label"
 msgstr "No se puede abrir %s - etiqueta de disco desconocida."
 
 # para sólo lectura.
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -758,41 +738,41 @@ msgstr ""
 "Esta libparted no tiene soporte para escritura en %s.  Quizás fue compilada "
 "para sólo lectura."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "La partición %d es %s, pero el sistema de ficheros es de %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "arranque"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, fuzzy, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Modificador de particiones desconocido, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Las etiquetas de disco de %s no soportan particiones extendidas."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "Las etiquetas de disco %s no soportan particiones extendidas o lógicas."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Demasiadas particiones primarias."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -800,112 +780,130 @@ msgstr ""
 "No se puede añadir una partición lógica en %s, porque no hay una partición "
 "extendida."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "No se puede tener más de una partición extendida en %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr ""
 "No se puede tener una partición lógica fuera de la partición extendida."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "No se puede tener una partición lógica fuera de la partición extendida en %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "No se puede tener particiones superpuestas."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr ""
 "No se puede tener una partición primaria dentro de una partición extendida."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "¡No se puede hacer una partición fuera del disco!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "No se puede tener particiones superpuestas."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadata"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "libre"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "extendida"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "lógica"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primaria"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "arranque"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "raíz"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "oculta"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "utilidad-hp"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr ""
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Sí"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Modificador de particiones desconocido, %d."
@@ -962,17 +960,14 @@ msgstr "Descartar"
 msgid "Cancel"
 msgstr "Cancelar"
 
-# bicho :-)
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"Si detectó un bicho en GNU parted. Por favor, envíe un informe del bicho a "
-"bug-parted@gnu.org conteniendo la versión (%s) y el mensaje siguiente:"
 
 #: libparted/labels/aix.c:103
 #, fuzzy
@@ -1016,10 +1011,10 @@ msgstr ""
 
 # No se pueden, con N.
 # no pongas dos espacios seguidos
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "No se pueden satisfacer todas las restricciones en la partición."
@@ -1028,34 +1023,34 @@ msgstr "No se pueden satisfacer todas las restricciones en la partici
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "No se puede asignar una ranura de la etiqueta de disco bsd"
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 #, fuzzy
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "No se puede asignar una ranura de la etiqueta de disco bsd"
 
 # te doy permiso para poner inválida
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Tabla de particiones inválida en %s -- firma errónea %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Tabla de particiones inválida - partición recursiva en %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 "No pueden esconderse particiones extendidas en etiquetas de disco msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted no puede redimensionar particiones manejadas por Windows Dynamic Disk."
 
 # No se puede.
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "No se puede crear más particiones."
@@ -1102,122 +1097,111 @@ msgstr "S
 msgid "Too many primary partitions"
 msgstr "Demasiadas particiones primarias"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 #, fuzzy
 msgid "Unsupported disk type"
 msgstr "ped_device_new()  Tipo de dispositivo no soportado"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr ""
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr ""
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr ""
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 #, fuzzy
 msgid "Fatal error"
 msgstr "Fatal"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 #, fuzzy
 msgid "No room for partition info."
 msgstr "Se encontró una tabla de particiones inválida."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
 # No se puede.
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 #, fuzzy
 msgid "Could not retrieve disk geometry information."
 msgstr "No se puede leer la geometría de %s - %s."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s contiene firmas GPT, lo cual indica que tiene una tabla GPT.  No "
-"obstante, no tiene una tabla de particiones msdos de imitación válida, como "
-"habría de ser.  Quizás esta corrupta -- posiblemente por un programa que no "
-"es capaz de enterder las tablas de partición GPT.  O quizás borró la tabla "
-"GPT y ahora está usando una tabla de particiones msdos.  ¿Es esta una tabla "
-"de partición GPT?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Sistema de ficheros demasiado pequeño para ext2."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1227,7 +1211,7 @@ msgstr ""
 "nuevo que lo que Parted puede reconocer.  Por favor, díganoslo a bug-"
 "parted@gnu.org"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1235,17 +1219,17 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "La copia de la tabla GPT no está al final disco, como debería ser.  Esto "
 "quiere decir que otro sistema operativo cree que el disco es más pequeño.  "
 "¿Lo quiere arreglar moviendo la copia al final (y borrando la copia vieja)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1254,7 +1238,7 @@ msgstr ""
 "una tabla actualizada, y utilice la opción de rescate de Parted para "
 "reconstruir las particiones."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 #, fuzzy
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
@@ -1263,7 +1247,7 @@ msgstr ""
 "La tabla primaria GPT está corrupta, pero la copia de respaldo parece "
 "correcta, por lo tanto se usará esta."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1271,10 +1255,15 @@ msgstr ""
 "La tabla primaria GPT está corrupta, pero la copia de respaldo parece "
 "correcta, por lo tanto se usará esta."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "No se puede asignar un número de partición."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1291,33 +1280,33 @@ msgstr ""
 msgid "%s is too small for a Mac disk label!"
 msgstr "¡%s es demasiado pequeño para una etiqueta de disco Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "La partición %d tiene una firma inválida %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "¡La partición %d tiene una longitud inválida de 0 bytes!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "La región de datos no empieza al principio de la partición."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "La región de arranque no empieza al principio de la partición."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "La región de arranque de la partición no ocupa toda la partición."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "La región de datos de la partición no ocupa toda la partición."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1325,7 +1314,7 @@ msgstr ""
 "Tamaño de bloque extraño en el descriptor del dispositivo: %d bytes no es "
 "divisible por 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1334,11 +1323,11 @@ msgstr ""
 "El descriptor del controlador dice que el tamaño del bloque físico es de %d "
 "bytes, pero Linux dice que es de %d bytes."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Se encontró una tabla de particiones inválida."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1347,7 +1336,7 @@ msgstr ""
 "¡Conflicto en el tamaño de la entrada de la tabla de particiones! ¡La "
 "entrada 1 dice que es %d, pero la entrada %d dice que es %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "¡Extraño!  ¡Hay 2 entradas de tabla de particiones!"
 
@@ -1359,7 +1348,7 @@ msgstr ""
 "Cambiando el nombre de una partición raíz o de intercambio impedirán a Linux "
 "de reconocela como tal."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
 "¡No se puede añadir otra partición -- la tabla de las particiones es "
@@ -1504,58 +1493,62 @@ msgid "reading from device failed"
 msgstr ""
 
 # No se puede.
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 #, fuzzy
 msgid "Could not read volume label."
 msgstr "No se puede leer la geometría de %s - %s."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 #, fuzzy
 msgid "Could not write volume label."
 msgstr "No se puede detectar el sistema de ficheros."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr ""
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "No hay memoria."
 
@@ -1591,25 +1584,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, fuzzy, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "Fallo al escribir el bloque de la partición en %d."
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, fuzzy, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Bucle detectado en el bloque %d."
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, fuzzy, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Bucle detectado en el bloque %d."
@@ -1649,7 +1642,7 @@ msgstr "%s : No se encuentra el bloque rdb, nunca deber
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "Fallo al escribir el bloque de la partición en %d."
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1657,96 +1650,75 @@ msgstr ""
 "GNU parted fue mal compilado: el sector de arranque FAT debería ser de 512 "
 "bytes. El soporte a FAT será desabilitado."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr ""
 "El sistema de ficheros tiene una firma inválida para un sistema de ficheros "
 "FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "El sistema de ficheros tiene un tamaño de sector inválido para un sistema de "
 "ficheros FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "El sistema de ficheros tiene un tamaño de cluster inválido para un sistema "
 "de ficheros FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "El sistema de ficheros tiene un número inválido de sectores reservados para "
 "un sistema de ficheros FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "El sistema de ficheros tiene un número de FATS inválido."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"El sistema de ficheros tiene el tamaño del sector lógico de %d.  GNU Parted "
-"es conocido por no funcionar adecuadamente con tamaños de sector distintos "
-"de 512 bytes."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "El sector de arranque de la FAT dice que el tamaño lógico del sector es 0.  "
 "Esto es extraño. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "El sector de arranque de la FAT dice que no hay tablas FAT.  Esto es "
 "extraño. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "El sector de arranque de la FAT dice que los clusters tienen 0 sectores.  "
 "Esto es extraño. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "El sistema de ficheros es FAT12, el cuál no está soportado."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"El sector de información tiene una firma errónea (%x).  Seleccione cancelar "
-"por ahora, y mande un informe del fallo. Si está desesperado, es más seguro "
-"descartar."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Firma de la partición de intercambio de linux '%10s' no reconocida."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, fuzzy, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Firma de la partición de intercambio de linux '%10s' no reconocida."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, fuzzy, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Firma de la partición de intercambio de linux '%10s' no reconocida."
@@ -1758,7 +1730,17 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"El sistema de ficheros tiene el tamaño del sector lógico de %d.  GNU Parted "
+"es conocido por no funcionar adecuadamente con tamaños de sector distintos "
+"de 512 bytes."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1768,6 +1750,16 @@ msgid ""
 "geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"El sector de información tiene una firma errónea (%x).  Seleccione cancelar "
+"por ahora, y mande un informe del fallo. Si está desesperado, es más seguro "
+"descartar."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1832,12 +1824,12 @@ msgstr ""
 "El fichero %s está marcado como un fichero del sistema.  Esto quiere decir "
 "que si lo mueve puede ocurrir que algunos programas no funcionen."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partición demasiado grande/pequeña para un sistema de ficheros %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1845,11 +1837,11 @@ msgstr ""
 "Las FATs no son iguales.  Si no sabe que significa esto, seleccione "
 "cancelar, ejecute scandisk en el sistema de ficheros, y después vuelva."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "No hay configuraciones posibles para este tipo de FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1861,7 +1853,7 @@ msgstr ""
 "clusters es de %d (se esperaba %d); el tamaño de la FAT es de %d sectores "
 "(se esperaba %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2105,9 +2097,8 @@ msgid "Error while writing the allocation file."
 msgstr "Error al escribir en el directorio raíz."
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Error al escribir en el directorio raíz."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2216,13 +2207,10 @@ msgid "An extent has not been relocated."
 msgstr ""
 
 #: libparted/fs/r/hfs/reloc.c:249 libparted/fs/r/hfs/reloc_plus.c:306
-#, fuzzy
 msgid ""
 "A reference to an extent comes from a place it should not.  You should check "
 "the file system!"
 msgstr ""
-"Intentando registrar una extensión que empieza en el bloque 0x%X, pero ya "
-"existe otra en esta posición.  ¡Debería verificar el sistema de ficheros!"
 
 #: libparted/fs/r/hfs/reloc.c:379
 msgid "This HFS volume has no catalog file.  This is very unusual!"
@@ -2233,13 +2221,10 @@ msgid "This HFS volume has no extents overflow file.  This is quite unusual!"
 msgstr ""
 
 #: libparted/fs/r/hfs/reloc.c:515 libparted/fs/r/hfs/reloc_plus.c:665
-#, fuzzy
 msgid ""
 "The extents overflow file should not contain its own extents!  You should "
 "check the file system."
 msgstr ""
-"Intentando registrar una extensión que empieza en el bloque 0x%X, pero ya "
-"existe otra en esta posición.  ¡Debería verificar el sistema de ficheros!"
 
 #: libparted/fs/r/hfs/reloc.c:572 libparted/fs/r/hfs/reloc_plus.c:843
 #, fuzzy
@@ -2247,9 +2232,8 @@ msgid "Could not cache the file system in memory."
 msgstr "No se puede detectar el sistema de ficheros."
 
 #: libparted/fs/r/hfs/reloc.c:633 libparted/fs/r/hfs/reloc_plus.c:904
-#, fuzzy
 msgid "Bad blocks list could not be loaded."
-msgstr "No pueden leerse los bloques incorrectos."
+msgstr ""
 
 #: libparted/fs/r/hfs/reloc.c:647 libparted/fs/r/hfs/reloc_plus.c:920
 msgid "An error occurred during extent relocation."
@@ -2303,50 +2287,56 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "TIPO_ETIQUETA es uno de: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAG es uno de: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 #, fuzzy
 msgid "UNIT is one of: "
 msgstr "FLAG es uno de: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "TIPO-PART es uno de: primário, lógico, extendido\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "TIPO-SF es uno de: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "ESTADO es uno de: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "DISPOSITIVO es normalmente /dev/hda o /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NOMBRE es cualquier palabra que quiera\n"
 
 # Please, busca este mismo texto en el .po de fileutils o textutils e intenta
 # que se parezca en la terminología,
 # por ejemplo: is distributed -> se distribuye
-#: parted/parted.c:160
+#: parted/parted.c:164
 #, fuzzy
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
@@ -2368,147 +2358,145 @@ msgstr ""
 "para obtener más detalles.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(tiempo que queda %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, fuzzy, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "La partición %s está usandose.  Debe desmontarla antes de modificarla con "
 "Parted."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "La(s) partición(es) en %s está(n) siendo usada(s)."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "¿Nuevo tipo de etiqueta de disco?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "¿Tipo de partición?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "¿Nombre de la partición?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "¿Tipo de sistema de ficheros?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "¿Inicio?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "¿Fin?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, fuzzy, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Pidió crear una partición en %s - %s. Lo más cerca que Parted puede manejar "
-"es %s - %s."
+"Pidió redimensionar la partición para %s - %s. Lo más cerca que Parted puede "
+"manejar es %s - %s."
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "¿Número de la partición?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr ""
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, fuzzy, c-format
 msgid "Disk %s: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Tipo de etiqueta de disco: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, fuzzy, c-format
 msgid "Partition Table: %s\n"
 msgstr "¿Nombre de la partición?"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Tipo de etiqueta de disco: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Numero"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Inicio"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Fin"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Tamaño"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Typo"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Sistema de ficheros"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Nombre"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Banderas"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr ""
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2517,57 +2505,66 @@ msgstr ""
 "Ha sido encontrada una partición %s %s en %s -> %s.  ¿Quiere añadirla a la "
 "tabla de particiones?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "buscando los sistemas de ficheros"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "¿Nuevo dispositivo?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 #, fuzzy
 msgid "Flag to Invert?"
 msgstr "¿Bandera a cambiar?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "¿Nuevo estado?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "¿Unidad?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 #, fuzzy
 msgid "align-check"
 msgstr "comprobar"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 #, fuzzy
 msgid ""
 "help [COMMAND]                           print general help, or help on "
@@ -2576,16 +2573,15 @@ msgstr ""
 "help [ORDEN]                 muestra la ayuda general, o la ayuda sobre la "
 "ORDEN"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
-#, fuzzy
+#: parted/parted.c:1933
 msgid "mktable"
-msgstr "mklabel"
+msgstr ""
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 #, fuzzy
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
@@ -2594,15 +2590,15 @@ msgstr ""
 "mklabel TIPO-ETIQUETA        crea una nueva etiqueta de disco (en la tabla "
 "de partición)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart TIPO-PART [TIPO-SF] INICIO FIN     crea una partición"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 #, fuzzy
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
@@ -2612,27 +2608,27 @@ msgstr ""
 "partición. Debe ser especificado el TIPO-SF para asignar una ID de "
 "partición.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 #, fuzzy
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name NUMERO NOMBRE            nombra la partición NUMERO como NOMBRE"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 #, fuzzy
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
@@ -2642,41 +2638,41 @@ msgstr ""
 "da un número de partición, se muestra la información más detallada\n"
 "sobre esa particion.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 #, fuzzy
 msgid "quit                                     exit program"
 msgstr "quit                          sale del programa"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 #, fuzzy
 msgid ""
 "rescue START END                         rescue a lost partition near START "
@@ -2684,108 +2680,123 @@ msgid ""
 msgstr ""
 "rescue INICIO FIN       recupera las particiones perdidas entre INICIO y FIN"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm NUMERO                      borra la partición NUMERO"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 #, fuzzy
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm NUMERO                      borra la partición NUMERO"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 #, fuzzy
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select DISPOSITIVO           elegir el dispositivo a editar"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
-"set NUMERO MODIF ESTADO        cambia un modificador de la partición NUMERO"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr ""
 
-#: parted/parted.c:1921
-#, fuzzy
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
-msgstr "rm NUMERO                      borra la partición NUMERO"
+msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 #, fuzzy
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "set NUMERO MODIF ESTADO        cambia un modificador de la partición NUMERO"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr ""
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 #, fuzzy
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr "rm NUMERO                      borra la partición NUMERO"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 #, fuzzy
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit UNIDAD                     configura la unidad por defecto para UNIDAD"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr ""
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "No se encontró el dispositivo"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 #, fuzzy
 msgid "You may need to update /etc/fstab.\n"
 msgstr "No se olvide de actualizar /etc/fstab, si es necesario.\n"
@@ -2974,101 +2985,121 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
-#, fuzzy, c-format
+#: parted/ui.c:883
+#, c-format
 msgid "invalid token: %s"
-msgstr "No se puede abrir %s."
+msgstr ""
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Se esperaba un número de partición."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "La partición no existe."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Se esperaba un tipo de sistema de ficheros."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Tipo de sistema de ficheros \"%s\" desconocido."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Se esperaba un tipo de etiqueta de disco."
 
 # No se puede.
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "No se puede crear más particiones."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Se esperaba un tipo de partición."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "off"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "OPCIÓNes:"
 
 # Comando es una barbaridad. En es@li.org usamos "orden".
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "ORDENes:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Usando %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr ""
 
-#, fuzzy
-#~ msgid "too few arguments"
-#~ msgstr "Demasiadas páginas incorrectas."
+# drives -> unidades
+#~ msgid ""
+#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
+#~ "with drives with sector sizes other than %d bytes."
+#~ msgstr ""
+#~ "El tamaño del sector en %s es de %d bytes.  Parted no funciona "
+#~ "correctamente con unidades que tengan un tamaño de sector distinto de %d "
+#~ "bytes"
 
-#, fuzzy
-#~ msgid "too many arguments"
-#~ msgstr "Demasiadas páginas incorrectas."
+#~ msgid "IDE"
+#~ msgstr "IDE"
 
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "No se puede abrir %s."
+#~ msgid ""
+#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
+#~ "means Linux won't know anything about the modifications you made until "
+#~ "you reboot.  You should reboot your computer before doing anything with "
+#~ "%s."
+#~ msgstr ""
+#~ "El núcleo no pudo releer la tabla de particiones en %s (%s).  Esto "
+#~ "significa que Linux no reconocerá las modificaciones que hizo.  Debe "
+#~ "reiniciarlo antes de hacer cualquier uso con %s."
 
-#~ msgid "Support for opening %s file systems is not implemented yet."
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
 #~ msgstr ""
-#~ "El soporte para abrir el sistema de ficheros %s aún no está implementado."
+#~ "%s contiene firmas GPT, lo cual indica que tiene una tabla GPT.  No "
+#~ "obstante, no tiene una tabla de particiones msdos de imitación válida, "
+#~ "como habría de ser.  Quizás esta corrupta -- posiblemente por un programa "
+#~ "que no es capaz de enterder las tablas de partición GPT.  O quizás borró "
+#~ "la tabla GPT y ahora está usando una tabla de particiones msdos.  ¿Es "
+#~ "esta una tabla de partición GPT?"
 
-#~ msgid "Support for creating %s file systems is not implemented yet."
+#~ msgid "Support for opening %s file systems is not implemented yet."
 #~ msgstr ""
-#~ "El soporte para crear el sistema de ficheros %s aún no está implementado."
+#~ "El soporte para abrir el sistema de ficheros %s aún no está implementado."
 
 #~ msgid "Support for checking %s file systems is not implemented yet."
 #~ msgstr ""
@@ -3102,34 +3133,17 @@ msgstr ""
 #~ msgstr ""
 #~ "El soporte para copiar el sistema de ficheros %s aún no está implementado."
 
-#, fuzzy
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr "¡El sistema de ficheros es más grande que su volumen!"
-
-#, fuzzy
-#~ msgid "checking"
-#~ msgstr "comprobar"
-
-#, fuzzy
+# bicho :-)
 #~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
+#~ "A bug has been detected in GNU parted.  Please email a bug report to bug-"
+#~ "parted@gnu.org containing the version (%s) and the following message:"
 #~ msgstr ""
-#~ "El sistema de ficheros ext2 pasó una comprobación básica. Para una "
-#~ "comprobación más a fondo, utilize el programa e2fsck."
+#~ "Si detectó un bicho en GNU parted. Por favor, envíe un informe del bicho "
+#~ "a bug-parted@gnu.org conteniendo la versión (%s) y el mensaje siguiente:"
 
-#, fuzzy
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
+#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s."
 #~ msgstr ""
-#~ "¡Disculpe, aún no se puede mover el principio de las particiones ext2!"
-
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "Aviso"
-
-#, fuzzy
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Sistema de ficheros demasiado pequeño para ext2."
+#~ "Se intentaron leer los sectores %ld-%ld fuera de la partición en %s."
 
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "¡Descriptores de grupo inconsistentes!"
@@ -3137,6 +3151,13 @@ msgstr ""
 #~ msgid "File system full!"
 #~ msgstr "¡Sistema de ficheros lleno!"
 
+#~ msgid ""
+#~ "This ext2 file system has a rather strange layout!  Parted can't resize "
+#~ "this (yet)."
+#~ msgstr ""
+#~ "¡Este sistema de ficheros ext2 tiene un diseño muy estraño!  Parted (aún) "
+#~ "no puede redimensionarlo."
+
 #~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
 #~ msgstr ""
 #~ "Superbloque inválido.  ¿Está seguro de que este es un sistema de ficheros "
@@ -3153,6 +3174,10 @@ msgstr ""
 #~ "e2fsck.  Modificar un sistema de ficheros sucio podría causar una "
 #~ "corrupción grave."
 
+#~ msgid "File system has an incompatible feature enabled."
+#~ msgstr ""
+#~ "El sistema de ficheros tiene activada una característica incompatible."
+
 #~ msgid "Error allocating buffer cache."
 #~ msgstr "Error asignando espacio en la caché del búfer."
 
@@ -3213,8 +3238,7 @@ msgstr ""
 #~ msgid "Block %i has no reference?  Weird."
 #~ msgstr "¿El bloque %i no tiene una referencia?  Estraño."
 
-#, fuzzy
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
+#~ msgid "Block %i shouldn't have been marked!"
 #~ msgstr "¡El bloque %i no debería haber sido marcado!"
 
 #~ msgid ""
@@ -3234,12 +3258,12 @@ msgstr ""
 #~ msgid "writing per-group metadata"
 #~ msgstr "escribiendo metadatos por-grupo"
 
-#~ msgid "File system too small for ext2."
-#~ msgstr "Sistema de ficheros demasiado pequeño para ext2."
-
 #~ msgid "Too many bad pages."
 #~ msgstr "Demasiadas páginas incorrectas."
 
+#~ msgid "where necessary, prompts for user intervention"
+#~ msgstr "donde sea necesario, pedir la intervención del usuario"
+
 #~ msgid "The partition must have one of the following FS-TYPEs: "
 #~ msgstr "La partición debe tener uno de los siguientes TIPOS de SF: "
 
@@ -3253,6 +3277,16 @@ msgstr ""
 #~ msgid "Destination partition number?"
 #~ msgstr "¿Número de la partición de destino?"
 
+#~ msgid "File system?"
+#~ msgstr "¿Sistema de ficheros?"
+
+#~ msgid ""
+#~ "You requested to create a partition at %s - %s. The closest Parted can "
+#~ "manage is %s - %s."
+#~ msgstr ""
+#~ "Pidió crear una partición en %s - %s. Lo más cerca que Parted puede "
+#~ "manejar es %s - %s."
+
 #, fuzzy
 #~ msgid ""
 #~ "An extended partition cannot hold a file system.  Did you want mkpart?"
@@ -3268,11 +3302,17 @@ msgstr ""
 #~ "No se puede mover una partición sobre sí misma.  ¿Pruebe a usar "
 #~ "redimensionar, quizás?"
 
+#~ msgid ""
+#~ "You requested to move the partition to %s - %s. The closest Parted can "
+#~ "manage is %s - %s."
+#~ msgstr ""
+#~ "Pidió mover la partición a %s - %s. Lo más cerca que Parted puede manejar "
+#~ "es %s - %s."
+
 #~ msgid "Minor: %d\n"
 #~ msgstr "Minor: %d\n"
 
-#, fuzzy
-#~ msgid "Flags: %s\n"
+#~ msgid "Flags: "
 #~ msgstr "Banderas: "
 
 #~ msgid "File System: %s\n"
@@ -3288,13 +3328,10 @@ msgstr ""
 #~ msgid "Maximum size: "
 #~ msgstr "Tamaño máximo: "
 
-#~ msgid "check"
-#~ msgstr "comprobar"
+#~ msgid "Disk geometry for %s: %s - %s\n"
+#~ msgstr "Geometría de disco para %s: %s - %s\n"
 
-#, fuzzy
-#~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
+#~ msgid "check NUMBER                  do a simple check on the file system"
 #~ msgstr ""
 #~ "comprueba NUMERO                   hace una comprobación simple del "
 #~ "sistema de ficheros"
@@ -3312,10 +3349,9 @@ msgstr ""
 #~ msgid "mkfs"
 #~ msgstr "mkfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
+#~ "mkfs NUMBER FS-TYPE           make a FS-TYPE file system on partititon "
+#~ "NUMBER"
 #~ msgstr ""
 #~ "mkfs NUMERO TIPO-SF           crea un sistema de ficheros TIPO-SF en la "
 #~ "partición NUMERO"
@@ -3333,94 +3369,21 @@ msgstr ""
 #~ msgid "move"
 #~ msgstr "move"
 
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
+#~ msgid "move NUMBER START END         move partition NUMBER"
 #~ msgstr "move NUMERO INICIO FIN        mueve la partición NUMERO"
 
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "resize NUMERO INICIO FIN       redimensiona el sistema de ficheros y la "
-#~ "partición NUMERO"
-
-#, fuzzy
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "No se puede determinar el tamaño de %s (%s)."
-
-#~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr ""
-#~ "El núcleo no pudo releer la tabla de particiones en %s (%s).  Esto "
-#~ "significa que Linux no reconocerá las modificaciones que hizo.  Debe "
-#~ "reiniciarlo antes de hacer cualquier uso con %s."
-
-# drives -> unidades
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than %d bytes."
-#~ msgstr ""
-#~ "El tamaño del sector en %s es de %d bytes.  Parted no funciona "
-#~ "correctamente con unidades que tengan un tamaño de sector distinto de %d "
-#~ "bytes"
-
-#~ msgid "IDE"
-#~ msgstr "IDE"
-
-#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s."
-#~ msgstr ""
-#~ "Se intentaron leer los sectores %ld-%ld fuera de la partición en %s."
-
-#~ msgid ""
-#~ "This ext2 file system has a rather strange layout!  Parted can't resize "
-#~ "this (yet)."
-#~ msgstr ""
-#~ "¡Este sistema de ficheros ext2 tiene un diseño muy estraño!  Parted (aún) "
-#~ "no puede redimensionarlo."
-
-#~ msgid "File system has an incompatible feature enabled."
-#~ msgstr ""
-#~ "El sistema de ficheros tiene activada una característica incompatible."
-
-#~ msgid "where necessary, prompts for user intervention"
-#~ msgstr "donde sea necesario, pedir la intervención del usuario"
-
-#~ msgid "File system?"
-#~ msgstr "¿Sistema de ficheros?"
-
-#~ msgid ""
-#~ "You requested to move the partition to %s - %s. The closest Parted can "
-#~ "manage is %s - %s."
-#~ msgstr ""
-#~ "Pidió mover la partición a %s - %s. Lo más cerca que Parted puede manejar "
-#~ "es %s - %s."
-
-#~ msgid "Disk geometry for %s: %s - %s\n"
-#~ msgstr "Geometría de disco para %s: %s - %s\n"
-
-#~ msgid "Disk label type: %s\n"
-#~ msgstr "Tipo de etiqueta de disco: %s\n"
-
-#~ msgid ""
-#~ "You requested to resize the partition to %s - %s.  The closest Parted can "
-#~ "manage is %s - %s."
-#~ msgstr ""
-#~ "Pidió redimensionar la partición para %s - %s. Lo más cerca que Parted "
-#~ "puede manejar es %s - %s."
-
 #~ msgid ""
 #~ "print [NUMBER]                display the partition table, or a partition"
 #~ msgstr ""
 #~ "print [NUMERO]               muestra la tabla de las particiones, o una "
 #~ "partición"
 
+#~ msgid ""
+#~ "resize NUMBER START END       resize partition NUMBER and its file system"
+#~ msgstr ""
+#~ "resize NUMERO INICIO FIN       redimensiona el sistema de ficheros y la "
+#~ "partición NUMERO"
+
 #~ msgid ""
 #~ "You found a bug in GNU Parted.  Please email a bug report to bug-"
 #~ "parted@gnu.org containing the version (%s), and the following message:\n"
index 51088d223fb8d9a8496676f55020c7987a2de459..4cbe1ef0a26a2c66d5f38e421635c089dcfea242 100644 (file)
Binary files a/po/fr.gmo and b/po/fr.gmo differ
index 48a1fe7f521964e4bdc6ee850fb4e27387e00acc..25de3af2ccc2aa3b2ffa42113f565abe1cf11273 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 3.0\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2011-06-01 13:35+0100\n"
 "Last-Translator: Nicolas Provost <nprovost@quadriv.com>\n"
 "Language-Team: French <traduc@traduc.org>\n"
@@ -32,7 +32,7 @@ msgstr "argument ambigu %s pour %s"
 msgid "Valid arguments are:"
 msgstr "Arguments valides : "
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "erreur d'écriture"
 
@@ -116,83 +116,83 @@ msgstr "%s : l'option '-W %s' requiert un argument\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "«"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "»"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Succès"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Non trouvé"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Expression régulière incorrecte"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Suite de caractères invalide"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Nom de classe de caractères invalide"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Problème d'antislash"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Référence invalide"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Non trouvé : [ ou [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Non trouvé : ( ou \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Non trouvé : \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Contenu invalide de \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Nombre ou intervalle invalide."
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Mémoire épuisée"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "L'expression régulière précédente est incorrecte"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Fin prématurée de l'expression régulière"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Expression régulière trop longue"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Non trouvé : ) ou \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Expression régulière manquante"
 
@@ -202,7 +202,7 @@ msgstr "Expression r
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[oO]"
 
@@ -212,7 +212,7 @@ msgstr "^[oO]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -413,60 +413,60 @@ msgid "Disk Image"
 msgstr "Image Disque"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Erreur pendant l'ouverture de %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Impossible d'ouvrir %s en lecture-écriture (%s). %s a été ouvert en lecture "
 "seule."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s lors d'un positionnement pour lecture sur %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s lors de la lecture sur %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Ne peut écrire sur %s car il est ouvert en lecture seule."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s lors d'un positionnement pour écriture sur %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s lors de l'écriture sur %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Essayez `%s --help' pour plus d'informations.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Usage: %s [OPTION] [PERIPHERIQUE]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -483,7 +483,7 @@ msgstr ""
 "  -h, --help       affiche l'aide et quitte\n"
 "  -v, --version    affiche les informations de version et quitte\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -491,7 +491,7 @@ msgstr ""
 "\n"
 "Quand aucun PERIPHERIQUE n'est précisé, teste toutes les partitions.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -538,7 +538,7 @@ msgstr ""
 "ne connaît rien des modifications effectuées. Vous devriez redémarrer "
 "l'ordinateur avant de faire quoi que ce soit avec %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -552,17 +552,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s essaie de synchroniser %s sur le disque"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Ne peut évaluer le statut du périphérique %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Impossible de déterminer le type dm de %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -571,7 +571,7 @@ msgstr ""
 "Impossible de déterminer la taille des secteurs de %s : %s.\n"
 "Utilisation de la taille des secteurs par défaut (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -580,21 +580,21 @@ msgstr ""
 "Impossible de déterminer la taille des secteurs physiques de %s.\n"
 "Utilisation de la taille des secteurs logiques (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Impossible de déterminer la taille de %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Impossible d'obtenir l'identité du périphérique %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "IDE générique"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -609,12 +609,12 @@ msgstr ""
 "ext2/3.\n"
 "Merci de consulter le site web pour des informations à jour."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Erreur d'initialisation du périphérique SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -624,7 +624,7 @@ msgstr ""
 "système de fichiers ou une table de partition. Peut-être avez-vous "
 "sélectionné le mauvais périphérique ?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -633,87 +633,87 @@ msgstr ""
 "Impossible de déterminer la géométrie du fichier/périphérique %s. Vous ne "
 "devriez pas utiliser Parted sans VRAIMENT savoir ce que vous faites !"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Carte de stockage SD/MMC générique"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Contrôleur RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Périphérique Promise SX8 SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "Périph. ATA sur Ethernet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "Disque IBM S390 DASD"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Contrôleur ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Contrôleur I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "Périphérique source ?"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Mappeur de périphériques Linux (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Périphérique par blocs virtuel Xen"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Inconnu"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Périphérique par blocs Virtio"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Grappe RAID logiciel Linux"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Type de périphérique non supporté"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Erreur de synchronisation/fermeture %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, fuzzy, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "fin de fichier atteinte en lisant %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -725,17 +725,12 @@ msgstr ""
 "sur %s avant de redémarrer - vous ne devriez donc pas le monter ou "
 "l'utiliser avant de redémarrer."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Impossible de déterminer la taille de %s."
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Impossible d'ajouter la partition %d (%s)"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -748,33 +743,19 @@ msgstr ""
 "utilisation. Ainsi, les anciennes partitions restent en usage. Vous devriez "
 "redémarrer maintenant avant d'effectuer d'autres changements."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Parted a été incapable de relire la table de partition sur %s (%s). Cela "
-"signifie que Linux ne reconnaîtra aucune des modifications effectuées avant "
-"de redémarrer. Vous devriez redémarrer votre ordinateur."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr ""
 "La fin ne peut pas être avant le début ! (secteur début=%jd longueur=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "La partition ne peut pas être en dehors du disque !"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 "Tentative d'écriture des secteurs %ld-%ld en dehors de la partition sur %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "recherche de blocs défectueux"
 
@@ -788,12 +769,12 @@ msgstr "Backtrace : %d appels sur la pile:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Assertion (%s) à %s: échec de %d dans la fonction %s()."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "Impossible d'ouvrir %s - étiquette de disque non reconnue."
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -802,42 +783,42 @@ msgstr ""
 "Cette librairie \"libparted\" n'a pas de support pour l'écriture sur %s. "
 "Peut-être a-t-elle été compilée pour la lecture seulement."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "La partition %d est %s mais le système de fichiers est %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "alignement_cylindre"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "démarrage"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Drapeau de partition inconnu, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Les étiquettes du disque %s ne supportent pas les partitions étendues."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "Les étiquettes du disque %s ne supportent pas les partitions logiques ou "
 "étendues."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Trop de partitions primaires."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -845,112 +826,130 @@ msgstr ""
 "Impossible d'ajouter une partition logique sur %s parce qu'il n'y a pas de "
 "partition étendue."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "On ne peut avoir plus d'une partition étendue sur %s"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Ne peut avoir de partition logique en dehors de la partition étendue."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "Ne peut avoir une partition logique en dehors de la partition étendue sur %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Impossible d'avoir des partitions qui se chevauchent."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr ""
 "Impossible d'avoir une partition primaire à l'intérieur d'une partition "
 "étendue."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "La partition ne peut pas être en dehors du disque !"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Impossible d'avoir des partitions qui se chevauchent."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "méta-données"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "libre"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "étendue"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logique"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primaire"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "démarrage"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "racine"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "partition d'échange (swap)"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "caché"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm (gestionnaire de volumes logiques)"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "méta-données"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "legacy_boot"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Oui"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Fanion de partition inconnu %d."
@@ -1057,10 +1056,10 @@ msgstr ""
 "Le support pour la modification des drapeaux du système de fichiers AIX "
 "n'est pas encore implanté."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Impossible de satisfaire toutes les contraintes sur la partition."
@@ -1069,32 +1068,32 @@ msgstr "Impossible de satisfaire toutes les contraintes sur la partition."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Impossible d'allouer l'entrée d'une étiquette de disque BSD."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Impossible d'allouer l'entrée d'une étiquette de disque DASD."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Table de partition invalide sur %s - signature erronée %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Table de partition invalide - partition récursive sur %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 "Les partitions étendues ne peuvent être cachées sur les disques étiquetés MS-"
 "DOS."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted ne peut redimensionner les partitions gérées par Windows Dynamic Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Ne peut ajouter de nouvelle partition."
@@ -1135,83 +1134,83 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Trop de partitions primaires"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "erreur d'ouverture"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "erreur de positionnement"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "erreur de lecture"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "erreur ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "mauvaise version d'API"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Type de disque non supporté"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Format de disque non supporté"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disque en cours d'utilisation"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Erreur de syntaxe dans le fichier de configuration"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Etiquette de volume corrompue"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Un ensemble de données (noms) est corrompu"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Echec d'une allocation de mémoire"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Echec de vérification du périphérique"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Le périphérique spécifié n'est pas un périphérique DASD valide"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Erreur fatale"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Pas de place pour l'étiquette de volume."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Pas de place pour les informations de partition."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Table de volume (VTOC) incorrecte."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Impossible de détecter la version de l'API."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
@@ -1219,35 +1218,24 @@ msgstr ""
 "La version courante de l'API '%d' ne correspond pas avec celle du pilote "
 "DASD '%d' !"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Impossible d'analyser la géométrie du disque."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Impossible de trouver la taille de bloc."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Impossible de trouver les informations sur le disque."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s contient des signatures GPT, indiquant qu'il a une table GPT. Cependant, "
-"il n'a pas de table fictive de partitions MSDOS valide tel qu'il le devrait. "
-"Peut-être a-t-elle été corrompue - peut-être par un programme qui ne "
-"comprend pas les tables de partitions GPT. Ou peut-être avez-vous supprimé "
-"la table GPT et utilisez-vous une table de partition MS-DOS. Ceci est-il une "
-"table de partitions GPT ?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Périphérique trop petit pour %lu blocs."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1256,7 +1244,7 @@ msgstr ""
 "Le format de la table de partitions GPT est de version %x, ce qui est plus "
 "récent que ce que Parted peut reconnaître. SVP prévenez-nous !"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1267,10 +1255,10 @@ msgstr ""
 "voulez-vous ajuster la table GPT pour utiliser tout l'espace (%llu blocs en "
 "plus) ou continuer ainsi ?"
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "La sauvegarde de la table GPT n'est pas à la fin du disque ainsi qu'elle le "
@@ -1278,7 +1266,7 @@ msgstr ""
 "le disque est plus petit. Faut-il corriger en déplaçant la copie à la fin du "
 "disque (et enlever la vieille sauvegarde) ?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1287,7 +1275,7 @@ msgstr ""
 "les deux. Essayer d'écrire une nouvelle table et d'utiliser le mode de "
 "secours de Parted pour recupérer les partitions."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1295,7 +1283,7 @@ msgstr ""
 "La sauvegarde de table GPT est corrompue mais l'originale semble valide et "
 "sera donc utilisée."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1303,10 +1291,15 @@ msgstr ""
 "La table primaire GPT est corrompue mais sa sauvegarde semble valide, elle "
 "sera donc utilisée."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "erreur CRC sur la table primaire de partitions"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Impossible d'allouer un numéro de partition."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1321,35 +1314,35 @@ msgstr "La table de partitions n'a pas d'entr
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s est trop petit pour une étiquette de disque Mac !"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "La partition %d a une signature invalide %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "La partition %d a une longueur invalide de 0 octet !"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "La zone de données ne commence pas au début de la partition."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "La zone d'amorce n'est pas au début de la partition."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr ""
 "La zone d'amorce de la partition ne couvre pas entièrement la partition."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr ""
 "La zone de données de la partition ne couvre pas entièrement la partition."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1357,7 +1350,7 @@ msgstr ""
 "Taille bizarre de bloc sur le descripteur de périphérique : %d octets n'est "
 "pas divisible par 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1366,11 +1359,11 @@ msgstr ""
 "Le descripteur du pilote indique une taille physique de bloc de %d octets, "
 "mais Linux lui indique %d octets."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Aucune table de partitions valide n'a été trouvée."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1379,7 +1372,7 @@ msgstr ""
 "Tailles conflictuelles des entrées de la table de partition ! L'entrée 1 "
 "indique %d alors que l'entrée %d indique %d !"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Bizarre - Il y a 2 entrées de table de partitions !"
 
@@ -1391,7 +1384,7 @@ msgstr ""
 "Changer le nom d'une partition racine (root) ou d'échange (swap) empêchera "
 "Linux de les reconnaître en tant que telles."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
 "Impossible d'ajouter une autre partition - la table de partition est trop "
@@ -1540,56 +1533,61 @@ msgstr "
 msgid "reading from device failed"
 msgstr "échec de lecture sur le périphérique"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Impossible de lire l'étiquette du volume."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Impossible d'écrire l'étiquette du volume."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Impossible de lire les étiquettes de la table de volume (VTOC)."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Impossible de lire la table de volume VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Impossible de lire la table de volume VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Impossible de lire la table de volume VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Impossible de lire la table de volume VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Impossible d'écrire les étiquettes de la table de volume (VTOC)."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Impossible d'écrire la table de volume VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Impossible d'écrire la table de volume VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Impossible d'écrire la table de volume VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Impossible d'écrire la table de volume VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Impossible d'écrire la table de volume VTOC FMT1 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Mémoire insuffisante."
 
@@ -1625,25 +1623,25 @@ msgstr "Nombre invalide."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Impossible d'allouer un bloc de partition\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Impossible d'allouer un bloc\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Impossible de lire le bloc de démarrage %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Impossible de lire le bloc racine %llu\n"
@@ -1684,7 +1682,7 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Impossible de lire les blocs de la partition %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1692,99 +1690,79 @@ msgstr ""
 "GNU Parted a été mal compilé : le secteur d'amorce FAT devrait être de 512 "
 "octets. Le support du système de fichiers FAT sera désactivé."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr ""
 "Le système de fichiers a une signature invalide pour un système de fichiers "
 "FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Le système de fichiers a une taille de secteur invalide pour un système de "
 "fichiers FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "Le système de fichiers a une taille de cluster invalide pour un système de "
 "fichiers FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Le système de fichiers a un nombre invalide de secteurs réservés pour un "
 "système de fichiers FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Le système de fichiers a un nombre incorrect de tables FAT."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Ce système de fichier a une taille de secteur logique de %d. GNU Parted ne "
-"traite pas correctement les tailles de secteurs différentes de 512 octets."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "Le secteur d'amorce FAT indique une taille de secteur logique de 0. Ceci est "
 "bizarre."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "Le secteur d'amorce FAT indique qu'il n'y a pas de tables FAT. Ceci est "
 "bizarre."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "Le secteur d'amorce FAT indique des clusters ayant 0 secteur. Ceci est "
 "curieux."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Le système de fichiers est FAT12, lequel n'est pas supporté."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"L'information de secteur contient une signature erronée (%x). Sélectionner « "
-"annuler » (cancel) pour le moment et transmettre un rapport d'anomalie. Si "
-"vous êtes désespéré, il est probablement prudent de sélectionner « ignorer »."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr ""
 "Signature de partition d'échange Linux (swap) de type ancien non reconnue  "
 "'%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr ""
 "Signature de partition d'échange Linux (swap) de type nouveau non reconnue "
 "'%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr ""
@@ -1800,7 +1778,16 @@ msgstr ""
 "Parted ne peut utiliser des systèmes de fichiers HFS sur les disques dont la "
 "taille des secteurs n'est pas égale à %d octets."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Ce système de fichier a une taille de secteur logique de %d. GNU Parted ne "
+"traite pas correctement les tailles de secteurs différentes de 512 octets."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1816,6 +1803,16 @@ msgstr ""
 "système de fichiers sera modifiée de manière à concorder avec la géométrie "
 "CHS de la table des partitions."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"L'information de secteur contient une signature erronée (%x). Sélectionner « "
+"annuler » (cancel) pour le moment et transmettre un rapport d'anomalie. Si "
+"vous êtes désespéré, il est probablement prudent de sélectionner « ignorer »."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1880,13 +1877,13 @@ msgstr ""
 "Le fichier %s est marqué comme fichier système. Cela signifie que son "
 "déplacement pourrait amener certains programmes à cesser de fonctionner."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr ""
 "La partition est trop grande ou trop petite pour un système de fichiers %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1895,11 +1892,11 @@ msgstr ""
 "alors sélectionnez « annuler » (cancel) et exécutez scandisk sur le système "
 "de fichiers, puis réessayez."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Il n'y a pas de configuration possible pour ce type FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1910,7 +1907,7 @@ msgstr ""
 "Windows. La taille du cluster est %dk (%dk attendu). Le nombre de clusters "
 "est %d (%d attendu). La taille des FAT est de %d secteurs (%d attendu)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2387,27 +2384,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "LABEL-TYPE est une des valeurs : "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FANION est une des valeurs : "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "UNITE est parmi : "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "alignement souhaité : minimum ou optimal"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "PART-TYPE est une des valeurs : primary, logical, extended\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "FS-TYPE est parmi : "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2417,19 +2414,29 @@ msgstr ""
 "valeurs négatives se comptent à partir de la fin du disque. Par exemple, "
 "=-1s spécifie précisément le dernier secteur.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"DEBUT et FIN sont des emplacements sur un disque, comme 4GB ou 10%. Les "
+"valeurs négatives se comptent à partir de la fin du disque. Par exemple, "
+"=-1s spécifie précisément le dernier secteur.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "ETAT est une des valeurs : on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "PERIPHERIQUE est habituellement du genre /dev/hda ou /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NOM est un mot de votre choix\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2449,26 +2456,24 @@ msgstr ""
 "GNU pour plus de détails.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(temps restant %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "La partition %s est en cours d'utilisation. Vous devez la démonter avant de "
 "la modifier avec Parted."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Au moins une partition de %s est en cours d'utilisation."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2477,31 +2482,31 @@ msgstr ""
 "Le type du disque %s va être effacé et toutes les données vont être perdues. "
 "Voulez-vous continuer ?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Nouveau type d'étiquette de disque ?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Type de partition ?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Nom de la partition ?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Type de système de fichiers ?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Début ?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Fin ?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, fuzzy, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2510,7 +2515,7 @@ msgstr ""
 "Vous voulez établir une partition de %s à %s.\n"
 "La position la plus proche gérable est %s à %s. %s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2518,85 +2523,85 @@ msgstr ""
 "\n"
 "Est-ce acceptable pour vous ?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 "L'alignement de la partition ainsi définie n'est pas optimal au niveau "
 "performance."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Numéro de partition ?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "Géométrie BIOS cylindre,tête,secteur : %d,%d,%d. Chaque cylindre : %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Modèle: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disque %s : %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Taille des secteurs (logiques/physiques): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Table de partitions : %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Disque %s : %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Numéro"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Début"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Fin"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Taille"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Type"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Système de fichiers"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Nom"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Fanions"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Espace libre"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2605,45 +2610,54 @@ msgstr ""
 "Une partition %s %s a été localisée de %s à %s. Voulez-vous l'ajouter à la "
 "table de partition ?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "recherche des systèmes de fichiers"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Nouveau périphérique ?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "type d'alignement (min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d aligné(es)\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d non aligné(es)\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Fanion à inverser ?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Nouvel état ?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Unité ?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2651,11 +2665,11 @@ msgstr ""
 "align-check TYPE N                        contrôle l'alignement de type TYPE "
 "(min|opt) de la partition N"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "aide"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2663,15 +2677,15 @@ msgstr ""
 "help [COMMANDE]                          affiche l'aide générale ou l'aide "
 "concernant la COMMANDE"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2679,15 +2693,15 @@ msgstr ""
 "mklabel,mktable LABEL-TYPE                crée une nouvelle étiquette de "
 "disque (table de partition)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart PART-TYPE [FS-TYPE] DEBUT FIN      créer une partition"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2696,21 +2710,21 @@ msgstr ""
 "partition. FS-TYPE doit être spécifié pour initialiser le type de partition "
 "approprié.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "nommer"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "name NOMBRE NOM                           donner le nom NOM la partition "
 "numéro NOMBRE"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "afficher"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2720,7 +2734,7 @@ msgstr ""
 "les périphériques disponibles, l'espace libre, toutes les partitions ou une "
 "partition précise"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2728,11 +2742,11 @@ msgstr ""
 "Sans argument, 'print' affiche toute la table de partitions. Toutefois avec "
 "les arguments suivants, elle permet bien d'autres actions.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices : affiche tous les périphériques par blocs actifs\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2740,14 +2754,14 @@ msgstr ""
 "  free : affiche l'information sur l'espace libre non partitionné du "
 "périphérique courant\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list,all : afficher la table de partitions de tous les périphériques par "
 "blocs actifs\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
@@ -2755,19 +2769,19 @@ msgstr ""
 "  NOMBRE : affiche les informations détaillées sur la partition numéro "
 "NOMBRE\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quitter"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                    quitter le programme"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2775,29 +2789,48 @@ msgstr ""
 "rescue DEBUT FIN                         restaurer une partition perdue "
 "entre DEBUT et FIN"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "redimentionner"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "redimentionner"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr ""
+"move NOMBRE DEBUT FIN                    déplacer la partition numéro NOMBRE"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr ""
 "rm NOMBRE                                détruire la partition numéro NOMBRE"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "sélectionner"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr ""
 "select PÉRIPHÉRIQUE                     sélectionner le périphérique à éditer"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 #, fuzzy
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
@@ -2805,12 +2838,12 @@ msgstr ""
 "set NOMBRE FANION ETAT                  positionner le FANION à l'état ETAT "
 "sur la partition numéro NOMBRE"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 #, fuzzy
 msgid "disk_toggle"
 msgstr "inverser"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 #, fuzzy
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
@@ -2819,22 +2852,22 @@ msgstr ""
 "toggle [NOMBRE [FANION]]               inverser l'état du fanion sur la "
 "partition numéro NOMBRE"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "positionner"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "set NOMBRE FANION ETAT                  positionner le FANION à l'état ETAT "
 "sur la partition numéro NOMBRE"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "inverser"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2842,20 +2875,20 @@ msgstr ""
 "toggle [NOMBRE [FANION]]               inverser l'état du fanion sur la "
 "partition numéro NOMBRE"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit UNITE                             affecte l'unité par défaut à UNITE"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2863,31 +2896,31 @@ msgstr ""
 "version                                  affiche la version courante de GNU "
 "Parted ainsi que l'information sur le copyright"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 "'version' affiche le copyright et la version de cette copie de GNU Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 "Usage : %s [-hlmsv] [-a <alignement>] [PERIPHERIQUE [COMMANDE "
 "[PARAMETRES]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Aucun périphérique trouvé"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 #, fuzzy
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 "ATTENTION : vous n'êtes pas superutilisateur. Contrôlez les permissions."
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Ne pas oublier de mettre à jour /etc/fstab si nécessaire.\n"
 
@@ -3147,65 +3180,65 @@ msgstr ""
 "\n"
 "Erreur : un signal SIGILL général est survenu."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "élément incorrect: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Numéro de partition attendu."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "La partition n'existe pas."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Type de système de fichiers attendu."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Type de système de fichiers inconnu \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Type d'étiquette de disque attendu."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Ne peut ajouter de nouvelle partition."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Type de partition attendu."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "off"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimal"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "OPTIONS :"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "COMMANDES :"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3214,15 +3247,40 @@ msgstr ""
 "\n"
 "Rapporter les anomalies à %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Utilisation de %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Cette commande n'a pas de sens en mode non-interactif.\n"
 
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Impossible d'ajouter la partition %d (%s)"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "Parted a été incapable de relire la table de partition sur %s (%s). Cela "
+#~ "signifie que Linux ne reconnaîtra aucune des modifications effectuées "
+#~ "avant de redémarrer. Vous devriez redémarrer votre ordinateur."
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s contient des signatures GPT, indiquant qu'il a une table GPT. "
+#~ "Cependant, il n'a pas de table fictive de partitions MSDOS valide tel "
+#~ "qu'il le devrait. Peut-être a-t-elle été corrompue - peut-être par un "
+#~ "programme qui ne comprend pas les tables de partitions GPT. Ou peut-être "
+#~ "avez-vous supprimé la table GPT et utilisez-vous une table de partition "
+#~ "MS-DOS. Ceci est-il une table de partitions GPT ?"
+
 #~ msgid ""
 #~ "Usage: %s [OPTION]\n"
 #~ "  or:  %s DEVICE MINOR\n"
@@ -3342,9 +3400,6 @@ msgstr "Cette commande n'a pas de sens en mode non-interactif.\n"
 #~ msgstr ""
 #~ "Impossible de créer le gestionnaire virtuel Reiser sur ce périphérique."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Périphérique trop petit pour %lu blocs."
-
 #~ msgid "copying"
 #~ msgstr "copie en cours"
 
@@ -3606,14 +3661,6 @@ msgstr "Cette commande n'a pas de sens en mode non-interactif.\n"
 #~ msgid "move"
 #~ msgstr "déplacer"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr ""
-#~ "move NOMBRE DEBUT FIN                    déplacer la partition numéro "
-#~ "NOMBRE"
-
-#~ msgid "resize"
-#~ msgstr "redimentionner"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
index deac910c63734f09069bb5ffed93cae2838a6a3f..539cbbebc7795b0e7e2b9d856123d05cbcfc3aa9 100644 (file)
Binary files a/po/gl.gmo and b/po/gl.gmo differ
index 5058e2db18212fc23e5310f27d90d28fa6ddf245..075fe930ebcc8d50308d56f1e1af4563ece15750 100644 (file)
--- a/po/gl.po
+++ b/po/gl.po
 # Galician translation of GNU parted
+# This file is distributed under the same license as the parted package.
 # Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
-# Jacobo Tarrío Barreiro <jtarrio@trasno.net>, 2000, 2001, 2002.
+# Copyright (C) 2012 Leandro Regueiro.
+#
+# Jacobo Tarrío Barreiro <jtarrio@trasno.net>, 2000, 2001, 2002.
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2012.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega:  Se desexas
+# colaborar connosco, podes atopar máis información en http://www.trasno.net
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 1.6.4-pre2\n"
+"Project-Id-Version: parted 3.1\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2002-12-07 01:30+0100\n"
-"Last-Translator: Jacobo Tarrío Barreiro <jtarrio@trasno.net>\n"
-"Language-Team: Galician <gpul-traduccion@ceu.fi.udc.es>\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2012-11-11 15:50+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-"Content-Transfer-Encoding: 8bit\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "Non se puido abrir %s."
+msgstr "argumento incorrecto %s para %s"
 
 #: lib/argmatch.c:134
 #, c-format
 msgid "ambiguous argument %s for %s"
-msgstr ""
+msgstr "argumento %s ambiguo para %s"
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "Non se puido abrir %s."
+msgstr "Os argumentos válidos son:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
-msgstr ""
+msgstr "erro de escritura"
 
 #: lib/error.c:188
-#, fuzzy
 msgid "Unknown system error"
-msgstr "Tipo de sistema de ficheiros descoñecido."
+msgstr "Erro de sistema descoñecido"
 
 #: lib/getopt.c:547 lib/getopt.c:576
 #, c-format
 msgid "%s: option '%s' is ambiguous; possibilities:"
-msgstr ""
+msgstr "%s: a opción «%s» é ambigua; as posibilidades son:"
 
 #: lib/getopt.c:624 lib/getopt.c:628
 #, c-format
 msgid "%s: option '--%s' doesn't allow an argument\n"
-msgstr ""
+msgstr "%s: a opción «--%s» non permite ningún argumento\n"
 
 #: lib/getopt.c:637 lib/getopt.c:642
 #, c-format
 msgid "%s: option '%c%s' doesn't allow an argument\n"
-msgstr ""
+msgstr "%s: a opción «%c%s» non permite ningún argumento\n"
 
 #: lib/getopt.c:685 lib/getopt.c:704
 #, c-format
 msgid "%s: option '--%s' requires an argument\n"
-msgstr ""
+msgstr "%s: a opción «--%s» require un argumento\n"
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "Non se puido abrir %s - etiqueta de disco non recoñecida."
+msgstr "%s: opción «--%s» non recoñecida\n"
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "Non se puido abrir %s - etiqueta de disco non recoñecida."
+msgstr "%s: opción «%c%s» non recoñecida\n"
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
 msgid "%s: invalid option -- '%c'\n"
-msgstr ""
+msgstr "%s: opción incorrecta -- «%c»\n"
 
 #: lib/getopt.c:861 lib/getopt.c:878 lib/getopt.c:1088 lib/getopt.c:1106
 #, c-format
 msgid "%s: option requires an argument -- '%c'\n"
-msgstr ""
+msgstr "%s: a opción require un argumento -- «%c»\n"
 
 #: lib/getopt.c:934 lib/getopt.c:950
 #, c-format
 msgid "%s: option '-W %s' is ambiguous\n"
-msgstr ""
+msgstr "%s: a opción «-W %s» é ambigua\n"
 
 #: lib/getopt.c:974 lib/getopt.c:992
 #, c-format
 msgid "%s: option '-W %s' doesn't allow an argument\n"
-msgstr ""
+msgstr "%s: a opción «-W %s» non permite ningún argumento\n"
 
 #: lib/getopt.c:1013 lib/getopt.c:1031
 #, c-format
 msgid "%s: option '-W %s' requires an argument\n"
-msgstr ""
+msgstr "%s: a opción «-W %s» require un argumento\n"
 
 #. TRANSLATORS:
 #. Get translations for open and closing quotation marks.
@@ -115,85 +121,85 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
-msgstr ""
+msgstr "«"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
-msgstr ""
+msgstr "»"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
-msgstr ""
+msgstr "Éxito"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
-msgstr ""
+msgstr "Sen coincidencias"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
-msgstr ""
+msgstr "Expresión regular non válida"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
-msgstr ""
+msgstr "Carácter de ordenación incorrecto"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
-msgstr ""
+msgstr "Nome da clase de caracteres incorrecto"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
-msgstr ""
+msgstr "Barra invertida ao final"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
-msgstr ""
+msgstr "[ ou [^ sen parella"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
-msgstr ""
+msgstr "( ou \\( sen parella"
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
-msgstr ""
+msgstr "\\{ sen parella"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
-msgstr ""
+msgstr "Contido de \\{\\} non válido"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
-msgstr ""
+msgstr "Fin de intervalo non válida"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
-msgstr ""
+msgstr "Memoria esgotada"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
-msgstr ""
+msgstr "Expresión regular precedente non válida"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
-msgstr ""
+msgstr "Fin prematura da expresión regular"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
-msgstr ""
+msgstr "Expresión regular grande de máis"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
-msgstr ""
+msgstr ") ou \\) sen parella"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
-msgstr ""
+msgstr "Non hai ningunha expresión regular anterior"
 
 #. TRANSLATORS: A regular expression testing for an affirmative answer
 #. (english: "yes").  Testing the first character may be sufficient.
@@ -201,9 +207,9 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
-msgstr ""
+msgstr "^[sSyY]"
 
 #. TRANSLATORS: A regular expression testing for a negative answer
 #. (english: "no").  Testing the first character may be sufficient.
@@ -211,26 +217,26 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
-msgstr ""
+msgstr "^[nN]"
 
 #: lib/version-etc.c:74
 #, c-format
 msgid "Packaged by %s (%s)\n"
-msgstr ""
+msgstr "Empaquetado por %s (%s)\n"
 
 #: lib/version-etc.c:77
 #, c-format
 msgid "Packaged by %s\n"
-msgstr ""
+msgstr "Empaquetado por %s\n"
 
 #. TRANSLATORS: Translate "(C)" to the copyright symbol
 #. (C-in-a-circle), if this symbol is available in the user's
 #. locale.  Otherwise, do not translate "(C)"; leave it as-is.
 #: lib/version-etc.c:84
 msgid "(C)"
-msgstr ""
+msgstr "©"
 
 #: lib/version-etc.c:86
 msgid ""
@@ -241,24 +247,30 @@ msgid ""
 "There is NO WARRANTY, to the extent permitted by law.\n"
 "\n"
 msgstr ""
+"\n"
+"Licenza GPL3v+: GNU GPL versión3  ou posterior <http://gnu.org/licenses/gpl."
+"html>\n"
+"Isto é software libre: pode modificalo e redistribuílo.\n"
+"Non hai NINGUNHA GARANTÍA, ata onde o permita a lei.\n"
+"\n"
 
 #. TRANSLATORS: %s denotes an author name.
 #: lib/version-etc.c:102
 #, c-format
 msgid "Written by %s.\n"
-msgstr ""
+msgstr "Escrito por %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #: lib/version-etc.c:106
 #, c-format
 msgid "Written by %s and %s.\n"
-msgstr ""
+msgstr "Escrito por %s e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #: lib/version-etc.c:110
 #, c-format
 msgid "Written by %s, %s, and %s.\n"
-msgstr ""
+msgstr "Escrito por %s, %s e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -269,6 +281,8 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -279,6 +293,8 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -289,6 +305,8 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, %s, and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -299,6 +317,8 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, %s, %s, and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, %s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -310,6 +330,9 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, %s, %s,\n"
+"e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -321,6 +344,9 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "%s, and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, %s, %s,\n"
+"%s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -332,6 +358,9 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "%s, %s, and others.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, %s, %s,\n"
+"%s, %s, e outros.\n"
 
 #. TRANSLATORS: The placeholder indicates the bug-reporting address
 #. for this package.  Please add _another line_ saying
@@ -343,104 +372,106 @@ msgid ""
 "\n"
 "Report bugs to: %s\n"
 msgstr ""
+"\n"
+"Envíe os informes de fallo a: %s\n"
 
 #: lib/version-etc.c:247
 #, c-format
 msgid "Report %s bugs to: %s\n"
-msgstr ""
+msgstr "Envíe os informes de fallo en %s a %s.\n"
 
 #: lib/version-etc.c:251
 #, c-format
 msgid "%s home page: <%s>\n"
-msgstr ""
+msgstr "Páxina web de %s: <%s>\n"
 
 #: lib/version-etc.c:253
 #, c-format
 msgid "%s home page: <http://www.gnu.org/software/%s/>\n"
-msgstr ""
+msgstr "Páxina web de %s: <http://www.gnu.org/software/%s/>\n"
 
 #: lib/version-etc.c:256
 msgid "General help using GNU software: <http://www.gnu.org/gethelp/>\n"
-msgstr ""
+msgstr "Axuda xeral ao usar software GNU: <http://www.gnu.org/gethelp/>\n"
 
 #: lib/xalloc-die.c:34
 msgid "memory exhausted"
-msgstr ""
+msgstr "esgotouse a memoria"
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "Non se puido abrir %s."
+msgstr "o argumento «%s» de %s%s é incorrecto"
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "Non se puido abrir %s."
+msgstr "sufixo incorrecto %s%s no argumento «%s»"
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "Non se puido abrir %s."
+msgstr "%s%s argumento «%s» demasiado longo"
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
-msgstr ""
+msgstr "Imaxe de disco"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
-msgstr "Erro ao abrir %s: %s"
+msgstr "Produciuse un erro ao abrir %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
-"Non se puido abrir %s para lectura-escritura (%s). Abriuse %s para só "
+"Non foi posíbel abrir %s para lectura-escritura (%s). Abriuse %s para só "
 "lectura."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
-msgstr "%s mentres se ía á posición da que ler en %s"
+msgstr "%s mentres se ía á posición na que ler en %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s durante a lectura en %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
-msgstr "Non se puido escribir en %s, porque está aberto para só lectura."
+msgstr "Non foi posíbel escribir en %s, porque está aberto para só lectura."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
-msgstr "%s mentres se ía á posición na que escribir en %s"
+msgstr "%s mentres se ía á posición na que escribir en %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s durante a escritura en %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
-msgstr ""
+msgstr "Execute «%s --help» para obter máis información.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
-msgstr ""
+msgstr "Uso: %s [OPCIÓN] [DISPOSITIVO]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -450,30 +481,31 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
 "Report bugs to <%s>.\n"
 msgstr ""
+"\n"
+"Envíe os informes de fallo a <%s>.\n"
 
 #: libparted/arch/gnu.c:110
 #, c-format
 msgid "Unable to open %s."
-msgstr "Non se puido abrir %s."
+msgstr "Non foi posíbel abrir %s."
 
 #: libparted/arch/gnu.c:130
 msgid "Unable to probe store."
-msgstr "Non se puido sondea-lo armacén."
+msgstr ""
 
 #: libparted/arch/gnu.c:368
-#, fuzzy
 msgid ""
 "The partition table cannot be re-read.  This means you need to reboot before "
 "mounting any modified partitions.  You also need to reinstall your boot "
@@ -482,77 +514,77 @@ msgid ""
 "and reinstall your boot loader from the rescue disk.  Read section 4 of the "
 "Parted User documentation for more information."
 msgstr ""
-"Non se puido volver le-la táboa de particións, así que ten que reiniciar "
-"antes de montar calquera partición modificada. Tamén precisa reinstala-lo "
-"cargador de inicio antes de reiniciar (o que pode precisa-la montaxe de "
-"particións modificadas). É imposible facer ámbalas dúas cousas, así que ha "
-"ter que arrincar cun disco de rescate, e reinstala-lo cargador de inicio "
-"dende o disco de rescate. Lea a sección 4 da documentación do Usuario de "
-"Parted para obter máis información."
+"Non foi posíbel volver ler a táboa de particións, así que ten que reiniciar "
+"antes de montar calquera partición modificada. Tamén ten que reinstalar o "
+"cargador de arranque antes de reiniciar (o que pode precisar a montaxe de "
+"particións modificadas). É imposíbel facer ámbalas dúas cousas, así que ha "
+"ter que arrancar cun disco de rescate, e reinstalar o cargador de arranque "
+"desde o disco de rescate. Lea a sección 4 da documentación de Usuario de "
+"Parted para obter máis información."
 
 #: libparted/arch/gnu.c:385
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "The partition table on %s cannot be re-read (%s).  This means the Hurd knows "
 "nothing about any modifications you made.  You should reboot your computer "
 "before doing anything with %s."
 msgstr ""
-"A táboa de particións de %s (%s). Isto quere dicir que Hurd non sabe nada "
-"das modificacións que Vd. fixo. Debería reinicia-lo seu ordenador antes de "
-"facer nada con %s."
+"Non é posíbel volver ler a táboa de particións de %s (%s). Isto quere dicir "
+"que Hurd non sabe nada sobre as modificacións que vostede fixo. Debería "
+"reiniciar o seu computador antes de facer nada con %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
 msgstr ""
-"Debería reinstala-lo cargador de inicio antes de reiniciar. Lea a sección 4 "
-"da documentación do Usuario de Parted para obter máis información."
+"Debería reinstalar o cargador de arranque antes de reiniciar. Lea a sección "
+"4 da documentación de Usuario de Parted para obter máis información."
 
 #: libparted/arch/gnu.c:788
 #, c-format
 msgid "%s trying to sync %s to disk"
 msgstr "%s tentando sincronizar %s no disco"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
-msgstr "Non se puido facer \"stat\" sobre o dispositivo %s - %s."
+msgstr "Non foi posíbel facer \"stat\" sobre o dispositivo %s - %s."
 
-#: libparted/arch/linux.c:586
-#, fuzzy, c-format
+#: libparted/arch/linux.c:679
+#, c-format
 msgid "Unable to determine the dm type of %s."
-msgstr "Non se puido determina-lo tamaño de %s (%s)"
+msgstr ""
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
-#, fuzzy, c-format
+#: libparted/arch/linux.c:834
+#, c-format
 msgid "Unable to determine the size of %s (%s)."
-msgstr "Non se puido determina-lo tamaño de %s (%s)"
+msgstr "Non foi posíbel determinar o tamaño de %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
-msgstr "Non se puido obte-la identidade do dispositivo %s - %s"
+msgstr "Non foi posíbel obter a identidade do dispositivo %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
-msgstr ""
+msgstr "IDE xenérico"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -561,135 +593,127 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
-msgstr "Erro ao inicializa-lo dispositivo SCSI %s - %s"
+msgstr "Produciuse un erro ao inicializar o dispositivo SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1191
+#, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
-"O dispositivo %s ten lonxitude cero, e non pode armacenar un sistema de "
-"ficheiros ou táboa de particións. ¿Non seleccionaría un dispositivo "
+"O dispositivo %s é tan pequeno que non é posíbel que almacene un sistema de "
+"ficheiros nin unha táboa de particións. Non seleccionaría un dispositivo "
 "equivocado?"
 
-#: libparted/arch/linux.c:1224
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1304
+#, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
 "unless you REALLY know what you're doing!"
 msgstr ""
-"Non se puido determina-la xeometría do ficheiro/dispositivo. ¡Non debería "
-"usar Parted se non sabe DE VERDADE o que está a facer!"
+"Non foi posíbel determinar a xeometría do ficheiro/dispositivo %s. Non "
+"debería usar Parted se non sabe DE VERDADE o que está a facer!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Controladora RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Controladora ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Controladora I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
-#, fuzzy
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr "¿Dispositivo orixe?"
+msgstr "Dispositivo de Loopback"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
-#, fuzzy
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
-msgstr "%s non é un dispositivo de bloques."
+msgstr ""
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
-msgstr "Descoñecido"
+msgstr "Descoñecido"
 
-#: libparted/arch/linux.c:1422
-#, fuzzy
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
-msgstr "%s non é un dispositivo de bloques."
+msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
-msgstr "ped_device_new()  Tipo de dispositivo non soportado"
+msgstr "ped_device_new()  Tipo de dispositivo non compatíbel"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
+#, c-format
 msgid "Error fsyncing/closing %s: %s"
-msgstr "Erro ao abrir %s: %s"
+msgstr ""
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
-#, fuzzy, c-format
+#: libparted/arch/linux.c:2564
+#, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
 "means Linux won't know about any changes you made to %s until you reboot -- "
 "so you shouldn't mount it or use it in any way before rebooting."
 msgstr ""
-"Erro ao informar ao núcleo sobre as modificacións feitas na partición %s - "
-"%s. Isto quere dicir que Linux non ha saber nada dos cambios que lle fixo a "
-"%s ata que reinicie - así que non debería montalo ou empregalo de ningún "
-"xeito antes de reiniciar."
+"Produciuse un erro ao informar ao núcleo sobre as modificacións feitas na "
+"partición %s -- %s. Isto quere dicir que Linux non ha saber nada dos cambios "
+"que lle fixo a %s ata que reinicie -- así que non debería montala ou "
+"empregala de ningún xeito antes de reiniciar."
 
-#: libparted/arch/linux.c:2517
-#, fuzzy, c-format
+#: libparted/arch/linux.c:2683
+#, c-format
 msgid "Unable to determine the start and length of %s."
-msgstr "Non se puido determina-lo tamaño de %s (%s)"
-
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Non se puido determinar se a partición está montada."
+msgstr "Non foi posíbel determinar o inicio e a lonxitude de %s."
 
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -698,33 +722,21 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"O kernel non puido volver le-la táboa de particións de %s (%s). Isto quere "
-"dicir que Linux non sabe nada das modificacións que Vd. fixo, ata que "
-"reinicie. Debería reinicia-lo seu ordenador antes de facer nada con %s."
-
-#: libparted/cs/geom.c:161
-#, fuzzy, c-format
+#: libparted/cs/geom.c:162
+#, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
-msgstr "¡A fin da partición non pode estar detrás do comezo!"
-
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "¡Non se pode ter unha partición fóra do disco!"
+msgstr ""
+"O final da partición non pode estar antes do comezo! (sector inicial=%jd "
+"lonxitude=%jd)"
 
-#: libparted/cs/geom.c:384
-#, fuzzy, c-format
+#: libparted/cs/geom.c:378
+#, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
-msgstr "Tentáronse escribi-los sectores %ld-%ld fóra da partición en %s"
+msgstr "Tentáronse escribir os sectores %ld-%ld fóra da partición en %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
-msgstr "buscando os bloques erróneos"
+msgstr "buscando bloques erróneos"
 
 #: libparted/debug.c:96
 #, c-format
@@ -736,176 +748,190 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
-#, fuzzy, c-format
+#: libparted/disk.c:193
+#, c-format
 msgid "%s: unrecognised disk label"
-msgstr "Non se puido abrir %s - etiqueta de disco non recoñecida."
+msgstr "%s: etiqueta de disco non recoñecida"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
 msgstr ""
-"Esta versión de libparted non tén soporte de escritura para %s. Se cadra "
-"está compilado para só lectura."
+"Esta versión de libparted non admite a escritura para %s. Se cadra está "
+"compilado para só lectura."
 
-#: libparted/disk.c:629
-#, fuzzy, c-format
+#: libparted/disk.c:631
+#, c-format
 msgid "Partition %d is %s, but the file system is %s."
-msgstr "A partición %d ten %.3fMb, pero o sistema de ficheiros ten %.3fMb."
+msgstr "A partición %d é %s, pero o sistema de ficheiros é %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
-#, fuzzy
+#: libparted/disk.c:842
 msgid "pmbr_boot"
-msgstr "inicio"
+msgstr ""
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, fuzzy, c-format
 msgid "Unknown disk flag, %d."
-msgstr "Modificador de particións descoñecido, %d."
+msgstr "Modificador de particións descoñecido, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
-msgstr "As etiquetas de disco %s non soportan particións extendidas."
+msgstr "As etiquetas de disco %s non admiten particións estendidas."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
-msgstr ""
-"As etiquetas de disco %s non soportan particións lóxicas ou extendidas."
+msgstr "As etiquetas de disco %s non admiten particións lóxicas ou estendidas."
 
-#: libparted/disk.c:1872
-#, fuzzy
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
-msgstr "Demasiadas particións primarias."
+msgstr "Demasiadas particións primarias."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr ""
-"Non se pode engadir unha partición lóxica a %s, porque non hai unha "
-"partición estendida."
+"Non é posíbel engadir unha partición lóxica a %s, porque non hai unha "
+"partición estendida."
 
-#: libparted/disk.c:1905
-#, fuzzy, c-format
+#: libparted/disk.c:1866
+#, c-format
 msgid "Can't have more than one extended partition on %s."
-msgstr "Non se pode ter máis de unha partición estendida en %s"
+msgstr "Non é posíbel ter máis de unha partición estendida en %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
-msgstr "Non se poden ter particións lóxicas fóra da partición estendida."
+msgstr "Non é posíbel ter particións lóxicas fóra da partición estendida."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
-"Non se pode ter unha partición lóxica fóra da partición estendida en %s."
+"Non é posíbel ter unha partición lóxica fóra da partición estendida en %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-#, fuzzy
-msgid "Can't have overlapping partitions."
-msgstr "Non se poden ter particións solapándose."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr ""
-"Non se pode ter unha partición primaria dentro dunha partición estendida."
+"Non é posíbel ter unha partición primaria dentro dunha partición estendida."
+
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Non é posíbel ter unha partición fóra do disco!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Non é posíbel ter particións que se solapen."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadatos"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "libre"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "estendida"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
-msgstr "lóxica"
+msgstr "lóxica"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primaria"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
-msgstr "inicio"
+msgstr "arranque"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
-msgstr ""
+msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
-msgstr "raiz"
+msgstr "raíz"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "intercambio"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "oculta"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
-msgstr ""
+msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
-msgstr ""
+msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
-msgstr ""
+msgstr "msftres"
+
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadatos"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2400
 msgid "atvrecv"
-msgstr ""
+msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
-msgstr ""
+msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
+msgstr "legacy_boot"
+
+#: libparted/disk.c:2406
+msgid "irst"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Si"
+
+#: libparted/disk.c:2414
 #, fuzzy, c-format
 msgid "Unknown partition flag, %d."
-msgstr "Modificador de particións descoñecido, %d."
+msgstr "Modificador de particións descoñecido, %d."
 
 #: libparted/exception.c:78
 msgid "Information"
-msgstr "Información"
+msgstr "Información"
 
 #: libparted/exception.c:79
 msgid "Warning"
@@ -921,11 +947,11 @@ msgstr "Moi grave"
 
 #: libparted/exception.c:82
 msgid "Bug"
-msgstr "Erro"
+msgstr "Fallo"
 
 #: libparted/exception.c:83
 msgid "No Implementation"
-msgstr "Sen Implementación"
+msgstr "Sen implementación"
 
 #: libparted/exception.c:87
 msgid "Fix"
@@ -956,264 +982,235 @@ msgid "Cancel"
 msgstr "Cancelar"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"Detectouse un erro en GNU parted. Por favor, envíe un informe de erro a bug-"
-"parted@gnu.org que conteña a versión (%s) e a seguinte mensaxe:"
 
 #: libparted/labels/aix.c:103
-#, fuzzy
 msgid "Support for reading AIX disk labels is is not implemented yet."
 msgstr ""
-"O soporte de creación de sistemas de ficheiros %s non está implementado "
-"aínda."
+"A compatibilidade para ler etiquetas de disco AIX aínda non está "
+"implementada."
 
 #: libparted/labels/aix.c:114
-#, fuzzy
 msgid "Support for writing AIX disk labels is is not implemented yet."
 msgstr ""
-"O soporte de creación de sistemas de ficheiros %s non está implementado "
-"aínda."
+"A compatibilidade para escribir etiquetas de disco AIX aínda non está "
+"implementada."
 
 #: libparted/labels/aix.c:127
-#, fuzzy
 msgid ""
 "Support for adding partitions to AIX disk labels is not implemented yet."
 msgstr ""
-"O soporte de creación de sistemas de ficheiros %s non está implementado "
-"aínda."
+"A compatibilidade para engadir particións a etiquetas de disco AIX aínda non "
+"está implementada."
 
 #: libparted/labels/aix.c:137
-#, fuzzy
 msgid ""
 "Support for duplicating partitions in AIX disk labels is not implemented yet."
 msgstr ""
-"O soporte de creación de sistemas de ficheiros %s non está implementado "
-"aínda."
+"A compatibilidade para duplicar particións en etiquetas de disco AIX aínda "
+"non está implementada."
 
 #: libparted/labels/aix.c:155
-#, fuzzy
 msgid ""
 "Support for setting system type of partitions in AIX disk labels is not "
 "implemented yet."
 msgstr ""
-"O soporte de creación de sistemas de ficheiros %s non está implementado "
-"aínda."
+"A compatibilidade para definir o tipo de sistema de particións en etiquetas "
+"de disco AIX aínda non está implementada."
 
 #: libparted/labels/aix.c:165
-#, fuzzy
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
-"O soporte de creación de sistemas de ficheiros %s non está implementado "
-"aínda."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
-msgstr "Non se puideron satisfacer tódalas restriccións da partición."
+msgstr "Non foi posíbel satisfacer todas as restricións da partición."
 
 #: libparted/labels/bsd.c:596
-#, fuzzy
 msgid "Unable to allocate a bsd disklabel slot."
-msgstr "Non se puido reservar unha rañura de etiqueta de disco BSD"
+msgstr ""
 
-#: libparted/labels/dasd.c:859
-#, fuzzy
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
-msgstr "Non se puido reservar unha rañura de etiqueta de disco BSD"
+msgstr ""
 
-#: libparted/labels/dos.c:966
-#, fuzzy, c-format
+#: libparted/labels/dos.c:1001
+#, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
-msgstr "Táboa de particións incorrecta en %s - sinatura %x incorrecta"
+msgstr "Táboa de particións incorrecta en %s -- sinatura %x incorrecta."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
-msgstr "Táboa de particións incorrecta - partición recursiva en %s."
+msgstr "Táboa de particións incorrecta - partición recursiva en %s."
 
-#: libparted/labels/dos.c:1504
-#, fuzzy
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
-"As particións ext2 non poden estar ocultas en etiquetas de disco msdos."
+"As particións estendidas non poden estar ocultas en etiquetas de disco msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 
-#: libparted/labels/dos.c:2414
-#, fuzzy
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
-msgstr "Non se poden crear máis particións."
+msgstr "non é posíbel crear máis particións"
 
 #: libparted/labels/dvh.c:182
-#, fuzzy, c-format
+#, c-format
 msgid "%s has no extended partition (volume header partition)."
 msgstr ""
-"%s non ten unha partición estendida (partición de cabeceira de volume). Se "
-"ignora, hanse borrar os volumes de inicio."
+"%s non ten unha partición estendida (partición de cabeceira de volume)."
 
 #: libparted/labels/dvh.c:308
 msgid "Checksum is wrong, indicating the partition table is corrupt."
 msgstr ""
-"A suma de comprobación é incorrecta, o que indica que a táboa de partición "
-"está corrompida."
+"A suma de comprobación é incorrecta, o que indica que a táboa de partición "
+"está danada."
 
 #: libparted/labels/dvh.c:613
 msgid "Only primary partitions can be root partitions."
-msgstr "Só as particións primarias poden ser particións raiz."
+msgstr "Só as particións primarias poden ser particións raíz."
 
 #: libparted/labels/dvh.c:627
 msgid "Only primary partitions can be swap partitions."
-msgstr "Só as particións primarias poden ser particións de intercambio."
+msgstr "Só as particións primarias poden ser particións de intercambio."
 
 #: libparted/labels/dvh.c:641
 msgid "Only logical partitions can be a boot file."
-msgstr "Só as particións lóxicas poden ser un ficheiro de inicio."
+msgstr "Só as particións lóxicas poden ser un ficheiro de arranque."
 
 #: libparted/labels/dvh.c:718
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "failed to set dvh partition name to %s:\n"
 "Only logical partitions (boot files) have a name."
-msgstr "Só as particións lóxicas (ficheiros de inicio) poden ter un nome."
+msgstr ""
 
 #: libparted/labels/dvh.c:811
 msgid "Too many primary partitions"
-msgstr "Demasiadas particións primarias."
+msgstr "Demasiadas particións primarias."
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
-msgstr ""
+msgstr "erro de apertura"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
-msgstr ""
+msgstr "erro de lectura"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
-msgstr ""
+msgstr "erro de ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
-#, fuzzy
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
-msgstr "ped_device_new()  Tipo de dispositivo non soportado"
+msgstr "Tipo de disco non compatíbel"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
-msgstr ""
+msgstr "Formato de disco non compatíbel"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
-msgstr ""
+msgstr "O disco está en uso"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
-msgstr ""
+msgstr "Erro de sintaxe no ficheiro de configuración"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
-msgstr ""
+msgstr "A etiqueta do volume está danada"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
-msgstr ""
+msgstr "Produciuse un erro ao asignar memoria"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
-msgstr ""
+msgstr "Produciuse un erro ao comprobar o dispositivo"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
-#, fuzzy
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
-msgstr "Moi grave"
+msgstr "Erro moi grave"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
-#, fuzzy
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
-msgstr "Non se atopou un mapa de particións válido."
+msgstr "Non hai espazo para a información das particións."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
-#: libparted/labels/fdasd.c:806
-#, fuzzy
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
-msgstr "Non se puido le-la xeometría de %s - %s."
+msgstr "Non foi posíbel recuperar a información da xeometría de disco."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, fuzzy, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s contén sinaturas GPT, o que indica que ten unha táboa GPT. Nembargantes, "
-"non ten unha táboa de partición msdos falsa válida, tal como debería. Se "
-"cadra está corrompida - posiblemente por un programa que non entende as "
-"táboas de partición GPT. Ou se cadra borrou a táboa GPT e agora emprega unha "
-"táboa de partición msdos. ¿É esta unha táboa de partición GPT?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "O sistema de ficheiros é pequeno de máis para ext2."
 
-#: libparted/labels/gpt.c:700
-#, fuzzy, c-format
+#: libparted/labels/gpt.c:734
+#, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
-"O formato da táboa de partición GPT é máis recente do que Parted pode "
-"recoñecer. Por favor, indíquenolo: bug-parted@gnu.org (en inglés)"
+"O formato da táboa de partición GPT é da versión %x, que é máis recente do "
+"que Parted pode recoñecer. Por favor infórmenos!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1221,157 +1218,156 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
-"A copia de seguridade da táboa GPT non está na fin do disco, tal como "
-"debería. Isto pode significar que outro sistema operativo cre que o disco é "
-"máis pequeno. ¿Quere arranxalo, movendo a copia de seguridade á final (e "
-"eliminando a copia vella)?"
+"A copia de seguridade da táboa GPT non está ao final do disco, tal como "
+"debería. Isto pode significar que outro sistema operativo cre que o disco é "
+"máis pequeno. Quere arranxalo, movendo a copia de seguridade ao final (e "
+"retirando a copia vella)?"
 
-#: libparted/labels/gpt.c:991
-#, fuzzy
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
 msgstr ""
-"Ambalas dúas táboas GPT, primaria e copia, están corrompidas. Probe a crear "
-"unha táboa nova e a emprega-la característica de rescate (rescue) de Parted "
-"para recupera-las particións."
+"Ámbalas dúas táboas GPT, primaria e copia de seguridade, están danadas. "
+"Probe a crear unha táboa nova e a empregar a característica de rescate "
+"(rescue) de Parted para recuperar as particións."
 
-#: libparted/labels/gpt.c:1002
-#, fuzzy
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr ""
-"A táboa GPT primaria está corrompida, pero a copia de seguridade semella "
-"estar ben, así que é a que se ha empregar."
+"A copia de seguridade da táboa GPT está danada, pero a primaria semella "
+"estar ben, así que é a que se ha empregar."
 
-#: libparted/labels/gpt.c:1014
-#, fuzzy
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr ""
-"A táboa GPT primaria está corrompida, pero a copia de seguridade semella "
-"estar ben, así que é a que se ha empregar."
+"A táboa GPT primaria está danada, pero a copia de seguridade semella estar "
+"ben, así que é a que se ha empregar."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Non foi posíbel asignar un número de partición."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
-msgstr "Sinatura %x non válida para etiquetas de disco Mac."
+msgstr "Sinatura %x non válida para etiquetas de disco Mac."
 
 #: libparted/labels/mac.c:231
 msgid "Partition map has no partition map entry!"
-msgstr "¡O mapa de particións non ten unha entrada do mapa de particións!"
+msgstr "O mapa de particións non ten unha entrada do mapa de particións!"
 
 #: libparted/labels/mac.c:279
 #, c-format
 msgid "%s is too small for a Mac disk label!"
-msgstr "¡%s é pequeno de máis para unha etiqueta de disco Mac!"
+msgstr "%s é pequeno de máis para unha etiqueta de disco Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
-msgstr "A partición %d ten unha sinatura %x non válida."
+msgstr "A partición %d ten unha sinatura %x non válida."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
-msgstr "¡A partición %d ten unha lonxitude non válida de 0 bytes!"
+msgstr "A partición %d ten unha lonxitude non válida de 0 bytes!"
 
-#: libparted/labels/mac.c:557
-#, fuzzy
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
-msgstr "A rexión de datos non comeza no principio da partición"
+msgstr "A rexión de datos non comeza no principio da partición."
 
-#: libparted/labels/mac.c:574
-#, fuzzy
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
-msgstr "A rexión de inicio non comeza no principio da partición"
+msgstr "A rexión de arranque non comeza no principio da partición."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
-msgstr "A rexión de inicio da partición non ocupa toda a partición."
+msgstr "A rexión de arranque da partición non ocupa toda a partición."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
-msgstr "A rexión de datos da partición non ocupa toda a partición."
+msgstr "A rexión de datos da partición non ocupa toda a partición."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
-"Tamaño de bloque estraño no descriptor do dispositivo: %d bytes non é "
-"divisible por 512."
+"Tamaño de bloque estraño no descritor do dispositivo: %d bytes non é "
+"divisíbel por 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
 "says it is %d bytes."
 msgstr ""
-"O descriptor do controlador di que o tamaño do bloque físico é %d bytes, "
-"pero Linux di que é de %d bytes."
+"O descritor do controlador di que o tamaño do bloque físico é %d bytes, pero "
+"Linux di que é de %d bytes."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
-msgstr "Non se atopou un mapa de particións válido."
+msgstr "Non se atopou un mapa de particións válido."
 
-#: libparted/labels/mac.c:779
-#, fuzzy, c-format
+#: libparted/labels/mac.c:787
+#, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr ""
-"¡Tamaños das entradas do mapa de particións conflictivos! ¡A entrada 1 di "
-"que é de %d, pero a entrada %d di que é %d!"
+"Tamaños das entradas do mapa de particións conflitivos! A entrada 1 di que é "
+"de %d, pero a entrada %d di que é %d!"
 
-#: libparted/labels/mac.c:810
-#, fuzzy
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
-msgstr "Estraño - ¡hai dúas entradas de mapa de particións!"
+msgstr "Estraño! Hai 2 entradas de mapa de particións!"
 
 #: libparted/labels/mac.c:1356
 msgid ""
 "Changing the name of a root or swap partition will prevent Linux from "
 "recognising it as such."
 msgstr ""
-"Cambia-lo nome dunha partición raiz ou de intercambio ha impedir que Linux a "
-"recoñeza coma tal."
+"Cambiar o nome dunha partición raíz ou de intercambio ha impedir que Linux a "
+"recoñeza coma tal."
 
-#: libparted/labels/mac.c:1460
-#, fuzzy
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
-"Non se pode engadir outra partición - o mapa de particións é pequeno de máis."
+"Non é posíbel engadir outra partición -- o mapa de particións é pequeno de "
+"máis!"
 
 #: libparted/labels/pc98.c:284
-#, fuzzy, c-format
+#, c-format
 msgid "Invalid partition table on %s."
-msgstr "Táboa de particións incorrecta en %s"
+msgstr "Táboa de particións incorrecta en %s."
 
 #: libparted/labels/pc98.c:337 libparted/labels/pc98.c:415
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Partition %d isn't aligned to cylinder boundaries.  This is still "
 "unsupported."
 msgstr ""
-"A partición %d non está aliñada nos límites dos cilindros. Hai que engadir "
-"soporte para isto."
+"A partición %d non está aliñada nos límites dos cilindros. Aínda non hai "
+"compatibilidade para isto."
 
 #: libparted/labels/pc98.c:733
 msgid "Can't add another partition."
-msgstr "Non se pode engadir máis particións."
+msgstr "Non é posíbel engadir máis particións."
 
 #: libparted/labels/pt-tools.c:133
 #, c-format
@@ -1398,9 +1394,9 @@ msgid "%s : Didn't find rdb block, should never happen."
 msgstr ""
 
 #: libparted/labels/rdb.c:573
-#, fuzzy, c-format
+#, c-format
 msgid "%s : Loop detected at block %d."
-msgstr "%s non é un dispositivo de bloques."
+msgstr ""
 
 #: libparted/labels/rdb.c:592
 #, c-format
@@ -1428,27 +1424,26 @@ msgid "%s : Failed to list boot blocks."
 msgstr ""
 
 #: libparted/labels/rdb.c:742
-#, fuzzy, c-format
+#, c-format
 msgid "Failed to write partition block at %d."
-msgstr "Non se puido determinar se a partición está montada."
+msgstr "Produciuse un erro ao escribir o bloque de partición en %d."
 
 #: libparted/labels/rdb.c:1080
-#, fuzzy
 msgid "Unable to allocate a partition number."
-msgstr "Espérase un número de partición."
+msgstr "Non foi posíbel asignar un número de partición."
 
 #: libparted/labels/sun.c:161
 msgid "Corrupted Sun disk label detected."
-msgstr "Detectouse unha etiqueta de disco Sun corrompida."
+msgstr "Detectouse unha etiqueta de disco Sun danada."
 
 #: libparted/labels/sun.c:276
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "The disk CHS geometry (%d,%d,%d) reported by the operating system does not "
 "match the geometry stored on the disk label (%d,%d,%d)."
 msgstr ""
-"A xeometría CHS do disco (%d,%d,%d) non encaixa coa xeometría armacenada na "
-"etiqueta de disco (%d,%d,%d)."
+"A xeometría CHS do disco (%d,%d,%d) indicada polo sistema operativo no "
+"coincide coa xeometría almacenada na etiqueta de disco (%d,%d,%d)."
 
 #: libparted/labels/sun.c:298
 #, c-format
@@ -1458,7 +1453,7 @@ msgstr "A etiqueta de disco describe un disco maior de %s."
 #: libparted/labels/sun.c:473
 #, c-format
 msgid "The disk has %d cylinders, which is greater than the maximum of 65536."
-msgstr ""
+msgstr "O disco ten %d cilindros, o que supera o máximo de 65536."
 
 #: libparted/labels/sun.c:812
 msgid ""
@@ -1467,17 +1462,18 @@ msgid ""
 "not be able to boot without it, and SILO (the sparc boot loader) appreciates "
 "it as well."
 msgstr ""
-"A partición de Disco Completo é a única que queda dispoñible. Normalmente "
-"non é unha boa idea sobrescribir esta partición cunha de verdade. Solaris "
-"pode non arrincar sen ela, e SILO (o cargador de sparc) tamén a aprecia."
+"A partición de Disco Completo é a única que queda dispoñíbel. Normalmente "
+"non é unha boa idea sobrescribir esta partición cunha de verdade. Solaris "
+"pode non arrancar sen ela, e SILO (o cargador de arranque de sparc) tamén a "
+"aprecia."
 
 #: libparted/labels/sun.c:827
 msgid "Sun disk label is full."
-msgstr "A etiqueta de disco Sun está chea."
+msgstr "A etiqueta de disco Sun está chea."
 
 #: libparted/labels/vtoc.c:164
 msgid "opening of device failed"
-msgstr ""
+msgstr "produciuse un erro ao abrir o dispositivo"
 
 #: libparted/labels/vtoc.c:168
 msgid "seeking on device failed"
@@ -1485,64 +1481,67 @@ msgstr ""
 
 #: libparted/labels/vtoc.c:172
 msgid "writing to device failed"
-msgstr ""
+msgstr "produciuse un erro ao escribir no dispositivo"
 
 #: libparted/labels/vtoc.c:176
 msgid "reading from device failed"
-msgstr ""
+msgstr "produciuse un erro ao ler do dispositivo"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
-#, fuzzy
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
-msgstr "Non se puido le-la xeometría de %s - %s."
+msgstr "Non foi posíbel ler a etiqueta de volume."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
-#, fuzzy
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
-msgstr "Non se pode detectar un sistema de ficheiros."
+msgstr "Non foi posíbel escribir a etiqueta de volume."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Non foi posíbel escribir a etiqueta de volume."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Memoria esgotada."
 
@@ -1566,9 +1565,9 @@ msgid "The maximum sector value is %d."
 msgstr ""
 
 #: libparted/unit.c:412 libparted/unit.c:563
-#, fuzzy, c-format
+#, c-format
 msgid "The location %s is outside of the device %s."
-msgstr "Non se pode crear unha partición fóra do dispositivo."
+msgstr "A localización de %s está fóra do dispositivo %s."
 
 #: libparted/unit.c:532
 msgid "Invalid number."
@@ -1578,25 +1577,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr ""
@@ -1617,9 +1616,9 @@ msgid "%s : Bad checksum on block %llu of type %s\n"
 msgstr ""
 
 #: libparted/fs/amiga/amiga.c:211
-#, fuzzy, c-format
+#, c-format
 msgid "%s : Couldn't write block %d\n"
-msgstr "%s durante a escritura en %s"
+msgstr "%s: non foi posíbel escribir o bloque %d\n"
 
 #: libparted/fs/amiga/amiga.c:277
 #, c-format
@@ -1636,109 +1635,90 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr ""
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
-#, fuzzy
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr ""
-"GNU parted foi compilado incorrectamente: o sector de inicio FAT debería ter "
-"512 bytes. O soporte FAT será desactivado."
+"GNU parted compilouse incorrectamente: o sector de arranque FAT debería ter "
+"512 bytes. Vaise desactivar a compatibilidade FAT."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr ""
 "O sistema de ficheiros ten unha sinatura incorrecta para un sistema de "
 "ficheiros FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
-"O sistema de ficheiros ten un tamaño de sector incorrecto para un sistema de "
+"O sistema de ficheiros ten un tamaño de sector incorrecto para un sistema de "
 "ficheiros FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
-"O sistema de ficheiros ten un tamaño de bloque non válido para un sistema de "
+"O sistema de ficheiros ten un tamaño de bloque non válido para un sistema de "
 "ficheiros FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
-#, fuzzy
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
-"O sistema de ficheiros ten un número de sectores reservados incorrecto para "
+"O sistema de ficheiros ten un número incorrecto de sectores reservados para "
 "un sistema de ficheiros FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
-#, fuzzy
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
-msgstr "O sistema de ficheiros ten un número de FATs incorrecto."
-
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Este sistema de ficheiros ten un tamaño de sector lóxico de %d. Sábese que "
-"GNU Parted non traballa correctamente con tamaños de sector distintos de 512 "
-"bytes."
+msgstr "O sistema de ficheiros ten un número de FATs incorrecto."
 
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
-"O sector de inicio FAT di que o tamaño lóxico de sector é 0. Isto é moi "
-"estraño. "
+"O sector de arranque de FAT di que o tamaño lóxico de sector é 0. Isto é moi "
+"estraño. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
-msgstr "O sector de inicio FAT di que non hai táboas FAT. Isto é moi estraño. "
+msgstr ""
+"O sector de arranque de FAT di que non hai táboas FAT. Isto é moi estraño. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
-"O sector de inicio FAT di que os clusters teñen 0 sectores. Isto é moi "
-"estraño. "
+"O sector de arranque de FAT di que os clusters teñen 0 sectores. Isto é moi "
+"estraño. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
-#, fuzzy
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
-msgstr "O sistema de ficheiros é FAT12, que non está soportado."
+msgstr "O sistema de ficheiros é FAT12, para o cal non hai compatibilidade."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"O sector de información ten unha sinatura incorrecta (%x). Escolla \"Cancelar"
-"\" polo de agora, e envíe un informe de erro. Se está desesperado, pode que "
-"sexa seguro ignorar."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
-#, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
-msgstr "Sinatura \"%10s\" da partición de intercambio de linux non recoñecida."
+msgstr ""
+"Sinatura «%10s» da partición de intercambio de linux de antigo estilo non "
+"recoñecida."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
-#, fuzzy, c-format
+#: libparted/fs/linux_swap/linux_swap.c:268
+#, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
-msgstr "Sinatura \"%10s\" da partición de intercambio de linux non recoñecida."
+msgstr ""
+"Sinatura «%10s» da partición de intercambio de linux de novo estilo non "
+"recoñecida."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
-#, fuzzy, c-format
+#: libparted/fs/linux_swap/linux_swap.c:308
+#, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
-msgstr "Sinatura \"%10s\" da partición de intercambio de linux non recoñecida."
+msgstr ""
+"Sinatura «%9s» da partición de intercambio de linux swsusp non recoñecida."
 
 #: libparted/fs/hfs/probe.c:50 libparted/fs/r/hfs/probe.c:50
 #, c-format
@@ -1747,38 +1727,58 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
 #, c-format
 msgid ""
-"The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
-"partition table's CHS geometry is (%d, %d, %d).  If you select Ignore, the "
-"file system's CHS geometry will be left unchanged.  If you select Fix, the "
-"file system's CHS geometry will be set to match the partition table's CHS "
-"geometry."
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Este sistema de ficheiros ten un tamaño de sector lóxico de %d. Sábese que "
+"GNU Parted non traballa correctamente con tamaños de sector distintos de 512 "
+"bytes."
+
+#: libparted/fs/r/fat/bootsector.c:157
+#, c-format
+msgid ""
+"The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
+"partition table's CHS geometry is (%d, %d, %d).  If you select Ignore, the "
+"file system's CHS geometry will be left unchanged.  If you select Fix, the "
+"file system's CHS geometry will be set to match the partition table's CHS "
+"geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"O sector de información ten unha sinatura incorrecta (%x). Escolla \"Cancelar"
+"\" polo de agora, e envíe un informe de fallo. Se está desesperado, pode que "
+"sexa seguro ignorar."
+
 #: libparted/fs/r/fat/calc.c:134
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "You need %s of free disk space to shrink this partition to this size.  "
 "Currently, only %s is free."
 msgstr ""
-"Precisa %dM de espacio libre para reducir esta partición a este tamaño "
-"(actualmente ten só %dM libres)"
+"Precisa %s de espazo libre para reducir esta partición a este tamaño "
+"(actualmente ten só hai %s libres)"
 
 #: libparted/fs/r/fat/context.c:55
 #, c-format
 msgid ""
 "Cluster start delta = %d, which is not a multiple of the cluster size %d."
 msgstr ""
-"Delta do comezo do cluster = %d, que non é un múltiplo do tamaño do cluster "
+"Delta do comezo do cluster = %d, que non é un múltiplo do tamaño do cluster "
 "%d."
 
 #: libparted/fs/r/fat/count.c:143
 #, c-format
 msgid "Bad directory entry for %s: first cluster is the end of file marker."
 msgstr ""
-"Entrada de directorio incorrecta para %s: o primeiro cluster é o marcador de "
+"Entrada de directorio incorrecta para %s: o primeiro cluster é o marcador de "
 "fin de ficheiro."
 
 #: libparted/fs/r/fat/count.c:156
@@ -1786,17 +1786,17 @@ msgstr ""
 msgid ""
 "Bad FAT: unterminated chain for %s.  You should run dosfsck or scandisk."
 msgstr ""
-"FAT incorrecta: cadea non rematada para %s. Debería executar dosfsck ou "
+"FAT incorrecta: cadea non rematada para %s. Debería executar dosfsck ou "
 "scandisk."
 
 #: libparted/fs/r/fat/count.c:165
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Bad FAT: cluster %d outside file system in chain for %s.  You should run "
 "dosfsck or scandisk."
 msgstr ""
-"FAT incorrecta: o cluster %d está fóra do sistema de ficheiros na cadea para "
-"%s. Debería executar dosfsck ou scandisk."
+"FAT incorrecta: o cluster %d está fóra do sistema de ficheiros na cadea para "
+"%s. Debería executar dosfsck ou scandisk."
 
 #: libparted/fs/r/fat/count.c:175
 #, c-format
@@ -1804,13 +1804,13 @@ msgid ""
 "Bad FAT: cluster %d is cross-linked for %s.  You should run dosfsck or "
 "scandisk."
 msgstr ""
-"FAT incorrecta: o cluster %d ten ligazóns cruzadas para %s. Debería executar "
+"FAT incorrecta: o cluster %d ten ligazóns cruzadas para %s. Debería executar "
 "dosfsck ou scandisk."
 
 #: libparted/fs/r/fat/count.c:194
 #, c-format
 msgid "%s is %dk, but it has %d clusters (%dk)."
-msgstr "%s é de %dk, pero ten %d clusters (%dk)."
+msgstr "%s é de %dk, pero ten %d clusters (%dk)."
 
 #: libparted/fs/r/fat/count.c:257
 #, c-format
@@ -1818,62 +1818,60 @@ msgid ""
 "The file %s is marked as a system file.  This means moving it could cause "
 "some programs to stop working."
 msgstr ""
-"O ficheiro %s está marcado coma ficheiro de sistema. Isto significa que "
-"movelo podería facer que outros programas deixaran de traballar."
+"O ficheiro %s está marcado como ficheiro de sistema. Isto significa que "
+"movelo podería facer que outros programas deixen de traballar."
 
-#: libparted/fs/r/fat/fat.c:251
-#, fuzzy, c-format
+#: libparted/fs/r/fat/fat.c:243
+#, c-format
 msgid "Partition too big/small for a %s file system."
-msgstr "A partición é grande/pequena de máis para un sistema de ficheiros %s"
+msgstr "A partición é grande/pequena de máis para un sistema de ficheiros %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
 "As FATs non coinciden. Se non sabe o que isto significa, escolla \"Cancelar"
-"\", empregue \"scandisk\" no sistema de ficheiros, e logo volte."
+"\", empregue \"scandisk\" no sistema de ficheiros, e logo volva."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
-msgstr "Non hai configuracións posibles para este tipo de FAT."
+msgstr "Non hai configuracións posíbeis para este tipo de FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
 "size is %dk (%dk expected); number of clusters is %d (%d expected); size of "
 "FATs is %d sectors (%d expected)."
 msgstr ""
-"O sistema de ficheiros non ten os tamaños esperados para que a Windows lle "
-"goste. O tamaño do cluster é %dk (esperábase %dk); o número de clusters é %d "
-"(esperábanse %d); o tamaño das FATs é de %d sectores (esperábanse %d)."
+"O sistema de ficheiros non ten os tamaños esperados para que a Windows lle "
+"guste. O tamaño do cluster é %dk (esperábase %dk); o número de clusters é %d "
+"(esperábanse %d); o tamaño das FATs é de %d sectores (esperábanse %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
 msgstr ""
-"O sistema de ficheiros di que o espacio libre é de %d clusters, non %d "
+"O sistema de ficheiros di que o espacio libre é de %d clusters, non %d "
 "clusters."
 
 #: libparted/fs/r/fat/resize.c:158
-#, fuzzy
 msgid ""
 "There's not enough room in the root directory for all of the files.  Either "
 "cancel, or ignore to lose the files."
 msgstr ""
-"Non hai espacio dabondo no directorio raiz para tódolos ficheiros. Pode ou "
-"ben cancelar, ou ben ignorar e perde-los ficheiros."
+"Non hai espazo dabondo no directorio raíz para todos os ficheiros. Pode ou "
+"ben cancelar, ou ben ignorar e perdeos ficheiros."
 
 #: libparted/fs/r/fat/resize.c:299
 msgid "Error writing to the root directory."
-msgstr "Erro ao escribir no directorio raiz."
+msgstr "Produciuse un erro ao escribir no directorio raíz."
 
 #: libparted/fs/r/fat/resize.c:488
-#, fuzzy
 msgid "If you leave your file system as FAT16, then you will have no problems."
-msgstr "Se deixa o sistema de ficheiros coma FAT16, non ha ter problemas."
+msgstr "Se deixa o sistema de ficheiros como FAT16, non ha ter problemas."
 
 #: libparted/fs/r/fat/resize.c:491
 msgid ""
@@ -1881,16 +1879,16 @@ msgid ""
 "you must re-install the MS Windows boot loader.  If you want to do this, you "
 "should consult the Parted manual (or your distribution's manual)."
 msgstr ""
-"Se convirte a FAT16, e MS Windows está instalado na partición, ha ter que "
-"reinstala-lo cargador de inicio de MS Windows. Se quere facelo, debería "
-"consulta-lo manual de Parted (ou o manual da súa distribución)."
+"Se converte a FAT16, e MS Windows está instalado na partición, ha ter que "
+"reinstalar o cargador de arranque de MS Windows. Se quere facelo, debería "
+"consultar o manual de Parted (ou o manual da súa distribución)."
 
 #: libparted/fs/r/fat/resize.c:499
 msgid ""
 "If you leave your file system as FAT32, then you will not introduce any new "
 "problems."
 msgstr ""
-"Se deixa o sistema de ficheiros coma FAT32, non ha introducir novos "
+"Se deixa o sistema de ficheiros como FAT32, non ha introducir novos "
 "problemas."
 
 #: libparted/fs/r/fat/resize.c:503
@@ -1901,10 +1899,10 @@ msgid ""
 "converting to FAT32 will make the file system unreadable by MS DOS, MS "
 "Windows 95a, and MS Windows NT."
 msgstr ""
-"Se convirte a FAT32, e MS Windows está instalado na partición, ha ter que "
-"reinstala-lo cargador de inicio de MS Windows. Se quere facelo, debería "
-"consulta-lo manual de Parted (ou o manual da súa distribución). Tamén, a "
-"conversión a FAT32 fará o sistema de ficheiros ilexible para MS DOS, MS "
+"Se converte a FAT32, e MS Windows está instalado na partición, ha ter que "
+"reinstalar o cargador de arranque de MS Windows. Se quere facelo, debería "
+"consultar o manual de Parted (ou o manual da súa distribución). Ademais, a "
+"conversión a FAT32 fará o sistema de ficheiros ilexíbel para MS DOS, MS "
 "Windows 95a e MS Windows NT."
 
 #: libparted/fs/r/fat/resize.c:517
@@ -1914,7 +1912,7 @@ msgstr "%s  %s  %s"
 
 #: libparted/fs/r/fat/resize.c:518
 msgid "Would you like to use FAT32?"
-msgstr "¿Quere usar FAT32?"
+msgstr "Quere usar FAT32?"
 
 #: libparted/fs/r/fat/resize.c:549 libparted/fs/r/fat/resize.c:565
 #, c-format
@@ -1925,20 +1923,19 @@ msgstr "%s  %s"
 msgid ""
 "The file system can only be resized to this size by converting to FAT16."
 msgstr ""
-"O sistema de ficheiros só pode alcanzar este tamaño convertindo a FAT16."
+"O sistema de ficheiros só pode alcanzar este tamaño convertendo a FAT16."
 
 #: libparted/fs/r/fat/resize.c:566
 msgid ""
 "The file system can only be resized to this size by converting to FAT32."
 msgstr ""
-"O sistema de ficheiros só pode alcanzar este tamaño convertindo a FAT32."
+"O sistema de ficheiros só pode alcanzar este tamaño convertendo a FAT32."
 
 #: libparted/fs/r/fat/resize.c:579
-#, fuzzy
 msgid ""
 "GNU Parted cannot resize this partition to this size.  We're working on it!"
 msgstr ""
-"GNU Parted non pode cambiar esta partición a este tamaño. ¡Estamos "
+"GNU Parted non pode redimensionar esta partición a este tamaño. Estamos "
 "traballando niso!"
 
 #: libparted/fs/r/fat/table.c:136
@@ -1947,18 +1944,18 @@ msgid ""
 "FAT %d media %x doesn't match the boot sector's media %x.  You should "
 "probably run scandisk."
 msgstr ""
-"Na FAT %d, o soporte %x non coincide co soporte do sector de inicio, %x. "
-"Seguramente debería executar scandisk."
+"Na FAT %d, o soporte %x non coincide co soporte do sector de arranque, %x. "
+"Seguramente debería executar scandisk."
 
 #: libparted/fs/r/fat/table.c:268
-#, fuzzy, c-format
+#, c-format
 msgid "fat_table_set: cluster %ld outside file system"
-msgstr "fat_table_set: o cluster %ld está fóra do sistema de ficheiros"
+msgstr "fat_table_set: o cluster %ld está fóra do sistema de ficheiros"
 
 #: libparted/fs/r/fat/table.c:300
-#, fuzzy, c-format
+#, c-format
 msgid "fat_table_get: cluster %ld outside file system"
-msgstr "fat_table_get: o cluster %ld está fóra do sistema de ficheiros"
+msgstr "fat_table_get: o cluster %ld está fóra do sistema de ficheiros"
 
 #: libparted/fs/r/fat/table.c:342
 msgid "fat_table_alloc_cluster: no free clusters"
@@ -1966,19 +1963,17 @@ msgstr "fat_table_alloc_cluster: non hai clusters libres"
 
 #: libparted/fs/r/filesys.c:151
 msgid "Could not detect file system."
-msgstr "Non se pode detectar un sistema de ficheiros."
+msgstr "Non é posíbel detectar un sistema de ficheiros."
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
-#, fuzzy, c-format
+#, c-format
 msgid "resizing %s file systems is not supported"
 msgstr ""
-"O soporte de modificación do tamaño de sistemas de ficheiros %s non está "
-"implementado aínda."
+"non hai compatibilidade para o redimensionamento de sistemas de ficheiros %s"
 
 #: libparted/fs/r/filesys.c:170
-#, fuzzy
 msgid "The file system is bigger than its volume!"
-msgstr "O sistema de ficheiros é maior có seu volume."
+msgstr "O sistema de ficheiros é maior que seu volume!"
 
 #: libparted/fs/r/hfs/advfs.c:120 libparted/fs/r/hfs/advfs_plus.c:120
 #: libparted/fs/r/hfs/reloc.c:412 libparted/fs/r/hfs/reloc.c:506
@@ -2051,7 +2046,7 @@ msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:250 libparted/fs/r/hfs/hfs.c:629
 msgid "shrinking"
-msgstr "encollendo"
+msgstr "reducindo"
 
 #: libparted/fs/r/hfs/hfs.c:262 libparted/fs/r/hfs/hfs.c:641
 msgid "Data relocation has failed."
@@ -2062,9 +2057,8 @@ msgid "Data relocation left some data in the end of the volume."
 msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:320
-#, fuzzy
 msgid "writing HFS Master Directory Block"
-msgstr "Erro ao escribir no directorio raiz."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:468
 msgid "No valid HFS[+X] signature has been found while opening."
@@ -2085,14 +2079,12 @@ msgid "Data relocation left some data at the end of the volume."
 msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:720
-#, fuzzy
 msgid "Error while writing the allocation file."
-msgstr "Erro ao escribir no directorio raiz."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Erro ao escribir no directorio raiz."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2121,9 +2113,8 @@ msgid "Resizing the HFS+ volume has failed."
 msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:998
-#, fuzzy
 msgid "shrinking HFS wrapper"
-msgstr "encollendo"
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:1007
 msgid "Updating the HFS wrapper has failed."
@@ -2153,11 +2144,8 @@ msgid ""
 msgstr ""
 
 #: libparted/fs/r/hfs/journal.c:270
-#, fuzzy
 msgid "Journal offset or size is not multiple of the sector size."
 msgstr ""
-"Delta do comezo do cluster = %d, que non é un múltiplo do tamaño do cluster "
-"%d."
 
 #: libparted/fs/r/hfs/journal.c:291
 msgid "Incorrect magic values in the journal header."
@@ -2168,11 +2156,8 @@ msgid "Journal size mismatch between journal info block and journal header."
 msgstr ""
 
 #: libparted/fs/r/hfs/journal.c:313
-#, fuzzy
 msgid "Some header fields are not multiple of the sector size."
 msgstr ""
-"Delta do comezo do cluster = %d, que non é un múltiplo do tamaño do cluster "
-"%d."
 
 #: libparted/fs/r/hfs/journal.c:322
 msgid ""
@@ -2221,9 +2206,8 @@ msgid ""
 msgstr ""
 
 #: libparted/fs/r/hfs/reloc.c:572 libparted/fs/r/hfs/reloc_plus.c:843
-#, fuzzy
 msgid "Could not cache the file system in memory."
-msgstr "Non se pode detectar un sistema de ficheiros."
+msgstr ""
 
 #: libparted/fs/r/hfs/reloc.c:633 libparted/fs/r/hfs/reloc_plus.c:904
 msgid "Bad blocks list could not be loaded."
@@ -2243,12 +2227,11 @@ msgstr ""
 
 #: parted/parted.c:125
 msgid "displays this help message"
-msgstr "amosar esta mensaxe de axuda"
+msgstr "mostra esta mensaxe de axuda"
 
 #: parted/parted.c:126
-#, fuzzy
 msgid "lists partition layout on all block devices"
-msgstr "%s non é un dispositivo de bloques."
+msgstr "lista a disposición das particións de todos os dispositivos de bloques"
 
 #: parted/parted.c:127
 msgid "displays machine parseable output"
@@ -2256,75 +2239,77 @@ msgstr ""
 
 #: parted/parted.c:128
 msgid "never prompts for user intervention"
-msgstr "non pedir nunca a intervención do usuario"
+msgstr "non pedir nunca a intervención do usuario"
 
 #: parted/parted.c:129
 msgid "displays the version"
-msgstr "amosa-la versión"
+msgstr "mostra a versión"
 
 #: parted/parted.c:130
-#, fuzzy
 msgid "alignment for new partitions"
-msgstr "Non se poden crear máis particións."
+msgstr ""
 
 #: parted/parted.c:142
-#, fuzzy
 msgid ""
 "NUMBER is the partition number used by Linux.  On MS-DOS disk labels, the "
 "primary partitions number from 1 to 4, logical partitions from 5 onwards.\n"
 msgstr ""
-"MENOR é o número de partición que usa Linux. Nas etiquetas de disco msdos, "
-"as particións primarias teñen números de 1 a 4, e as lóxicas téñenos do 5 en "
+"MENOR é o número de partición que usa Linux. Nas etiquetas de disco MS-DOS, "
+"as particións primarias teñen números de 1 a 4, e as lóxicas téñenos do 5 en "
 "diante.\n"
 
 #: parted/parted.c:145
 msgid "LABEL-TYPE is one of: "
-msgstr "TIPO-ETIQUETA é un destes: "
+msgstr "TIPO-ETIQUETA é un destes: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
-msgstr "MODIF é un destes: "
+msgstr "MODIF é un destes: "
 
-#: parted/parted.c:147
-#, fuzzy
+#: parted/parted.c:148
 msgid "UNIT is one of: "
-msgstr "MODIF é un destes: "
+msgstr ""
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr ""
-"TIPO-PARTICION é: primary (primaria), logical (lóxica), extended "
+"TIPO-PARTICION é: primary (primaria), logical (lóxica), extended "
 "(estendida)\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
-msgstr "TIPO-SF é un destes: "
+msgstr "TIPO-SF é un destes: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
-msgstr "ESTADO é un destes: on, off\n"
+msgstr "ESTADO é un destes: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "DISPOSITIVO adoita ser /dev/hda ou /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
-msgstr "NOME é calquera palabra que queira\n"
+msgstr "NOME é calquera palabra que queira\n"
 
-#: parted/parted.c:160
-#, fuzzy
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2335,451 +2320,452 @@ msgid ""
 "GNU General Public License for more details.\n"
 "\n"
 msgstr ""
-"Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.\n"
-"Este programa é software libre, coberto pola Licencia Pública Xeral de GNU.\n"
+"Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
+"Este programa é software libre, cuberto pola Licenza Pública Xeral de GNU.\n"
+"\n"
+"Este programa distribúese coa esperanza de que sexa útil, pero\n"
+"SEN NINGUNHA GARANTÍA; nin sequera a garantía implícita de\n"
+"COMERCIABILIDADE ou APTITUDE PARA UN FIN EN PARTICULAR. Vexa a\n"
+"Licenza Pública Xeral de GNU para obter máis detalles.\n"
 "\n"
-"Este programa é distribuído coa esperanza de que sexa útil, pero SEN "
-"NINGUNHA GARANTÍA; nin sequera a garantía implícita de COMERCIABILIDADE ou "
-"APTITUDE PARA UN FIN EN PARTICULAR. Vexa a Licencia Pública Xeral de GNU "
-"para ter máis detalles.\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(tempo restante %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "Estase a usa-la partición %s."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
-msgstr "Esta(n)se a usa-la(s) partición(s) de %s."
+msgstr "Esta(n)se a usar a(s) partición(s) de %s."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
-msgstr "¿Novo tipo de etiqueta de disco?"
+msgstr "Novo tipo de etiqueta de disco?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
-msgstr "¿Tipo de partición?"
+msgstr "Tipo de partición?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
-msgstr "¿Nome da partición?"
+msgstr "Nome da partición?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
-msgstr "¿Tipo de sistema de ficheiros?"
+msgstr "Tipo de sistema de ficheiros?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
-msgstr "¿Inicio?"
+msgstr "Inicio?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
-msgstr "¿Fin?"
+msgstr "Fin?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Solicitou crear unha partición en %.3f-%.3fMb. O máis semellante que pode "
-"manexar Parted é %.3f-%.3fMb."
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
-msgstr "¿Número de partición?"
+msgstr "Número de partición?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
-msgstr ""
+msgstr "Modelo: %s (%s)\n"
 
-#: parted/parted.c:978
-#, fuzzy, c-format
+#: parted/parted.c:1003
+#, c-format
 msgid "Disk %s: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Disco %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
-#, fuzzy, c-format
+#: parted/parted.c:1016
+#, c-format
 msgid "Partition Table: %s\n"
-msgstr "¿Nome da partición?"
+msgstr "Táboa de particións: %s\n"
 
-#: parted/parted.c:992
-#, fuzzy, c-format
+#: parted/parted.c:1017
+#, c-format
 msgid "Disk Flags: %s\n"
-msgstr "%s  %s  %s"
+msgstr ""
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
-msgstr ""
+msgstr "Número"
 
-#: parted/parted.c:1115 parted/parted.c:1118
-#, fuzzy
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
-msgstr "¿Inicio?"
+msgstr "Inicio"
 
-#: parted/parted.c:1116 parted/parted.c:1119
-#, fuzzy
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
-msgstr "¿Fin?"
+msgstr "Fin"
 
-#: parted/parted.c:1119
-#, fuzzy
+#: parted/parted.c:1143
 msgid "Size"
-msgstr "resize"
+msgstr "Tamaño"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
-msgstr ""
+msgstr "Tipo"
 
-#: parted/parted.c:1125
-#, fuzzy
+#: parted/parted.c:1149
 msgid "File system"
-msgstr "¿Sistema de ficheiros?"
+msgstr "Sistema de ficheiros"
 
-#: parted/parted.c:1128
-#, fuzzy
+#: parted/parted.c:1152
 msgid "Name"
-msgstr "name"
+msgstr "Nome"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Modificadores"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
-msgstr ""
+msgstr "Espazo libre"
 
-#: parted/parted.c:1348
-#, fuzzy, c-format
+#: parted/parted.c:1371
+#, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
 msgstr ""
-"Atopouse unha partición %s %s en %.3fMb -> %.3fMb. ¿Quere engadila á táboa "
-"de particións?"
+"Atopouse unha partición %s %s en %s -> %s. Quere engadila á táboa de "
+"particións?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "buscando sistemas de ficheiros"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
-msgstr "¿Novo dispositivo?"
+msgstr "Novo dispositivo?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
-#, fuzzy
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
-msgstr "¿Modificador a cambiar?"
+msgstr ""
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
-msgstr "¿Novo estado?"
+msgstr "Novo estado?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr ""
 
-#: parted/parted.c:1807
-#, fuzzy
+#: parted/parted.c:1913
 msgid "align-check"
-msgstr "check"
+msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
-#, fuzzy
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
-msgstr "help [COMANDO]           amosar axuda xeral, ou axuda sobre o COMANDO"
+msgstr "help [ORDE]           mostrar axuda xeral, ou axuda sobre a ORDE"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
-#, fuzzy
+#: parted/parted.c:1933
 msgid "mktable"
-msgstr "mklabel"
+msgstr "mktable"
 
-#: parted/parted.c:1830
-#, fuzzy
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
-"mklabel TIPO-ETIQUETA    crear unha nova etiqueta de disco/táboa de partición"
+"mklabel, mktable TIPO-ETIQUETA           crear unha nova etiqueta de disco "
+"(táboa de particións)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
-#, fuzzy
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
-msgstr "mkpart TIPO-PARTICION [TIPO-FS] INICIO FIN        crear unha partición"
+msgstr "mkpart TIPO-PARTICION [TIPO-FS] INICIO FIN        crear unha partición"
 
-#: parted/parted.c:1845
-#, fuzzy
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
 msgstr ""
-"mkpart crea unha partición sen crear un novo sistema de ficheiros na "
-"partición. Debe especificarse TIPO-SF para estabrecer un ID de partición "
+"«mkpart» crea unha partición sen crear un novo sistema de ficheiros na "
+"partición. Debe especificarse TIPO-SF para definir un ID de partición "
 "axeitado.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
-#, fuzzy
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
-msgstr "name MENOR NOME               poñe-lo NOME á partición MENOR"
+msgstr ""
+"name NÚMERO NOME                         ponlle o NOME á partición NÚMERO"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
-#, fuzzy
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
-"Sen argumentos, print amosa toda a táboa de particións. Se se dá\n"
-"un número de partición, hase amosar información máis detallada sobre\n"
-"esa partición.\n"
+"Sen argumentos, «print» mostra toda a táboa de particións. Aínda así cos "
+"seguintes argumentos realiza outras accións.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
-#, fuzzy
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
-msgstr "quit                          saír do programa"
+msgstr "quit                                     saír do programa"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
-#, fuzzy
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
 msgstr ""
-"rescue INICIO FIN           recupera unha partición perdida entre INICIO e "
-"FIN"
+"rescue INICIO FIN                        recupera unha partición perdida "
+"entre INICIO e FIN"
+
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
 
-#: parted/parted.c:1894
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm NÚMERO                                eliminar a partición NÚMERO"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
-#, fuzzy
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
-msgstr "rm MENOR                 borra-la partición MENOR"
+msgstr "rm NÚMERO                                eliminar a partición NÚMERO"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
-#, fuzzy
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
-msgstr "select DISPOSITIVO            escolle-lo dispositivo a editar"
+msgstr ""
+"select DISPOSITIVO                       escoller o dispositivo a editar"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
-msgstr ""
+msgstr "disk_set"
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set MENOR MODIF ESTADO       cambiar un MODIFicador na partición MENOR"
+msgstr ""
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
-msgstr ""
+msgstr "disk_toggle"
 
-#: parted/parted.c:1921
-#, fuzzy
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
-msgstr "boot MENOR               establece-la partición de arrinque a MENOR"
+msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 #, fuzzy
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
-msgstr "set MENOR MODIF ESTADO       cambiar un MODIFicador na partición MENOR"
+msgstr "set MENOR MODIF ESTADO       cambiar un MODIFicador na partición MENOR"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
-msgstr ""
+msgstr "toggle"
 
-#: parted/parted.c:1939
-#, fuzzy
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
-msgstr "boot MENOR               establece-la partición de arrinque a MENOR"
+msgstr ""
 
-#: parted/parted.c:1945
-#, fuzzy
+#: parted/parted.c:2065
 msgid "unit"
-msgstr "quit"
+msgstr "unit"
 
-#: parted/parted.c:1948
-#, fuzzy
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
-msgstr "quit                          saír do programa"
+msgstr ""
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
-msgstr ""
+msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
-msgstr "Non se atopou o dispositivo."
+msgstr "Non se atopou ningún dispositivo"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
-#, fuzzy
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
-msgstr "Non esqueza actualizar /etc/fstab, se é necesario.\n"
+msgstr "Non esqueza actualizar /etc/fstab, se é necesario.\n"
 
 #: parted/ui.c:162
 msgid "Welcome to GNU Parted! Type 'help' to view a list of commands.\n"
 msgstr ""
 
 #: parted/ui.c:165
-#, fuzzy
 msgid ""
 "Usage: parted [OPTION]... [DEVICE [COMMAND [PARAMETERS]...]...]\n"
 "Apply COMMANDs with PARAMETERS to DEVICE.  If no COMMAND(s) are given, run "
 "in\n"
 "interactive mode.\n"
 msgstr ""
-"Uso: parted [OPCIÓN]... [DISPOSITIVO [COMANDO [PARÁMETROS]...]...]\n"
-"Aplica-lo COMANDO cos PARÁMETROS ao DISPOSITIVO. Se non se indica ningún\n"
-"COMANDO, funciona en modo interactivo.\n"
+"Uso: parted [OPCIÓN]... [DISPOSITIVO [ORDE [PARÁMETROS]...]...]\n"
+"Aplica a ORDE cos PARÁMETROS ao DISPOSITIVO. Se non se indica ningunha\n"
+"ORDE, funciona en modo interactivo.\n"
 
 #: parted/ui.c:170
 #, c-format
@@ -2947,106 +2933,198 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
-#, fuzzy, c-format
+#: parted/ui.c:883
+#, c-format
 msgid "invalid token: %s"
-msgstr "Non se puido abrir %s."
+msgstr ""
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
-msgstr "Espérase un número de partición."
+msgstr "Espérase un número de partición."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
-msgstr "A partición non existe."
+msgstr "A partición non existe."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
-msgstr "Espérase un tipo de sistema de ficheiros."
+msgstr "Espérase un tipo de sistema de ficheiros."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
-msgstr "Tipo de sistema de ficheiros \"%s\" descoñecido."
+msgstr "Tipo de sistema de ficheiros «%s» descoñecido."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
-msgstr "Espérase un tipo de etiqueta de disco."
+msgstr "Espérase un tipo de etiqueta de disco."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
-msgstr "Non se poden crear máis particións."
+msgstr "Non é posíbel crear máis particións."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
-msgstr "Espérase un tipo de partición."
+msgstr "Espérase un tipo de partición."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "off"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
-msgstr "OPCIÓNs:"
+msgstr "OPCIÓNs:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
-msgstr "COMANDOs:"
+msgstr "ORDEs:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
+"\n"
+"Envíe os informes de fallo a: %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Usando %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
-msgstr ""
+msgstr "Esta orde non ten sentido nun modo non interactivo.\n"
 
-#, fuzzy
-#~ msgid "too few arguments"
-#~ msgstr "Demasiadas páxinas incorrectas."
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Produciuse un erro ao engadir a partición %d (%s)"
 
-#, fuzzy
-#~ msgid "too many arguments"
-#~ msgstr "Demasiadas páxinas incorrectas."
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "parted non puido volver ler a táboa de particións de %s (%s). Isto quere "
+#~ "dicir que Linux non sabe nada sobre as modificacións que vostede fixo. "
 
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "Non se puido abrir %s."
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s contén sinaturas GPT, o que indica que ten unha táboa GPT. Aínda así, "
+#~ "non ten unha táboa de partición msdos falsa válida, tal como debería. Se "
+#~ "cadra está danada -- posibelmente por un programa que non entende as "
+#~ "táboas de particións GPT. Ou se cadra eliminou a táboa GPT e agora "
+#~ "emprega unha táboa de particións msdos. É esta unha táboa de particións "
+#~ "GPT?"
 
-#~ msgid "Support for opening %s file systems is not implemented yet."
+#~ msgid ""
+#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
+#~ "with drives with sector sizes other than %d bytes"
+#~ msgstr ""
+#~ "O tamaño dos sectores de %s é de %d bytes. Sábese que parted non traballa "
+#~ "correctamente con unidades que teñan un tamaño de sector distinto de %d "
+#~ "bytes"
+
+#~ msgid "Device %s has dodgey geometry."
+#~ msgstr "O dispositivo %s ten unha xeometría moi estraña."
+
+#~ msgid "IDE"
+#~ msgstr "IDE"
+
+#~ msgid "SCSI"
+#~ msgstr "SCSI"
+
+#~ msgid "Device %s is neither a SCSI nor IDE drive."
+#~ msgstr "O dispositivo %s non é unha unidade SCSI nin IDE."
+
+#~ msgid "Error reading %s (%s) to determine if partition is mounted."
+#~ msgstr "Erro ao ler %s (%s) para determinar se a partición está montada."
+
+#~ msgid ""
+#~ "Unable to determine if partitions are mounted via /proc/mounts or /etc/"
+#~ "mtab.  Make sure you don't attempt to resize or modify mounted file "
+#~ "systems.  (Even read-only mounted)"
+#~ msgstr ""
+#~ "Non se puido determinar se as particións están montadas mediante /proc/"
+#~ "mounts ou /etc/mtab. Asegúrese de que non tenta cambia-lo tamaño ou "
+#~ "modificar sistemas de ficheiros montados (incluso se están montados en só-"
+#~ "lectura)."
+
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  However, the most likely reason is that Linux "
+#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
+#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
+#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
+#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
+#~ "GRUB documentation for more information.  If you think Parted's suggested "
+#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
+#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
+#~ msgstr ""
+#~ "A táboa de particións de %s non é consistente. Hai moitos motivos polos "
+#~ "que isto puido pasar. Nembargantes, o motivo máis probable é que Linux "
+#~ "detectara a xeometría da BIOS de %s incorrectamente. GNU Parted sospeita "
+#~ "que a verdadeira xeometría debería ser %d/%d/%d (e non %d/%d/%d). Debería "
+#~ "comprobar isto coa BIOS primeiro, porque todo isto podería non ser "
+#~ "correcto. Pode informar a Linux engadindo o parámetro %s=%d,%d,%d na liña "
+#~ "de comando. Vexa a documentación de LILO ou GRUB para obter máis "
+#~ "información. Se cre que a xeometría suxerida por Parted é correcta, pode "
+#~ "escoller \"Ignorar\" para continuar (e arranxar Linux despois). Noutro "
+#~ "caso, escolla \"Cancelar\" (e arranxe Linux e/ou a BIOS agora)."
+
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  Often, the reason is that Linux detected the "
+#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
+#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
+#~ "with some boot loaders, and may cause problems with FAT file systems.  "
+#~ "Using LBA is recommended."
+#~ msgstr ""
+#~ "A táboa de particións de %s non é consistente. Hai moitos motivos polos "
+#~ "que isto puido pasar. Moitas veces, o motivo é que Linux detectou a "
+#~ "xeometría da BIOS incorrectamente. Nembargantes, este non parece se-lo "
+#~ "caso agora. Pódese ignorar isto de xeito seguro pero facelo pode causar "
+#~ "problemas (que se poden arranxar) con algúns cargadores de inicio, e "
+#~ "tamén pode causar problemas con sistemas de ficheiros FAT. Recoméndase o "
+#~ "emprego de LBA."
+
+#~ msgid ""
+#~ "Unable to align partition properly.  This probably means that another "
+#~ "partitioning tool generated an incorrect partition table, because it "
+#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
+#~ "may cause (fixable) problems with some boot loaders."
 #~ msgstr ""
-#~ "O soporte de apertura de sistemas de ficheiros %s non está implementado "
-#~ "aínda."
+#~ "Non se puido aliña-la partición correctamente. Isto, seguramente, "
+#~ "signifique que outra ferramenta de particionamento xerou unha táboa de "
+#~ "particións incorrecta, porque non tiña a xeometría da BIOS correcta. "
+#~ "Pódese ignorar de xeito seguro, pero facelo pode provocar problemas (que "
+#~ "se poden arranxar) con algúns cargadores de inicio."
 
-#~ msgid "Support for creating %s file systems is not implemented yet."
+#~ msgid "Support for opening %s file systems is not implemented yet."
 #~ msgstr ""
-#~ "O soporte de creación de sistemas de ficheiros %s non está implementado "
-#~ "aínda."
+#~ "O soporte de apertura de sistemas de ficheiros %s non está implementado "
+#~ "aínda."
 
 #~ msgid "Support for checking %s file systems is not implemented yet."
 #~ msgstr ""
-#~ "O soporte de comprobación de sistemas de ficheiros %s non está "
-#~ "implementado aínda."
+#~ "O soporte de comprobación de sistemas de ficheiros %s non está "
+#~ "implementado aínda."
 
 #~ msgid "raw block copying"
 #~ msgstr "copiando bloque a bloque"
@@ -3055,452 +3133,274 @@ msgstr ""
 #~ msgstr "aumentando o sistema de ficheiros"
 
 #~ msgid "Can't copy onto an overlapping partition."
-#~ msgstr "Non se pode copiar nunha partición que se solapa."
+#~ msgstr "Non se pode copiar nunha partición que se solapa."
 
-#, fuzzy
 #~ msgid ""
 #~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
+#~ "However, support for resizing implemented.  Therefore, the file system "
 #~ "can be copied if the new partition is at least as big as the old one.  "
 #~ "So, either shrink the partition you are trying to copy, or copy to a "
 #~ "bigger partition."
 #~ msgstr ""
-#~ "O soporte directo de copia de sistemas de ficheiros non está implementado "
-#~ "aínda para %s. Nembargantes, o soporte para o cambio de tamaño sí está. "
-#~ "Polo tanto, pódese copia-lo sistema de ficheiros se a partición nova é "
-#~ "alomenos tan grande coma a vella. Así que, ou ben reduza a partición que "
-#~ "quere copiar, ou copie nunha partición máis grande."
+#~ "O soporte directo de copia de sistemas de ficheiros non está implementado "
+#~ "aínda para %s. Nembargantes, o soporte para o cambio de tamaño sí está. "
+#~ "Polo tanto, pódese copia-lo sistema de ficheiros se a partición nova é "
+#~ "alomenos tan grande coma a vella. Así que, ou ben reduza a partición que "
+#~ "quere copiar, ou copie nunha partición máis grande."
 
 #~ msgid "Support for copying %s file systems is not implemented yet."
 #~ msgstr ""
-#~ "O soporte de copia de sistemas de ficheiros %s non está implementado "
-#~ "aínda."
+#~ "O soporte de copia de sistemas de ficheiros %s non está implementado "
+#~ "aínda."
 
-#, fuzzy
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr ""
-#~ "O sistema de ficheiros ten unha sinatura incorrecta para un sistema de "
-#~ "ficheiros FAT."
-
-#, fuzzy
-#~ msgid "checking"
-#~ msgstr "check"
-
-#, fuzzy
 #~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
+#~ "A bug has been detected in GNU parted.  Please email a bug report to bug-"
+#~ "parted@gnu.org containing the version (%s) and the following message:"
 #~ msgstr ""
-#~ "O sistema de ficheiros ext2 pasou unha comprobación básica. Para unha "
-#~ "comprobación máis a fondo, empregue o programa e2fsck."
+#~ "Detectouse un erro en GNU parted. Por favor, envíe un informe de erro a "
+#~ "bug-parted@gnu.org que conteña a versión (%s) e a seguinte mensaxe:"
 
-#, fuzzy
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr "¡Síntoo, ainda non podo move-lo principio das particións ext2!"
-
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "Aviso"
-
-#, fuzzy
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "O sistema de ficheiros é pequeno de máis para ext2."
+#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
+#~ msgstr "Tentáronse le-los sectores %ld-%ld fóra da partición en %s"
 
 #~ msgid "Inconsistent group descriptors!"
-#~ msgstr "¡Descriptores de grupo non consistentes!"
+#~ msgstr "¡Descriptores de grupo non consistentes!"
 
-#, fuzzy
-#~ msgid "File system full!"
-#~ msgstr "¡Sistema de ficheiros cheo!"
+#~ msgid "Filesystem full!"
+#~ msgstr "¡Sistema de ficheiros cheo!"
 
-#, fuzzy
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
+#~ msgid ""
+#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
+#~ "this (yet)."
+#~ msgstr ""
+#~ "¡Este sistema de ficheiros ten unha organización moi estraña! Parted non "
+#~ "lle pode cambia-lo tamaño a isto (aínda)."
+
+#~ msgid "Invalid superblock.  Are you sure this is an ext2 filesystem?"
 #~ msgstr ""
-#~ "Superbloque incorrecto. ¿Está seguro de que este é un sistema de "
+#~ "Superbloque incorrecto. ¿Está seguro de que este é un sistema de "
 #~ "ficheiros ext2?"
 
-#, fuzzy
-#~ msgid "File system has errors!  You should run e2fsck."
-#~ msgstr "¡O sistema de ficheiros ten erros! Debería executar e2fsck."
+#~ msgid "Filesystem has errors!  You should run e2fsck."
+#~ msgstr "¡O sistema de ficheiros ten erros! Debería executar e2fsck."
 
-#, fuzzy
-#~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
+#~ msgid "Filesystem was not cleanly unmounted!  You should e2fsck."
 #~ msgstr ""
-#~ "¡O sistema de ficheiros non foi desmontado limpamente! Debería executar "
+#~ "¡O sistema de ficheiros non foi desmontado limpamente! Debería executar "
 #~ "e2fsck."
 
+#~ msgid "Filesystem has incompatible feature enabled"
+#~ msgstr ""
+#~ "O sistema de ficheiros ten unha característica incompatible activada."
+
 #~ msgid "Error allocating buffer cache."
 #~ msgstr "Erro ao buscar espacio para o buffer cache."
 
-#, fuzzy
 #~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
+#~ "Found an inode with a incorrect link count.  Better go run e2fsck first."
 #~ msgstr ""
-#~ "Atopei un inode cunha conta de ligazóns incorrecta. Mellor será que "
+#~ "Atopei un inode cunha conta de ligazóns incorrecta. Mellor será que "
 #~ "empregue e2fsck antes."
 
 #~ msgid "Not enough free inodes!"
-#~ msgstr "¡Non hai inodes libres dabondo!"
+#~ msgstr "¡Non hai inodes libres dabondo!"
 
-#, fuzzy
-#~ msgid "File system is too full to remove a group!"
+#~ msgid "Filesystem is too occupied to remove a group!"
 #~ msgstr ""
-#~ "¡O sistema de ficheiros está demasiado ocupado para eliminar un grupo!"
+#~ "¡O sistema de ficheiros está demasiado ocupado para eliminar un grupo!"
 
-#, fuzzy
-#~ msgid "File system has too many allocated inodes to remove a group!"
+#~ msgid "Filesystem has too many allocated inodes to remove a group!"
 #~ msgstr ""
-#~ "¡O sistema de ficheiros ten demasiados inodes ocupados para eliminar un "
+#~ "¡O sistema de ficheiros ten demasiados inodes ocupados para eliminar un "
 #~ "grupo!"
 
 #~ msgid "adding groups"
 #~ msgstr "engadindo grupos"
 
-#, fuzzy
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
+#~ msgid "Your filesystem is too occupied to resize it to %i blocks. Sorry."
 #~ msgstr ""
-#~ "O seu sistema de ficheiros está demasiado ocupado para cambiarlle o "
-#~ "tamaño a %i bloques. Síntoo."
+#~ "O seu sistema de ficheiros está demasiado ocupado para cambiarlle o "
+#~ "tamaño a %i bloques. Síntoo."
 
-#, fuzzy
 #~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
+#~ "Your filesystem has too much occupied inodes to resize it to %i blocks. "
 #~ "Sorry."
 #~ msgstr ""
 #~ "O seu sistema de ficheiros ten demasiados inodes ocupados para cambiarlle "
-#~ "o tamaño a %i bloques. Síntoo."
+#~ "o tamaño a %i bloques. Síntoo."
 
-#, fuzzy
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
+#~ msgid "Cross-linked blocks found! better go run e2fsck first!"
 #~ msgstr ""
-#~ "¡O sistema de ficheiros non foi desmontado limpamente! Debería executar "
-#~ "e2fsck."
-
-#, fuzzy
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "¡Atopáronse bloques ligados entre si! ¡Mellor será que empregue e2fsck "
+#~ "¡Atopáronse bloques ligados entre si! ¡Mellor será que empregue e2fsck "
 #~ "antes!"
 
-#, fuzzy
-#~ msgid "Block %i has no reference?  Weird."
-#~ msgstr "¿O bloque %i non ten unha referencia? Moi raro."
+#~ msgid "Block %i has no reference?  Weird"
+#~ msgstr "¿O bloque %i non ten unha referencia? Moi raro."
 
-#, fuzzy
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
-#~ msgstr "¡O bloque %i non debería estar marcado!"
+#~ msgid "Block %i shouldn't have been marked!"
+#~ msgstr "¡O bloque %i non debería estar marcado!"
 
-#, fuzzy
 #~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
+#~ "The ext2 filesystem passed a basic check.  For a more comprehensive "
 #~ "check, use the e2fsck program."
 #~ msgstr ""
-#~ "O sistema de ficheiros ext2 pasou unha comprobación básica. Para unha "
-#~ "comprobación máis a fondo, empregue o programa e2fsck."
+#~ "O sistema de ficheiros ext2 pasou unha comprobación básica. Para unha "
+#~ "comprobación máis a fondo, empregue o programa e2fsck."
 
 #~ msgid "Sorry, can't move the start of ext2 partitions yet!"
-#~ msgstr "¡Síntoo, ainda non podo move-lo principio das particións ext2!"
+#~ msgstr "¡Síntoo, ainda non podo move-lo principio das particións ext2!"
 
 #~ msgid "Couldn't flush buffer cache!"
-#~ msgstr "¡Non se puido baleira-lo buffer cache!"
+#~ msgstr "¡Non se puido baleira-lo buffer cache!"
 
 #~ msgid "writing per-group metadata"
 #~ msgstr "gravando os metadatos por grupos"
 
-#~ msgid "File system too small for ext2."
-#~ msgstr "O sistema de ficheiros é pequeno de máis para ext2."
+#~ msgid "File system has an invalid signature for a FAT file systems."
+#~ msgstr ""
+#~ "O sistema de ficheiros ten unha sinatura incorrecta para un sistema de "
+#~ "ficheiros FAT."
 
 #~ msgid "Too many bad pages."
-#~ msgstr "Demasiadas páxinas incorrectas."
+#~ msgstr "Demasiadas páxinas incorrectas."
 
-#~ msgid "Source partition number?"
-#~ msgstr "¿Número da partición orixe?"
+#~ msgid "where necessary, prompts for user intervention"
+#~ msgstr "onde sexa necesario, pedi-la intervención do usuario"
 
-#, fuzzy
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "Non se poden copiar particións estendidas."
+#~ msgid "START and END are in megabytes\n"
+#~ msgstr "INICIO e FIN indícanse en megabytes\n"
+
+#~ msgid "Source partition number?"
+#~ msgstr "¿Número da partición orixe?"
 
 #~ msgid "Destination partition number?"
-#~ msgstr "¿Número da partición de destino?"
+#~ msgstr "¿Número da partición de destino?"
 
-#, fuzzy
 #~ msgid ""
-#~ "An extended partition cannot hold a file system.  Did you want mkpart?"
+#~ "You requested to create a partition at %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Solicitou crear unha partición en %.3f-%.3fMb. O máis semellante que pode "
+#~ "manexar Parted é %.3f-%.3fMb."
+
+#~ msgid "Extended partitions can't have file systems.  Did you want mkpart?"
 #~ msgstr ""
-#~ "As particións estendidass non poden ter sistemas de ficheiros. ¿Quería "
+#~ "As particións estendidass non poden ter sistemas de ficheiros. ¿Quería "
 #~ "executar mkpart?"
 
-#, fuzzy
-#~ msgid "Can't move an extended partition."
-#~ msgstr "Non se poden move-las particións extendidas."
+#~ msgid "Can't move extended partitions."
+#~ msgstr "Non se poden move-las particións extendidas."
 
 #~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
 #~ msgstr ""
-#~ "Non se pode mover unha partición a si mesma. ¿Non quererá usar resize?"
+#~ "Non se pode mover unha partición a si mesma. ¿Non quererá usar resize?"
+
+#~ msgid ""
+#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Solicitou move-la partición a %.3f-%.3fMb. O máis semellante que pode "
+#~ "manexar Parted é %.3f-%.3fMb."
 
 #~ msgid "Minor: %d\n"
 #~ msgstr "Menor: %d\n"
 
-#, fuzzy
-#~ msgid "Flags: %s\n"
+#~ msgid "Flags: "
 #~ msgstr "Modificadores: "
 
 #~ msgid "File System: %s\n"
 #~ msgstr "Sistema de Ficheiros: %s\n"
 
-#, fuzzy
-#~ msgid "Size:         "
-#~ msgstr "Tamaño:       %10.3fMb (%d%%)\n"
+#~ msgid "Size:         %10.3fMb (%d%%)\n"
+#~ msgstr "Tamaño:       %10.3fMb (%d%%)\n"
 
-#, fuzzy
-#~ msgid "Minimum size: "
-#~ msgstr "Tam. mínimo:  %10.3fMb (%d%%)\n"
+#~ msgid "Minimum size: %10.3fMb (%d%%)\n"
+#~ msgstr "Tam. mínimo:  %10.3fMb (%d%%)\n"
 
-#, fuzzy
-#~ msgid "Maximum size: "
-#~ msgstr "Tam. Máximo:  %10.3fMb (%d%%)\n"
+#~ msgid "Maximum size: %10.3fMb (%d%%)\n"
+#~ msgstr "Tam. Máximo:  %10.3fMb (%d%%)\n"
 
-#~ msgid "check"
-#~ msgstr "check"
+#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
+#~ msgstr "Xeometría de disco de %s: 0.000-%.3f megabytes\n"
+
+#~ msgid "Minor    Start       End     "
+#~ msgstr "Menor    Inicio     Fin     "
+
+#~ msgid "Type      "
+#~ msgstr "Tipo      "
+
+#~ msgid "Filesystem  "
+#~ msgstr "Sistema de ficheiros  "
+
+#~ msgid "Name                  "
+#~ msgstr "Nome                  "
 
-#, fuzzy
 #~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
+#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
 #~ msgstr ""
-#~ "check MENOR              facer unha comprobación simple no sistema de "
+#~ "Solicitou cambia-lo tamaño da partición a %.3f-%.3fMb. O máis semellante "
+#~ "que pode manexar Parted é %.3f-%.3fMb."
+
+#~ msgid "check MINOR                   do a simple check on the filesystem"
+#~ msgstr ""
+#~ "check MENOR              facer unha comprobación simple no sistema de "
 #~ "ficheiros"
 
 #~ msgid "cp"
 #~ msgstr "cp"
 
-#, fuzzy
 #~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copy filesystem to another "
 #~ "partition"
 #~ msgstr ""
 #~ "cp [DE-DISPOSITIVO] DE-MENOR A-MENOR  copiar sistema de fich. noutra "
-#~ "partición"
+#~ "partición"
 
 #~ msgid "mkfs"
 #~ msgstr "mkfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
+#~ "mkfs MINOR FS-TYPE            make a filesystem FS-TYPE on partititon "
+#~ "MINOR"
 #~ msgstr ""
-#~ "mkfs MENOR TIPO-SF     crear un sistema de ficheiros TIPO-SF na partición "
+#~ "mkfs MENOR TIPO-SF     crear un sistema de ficheiros TIPO-SF na partición "
 #~ "MENOR"
 
 #~ msgid "mkpartfs"
 #~ msgstr "mkpartfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
+#~ "mkpartfs PART-TYPE FS-TYPE START END      make a partition with a "
+#~ "filesystem"
 #~ msgstr ""
 #~ "mkpartfs TIPO-PARTICION TIPO-SF INICIO FIN\n"
-#~ "                                  crear unha partición cun sistema de "
+#~ "                                  crear unha partición cun sistema de "
 #~ "ficheiros"
 
 #~ msgid "move"
 #~ msgstr "move"
 
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move MENOR INICIO FIN         move-la partición MENOR"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "rescue INICIO FIN           recupera unha partición perdida entre INICIO "
-#~ "e FIN"
-
-#, fuzzy
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Non se puido determina-lo tamaño de %s (%s)"
-
-#, fuzzy
-#~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr ""
-#~ "O kernel non puido volver le-la táboa de particións de %s (%s). Isto "
-#~ "quere dicir que Linux non sabe nada das modificacións que Vd. fixo, ata "
-#~ "que reinicie. Debería reinicia-lo seu ordenador antes de facer nada con "
-#~ "%s."
-
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than %d bytes"
-#~ msgstr ""
-#~ "O tamaño dos sectores de %s é de %d bytes. Sábese que parted non traballa "
-#~ "correctamente con unidades que teñan un tamaño de sector distinto de %d "
-#~ "bytes"
-
-#~ msgid "Device %s has dodgey geometry."
-#~ msgstr "O dispositivo %s ten unha xeometría moi estraña."
-
-#~ msgid "IDE"
-#~ msgstr "IDE"
-
-#~ msgid "SCSI"
-#~ msgstr "SCSI"
-
-#~ msgid "Device %s is neither a SCSI nor IDE drive."
-#~ msgstr "O dispositivo %s non é unha unidade SCSI nin IDE."
-
-#~ msgid "Error reading %s (%s) to determine if partition is mounted."
-#~ msgstr "Erro ao ler %s (%s) para determinar se a partición está montada."
-
-#~ msgid ""
-#~ "Unable to determine if partitions are mounted via /proc/mounts or /etc/"
-#~ "mtab.  Make sure you don't attempt to resize or modify mounted file "
-#~ "systems.  (Even read-only mounted)"
-#~ msgstr ""
-#~ "Non se puido determinar se as particións están montadas mediante /proc/"
-#~ "mounts ou /etc/mtab. Asegúrese de que non tenta cambia-lo tamaño ou "
-#~ "modificar sistemas de ficheiros montados (incluso se están montados en só-"
-#~ "lectura)."
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  However, the most likely reason is that Linux "
-#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
-#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
-#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
-#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
-#~ "GRUB documentation for more information.  If you think Parted's suggested "
-#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
-#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
-#~ msgstr ""
-#~ "A táboa de particións de %s non é consistente. Hai moitos motivos polos "
-#~ "que isto puido pasar. Nembargantes, o motivo máis probable é que Linux "
-#~ "detectara a xeometría da BIOS de %s incorrectamente. GNU Parted sospeita "
-#~ "que a verdadeira xeometría debería ser %d/%d/%d (e non %d/%d/%d). Debería "
-#~ "comprobar isto coa BIOS primeiro, porque todo isto podería non ser "
-#~ "correcto. Pode informar a Linux engadindo o parámetro %s=%d,%d,%d na liña "
-#~ "de comando. Vexa a documentación de LILO ou GRUB para obter máis "
-#~ "información. Se cre que a xeometría suxerida por Parted é correcta, pode "
-#~ "escoller \"Ignorar\" para continuar (e arranxar Linux despois). Noutro "
-#~ "caso, escolla \"Cancelar\" (e arranxe Linux e/ou a BIOS agora)."
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  Often, the reason is that Linux detected the "
-#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
-#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
-#~ "with some boot loaders, and may cause problems with FAT file systems.  "
-#~ "Using LBA is recommended."
-#~ msgstr ""
-#~ "A táboa de particións de %s non é consistente. Hai moitos motivos polos "
-#~ "que isto puido pasar. Moitas veces, o motivo é que Linux detectou a "
-#~ "xeometría da BIOS incorrectamente. Nembargantes, este non parece se-lo "
-#~ "caso agora. Pódese ignorar isto de xeito seguro pero facelo pode causar "
-#~ "problemas (que se poden arranxar) con algúns cargadores de inicio, e "
-#~ "tamén pode causar problemas con sistemas de ficheiros FAT. Recoméndase o "
-#~ "emprego de LBA."
-
-#~ msgid ""
-#~ "Unable to align partition properly.  This probably means that another "
-#~ "partitioning tool generated an incorrect partition table, because it "
-#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
-#~ "may cause (fixable) problems with some boot loaders."
-#~ msgstr ""
-#~ "Non se puido aliña-la partición correctamente. Isto, seguramente, "
-#~ "signifique que outra ferramenta de particionamento xerou unha táboa de "
-#~ "particións incorrecta, porque non tiña a xeometría da BIOS correcta. "
-#~ "Pódese ignorar de xeito seguro, pero facelo pode provocar problemas (que "
-#~ "se poden arranxar) con algúns cargadores de inicio."
-
-#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
-#~ msgstr "Tentáronse le-los sectores %ld-%ld fóra da partición en %s"
-
-#~ msgid ""
-#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
-#~ "this (yet)."
-#~ msgstr ""
-#~ "¡Este sistema de ficheiros ten unha organización moi estraña! Parted non "
-#~ "lle pode cambia-lo tamaño a isto (aínda)."
-
-#~ msgid "Filesystem has incompatible feature enabled"
-#~ msgstr ""
-#~ "O sistema de ficheiros ten unha característica incompatible activada."
-
-#~ msgid "File system has an invalid signature for a FAT file systems."
-#~ msgstr ""
-#~ "O sistema de ficheiros ten unha sinatura incorrecta para un sistema de "
-#~ "ficheiros FAT."
-
-#~ msgid "where necessary, prompts for user intervention"
-#~ msgstr "onde sexa necesario, pedi-la intervención do usuario"
-
-#~ msgid "START and END are in megabytes\n"
-#~ msgstr "INICIO e FIN indícanse en megabytes\n"
-
-#~ msgid "Partition %s is being used."
-#~ msgstr "Estase a usa-la partición %s."
-
-#~ msgid ""
-#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr ""
-#~ "Solicitou move-la partición a %.3f-%.3fMb. O máis semellante que pode "
-#~ "manexar Parted é %.3f-%.3fMb."
-
-#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
-#~ msgstr "Xeometría de disco de %s: 0.000-%.3f megabytes\n"
-
-#~ msgid "Disk label type: %s\n"
-#~ msgstr "Tipo de etiqueta de disco: %s\n"
-
-#~ msgid "Minor    Start       End     "
-#~ msgstr "Menor    Inicio     Fin     "
-
-#~ msgid "Type      "
-#~ msgstr "Tipo      "
-
-#~ msgid "Filesystem  "
-#~ msgstr "Sistema de ficheiros  "
-
-#~ msgid "Name                  "
-#~ msgstr "Nome                  "
-
-#~ msgid ""
-#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr ""
-#~ "Solicitou cambia-lo tamaño da partición a %.3f-%.3fMb. O máis semellante "
-#~ "que pode manexar Parted é %.3f-%.3fMb."
+#~ msgid "move MINOR START END          move partition MINOR"
+#~ msgstr "move MENOR INICIO FIN         move-la partición MENOR"
 
 #~ msgid ""
 #~ "print [MINOR]                 display the partition table, or a partition"
 #~ msgstr ""
-#~ "print [MENOR]                 amosa-la táboa de particións ou unha "
-#~ "partición"
+#~ "print [MENOR]                 amosa-la táboa de particións ou unha "
+#~ "partición"
 
 #~ msgid "resize MINOR START END        resize filesystem on partition MINOR"
 #~ msgstr ""
-#~ "resize MENOR INICIO FIN  cambia o tamaño do sistema de ficheiros da part. "
+#~ "resize MENOR INICIO FIN  cambia o tamaño do sistema de ficheiros da part. "
 #~ "MENOR"
 
 #~ msgid ""
 #~ "You found a bug in GNU Parted.  Please email a bug report to bug-"
 #~ "parted@gnu.org containing the version (%s), and the following message:\n"
 #~ msgstr ""
-#~ "Atopou un erro en GNU parted. Por favor, envíe un informe de erro a bug-"
-#~ "parted@gnu.org que conteña a versión (%s) e a seguinte mensaxe:\n"
+#~ "Atopou un erro en GNU parted. Por favor, envíe un informe de erro a bug-"
+#~ "parted@gnu.org que conteña a versión (%s) e a seguinte mensaxe:\n"
 
 #~ msgid ""
 #~ "  You have Windows FAT partition(s) that are not using LBA.  If your BIOS "
@@ -3508,21 +3408,21 @@ msgstr ""
 #~ "all FAT partitions.  Otherwise, make sure the operating system and the "
 #~ "BIOS have the same geometry before resizing any FAT partitions."
 #~ msgstr ""
-#~ " Ten particións FAT de Windows que non empregan LBA. Se a BIOS soporta "
-#~ "LBA debería cambiar a LBA estabrecendo o modificador LBA en tódalas "
-#~ "particións FAT. Noutro caso, asegúrese de que o sistema operativo e a "
-#~ "BIOS teñen a mesma xeometría antes de cambia-lo tamaño de ningunha "
-#~ "partición FAT."
+#~ " Ten particións FAT de Windows que non empregan LBA. Se a BIOS soporta "
+#~ "LBA debería cambiar a LBA estabrecendo o modificador LBA en tódalas "
+#~ "particións FAT. Noutro caso, asegúrese de que o sistema operativo e a "
+#~ "BIOS teñen a mesma xeometría antes de cambia-lo tamaño de ningunha "
+#~ "partición FAT."
 
 #~ msgid ""
 #~ "The operating system thinks the geometry on %s is %d/%d/%d.  Therefore, "
 #~ "cylinder 1024 ends at %.3fM.%s"
 #~ msgstr ""
-#~ "O sistema operativo cre que a xeometría de %s é %d/%d/%d. Polo tanto, o "
+#~ "O sistema operativo cre que a xeometría de %s é %d/%d/%d. Polo tanto, o "
 #~ "cilindro 1024 remata en %.3fM.%s"
 
 #~ msgid "The operating system thinks the geometry on %s is %d/%d/%d.%s"
-#~ msgstr "O sistema operativo cre que a xeometría de %s é %d/%d/%d.%s"
+#~ msgstr "O sistema operativo cre que a xeometría de %s é %d/%d/%d.%s"
 
 #~ msgid ""
 #~ "The FATs aren't big enough to describe all clusters!  Each FAT is %d "
@@ -3530,40 +3430,40 @@ msgstr ""
 #~ "sectors.  This is REALLY weird.  You might want to write us an email: bug-"
 #~ "parted@gnu.org"
 #~ msgstr ""
-#~ "¡As FATs non son grandes dabondo para describir tódolos clusters! Cada "
-#~ "FAT ten %d sectores. Hai %d clusters, que precisan que cada FAT teña %d "
-#~ "sectores. Isto SI que é estraño. Se cadra debería mandarnos unha mensaxe "
-#~ "electrónica: bug-parted@gnu.org"
+#~ "¡As FATs non son grandes dabondo para describir tódolos clusters! Cada "
+#~ "FAT ten %d sectores. Hai %d clusters, que precisan que cada FAT teña %d "
+#~ "sectores. Isto SI que é estraño. Se cadra debería mandarnos unha mensaxe "
+#~ "electrónica: bug-parted@gnu.org"
 
-# ¿Para que carallo pon este a abreviatura MB en minúsculas,
-# cando todo o mundo sabe que é en maiúsculas? - jt
+# ¿Para que carallo pon este a abreviatura MB en minúsculas,
+# cando todo o mundo sabe que é en maiúsculas? - jt
 #~ msgid ""
 #~ "This swap partition is not compatible with Linux version 2.1.117 or "
 #~ "earlier.  Use a smaller partition (maximum size 128mb) if you want to use "
 #~ "old versions of Linux."
 #~ msgstr ""
-#~ "Esta partición de intercambio non é compatible con Linux versión 2.1.117 "
-#~ "ou anterior. Empregue unha partición máis pequena (tamaño máximo 128MB) "
-#~ "se quere usar versións antigas de Linux."
+#~ "Esta partición de intercambio non é compatible con Linux versión 2.1.117 "
+#~ "ou anterior. Empregue unha partición máis pequena (tamaño máximo 128MB) "
+#~ "se quere usar versións antigas de Linux."
 
 #~ msgid "unknown"
-#~ msgstr "descoñecido"
+#~ msgstr "descoñecido"
 
 #~ msgid "Unknown SCSI"
-#~ msgstr "SCSI descoñecido"
+#~ msgstr "SCSI descoñecido"
 
 #~ msgid "GUID Partition Table Header Signature is wrong: "
-#~ msgstr "A Sinatura Cabeceira da Táboa de Particións GUID é incorrecta: "
+#~ msgstr "A Sinatura Cabeceira da Táboa de Particións GUID é incorrecta: "
 
 #~ msgid " should be "
-#~ msgstr " debía ser "
+#~ msgstr " debía ser "
 
 #~ msgid "GPT Header CRC check failed, %x should be %x."
-#~ msgstr "A comprobación CRC da Cabeceira GPT, %x debía ser %x."
+#~ msgstr "A comprobación CRC da Cabeceira GPT, %x debía ser %x."
 
 #~ msgid "GPT Partition Entry Array CRC check failed, %x should be %x."
 #~ msgstr ""
-#~ "A comprobación CRC do Array de Entradas da Partición GPT fallou, %x debía "
+#~ "A comprobación CRC do Array de Entradas da Partición GPT fallou, %x debía "
 #~ "ser %x."
 
 #~ msgid ""
@@ -3577,15 +3477,15 @@ msgstr ""
 #~ "No will assume that the MBR is correct, and erase the GPT information.\n"
 #~ "Ignore will assume that the MBR is correct, but not change the disk."
 #~ msgstr ""
-#~ "Este disco contén unha Táboa de Partición GUID Primaria e Alternativa, "
-#~ "pero o MBR Protector non é válido. Isto adoita significar que o disco "
-#~ "tiña particións GPT, pero despois empregouse unha ferramenta de "
-#~ "particionamento antiga para cambia-la táboa de particións armacenada no "
+#~ "Este disco contén unha Táboa de Partición GUID Primaria e Alternativa, "
+#~ "pero o MBR Protector non é válido. Isto adoita significar que o disco "
+#~ "tiña particións GPT, pero despois empregouse unha ferramenta de "
+#~ "particionamento antiga para cambia-la táboa de particións armacenada no "
 #~ "MBR.\n"
-#~ "¿Que datos son válidos, GPT ou MBR?\n"
-#~ "Si ha supor que a información GPT é correcta, e ha regrava-lo PMBR.\n"
-#~ "Non ha supor que o MBR é correcto, e ha borra-la información GPT.\n"
-#~ "Ignorar ha supor que o MBR é correcto, pero non ha cambia-lo disco."
+#~ "¿Que datos son válidos, GPT ou MBR?\n"
+#~ "Si ha supor que a información GPT é correcta, e ha regrava-lo PMBR.\n"
+#~ "Non ha supor que o MBR é correcto, e ha borra-la información GPT.\n"
+#~ "Ignorar ha supor que o MBR é correcto, pero non ha cambia-lo disco."
 
 #~ msgid ""
 #~ "This disk contains a valid Alternate GUID Partition Table but the Primary "
@@ -3598,16 +3498,16 @@ msgstr ""
 #~ "No will assume that the MBR is correct, and erase the GPT information.\n"
 #~ "Ignore will assume that the MBR is correct, but not change the disk."
 #~ msgstr ""
-#~ "Este disco contén unha Taboa de Particións GUID Alternativa válida, pero "
-#~ "a GPT Primaria e o MBR Protector non son válidos. Isto adoita significar "
-#~ "que o disco tivo particións GPT pero despois empregouse unha ferramenta "
-#~ "de particionamento antiga para cambia-la táboa de particións armacenada "
+#~ "Este disco contén unha Taboa de Particións GUID Alternativa válida, pero "
+#~ "a GPT Primaria e o MBR Protector non son válidos. Isto adoita significar "
+#~ "que o disco tivo particións GPT pero despois empregouse unha ferramenta "
+#~ "de particionamento antiga para cambia-la táboa de particións armacenada "
 #~ "no MBR.\n"
-#~ "¿Que datos son válidos, GPT ou MBR?\n"
-#~ "Si ha supor que a información GPT é correcta, e ha regrava-lo PMBR e a "
+#~ "¿Que datos son válidos, GPT ou MBR?\n"
+#~ "Si ha supor que a información GPT é correcta, e ha regrava-lo PMBR e a "
 #~ "GPT Primaria.\n"
-#~ "Non ha supor que o MBR é correcto, e ha borra-la información GPT.\n"
-#~ "Ignorar ha supor que o MBR é correcto, pero non ha cambia-lo disco."
+#~ "Non ha supor que o MBR é correcto, e ha borra-la información GPT.\n"
+#~ "Ignorar ha supor que o MBR é correcto, pero non ha cambia-lo disco."
 
 #~ msgid ""
 #~ "This disk contains a valid Primary GUID Partition Table but the Alternate "
@@ -3620,55 +3520,55 @@ msgstr ""
 #~ "No will assume that the MBR is correct, and erase the GPT information.\n"
 #~ "Ignore will assume that the MBR is correct, but not change the disk.\n"
 #~ msgstr ""
-#~ "Este disco contén unha Taboa de Particións GUID Primaria válida, pero a "
-#~ "GPT Alternativa e o MBR Protector non son válidos. Isto adoita significar "
-#~ "que o disco tivo particións GPT pero despois empregouse unha ferramenta "
-#~ "de particionamento antiga para cambia-la táboa de particións armacenada "
+#~ "Este disco contén unha Taboa de Particións GUID Primaria válida, pero a "
+#~ "GPT Alternativa e o MBR Protector non son válidos. Isto adoita significar "
+#~ "que o disco tivo particións GPT pero despois empregouse unha ferramenta "
+#~ "de particionamento antiga para cambia-la táboa de particións armacenada "
 #~ "no MBR.\n"
-#~ "¿Que datos son válidos, GPT ou MBR?\n"
-#~ "Si ha supor que a información GPT é correcta, e ha regrava-lo PMBR e a "
+#~ "¿Que datos son válidos, GPT ou MBR?\n"
+#~ "Si ha supor que a información GPT é correcta, e ha regrava-lo PMBR e a "
 #~ "GPT Alternativa.\n"
-#~ "Non ha supor que o MBR é correcto, e ha borra-la información GPT.\n"
-#~ "Ignorar ha supor que o MBR é correcto, pero non ha cambia-lo disco.\n"
+#~ "Non ha supor que o MBR é correcto, e ha borra-la información GPT.\n"
+#~ "Ignorar ha supor que o MBR é correcto, pero non ha cambia-lo disco.\n"
 
 #~ msgid "The new partition overlaps with another partition."
-#~ msgstr "A nova partición superponse con outra partición."
+#~ msgstr "A nova partición superponse con outra partición."
 
 #~ msgid "Can't set non-Linux partitions as a root device."
-#~ msgstr "Non se poden estabrecer particións non Linux coma dispositivo raiz."
+#~ msgstr "Non se poden estabrecer particións non Linux coma dispositivo raiz."
 
 #~ msgid "Can't set non-Linux partitions as a swap device."
 #~ msgstr ""
-#~ "Non se poden estabrecer particións non Linux coma dispositivo de "
+#~ "Non se poden estabrecer particións non Linux coma dispositivo de "
 #~ "intercambio."
 
 #~ msgid "No get_resize_constraint for %s!"
-#~ msgstr "¡%s non ten get_resize_constraint!"
+#~ msgstr "¡%s non ten get_resize_constraint!"
 
 #~ msgid "The %s file system code doesn't support %s disk labels."
 #~ msgstr ""
-#~ "O código do sistema de ficheiros %s non soporta etiquetas de disco %s."
+#~ "O código do sistema de ficheiros %s non soporta etiquetas de disco %s."
 
 #~ msgid "Creating new %s disklabels is not implemented yet."
 #~ msgstr ""
-#~ "A creación de novas etiquetas de disco %s non está implementado ainda."
+#~ "A creación de novas etiquetas de disco %s non está implementado ainda."
 
 #~ msgid "The code to write the partition table hasn't been written for %s yet"
 #~ msgstr ""
-#~ "Ainda non se escribíu o código de escritura de táboas de particións para "
+#~ "Ainda non se escribíu o código de escritura de táboas de particións para "
 #~ "%s"
 
 #~ msgid ""
 #~ "Can't resize an extended partition so as to exclude a logical partition."
 #~ msgstr ""
-#~ "Non se pode cambia-lo tamaño dunha partición estendida escluindo unha "
-#~ "partición lóxica."
+#~ "Non se pode cambia-lo tamaño dunha partición estendida escluindo unha "
+#~ "partición lóxica."
 
 #~ msgid "Can't grow a partition onto used space."
-#~ msgstr "Non se pode facer medra-la partición sobre espacio usado."
+#~ msgstr "Non se pode facer medra-la partición sobre espacio usado."
 
 #~ msgid "Insane!  %d clusters!"
-#~ msgstr "¡Isto é unha toleada! ¡%d clusters!"
+#~ msgstr "¡Isto Ã© unha toleada! Â¡%d clusters!"
 
 #~ msgid ""
 #~ "The filesystem is going to be too big for FAT16, so FAT32 will be used.  "
@@ -3677,14 +3577,14 @@ msgstr ""
 #~ "create a smaller partition.  If you only use Linux, BSD, MS Windows 98 "
 #~ "and/or MS Windows 95 B, then select OK."
 #~ msgstr ""
-#~ "O sistema de ficheiros vai ser grande de máis para FAT16, así que usarase "
-#~ "FAT32. Isto non é compatible con MS-DOS, versións antigas de MS-Windows "
+#~ "O sistema de ficheiros vai ser grande de máis para FAT16, así que usarase "
+#~ "FAT32. Isto non é compatible con MS-DOS, versións antigas de MS-Windows "
 #~ "95 e Windows NT. Se usa eses sistemas operativos, escolla `Cancelar', e "
-#~ "cree unha partición máis pequena. Se só usa Linux, BSD, MS Windows 98 e/"
-#~ "ou MS Windows 95 B, entón escolla `Aceptar'."
+#~ "cree unha partición máis pequena. Se só usa Linux, BSD, MS Windows 98 e/"
+#~ "ou MS Windows 95 B, entón escolla `Aceptar'."
 
 #~ msgid "Weird: fat_calc_sizes() failed for FAT32!"
-#~ msgstr "Estraño: ¡fallou a chamada a fat_calc_sizes() para FAT32!"
+#~ msgstr "Estraño: Â¡fallou a chamada a fat_calc_sizes() para FAT32!"
 
 #~ msgid ""
 #~ "Would you like to use FAT32 for this filesystem?  It is much more "
@@ -3692,89 +3592,89 @@ msgstr ""
 #~ "of Windows 95 and Windows NT.  Only select yes if you only use Linux, "
 #~ "BSD, MS Windows 98 and/or MS Windows 95 B."
 #~ msgstr ""
-#~ "¿Quere usar FAT32 neste sistema de ficheiros? É moito máis eficiente co "
-#~ "seu espacio en disco, pero non é compatible con versións antigas de "
-#~ "Windows 95 e Windows NT. Escolla `Si' só se só usa Linux, BSD, MS Windows "
+#~ "¿Quere usar FAT32 neste sistema de ficheiros? É moito máis eficiente co "
+#~ "seu espacio en disco, pero non é compatible con versións antigas de "
+#~ "Windows 95 e Windows NT. Escolla `Si' só se só usa Linux, BSD, MS Windows "
 #~ "98 e/ou MS Windows 95 B."
 
 #~ msgid ""
 #~ "File system doesn't have expected sizes for Windows to like it.  Number "
 #~ "of clusters is %d (%d expected); size of FATs is %d sectors (%d expected)."
 #~ msgstr ""
-#~ "O sistema de ficheiros non ten os tamaños esperados para que a Windows "
-#~ "lle goste. O número de clusters é %d (esperábanse %d); o tamaño das FATs "
-#~ "é de %d sectores (esperábanse %d)."
+#~ "O sistema de ficheiros non ten os tamaños esperados para que a Windows "
+#~ "lle goste. O número de clusters é %d (esperábanse %d); o tamaño das FATs "
+#~ "é de %d sectores (esperábanse %d)."
 
 #~ msgid ""
 #~ "Partition size (%ld sectors) and filesystem size (%ld sectors) do not "
 #~ "match."
 #~ msgstr ""
-#~ "O tamaño da partición (%ld sectores) e o do sistema de ficheiros (%ld "
+#~ "O tamaño da partición (%ld sectores) e o do sistema de ficheiros (%ld "
 #~ "sectores) non coinciden."
 
 #~ msgid "Linux-swap partitions can not be hidden on msdos disk labels."
 #~ msgstr ""
-#~ "As particións de intercambio de Linux non poden estar ocultas nas "
+#~ "As particións de intercambio de Linux non poden estar ocultas nas "
 #~ "etiquetas de disco msdos."
 
 #~ msgid "Linux-swap partitions can not be bootable on pc98 disk labels."
 #~ msgstr ""
-#~ "As particións de intercambio de Linux non poden ser de inicio nas "
+#~ "As particións de intercambio de Linux non poden ser de inicio nas "
 #~ "etiquetas de disco msdos."
 
 #~ msgid "HFS partitions can't be hidden on msdos disk labels."
 #~ msgstr ""
-#~ "As particións HFS non poden estar ocultas nas etiquetas de disco msdos."
+#~ "As particións HFS non poden estar ocultas nas etiquetas de disco msdos."
 
 #~ msgid "JFS partitions can't be hidden on msdos disk labels."
 #~ msgstr ""
-#~ "As particións JFS non poden estar ocultas nas etiquetas de disco msdos."
+#~ "As particións JFS non poden estar ocultas nas etiquetas de disco msdos."
 
 #~ msgid "Reiserfs partitions can't be hidden on msdos disk labels."
 #~ msgstr ""
-#~ "As particións Reiserfs non poden estar ocultas nas etiquetas de disco "
+#~ "As particións Reiserfs non poden estar ocultas nas etiquetas de disco "
 #~ "msdos."
 
 #~ msgid "Reiserfs partitions must be bootable on pc98 disk labels."
 #~ msgstr ""
-#~ "As particións Reiserfs deben ser de inicio nas etiquetas de disco pc98."
+#~ "As particións Reiserfs deben ser de inicio nas etiquetas de disco pc98."
 
 #~ msgid "XFS partitions can't be hidden on msdos disk labels."
 #~ msgstr ""
-#~ "As particións XFS non poden estar ocultas nas etiquetas de disco msdos."
+#~ "As particións XFS non poden estar ocultas nas etiquetas de disco msdos."
 
 #~ msgid ""
 #~ "The operating system thinks the geometry on %s is %d/%d/%d.  You should "
 #~ "check that this matches the BIOS geometry before using this program."
 #~ msgstr ""
-#~ "O sistema operativo cre que a xeometría de %s é %d/%d/%d. Debería "
-#~ "comprobar que isto coincide coa xeometría da BIOS antes de usar este "
+#~ "O sistema operativo cre que a xeometría de %s é %d/%d/%d. Debería "
+#~ "comprobar que isto coincide coa xeometría da BIOS antes de usar este "
 #~ "programa."
 
 #~ msgid ""
 #~ "There is no boot code on this disk.  Would you like to use GNU parted's "
 #~ "boot loader?"
 #~ msgstr ""
-#~ "Non hai un programa de arrinque neste disco. ¿Quere usa-lo cargador de "
+#~ "Non hai un programa de arrinque neste disco. Â¿Quere usa-lo cargador de "
 #~ "GNU parted?"
 
 #~ msgid "No get_system() for %s!"
-#~ msgstr "¡Non hai unha chamada get_system() para %s!"
+#~ msgstr "¡Non hai unha chamada get_system() para %s!"
 
 #~ msgid "Can't create a partition with the start after the end."
-#~ msgstr "Non se pode crear unha partición co comezo despois da fin."
+#~ msgstr "Non se pode crear unha partición co comezo despois da fin."
 
 #~ msgid ""
 #~ "No filesystem found on partition.  Can't determine what partition system "
 #~ "to use."
 #~ msgstr ""
-#~ "Non se atopou un sistema de ficheiros na partición. Non se puido "
-#~ "determina-lo sistema de particións a usar."
+#~ "Non se atopou un sistema de ficheiros na partición. Non se puido "
+#~ "determina-lo sistema de particións a usar."
 
 #~ msgid "FAT filesystems don't have an id for non-msdos partition tables"
 #~ msgstr ""
-#~ "Os sistemas de ficheiros FAT non teñen un identificador para táboas de "
-#~ "particións que non son de msdos."
+#~ "Os sistemas de ficheiros FAT non teñen un identificador para táboas de "
+#~ "particións que non son de msdos."
 
 #~ msgid ""
 #~ "Would you like to use FAT32?  It is more efficient, but it is not "
@@ -3782,10 +3682,10 @@ msgstr ""
 #~ "If you use these operating systems, then select No.  If you only use "
 #~ "Linux, BSD, MS Windows 98 and/or MS Windows 95 B, then you may select Yes."
 #~ msgstr ""
-#~ "¿Quere usar FAT32? É Moi eficiente, pero non é compatible con MS-DOS, "
-#~ "versións antigas de MS-Windows 95 e Windows NT. Se usa eses sistemas "
-#~ "operativos, escolla `Non'. Se só usa Linux, BSD, MS Windows 98 e/ou MS "
-#~ "Windows 95 B, entón pode escoller `Si'."
+#~ "¿Quere usar FAT32? É Moi eficiente, pero non é compatible con MS-DOS, "
+#~ "versións antigas de MS-Windows 95 e Windows NT. Se usa eses sistemas "
+#~ "operativos, escolla `Non'. Se só usa Linux, BSD, MS Windows 98 e/ou MS "
+#~ "Windows 95 B, entón pode escoller `Si'."
 
 #~ msgid ""
 #~ "The filesystem is going to be too big for FAT16, so FAT32 must be used.  "
@@ -3794,17 +3694,17 @@ msgstr ""
 #~ "create a smaller partition.  If you only use Linux, BSD, MS Windows 98 "
 #~ "and/or MS Windows 95 B, then select OK."
 #~ msgstr ""
-#~ "O sistema de ficheiros vai ser grande de máis para FAT16, así que se ha "
-#~ "usar FAT32. Isto non é compatible con MS-DOS, versións antigas de MS-"
+#~ "O sistema de ficheiros vai ser grande de máis para FAT16, así que se ha "
+#~ "usar FAT32. Isto non é compatible con MS-DOS, versións antigas de MS-"
 #~ "Windows 95 e Windows NT. Se usa eses sistemas operativos, escolla "
-#~ "`Cancelar', e cree unha partición máis pequena. Se só usa Linux, BSD, MS "
-#~ "Windows 98 e/ou MS Windows 95 B, entón escolla `Aceptar'."
+#~ "`Cancelar', e cree unha partición máis pequena. Se só usa Linux, BSD, MS "
+#~ "Windows 98 e/ou MS Windows 95 B, entón escolla `Aceptar'."
 
 #~ msgid "hide"
 #~ msgstr "hide"
 
 #~ msgid "Disk geometry: 1-%d, %dk cylinders\n"
-#~ msgstr "Xeometría de disco: 1-%d, %dk cilindros\n"
+#~ msgstr "Xeometría de disco: 1-%d, %dk cilindros\n"
 
 #~ msgid "Minor    Start    End      Type            Filesystem     Flags\n"
 #~ msgstr ""
@@ -3814,13 +3714,13 @@ msgstr ""
 #~ msgstr "unhide"
 
 #~ msgid "hide MINOR                    hides partition MINOR"
-#~ msgstr "hide MENOR               agocha-la partición MENOR"
+#~ msgstr "hide MENOR               agocha-la partición MENOR"
 
 #~ msgid "Partition length of %dk is too small."
-#~ msgstr "A lonxitude da partición de %dk é moi pequena."
+#~ msgstr "A lonxitude da partición de %dk é moi pequena."
 
 #~ msgid "There are no possible configurations for this cluster size."
-#~ msgstr "Non hai configuracións posibles para este tamaño de cluster."
+#~ msgstr "Non hai configuracións posibles para este tamaño de cluster."
 
 #~ msgid ""
 #~ "To resize this filesystem to this size, the cluster size must be changed "
@@ -3829,11 +3729,11 @@ msgstr ""
 #~ "the same cluster size - if you keep experimenting with different "
 #~ "partition sizes, you might be lucky!!!"
 #~ msgstr ""
-#~ "Para cambiar este sistema de ficheiros a este tamaño, o tamaño do cluster "
-#~ "debe ser cambiado de %d bytes a %d bytes. Esta funcionalidade non está "
-#~ "implementada ainda. Teña en conta que hai moitos tamaños diferentes que "
-#~ "se poden conseguir co mesmo tamaño de cluster - ¡se segue a experimentar "
-#~ "con diferentes tamaños de partición, podería ter sorte!"
+#~ "Para cambiar este sistema de ficheiros a este tamaño, o tamaño do cluster "
+#~ "debe ser cambiado de %d bytes a %d bytes. Esta funcionalidade non está "
+#~ "implementada ainda. Teña en conta que hai moitos tamaños diferentes que "
+#~ "se poden conseguir co mesmo tamaño de cluster - Â¡se segue a experimentar "
+#~ "con diferentes tamaños de partición, podería ter sorte!"
 
 #~ msgid ""
 #~ "The filesystem is going to be too big for FAT16, (with a cluster size of "
@@ -3843,11 +3743,11 @@ msgstr ""
 #~ "If you only use Linux, BSD, MS Windows 98 and/or MS Windows 95 B, then "
 #~ "select OK."
 #~ msgstr ""
-#~ "O sistema de ficheiros ha ser grande de máis para FAT16 (cun tamaño de "
-#~ "cluster de %d, de tódolos xeitos), así que se ha usar FAT32. Isto non é "
-#~ "compatible con MS-DOS, versións antigas de MS-Windows 95 e Windows NT. Se "
-#~ "usa estes sistemas operativos, escolla `Cancelar' e cree unha partición "
-#~ "máis pequena. Se só usa Linux, BSD, MS Windows 98 e/ou MS Windows 95 B, "
+#~ "O sistema de ficheiros ha ser grande de máis para FAT16 (cun tamaño de "
+#~ "cluster de %d, de tódolos xeitos), así que se ha usar FAT32. Isto non é "
+#~ "compatible con MS-DOS, versións antigas de MS-Windows 95 e Windows NT. Se "
+#~ "usa estes sistemas operativos, escolla `Cancelar' e cree unha partición "
+#~ "máis pequena. Se só usa Linux, BSD, MS Windows 98 e/ou MS Windows 95 B, "
 #~ "escolla `Aceptar'."
 
 #~ msgid "the root directory"
@@ -3855,8 +3755,8 @@ msgstr ""
 
 #~ msgid "fat_read_clusters: clusters %ld-%ld outside filesystem"
 #~ msgstr ""
-#~ "fat_read_clusters: os clusters %ld-%ld están fóra do sistema de ficheiros"
+#~ "fat_read_clusters: os clusters %ld-%ld están fóra do sistema de ficheiros"
 
 #~ msgid "fat_write_clusters: clusters %ld-%ld outside filesystem"
 #~ msgstr ""
-#~ "fat_write_clusters: os clusters %ld-%ld están fóra do sistema de ficheiros"
+#~ "fat_write_clusters: os clusters %ld-%ld están fóra do sistema de ficheiros"
index cae62cb44b55e650a7bea05559729e820c0c64b6..26fbe6f410f93920d26938dfba9874da1e0c29ed 100644 (file)
Binary files a/po/id.gmo and b/po/id.gmo differ
index 34d0e99337d2983bdea355b6c15e35aab1dd3423..d8b49d523ec3731d9291acbd376d2d152723711d 100644 (file)
--- a/po/id.po
+++ b/po/id.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GNU parted 2.1\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2010-01-27 07:30+0700\n"
 "Last-Translator: Arif E. Nugroho <arif_endro@yahoo.com>\n"
 "Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
@@ -32,7 +32,7 @@ msgstr "argumen %s ambigu untuk %s"
 msgid "Valid arguments are:"
 msgstr "Argumen yang sah adalah:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "gagal menulis"
 
@@ -116,83 +116,83 @@ msgstr "%s: pilihan `%s' membutuhkan sebuah argument\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "U+2018"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "U+2019"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Sukses"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Tidak cocok"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Ekspresi regular tidak valid"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Character collation tidak valid"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Character class name tidak valid"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Ada sisa backslash"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Back reference tidak valid"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Tidak cocok [ atau [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Tidak cocok ( atau \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Tidak cocok \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Isi tidak valid untuk \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Batas ujung tidak valid"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Kehabisan memory"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Ekspresi regular pendahulu tidak valid"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Regular ekspresi berakhir secara premature (tidak normal)"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Ekspresi regular terlalu besar"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Tidak cocok ) atau \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Tidak ada ekpresi regular sebelumnya"
 
@@ -202,7 +202,7 @@ msgstr "Tidak ada ekpresi regular sebelumnya"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[yY]"
 
@@ -212,7 +212,7 @@ msgstr "^[yY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -416,60 +416,60 @@ msgid "Disk Image"
 msgstr "Salinan dari disk"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Error membuka %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Tidak dapat membuka %s dengan mode read-write (%s). %s telah dibuka read-"
 "only."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s selama pencarian untuk dibaca pada %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s selama pembacaan pada %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Tidak dapat menulis pada %s, karena ini dibuka secara read-only."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s selama pencarian untuk menulis pada %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s selama penulisan pada %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Coba `%s --help' untuk informasi lebih lanjut.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Penggunaan: %s [OPSI] [PERANGKAT]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -485,7 +485,7 @@ msgstr ""
 "  -h, --help       tampilkan bantuan ini dan keluar\n"
 "  -v, --version    keluarkan informasi versi dan keluar\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -493,7 +493,7 @@ msgstr ""
 "\n"
 "Jika tak ada PERANGKAT yang diberikan, pindai seluruh partisi.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -540,7 +540,7 @@ msgstr ""
 "tidak tahu apa-apa tentang modifikasi yang anda buat. Anda seharusnya "
 "mereboot komputer anda sebelum melakukan apapun dengan %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -553,17 +553,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s mencoba untuk mensinkronisasi %s pada disk"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Tidak dapat memperoleh statistik perangkat %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Tidak dapat menentukan tipe dm dari %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -572,7 +572,7 @@ msgstr ""
 "Tidak dapat menentukan ukuran sektor untuk %s: %s.\n"
 "Menggunakan baku ukuran sektor (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, fuzzy, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -581,21 +581,21 @@ msgstr ""
 "Tidak dapat menentukan ukuran sektor untuk %s: %s.\n"
 "Menggunakan baku ukuran sektor (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Tidak dapat menentukan ukuran dari %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Tidak dapat memperoleh identitas dari perangkat %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "IDE umum"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -609,12 +609,12 @@ msgstr ""
 "label spesial / kombinasi file system, contoh GPT dan ext2/3.\n"
 "Tolong lihat web site untuk informasi terbaru."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Error menginisialisasi perangkat SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, fuzzy, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -624,7 +624,7 @@ msgstr ""
 "system dan tabel partisi didalamnya. Mungkin anda telah memilih perangkat "
 "yang salah?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -634,87 +634,87 @@ msgstr ""
 "tidak  menggunakan Parted kecuali anda BENAR - BENAR tahu apa yang anda "
 "lakukan!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Kartu Penyimpanan SD/MMC Generik"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID controller"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Perangkat Promise SX8 SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "IBM S390 DASD drive"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATARAID Controller"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O Controller"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "Mode-Pengguna Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "Perangkat asal?"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux device-mapper (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Divasi Blok Virtual Xen"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Tidak diketahui"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Divais Blok Virtio"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new() Tipe perangkat tidak disupport"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Error fsyncing/menutup %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, fuzzy, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "akhir dari berkas ketika membaca %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -727,17 +727,12 @@ msgstr ""
 "tidak me-mount-nya atau menggunakannya dalam segala cara sebelum mereboot "
 "komputer anda."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
-msgstr "Tidak dapat menentukan ukuran dari %s (%s)."
-
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "%s : Gagal untuk menbaca blok partisi %llu\n"
+msgstr "Tidak dapat menentukan tipe dm dari %s."
 
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -746,31 +741,18 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted tidak dapat membaca kembali tabel partisi pada %s (%s). Ini berarti "
-"Linux tidak akan tahu apapun tentang modifikasi yang telah anda buat."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr ""
 "Tidak dapat memiliki akhir sebelum start! (sektor start=%jd panjang=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Tidak dapat memiliki partisi diluar dari disk!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Mencoba untuk menulis sektor %ld-%ld diluar dari partisi pada %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "Mengecheck bad blocks"
 
@@ -784,12 +766,12 @@ msgstr "Backtrace memiliki %d panggilan di stack:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Assertion (%s) di %s:%d dalam fungsi %s() gagal."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: label cakram tidak dikenal"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -798,40 +780,40 @@ msgstr ""
 "libparted ini tidak memiliki write support untuk %s. Mungkin ini dikompilasi "
 "untuk mode read-only."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Partisi %d adalah %s, tetapi file system-nya adalah %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "penyesuaian_silinder"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "tanda disk tidak diketahui, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s disk label tidak mensupport partisi extended."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "%s disk labels tidak mensupport partisi logical atau extended."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Terlalu banyak primary partisi."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -839,109 +821,127 @@ msgstr ""
 "Tidak dapat menambahkan sebuah partisi logical pada %s, karena disana tidak "
 "ada partisi extended."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Tidak dapat memiliki lebih dari satu partisi extended pada %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Tidak dapat memiliki partisi logical diluar dari partisi extended."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "Tidak dapat memiliki partisi logical diluar partisi extended pada %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Tidak dapat memiliki partisi yang beroverlap."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Tidak dapat memiliki primary partisi didalam sebuah partisi extended."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Tidak dapat memiliki partisi diluar dari disk!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Tidak dapat memiliki partisi yang beroverlap."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadata"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "free"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "extended"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logical"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primary"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "tersembunyi"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Ya"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "flag partisi tidak diketahui, %d."
@@ -1044,10 +1044,10 @@ msgstr ""
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "Support untuk menset tanda di AIX disk label belum diimplementasikan."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Tidak dapat memenuhi semua constraints pada partisi."
@@ -1056,30 +1056,30 @@ msgstr "Tidak dapat memenuhi semua constraints pada partisi."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Tidak dapat mengalokasikan sebuah slot untuk bsd disklabel."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Tidak dapat mengalokasikan sebuah DASD slot disklabel."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Table partisi tidak valid pada %s -- signature salah %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Table partisi tidak valid - rekursif partisi pada %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Partisi extended tidak dapat disembunyikan pada msdos disk labels."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted tidak dapat men-resize partisi yang diatur oleh Windows Dynamic Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Tidak dapat membuat partisi lagi."
@@ -1118,118 +1118,107 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Terlalu banyak primary partisi"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "gagal membuka"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "gagal mencari"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "gagal menulis"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "gagal ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "versi API tidak cocok"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Tipe disk tidak disupport"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Format disk tidak disupport"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disk sedang digunakan"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Galat sintaks di berkas konfigurasi"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Volume label terkorupsi"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Sebuah nama data set terkorupsi"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Alokasi memori gagal"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Verifikasi perangkat telah gagal"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Perangkat yang dimaksud tidak memiliki perangkat DASD yang valid"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Error fatal"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Tak ada ruang untuk label volume."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Tak ada ruang untuk info partisi."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "VTOC tidak valid."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Tidak dapat menerima versi API."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 "Versi API saat ini '%d' tidak cocok dengan versi API penggerak dasd '%d'!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Tak dapat menerima informasi geometri cakram."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Tak dapat menerima infomrasi ukuran blok."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Tak dapat menerima informasi cakram."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s berisi GPT signatures, menunjukkan bahwa ini adalah tabel GPT. Akan "
-"tetapi, ini tidak memiliki valid fake msdos tabel partisi, seperti "
-"seharusnya. Mungkin ini sudah terkorupsi -- mungkin oleh program yang tidak "
-"mengerti tabel partisi GPT. Atau mungkin anda menghapus tabel GPT, dan "
-"sekarang menggunakan sebuah tabel partisi msdos. Apakah ini sebuah tabel "
-"partisi GPT?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Perangkat terlalu kecil untuk %lu blok."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1239,7 +1228,7 @@ msgstr ""
 "dari format yang Parted dapat mengenalnya. Tolong beritahu kami! bug-"
 "parted@gnu.org"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1250,10 +1239,10 @@ msgstr ""
 "dapat membetulkan GPT untuk menggunakan semuar ruang kosong yang tersedia "
 "(kosong %llu blocks) atau melanjutkan dengan konfigurasi saat ini?"
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Tabel GPT backup tidak ada pada akhir dari disk, seperti seharusnya ada "
@@ -1261,7 +1250,7 @@ msgstr ""
 "lebih kecil. Betulkan, dengan memindahkan tabel backup ke akhir dari disk "
 "(dan menghapus backup yang lama)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1270,7 +1259,7 @@ msgstr ""
 "sebuah tabel yang baru, dan gunakan Parted's rescue feature untuk merecover "
 "partisi."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1278,7 +1267,7 @@ msgstr ""
 "Tabel GPT cadangan telah terkorupsi, tetapi yang utama kelihatan BAIK, jadi "
 "ini yang akan digunakan"
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1286,10 +1275,15 @@ msgstr ""
 "Tabel GPT primer telah terkorupsi, tetapi backup-nya kelihatan BAIK, jadi "
 "ini yang akan digunakan"
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "kumpulan CRC tabel partisi utama tidak cocok"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Tidak dapat mengalokasikan sebuah nomor partisi."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1304,40 +1298,40 @@ msgstr "Map partisi tidak memiliki masukan untuk map partisi!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s terlalu kecil untuk sebuah disklabel Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Partisi %d memiliki signature yang tidak valid %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Partisi %d memiliki panjang 0 bytes yang tidak valid!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Daerah data tidak dimulai pada awal dari partisi."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Daerah boot tidak dimulai pada awal dari partisi."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Daerah boot partisi tidak menggunakan seluruh partisi."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Daerah data partisi tidak menggunakan seluruh partisi."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 "Ukuran block aneh pada deskripsi perangkat: %d bytes tidak terbagi oleh 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1346,11 +1340,11 @@ msgstr ""
 "driver descriptor mengatakan bahwa ukuran physical block adalah %d bytes, "
 "tetapi Linux mengatakan ukurannya %d bytes."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Tidak ditemukan map partisi yang valid."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1359,7 +1353,7 @@ msgstr ""
 "Konflik masukan ukuran peta partisi! Masukan 1 mengatakan %d, tetapi "
 "masukan  %d mengatakan %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Aneh!  Ada 2 masukan map partisi!"
 
@@ -1371,7 +1365,7 @@ msgstr ""
 "Mengubah nama dari root atau partisi swap akan membuat Linux tidak dapat "
 "mengenalinya."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Tidak dapat lagi menambah partisi -- peta partisi terlalu kecil!"
 
@@ -1515,56 +1509,61 @@ msgstr "gagal menulis ke perangkat"
 msgid "reading from device failed"
 msgstr "gagal membaca dari perangkat"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Tidak dapat membaca label volume."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Tidak dapat menulis label volume."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Tidak dapat membaca label VTOC"
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Tidak dapat membaca VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Tidak dapat membaca VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Tidak dapat membaca VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Tidak dapat membaca VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Tidak dapat menulis label VTOC."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Tidak dapat menulis VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Tidak dapat menulis VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Tidak dapat menulis VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Tidak dapat menulis VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Tidak dapat menulis VTOC FMT1 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Kehabisan memori"
 
@@ -1600,25 +1599,25 @@ msgstr "nomor tidak valid."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Gagal untuk mengalokasikan blok partisi\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Gagal untuk mengalokasikan blok\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Tidak dapat membaca boot blok %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Tidak dapat membaca root blok %llu\n"
@@ -1658,7 +1657,7 @@ msgstr "%s : Tidak dapa menemukan rdb blok, seharusnya tidak pernah terjadi\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Gagal untuk menbaca blok partisi %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1666,88 +1665,68 @@ msgstr ""
 "GNU Parted telah salah dikompile: FAT boot sektor seharusnya 512 bytes. FAT "
 "support akan di nonaktifkan."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr ""
 "File system memiliki sebuah signature yang tidak valid untuk sebuah FAT file "
 "system."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "File system memiliki ukuran sektor yang tidak valid untuk sebuah FAT file "
 "system."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "File system memiliki ukuran cluster yang tidak valid untuk file system FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "File system memiliki nomor yang tidak valid untuk reserverd sector dari "
 "sebuah FAT file system."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "File system memiliki nomor yang tidak valid untuk FATs."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"File system ini memiliki sektor logical yang berukuran %d. GNU Parted tidak "
-"bekerja dengan baik dengan ukuran sektor selain 512 bytes."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr "FAT boot sector mengatakan ukuran sektor logical adalah 0. Ini aneh"
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "FAT boot sector mengatakan disana tidak ada tabel FAT. Ini aneh."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "FAT boot sector mengatakan clusters adalah 0 sectors. Ini aneh."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "File system adalah FAT12, dimana file system ini tidak disupport."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Informasi sektor memiliki signature (%x) yang salah. Pilih cancel sekarang, "
-"dan kirim dalam laporan bug. Jika anda putus asa, mungkin lebih aman untuk "
-"menghiraukannya."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Tipe linux swap signature lama tidak diketahui '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Tipe linux swap signature baru tidak diketahui '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Tipe linux swap signature swsusp tidak diketahui '%9s'."
@@ -1761,7 +1740,16 @@ msgstr ""
 "Parted tidak dapat menggunakan file systems tipe HFS di dist dengan ukuran "
 "sektor tidak sama dengan %d bytes."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"File system ini memiliki sektor logical yang berukuran %d. GNU Parted tidak "
+"bekerja dengan baik dengan ukuran sektor selain 512 bytes."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1776,6 +1764,16 @@ msgstr ""
 "Betulkan, file system CHS geomtry akan diset sehingga cocok dengan tabel "
 "partisi dari CHS geometry."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Informasi sektor memiliki signature (%x) yang salah. Pilih cancel sekarang, "
+"dan kirim dalam laporan bug. Jika anda putus asa, mungkin lebih aman untuk "
+"menghiraukannya."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1839,12 +1837,12 @@ msgstr ""
 "File %s ditandai sebagai sistem file. Ini berarti memindahkannya dapat "
 "menyebabkan beberapa aplikasi untuk tidak dapat bekerja."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partisi terlalu besar/kecil untuk sebuah file system %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1852,11 +1850,11 @@ msgstr ""
 "FAT tidak cocok. Jika anda tidak tahu apa artinya ini, maka pilih cancel, "
 "jalankan scandisk pada file system, dan coba lagi."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Tidak ada konfigurasi yang mungkin untuk tipe FAT ini."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1867,7 +1865,7 @@ msgstr ""
 "Ukuran cluster adalah %dk (%dk diperkirakan); jumlah dari cluster adalah %d "
 "(%d diperkirakan); ukuran dari FATs adalah %d sektor (%d diperkirakan)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2306,27 +2304,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "TIPE-LABEL adalah salah satu dari: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "TANDA adalah salah satu dari: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "SATUAN adalah salah satu dari: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "penyesuaian yang diinginkan: minimal atau optimal"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "TIPE-PART adalah salah satu dari: primary, logical, extended\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "TIPE-FS adalah salah satu dari: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2336,19 +2334,29 @@ msgstr ""
 "dihitung dari akhir alamat disk. sebagai contoh, =-1s menyatakan lokasi "
 "sektor terakhir.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"AWAL dan AKHIR adalah lokasi dari disk, seperti 4GB atau 10%. Nilai negatif "
+"dihitung dari akhir alamat disk. sebagai contoh, =-1s menyatakan lokasi "
+"sektor terakhir.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "STATUS adalah salah satu dari: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "PERANGKAT biasanya menggunakan nama /dev/hda atau /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAMA adalah kata apapun yang anda inginkan\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2369,26 +2377,24 @@ msgstr ""
 "GNU General Public License untuk informasi yang lebih detail.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(waktu tersisa %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "Partisi %s sedang digunakan. Anda harus meng-umount terlebih dahulu sebelum "
 "memodifikasinya dengan menggunakan Parted."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Partisi pada %s sedang digunakan."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2397,31 +2403,31 @@ msgstr ""
 "Disk label yang ada di %s akan dihapus dan seluruh data di disk ini akan "
 "hilang. Apakah anda ingin melanjutkan?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Tipe disk label baru?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Tipe partisi?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Nama partisi?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Tipe file system?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Awal?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Akhir?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, fuzzy, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2430,7 +2436,7 @@ msgstr ""
 "Anda meminta sebuah partisi dari %s sampai %s.\n"
 "Lokasi terdekat yang dapat kami tangani adalah %s sampai %s.%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2438,83 +2444,83 @@ msgstr ""
 "\n"
 "Apakah ini masih dapat anda terima?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Nomor partisi?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "BIOS cylinder,head,sector geometry: %d,%d,%d. Setiap cylinder adalah %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Model: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Ukuran sektor (logical/physical): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Tabel Partisi: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Nomor"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Awal"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Akhir"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Ukuran"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Tipe"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "File system"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Nama"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Tanda"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Ruang Kosong"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2523,45 +2529,54 @@ msgstr ""
 "Sebuah %s %s partisi ditemukan pada %s -> %s. Anda ingin menambahkan ini "
 "pada tabel partisi?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "mencari untuk file systems"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Perangkat baru?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "tipe penyesuaian(min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Tanda yang akan dirubah?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Status baru?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Satuan?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "pemeriksaan-penyesuaian"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2569,11 +2584,11 @@ msgstr ""
 "pemeriksaan-penyesuaian TIPE N            periksa partisi N untuk "
 "penyesuaian TIPE(min|opt)"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "bantuan"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2581,15 +2596,15 @@ msgstr ""
 "bantuan [PERINTAH]                       menampilkan bantuan umum, atau "
 "bantuan pada PERINTAH"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2597,15 +2612,15 @@ msgstr ""
 "mklabel,mktable TIPE-LABEL               membuat sebuah disklabel baru "
 "(tabel partisi)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart TIPE-PART [TIPE-FS] AWAL AKHIR    membuat sebuah partisi"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2613,21 +2628,21 @@ msgstr ""
 "'mkpart' membuat sebuah partisi tanpa membuat sebuah file system baru pada "
 "partisi. TIPE-FS mungkin dispesifikasikan untuk mengeset ID partisi.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "nama"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "nama NOMOR NAMA                          memberi nama partisi NOMOR dengan "
 "NAMA"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "cetak"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2637,7 +2652,7 @@ msgstr ""
 "yang bisa dipakai, ruang kosong, seluruh partisi yang ditemukan, atau untuk "
 "partisi tertentu"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2645,11 +2660,11 @@ msgstr ""
 "Tanpa argumen, 'print' menampilkan seluruh tabel partisi. Akan tetapi dengan "
 "diikuti argument ini akan melakukan beberapa aksi yang berbeda.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : menampilkan seluruh perangkat blok yang aktif\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2657,14 +2672,14 @@ msgstr ""
 "  free      : menampilkan informasi tentang ruang partisi kosong di perngkat "
 "blok yang sedang dipakai\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : tampilkan tabel partisi dari seluruh perangkat blok yang "
 "aktif\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
@@ -2672,19 +2687,19 @@ msgstr ""
 "  NUMBER    : tampilkan informasi yang lebih detail tentang partisi yang "
 "terpilih\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "berhenti"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "berhenti                                 keluar dari program"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "selamatkan"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2692,40 +2707,58 @@ msgstr ""
 "selamatkan AWAL AKHIR                    menyelamatkan partisi yang hilang "
 "didekat alamat AWAL dan AKHIR"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "pindah NOMOR AWAL AKHIR                  memindahkan partisi NOMOR"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "hapus"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "hapus NOMOR                              hapus partisi NOMOR"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "pilih"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr ""
 "pilih PERANGKAT                          pilih perangkat yang akan di edit"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 #, fuzzy
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 "set NOMOR FLAG STATUS                    merubah tanda pada partisi NOMOR"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 #, fuzzy
 msgid "disk_toggle"
 msgstr "ubah"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 #, fuzzy
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
@@ -2734,21 +2767,21 @@ msgstr ""
 "ubah [NOMOR [TANDA]]                     ubah keadaan dari TANDA di partisi "
 "NOMOR"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "set NOMOR FLAG STATUS                    merubah tanda pada partisi NOMOR"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "ubah"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2756,20 +2789,20 @@ msgstr ""
 "ubah [NOMOR [TANDA]]                     ubah keadaan dari TANDA di partisi "
 "NOMOR"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "satuan"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "satuan SATUAN                            mengeset satuan baku pada SATUAN"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "versi"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2777,7 +2810,7 @@ msgstr ""
 "versi                                    menampilkan versi dari GNU Parted "
 "dan informasi hak cipta"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2785,23 +2818,23 @@ msgstr ""
 "'versi' menampilkan hak cipta dan informasi versi sesuai dengan kopi dari "
 "GNU Parted ini\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 "Penggunaan: %s [-hlmsv] [-a<penyesuaian>] [PERANGKAT [PERINTAH "
 "[PARAMETER]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Tidak ditemukan perangkat"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 #, fuzzy
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr "PERINGATAN: Anda bukan superuser. Perhatikan permisi anda."
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Anda mungkin perlu untuk memperbarui /etc/fstab.\n"
 
@@ -3063,65 +3096,65 @@ msgstr ""
 "\n"
 "Error: Sebuah sinyal SIGILL umum telah ditemukan."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "token tidak valid: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Memperkirakan sebuah nomor partisi."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Partisi tidak ada."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Memperkirakan sebuah tipe filesystem."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Tipe filesystem tidak diketahui \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Memperkirakan sebuah tipe disk label."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Tidak dapat membuat partisi lagi."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Memperkirakan sebuah tipe partisi."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "nyala"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "mati"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimal"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "PILIHAN:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "PERINTAH:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, fuzzy, c-format
 msgid ""
 "\n"
@@ -3130,15 +3163,18 @@ msgstr ""
 "\n"
 "Laporkan bugs ke: %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Menggunakan perangkat %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Perintah ini tidak mempunyai arti dalam mode non-interaktif.\n"
 
+#~ msgid "%s: illegal option -- %c\n"
+#~ msgstr "%s: pilihan -- %c tidak valid\n"
+
 #~ msgid ""
 #~ "Usage: %s [OPTION]\n"
 #~ "  or:  %s DEVICE MINOR\n"
@@ -3169,6 +3205,37 @@ msgstr "Perintah ini tidak mempunyai arti dalam mode non-interaktif.\n"
 #~ msgid "invalid minor device number: %s"
 #~ msgstr "nomor divais minor tidak sah: %s"
 
+#~ msgid ""
+#~ "Could not determine minimum io size for %s: %s.\n"
+#~ "Using the default size (%lld)."
+#~ msgstr ""
+#~ "Tidak dapat menentukan ukuran sektor minimum untuk %s: %s.\n"
+#~ "Menggunakan ukuran sektor baku (%lld)."
+
+#~ msgid ""
+#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
+#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
+#~ msgstr ""
+#~ "Perangkat %s memiliki ukuran logical sektor %lld. Tidak semua bagian dari "
+#~ "GNU Parted support akan hal ini pada saat ini, dan kode program yang "
+#~ "digunakan saat ini masih TAHAP PERCOBAAN.\n"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "parted tidak dapat membaca kembali tabel partisi pada %s (%s). Ini "
+#~ "berarti Linux tidak akan tahu apapun tentang modifikasi yang telah anda "
+#~ "buat."
+
+#~ msgid ""
+#~ "WARNING: the kernel failed to re-read the partition table on %s (%s).  As "
+#~ "a result, it may not reflect all of your changes until after reboot."
+#~ msgstr ""
+#~ "PERINGATAN: kernel gagal untuk membaca kembali tabel partisi di %s (%s). "
+#~ "Hasilnya, ini mungkin tidak merefleksikan semua perubahan yang anda "
+#~ "lakukan sampai anda melakukan reboot."
+
 #~ msgid "Support for opening %s file systems is not implemented yet."
 #~ msgstr "Support untuk membuka file systems %s belum diimplementasikan."
 
@@ -3244,9 +3311,6 @@ msgstr "Perintah ini tidak mempunyai arti dalam mode non-interaktif.\n"
 #~ msgid "Couldn't create reiserfs device abstraction handler."
 #~ msgstr "Tidak dapat membuat reiserfs device abstraction handler."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Perangkat terlalu kecil untuk %lu blok."
-
 #~ msgid "copying"
 #~ msgstr "menyalin"
 
@@ -3263,6 +3327,23 @@ msgstr "Perintah ini tidak mempunyai arti dalam mode non-interaktif.\n"
 #~ "GNU Parted telah mendeteksi ketidak cocokan versi libreiserfs interface. "
 #~ "Ditemukan %d-%d, dibutuhkan %d. ReiserFS support akan dinonaktifkan. "
 
+#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
+#~ msgstr "Ini bukan cakram ECKD! Tipe cakram ini tak didukung!"
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s berisi GPT signatures, menunjukkan bahwa ini adalah tabel GPT. Akan "
+#~ "tetapi, ini tidak memiliki valid fake msdos tabel partisi, seperti "
+#~ "seharusnya. Mungkin ini sudah terkorupsi -- mungkin oleh program yang "
+#~ "tidak mengerti tabel partisi GPT. Atau mungkin anda menghapus tabel GPT, "
+#~ "dan sekarang menggunakan sebuah tabel partisi msdos. Apakah ini sebuah "
+#~ "tabel partisi GPT?"
+
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "group descriptors tidak konsistent!"
 
@@ -3504,12 +3585,6 @@ msgstr "Perintah ini tidak mempunyai arti dalam mode non-interaktif.\n"
 #~ msgid "move"
 #~ msgstr "pindah"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "pindah NOMOR AWAL AKHIR                  memindahkan partisi NOMOR"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
@@ -3517,35 +3592,6 @@ msgstr "Perintah ini tidak mempunyai arti dalam mode non-interaktif.\n"
 #~ "resize NOMOR AWAL AKHIR                  merubah ukuran partisi NOMOR dan "
 #~ "isi filesystemnya"
 
-#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
-#~ msgstr "Ini bukan cakram ECKD! Tipe cakram ini tak didukung!"
-
-#~ msgid ""
-#~ "WARNING: the kernel failed to re-read the partition table on %s (%s).  As "
-#~ "a result, it may not reflect all of your changes until after reboot."
-#~ msgstr ""
-#~ "PERINGATAN: kernel gagal untuk membaca kembali tabel partisi di %s (%s). "
-#~ "Hasilnya, ini mungkin tidak merefleksikan semua perubahan yang anda "
-#~ "lakukan sampai anda melakukan reboot."
-
-#~ msgid ""
-#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
-#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
-#~ msgstr ""
-#~ "Perangkat %s memiliki ukuran logical sektor %lld. Tidak semua bagian dari "
-#~ "GNU Parted support akan hal ini pada saat ini, dan kode program yang "
-#~ "digunakan saat ini masih TAHAP PERCOBAAN.\n"
-
-#~ msgid ""
-#~ "Could not determine minimum io size for %s: %s.\n"
-#~ "Using the default size (%lld)."
-#~ msgstr ""
-#~ "Tidak dapat menentukan ukuran sektor minimum untuk %s: %s.\n"
-#~ "Menggunakan ukuran sektor baku (%lld)."
-
-#~ msgid "%s: illegal option -- %c\n"
-#~ msgstr "%s: pilihan -- %c tidak valid\n"
-
 #~ msgid ""
 #~ "The kernel was unable to re-read the partition table on %s (%s).  This "
 #~ "means Linux won't know anything about the modifications you made until "
index c35fba7525d17ece223e9861f61874869d33a831..5769eaae7e52fced73da16c9e9cfb72ee7067012 100644 (file)
Binary files a/po/it.gmo and b/po/it.gmo differ
index 791ae29b35e15bf347f56f13d2a38db7437424e6..d13ee1fc0a94f23031740f30e9270083d132262c 100644 (file)
--- a/po/it.po
+++ b/po/it.po
@@ -1,22 +1,23 @@
 # Italian translation for the parted package
-# Copyright (C) 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009, 2010, 2011, 2012, 2014 Free Software Foundation, Inc.
 # This file is distributed under the same license as the parted package.
 # Giuseppe Sacco <eppesuig@debian.org>, 2004-2006.
-# Milo Casagrande <milo@casagrande.name>, 2008, 2009, 2010, 2011, 2012.
+# Milo Casagrande <milo@casagrande.name>, 2008, 2009, 2010, 2011, 2012, 2014.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 3.0.136\n"
+"Project-Id-Version: parted 3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2012-02-19 19:18+0100\n"
-"Last-Translator: Milo Casagrande <milo@casagrande.name>\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-10 09:57+0100\n"
+"Last-Translator: Milo Casagrande <milo@milo.name>\n"
 "Language-Team: Italian <tp@lists.linux.it>\n"
 "Language: it\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8-bit\n"
+"Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n!=1);\n"
+"X-Generator: Poedit 1.6.6\n"
 
 #: lib/argmatch.c:133
 #, c-format
@@ -32,7 +33,7 @@ msgstr "argomento %s per %s ambiguo"
 msgid "Valid arguments are:"
 msgstr "Argomenti validi sono:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "errore di scrittura"
 
@@ -116,85 +117,85 @@ msgstr "%s: l'opzione \"-W %s\" richiede un argomento\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "\""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "\""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Successo"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Nessuna corrispondenza"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Espressione regolare non valida"
 
 # (ndt) http://en.wikipedia.org/wiki/Collation
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Carattere di collazione non valido"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Nome classe del carattere non valida"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Backslash finale"
 
 # (ndt) hmmm....
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Riferimento all'indietro non valido"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "[ o [^ senza corrispondenza"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "( o \\( senza corrispondenza"
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "\\{ senza corrispondenza"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Contenuto di \\{\\} non valido"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Limite massimo non valido"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Memoria esaurita"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Espressione regolare precedente non valida"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Fine prematura dell'espressione regolare"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Espressione regolare troppo grande"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ") o \\) senza corrispondenza"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Nessuna espressione regolare precedente"
 
@@ -204,7 +205,7 @@ msgstr "Nessuna espressione regolare precedente"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[sSyY]"
 
@@ -214,7 +215,7 @@ msgstr "^[sSyY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -416,60 +417,60 @@ msgid "Disk Image"
 msgstr "Immagine disco"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Errore nell'aprire %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Impossibile aprire %s in lettura-scrittura (%s). %s è stato aperto in sola "
 "lettura."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s durante il posizionamento per la lettura su %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s durante la lettura su %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Impossibile scrivere su %s poiché è stato aperto in sola lettura."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s durante il posizionamento per la scrittura su %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s durante la scrittura su %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Usare \"%s --help\" per ulteriori informazioni.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Uso: %s [OPZIONI] [DEVICE]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -486,7 +487,7 @@ msgstr ""
 "  -h, --help       Visualizza questo aiuto ed esce\n"
 "  -v, --version    Stampa la versione ed esce\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -494,7 +495,7 @@ msgstr ""
 "\n"
 "Quando non viene fornito alcun DEVICE, rileva tutte le partizioni.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -540,7 +541,7 @@ msgstr ""
 "significa che le modifiche effettuate non saranno note a Hurd. Riavviare il "
 "computer prima di fare qualsiasi cosa con %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -553,17 +554,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s nel tentativo di sincronizzare %s sul disco"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Impossibile fare stat del device %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Impossibile determinare il tipo dm di %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -572,7 +573,7 @@ msgstr ""
 "Impossibile determinare la dimensione del settore per %s: %s.\n"
 "Verrà utilizzata la dimensione predefinita (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -581,21 +582,21 @@ msgstr ""
 "Impossibile determinare la dimensione fisica del settore per %s.\n"
 "Verrà utilizzata la dimensione logica (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Impossibile determinare la dimensione di %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Impossibile identificare il device %s -%s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "IDE generico"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -608,12 +609,12 @@ msgstr ""
 "combinazioni di tipi di etichetta/file system, come GPT ed ext2/3.\n"
 "Per maggiori informazioni, consultare il sito web."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Errore nell'inizializzare il device SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -622,7 +623,7 @@ msgstr ""
 "Il device %s è così piccolo che probabilmente non può contenere un file "
 "system o una tabella delle partizioni. È stato selezionato il device errato?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -632,86 +633,86 @@ msgstr ""
 "programma è sconsigliato a meno che non si sappia VERAMENTE cosa si sta "
 "facendo."
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Scheda di archiviazione SD/MMC generica"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Controller RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Dispositivo Promise SX8 SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "Dispositivo ATA over Ethernet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "Drive IBM S390 DASD"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Controller ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Controller I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr "Device di loopback"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Device-mapper Linux (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Device a blocchi Xen Virtual"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Sconosciuto"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Device a blocchi Virtio"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Array RAID software Linux"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new() Tipo di device non supportato"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Errore nell'eseguire fsync o nel chiudere %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "%0.0s raggiunta la fine del file durante la lettura di %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -723,17 +724,12 @@ msgstr ""
 "successivo riavvio: è consigliato non eseguire il mount o usare il "
 "dispositivo prima del riavvio."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Impossibile determinare l'inizio e la lunghezza di %s."
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Aggiunta della partizione %d non riuscita (%s)"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -746,33 +742,20 @@ msgstr ""
 "restano in uso le vecchie partizioni. È consigliato riavviare ora prima di "
 "eseguire ulteriori modifiche."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Il programma non ha potuto rileggere la tabella delle partizioni su %s (%s). "
-"Questo significa che Linux non sarà al corrente dei cambiamenti fatti."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr ""
 "Impossibile avere la fine prima dell'inizio (settore iniziale=%jd lunghezza="
 "%jd)."
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Impossibile avere una partizione al di fuori del disco."
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 "Tentativo di scrivere i settori %ld-%ld al di fuori della partizione su %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "controllo dei blocchi danneggiati"
 
@@ -786,12 +769,12 @@ msgstr "Backtrace ha %d chiamate sullo stack:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Asserzione (%s) in %s:%d nella funzione %s() non riuscita."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: etichetta del disco non riconosciuta"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -800,41 +783,41 @@ msgstr ""
 "Questa versione di libparted non dispone del supporto alla scrittura per %s. "
 "Potrebbe essere stato compilato in sola lettura."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "La partizione %d è %s, ma il file system è %s."
 
 # (ndt) lasciare non tradotto?
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Flag del disco %d sconosciuto."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Le etichette dei dischi %s non supportano le partizioni estese."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "Le etichette dei dischi %s non supportano le partizioni estese o logiche."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Troppe partizioni primarie."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -842,111 +825,127 @@ msgstr ""
 "Impossibile aggiungere una partizione logica a %s poiché non ci sono "
 "partizioni estese."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Impossibile avere più di una partizione estesa su %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr ""
 "Impossibile avere partizioni logiche al di fuori della partizione estesa."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "Impossibile avere una partizione logica esterna alla partizione estesa su %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Impossibile avere partizioni che si sovrappongono."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Impossibile avere una partizione primaria all'interno di una estesa."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Impossibile avere una partizione al di fuori del disco."
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Impossibile avere partizioni che si sovrappongono."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadati"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "libero"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "estesa"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logica"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primaria"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "avvio"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "nascosta"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "legacy_boot"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
+
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Flag di partizione %d sconosciuto."
@@ -1056,10 +1055,10 @@ msgstr ""
 "Il supporto per impostare i flag in etichette dei dischi AIX non è ancora "
 "stato implementato."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Impossibile soddisfare tutti i vincoli sulla partizione."
@@ -1068,29 +1067,29 @@ msgstr "Impossibile soddisfare tutti i vincoli sulla partizione."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Impossibile allocare uno spazio per un'etichetta bsd."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Impossibile allocare uno spazio per un'etichetta dasd"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Tabella delle partizioni su %s non valida -- firma %x errata."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Tabella della partizioni non valida - partizione ricorsiva su %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Le partizioni estese non possono essere nascoste su etichette MS-DOS."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr "Impossibile ridimensionare partizioni gestite da Windows Dynamic Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
 msgstr "Non è possibile creare ulteriori partizioni"
 
@@ -1130,85 +1129,85 @@ msgstr "Troppe partizioni primarie"
 
 # (ndt) o forse è il caso di rendere in italiano?
 # errore di apertura
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "errore di \"open\""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "errore di \"seek\""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "errore di \"read\""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "errore di \"ioctl()\""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "Corrispondenza versione API non corretta"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Tipo di disco non supportato"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Formato del disco non supportato"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disco in uso"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Errore di sintassi nel file di configurazione"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "L'etichetta del volume è danneggiata"
 
 # (ndt) ????
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Il nome di un data set è danneggiato"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Allocazione memoria non riuscita"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Verifica del device non riuscita"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Il device specificato non è un device DASD valido"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Errore irrimediabile"
 
 # (ndt) ?
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Spazio insufficiente per l'etichetta di volume."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Spazio insufficiente per le informazioni sulla partizione."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "VTOC non valido."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Impossibile recuperare la versione delle API."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
@@ -1216,44 +1215,32 @@ msgstr ""
 "La versione \"%d\" delle API correnti non corrisponde alla versione \"%d\" "
 "delle API del driver dasd."
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Impossibile recuperare informazioni sulla geometria del disco."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Impossibile recuperare informazioni sulla dimensione del blocco."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Impossibile recuperare informazioni sul disco."
 
-# (ndt) il pezzo di codice indica 'dev->path'... quindi presumo si il device
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"Il device %s contiene delle firme GPT, indicando che si tratta di una "
-"tabella GPT, ma non dispone di una finta tabella delle partizioni msdos come "
-"dovrebbe. Forse è stata danneggiata da un programma che non riconosce le "
-"tabelle delle partizioni GPT, oppure è stata eliminata la tabella GPT ed è "
-"ora in uso quella MS-DOS. È questa una tabella delle partizioni GPT?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "il device è troppo piccolo per GPT"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
 "La versione del formato della tabella delle partizioni GPT è %x, successiva "
-"a quelle note al programma. Segnalare questo problema."
+"a quella nota al programma. Segnalare questo problema."
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1264,18 +1251,16 @@ msgstr ""
 "affinché utilizzi tutto lo spazio (ulteriori %llu blocchi) o continuare con "
 "le impostazioni attuali?"
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "La copia di backup della tabella GPT non è presente, come dovrebbe, alla "
-"fine del disco. Questo potrebbe voler dire che un altro sistema operativo "
-"pensa che il disco sia più piccolo. Correggere il problema spostando la "
-"copia alla fine (e rimuovendo quella vecchia)?"
+"fine del disco. Correggere il problema spostando la copia alla fine (e "
+"rimuovendo quella vecchia)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1284,7 +1269,7 @@ msgstr ""
 "a crearne una nuova e, tramite le funzionalità di ripristino del programma, "
 "recuperare le partizioni."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1292,7 +1277,7 @@ msgstr ""
 "La tabella GPT di backup è danneggiata, ma quella principale sembra corretta "
 "e verrà utilizzata."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1301,11 +1286,15 @@ msgstr ""
 "corretta e verrà utilizzata."
 
 # (ndt) aiuto!!! idee sul vero significato della frase?
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 "CRC non corrispondente nella tabella delle partizioni primaria dell'array"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "traduzione nome della partizione non riuscita"
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1320,33 +1309,33 @@ msgstr "La mappa delle partizioni non ha elementi."
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s è troppo piccolo per un'etichetta di disco Mac."
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "La partizione %d ha una firma non valida %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "La partizione %d ha una lunghezza non valida di 0 byte."
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "La regione dei dati non comincia all'inizio della partizione."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "La regione di avvio non comincia all'inizio della partizione."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "La regione di avvio della partizione non occupa l'intera partizione."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "La regione dati della partizione non occupa l'intera partizione."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1354,7 +1343,7 @@ msgstr ""
 "Dimensione del blocco nel descrittore del device inusuale: %d byte non è "
 "divisibile per 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1363,11 +1352,11 @@ msgstr ""
 "Il descrittore del driver indica che la dimensione del blocco fisico è di %d "
 "byte, ma Linux indica %d byte."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Non è stata trovata alcuna mappa delle partizioni valida."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1376,7 +1365,7 @@ msgstr ""
 "Due elementi della mappa delle partizioni hanno dimensioni diverse. Il primo "
 "elemento indica di essere %d, mentre l'elemento %d indica %d."
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Sono presenti due mappe delle partizioni. Situazione inusuale."
 
@@ -1388,7 +1377,7 @@ msgstr ""
 "Cambiare il nome di una partizione di root o swap non permetterà a Linux di "
 "riconoscerla come tale."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
 "Impossibile aggiungere un'altra partizione: la mappa delle partizioni è "
@@ -1534,56 +1523,60 @@ msgstr "scrittura sul device non riuscita"
 msgid "reading from device failed"
 msgstr "lettura dal device non riuscita"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Impossibile leggere l'etichetta del volume."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Impossibile scrivere l'etichetta del volume."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Impossibile leggere le etichette VTOC."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Impossibile leggere VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Impossibile leggere VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Impossibile leggere VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Impossibile leggere VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Impossibile scrivere le etichette VTOC."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Impossibile scrivere VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Impossibile scrivere VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Impossibile scrivere VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Impossibile scrivere VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Impossibile scrivere VTOC FMT9 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Memoria non sufficiente."
 
@@ -1619,25 +1612,25 @@ msgstr "Numero non valido."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr "Usare un'unità più piccola al posto di un valore < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s: allocazione blocco di partizione non riuscita\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s: allocazione del blocco non riuscita\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s: impossibile leggere il blocco di avvio %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s: impossibile leggere il blocco di root %llu\n"
@@ -1678,7 +1671,7 @@ msgstr "%s: blocco rdb non trovato, non dovrebbe accadere\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s: lettura del blocco di partizione %llu non riuscita\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1686,44 +1679,34 @@ msgstr ""
 "Il programma non è stato compilato correttamente: il settore di avvio "
 "dovrebbe essere di 512 byte. Il supporto per FAT verrà disabilitato."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Il file system ha una firma non valida per un file system FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Il file system ha una dimensione del settore non valida per un file system "
 "FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "Il file system ha una dimensione del cluster non valida per un file system "
 "FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Il file system ha un numero di settori riservati non valido per un file "
 "system FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Il file system ha un numero non valido di FAT."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Il file system ha dei settori logici con dimensione %d. Il programma non "
-"funziona correttamente con settori di dimensione diversa da 512 byte."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1732,49 +1715,39 @@ msgstr ""
 "La geometria del file system CHS è (%d, %d, %d) e non è valida. La geometria "
 "della tabella delle partizioni di CHS è (%d, %d, %d)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "Il settore di avvio della FAT sostiene che la dimensione del settore logico "
 "sia 0. Situazione inusuale."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "Il settore di avvio della FAT sostiene che non ci siano tabelle FAT. "
 "Situazione inusuale."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "Il settore di avvio della FAT sostiene che il cluster sia composto da 0 "
 "settori. Situazione inusuale."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Il file system è FAT12 e non è supportato."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Il settore di informazioni ha una firma errata (%x). Selezionare \"Annulla\" "
-"e inviare un segnalazione di bug. In situazioni estreme è forse possibile "
-"ignorare l'errore."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Vecchia firma linux di partizione swap non conosciuta: \"%10s\"."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Nuova firma linux di partizione swap non conosciuta: \"%10s\"."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Firma linux di partizione swap swsusp non conosciuta: \"%9s\"."
@@ -1788,7 +1761,16 @@ msgstr ""
 "Il programma non può utilizzare file system HFS su dischi con settori di "
 "dimensione diversa da %d byte."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Il file system ha dei settori logici con dimensione %d. Il programma non "
+"funziona correttamente con settori di dimensione diversa da 512 byte."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1803,6 +1785,16 @@ msgstr ""
 "impostare la geometria CHS del file system affinché corrisponda alla "
 "geometria CHS della tabella delle partizioni."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Il settore di informazioni ha una firma errata (%x). Selezionare \"Annulla\" "
+"e inviare un segnalazione di bug. In situazioni estreme è forse possibile "
+"ignorare l'errore."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1867,12 +1859,12 @@ msgstr ""
 "Il file %s è indicato come file di sistema; spostandolo, alcuni programmi "
 "potrebbero bloccarsi."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partizione troppo grande o troppo piccola per il file system %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1880,11 +1872,11 @@ msgstr ""
 "Le FAT non coincidono. Se non se ne conosce il significato, selezionare "
 "\"Annulla\", eseguire \"scandisk\", quindi ritornare a questo punto."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Non ci sono configurazioni possibili per questo tipo di FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1895,7 +1887,7 @@ msgstr ""
 "del cluster è %dk (atteso %dk); il numero di cluster è %d (atteso %d); la "
 "dimensione delle FAT è %d settori (atteso %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2341,28 +2333,28 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "TIPO_ETIC è uno di: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAG è uno di: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "UNITÀ è uno di: "
 
 # (ndt) da tradurre?
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "allineamento richiesto: minimo od ottimale"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "TIPO_PART è uno di: primary, logical, extended\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "TIPO_FS è uno di: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2372,19 +2364,28 @@ msgstr ""
 "sono relativi alla fine del disco. Per esempio, -1s indica esattamente "
 "l'ultimo settore.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"FINE è una posizione sul disco, come 4GB o 10%. I numeri negativi sono "
+"relativi alla fine del disco. Per esempio, -1s indica esattamente l'ultimo "
+"settore.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "STATO è uno di: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "DEVICE è normalmente /dev/hda o /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NOME è una qualsiasi parola\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2405,27 +2406,23 @@ msgstr ""
 "consultare la GNU General Public License.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(tempo rimasto %.2d.%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
-"La partizione %s è in uso. È necessario smontarla prima di poterla "
-"modificare."
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "La partizione %s è in uso. Continuare veramente?"
 
 # (ndt) preferisco tenerla al plurale
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Le partizioni su %s sono in uso."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2434,31 +2431,31 @@ msgstr ""
 "L'etichetta del disco su %s verrà eliminata e tutti i dati su questo disco "
 "saranno persi. Continuare?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Tipo dell'etichetta del nuovo disco?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Tipo di partizione?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Nome della partizione?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Tipo di file system?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Inizio?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Fine?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2467,7 +2464,7 @@ msgstr ""
 "È stata richiesta una partizione da %s a %s (settori %llu..%llu).\n"
 "La posizione più prossima disponibile è da %s a %s (settori %llu..%llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2475,86 +2472,86 @@ msgstr ""
 "\n"
 "È accettabile?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 "La partizione risultante non è allineata correttamente per garantire "
 "prestazioni ottimali."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Partizione numero?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "Geometria cilindri, testine, settori dal BIOS: %d,%d,%d. Ogni cilindro è "
 "%s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Modello: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disco %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Dimensione del settore (logica/fisica): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Tabella delle partizioni: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Flag del disco: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Numero"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Inizio"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Fine"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Dimensione"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Tipo"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "File system"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Nome"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Flag"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Spazio libero"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2563,46 +2560,57 @@ msgstr ""
 "È stata trovata una partizione %s %s su %s -> %s. Aggiungerla alla tabella "
 "delle partizioni?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "ricerca file system"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "Il comando di ridimensionamento è stato rimosso da parted 3.0"
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+"Ridurre la dimensione di una partizione può causare la perdita di dati: "
+"continuare veramente?"
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Nuovo device?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "tipo di allineamento (min/ott)"
 
 # (ndt) sembra che quel numero sia il numero della partizione
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d allineata\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d non allineata\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Flag da invertire?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Nuovo stato?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Unità?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2610,11 +2618,11 @@ msgstr ""
 "align-check TIPO N                        Controlla la partizione N per "
 "l'allineamento TIPO(min|ott)"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2622,15 +2630,15 @@ msgstr ""
 "help [COMANDO]                           Mostra l'aiuto generale o sul "
 "COMANDO"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2638,15 +2646,15 @@ msgstr ""
 "mklabel,mktable TIPO_ETIC                Crea una nuova etichetta del disco "
 "(tabella delle partizioni)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart TIPO_PART [TIPO_FS] INIZIO FINE   Crea una partizione"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2654,21 +2662,21 @@ msgstr ""
 "\"mkpart\" crea un partizione senza crearvi un file system. TIPO_FS può "
 "essere specificato per impostare un ID della partizione appropriato.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "name NUMERO NOME                         Chiama la partizione NUMERO come "
 "NOME"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2678,7 +2686,7 @@ msgstr ""
 "partizioni, i device disponibili, lo spazio libero, tutte le partizioni "
 "trovate o una particolare partizione"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2686,11 +2694,11 @@ msgstr ""
 "Senza argomenti, \"print\" visualizza l'intera tabella delle partizioni. Con "
 "i seguenti argomenti esegue diverse altre azioni.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : mostra tutti i device a blocchi attivi\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2698,14 +2706,14 @@ msgstr ""
 "  free      : visualizza informazioni riguardo lo spazio libero non "
 "partizionato sul device a blocchi corrente\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : visualizza le tabelle delle partizioni di tutti i device a "
 "blocchi attivi\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
@@ -2713,19 +2721,19 @@ msgstr ""
 "  NUMERO    : visualizza informazioni dettagliate riguardo questa "
 "particolare partizione\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     Esce dal programma"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2733,39 +2741,56 @@ msgstr ""
 "rescue INIZIO FINE                       Ripristina una partizione persa "
 "vicino a INIZIO e FINE"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "Il comando di ridimensionamento è stato rimosso da parted 3.0\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "resizepart"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr ""
+"resizepart NUMERO FINE                   Ridimensiona la partizione NUMERO"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm NUMERO                                Elimina la partizione NUMERO"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr ""
 "select DEVICE                            Sceglie il device da modificare"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr "disk_set"
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 "disk_set FLAG STATO                      Modifica il FLAG sul device "
 "selezionato"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr "disk_toggle"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
@@ -2774,22 +2799,22 @@ msgstr ""
 "device\n"
 "                                         selezionato"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "set NUMERO FLAG STATO                    Modifica il FLAG sulla partizione\n"
 "                                         NUMERO"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2797,20 +2822,20 @@ msgstr ""
 "toggle [NUMERO [FLAG]]                   Commuta lo stato del FLAG sulla\n"
 "                                         partizione NUMERO"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit UNITÀ                               Imposta l'unità predefinita a UNITÀ"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2819,7 +2844,7 @@ msgstr ""
 "informazioni\n"
 "                                         sul copyright di GNU Parted"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2827,23 +2852,23 @@ msgstr ""
 "\"version\" visualizza informazioni sul copyright e la versione di questa "
 "copia di GNU Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 "Uso: %s [-hlmsv] [-a<allineamento>] [DEVICE [COMANDO [PARAMETRI]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Nessun device trovato"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 "Attenzione: non è stato eseguito come super utente. Prestare attenzione ai "
 "permessi.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Potrebbe essere necessario aggiornare /etc/fstab.\n"
 
@@ -3101,65 +3126,65 @@ msgstr ""
 "\n"
 "Errore: incontrato un segnale SIGILL generico."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "token non valido: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Atteso un numero di partizione."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "La partizione non esiste."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Atteso un tipo di file system."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Tipo di file system \"%s\" sconosciuto."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Atteso un tipo di etichetta disco."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Non è possibile creare ulteriori partizioni."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Atteso un tipo di partizione."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "off"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "ottimale"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimale"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "OPZIONI:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "COMANDI:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3169,394 +3194,11 @@ msgstr ""
 "Segnalare i bug a %s\n"
 
 # '%s' = dev->path
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Viene usato %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Questo comando non ha senso nella modalità non interattiva.\n"
-
-#~ msgid ""
-#~ "Usage: %s [OPTION]\n"
-#~ "  or:  %s DEVICE MINOR\n"
-#~ msgstr ""
-#~ "Uso: %s [OPZIONI]\n"
-#~ "  o: %s DEVICE MINOR\n"
-
-#~ msgid ""
-#~ "Clear unused space on a FAT partition (a GNU Parted testing tool).\n"
-#~ "\n"
-#~ msgstr ""
-#~ "Pulisce lo spazio non usato su una partizione FAT (uno strumento di test "
-#~ "di GNU Parted).\n"
-#~ "\n"
-
-#~ msgid "      --help     display this help and exit\n"
-#~ msgstr "      --help     Visualizza questo aiuto ed esce\n"
-
-#~ msgid "      --version  output version information and exit\n"
-#~ msgstr "      --version  Stampa la versione ed esce\n"
-
-#~ msgid "too few arguments"
-#~ msgstr "troppi pochi argomenti"
-
-#~ msgid "too many arguments"
-#~ msgstr "troppi argomenti"
-
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "minor number del dispositivo %s non valido"
-
-#~ msgid "Support for opening %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "Il supporto per aprire file system %s non è ancora stato implementato."
-
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "Il supporto per creare file system %s non è ancora stato implementato."
-
-#~ msgid "Support for checking %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "Il supporto per controllare file system %s non è ancora stato "
-#~ "implementato."
-
-#~ msgid "raw block copying"
-#~ msgstr "copia grezza dei blocchi"
-
-#~ msgid "growing file system"
-#~ msgstr "aumento del file system"
-
-#~ msgid "Can't copy onto an overlapping partition."
-#~ msgstr "Impossibile copiare su una partizione sovrapposta."
-
-#~ msgid ""
-#~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
-#~ "can be copied if the new partition is at least as big as the old one.  "
-#~ "So, either shrink the partition you are trying to copy, or copy to a "
-#~ "bigger partition."
-#~ msgstr ""
-#~ "Il supporto per copiare direttamente file system %s non è ancora "
-#~ "implementato, ma è possibile ridimensionarli. Il file system può quindi "
-#~ "essere copiato se la nuova partizione è almeno grande quanto quella di "
-#~ "origine. Ridimensionare la partizione da copiare oppure copiarla in una "
-#~ "più grande."
-
-#~ msgid "Support for copying %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "Il supporto per copiare file system %s non è ancora stato implementato."
-
-#~ msgid "creating"
-#~ msgstr "creazione"
-
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr "Il file system è in uno stato non valido. Forse è montato?"
-
-#~ msgid "The file system is in old (unresizeable) format."
-#~ msgstr "Il file system è in un formato vecchio (non ridimensionabile)."
-
-#~ msgid "Invalid free blocks count.  Run reiserfsck --check first."
-#~ msgstr ""
-#~ "Conteggio dei blocchi liberi non valido. Eseguire \"reiserfsck --check\"."
-
-#~ msgid "checking"
-#~ msgstr "controllo"
-
-#~ msgid "Reiserfs tree seems to be corrupted.  Run reiserfsck --check first."
-#~ msgstr ""
-#~ "L'albero reiserfs sembra essere danneggiato. Eseguire \"reiserfsck --check"
-#~ "\"."
-
-#~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
-#~ msgstr ""
-#~ "Il file system reiserfs ha superato un controllo basilare. Per un "
-#~ "controllo più approfondito, eseguire \"reiserfsck --check\"."
-
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr ""
-#~ "Impossibile, per il momento, spostare l'inizio delle partizioni reiserfs."
-
-#~ msgid "Couldn't reopen device abstraction layer for read/write."
-#~ msgstr ""
-#~ "Impossibile riaprire il livello di astrazione del device in lettura/"
-#~ "scrittura."
-
-#~ msgid "expanding"
-#~ msgstr "espansione"
-
-#~ msgid "Couldn't create reiserfs device abstraction handler."
-#~ msgstr "Impossibile creare il gestore di astrazione del device reiserfs."
-
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Il device è troppo piccolo per %lu blocchi."
-
-#~ msgid "copying"
-#~ msgstr "copia"
-
-#~ msgid "Couldn't resolve symbol %s.  Error: %s."
-#~ msgstr "Impossibile risolvere il simbolo %s. Errore: %s."
-
-#~ msgid "GNU Parted found an invalid libreiserfs library."
-#~ msgstr "Il programma ha trovato una libreria libreiserfs non valida."
-
-#~ msgid ""
-#~ "GNU Parted has detected libreiserfs interface version mismatch.  Found %d-"
-#~ "%d, required %d. ReiserFS support will be disabled."
-#~ msgstr ""
-#~ "Il programma ha rilevato una corrispondenza errata sulla versione "
-#~ "dell'interfaccia di libreiserfs, trovato %d-%d quando è necessario %d. Il "
-#~ "supporto a ReiserFS sarà disabilitato."
-
-#~ msgid "Inconsistent group descriptors!"
-#~ msgstr "Descrittori di gruppo inconsistenti."
-
-#~ msgid "File system full!"
-#~ msgstr "File system pieno."
-
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
-#~ msgstr "Superblocco non valido. È proprio un file system ext2?"
-
-#~ msgid "File system has errors!  You should run e2fsck."
-#~ msgstr "Il file system contiene errori. Eseguire \"e2fsck\"."
-
-#~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
-#~ msgstr ""
-#~ "Il file system non è stato smontato correttamente. Eseguire \"e2fsck\"; "
-#~ "modificare un file system non consistente può causare seri problemi."
-
-#~ msgid ""
-#~ "File system has an incompatible feature enabled.  Compatible features are "
-#~ "has_journal, dir_index, filetype, sparse_super and large_file.  Use "
-#~ "tune2fs or debugfs to remove features."
-#~ msgstr ""
-#~ "Il file system ha una funzionalità non compatibile abilitata. Le "
-#~ "funzionalità compatibili sono has_journal, dir_index, filetype, "
-#~ "sparse_super e large_file. Usare tune2fs o debugfs per rimuovere le "
-#~ "funzionalità."
-
-#~ msgid "Error allocating buffer cache."
-#~ msgstr "Errore nell'allocare la cache del buffer."
-
-#~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Trovato un inode con un conteggio di collegamenti non corretto. Eseguire "
-#~ "\"e2fsck\"."
-
-#~ msgid "Not enough free inodes!"
-#~ msgstr "Non ci sono abbastanza inode liberi."
-
-#~ msgid "File system is too full to remove a group!"
-#~ msgstr "Il file system è troppo pieno per rimuovere un gruppo."
-
-#~ msgid "File system has too many allocated inodes to remove a group!"
-#~ msgstr "Il file system ha troppi inode allocati per rimuovere un gruppo."
-
-#~ msgid "adding groups"
-#~ msgstr "aggiunta gruppi"
-
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
-#~ msgstr ""
-#~ "Il file system contiene troppi dati per essere ridimensionato a %i "
-#~ "blocchi."
-
-#~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
-#~ "Sorry."
-#~ msgstr ""
-#~ "Il file system ha troppi inode occupati per essere ridimensionato a %i "
-#~ "blocchi."
-
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
-#~ msgstr "Il file system non è stato smontato correttamente. Eseguire e2fsck."
-
-#~ msgid ""
-#~ "The file system has the 'dir_index' feature enabled.  Parted can only "
-#~ "resize the file system if it disables this feature.  You can enable it "
-#~ "later by running 'tune2fs -O dir_index DEVICE' and then 'e2fsck -fD "
-#~ "DEVICE'."
-#~ msgstr ""
-#~ "Il file system ha la funzionalità \"dir_index\" attiva. È possibile "
-#~ "ridimensionare il file system solo disattivando questa caratteristica. "
-#~ "Per riattivarla eseguire \"tune2fs -O dir_index DEVICE\" e "
-#~ "successivamente \"e2fsck -fD DEVICE\"."
-
-#~ msgid ""
-#~ "A resize operation on this file system will use EXPERIMENTAL code\n"
-#~ "that MAY CORRUPT it (although no one has reported any such damage yet).\n"
-#~ "You should at least backup your data first, and run 'e2fsck -f' "
-#~ "afterwards."
-#~ msgstr ""
-#~ "Un'operazione di ridimensionamento di questo file system utilizzerà "
-#~ "codice SPERIMENTALE che POTREBBE DANNEGGIARLO (anche se nessuno ha mai "
-#~ "riferito che sia successo). È consigliato fare una copia di backup dei "
-#~ "dati ed eseguire \"e2fsck -f\" subito dopo."
-
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Trovati dei blocchi con collegamenti incrociati. Eseguire \"e2fsck\"."
-
-#~ msgid "Block %i has no reference?  Weird."
-#~ msgstr "Il blocco %i non è referenziato? Situazione insolita."
-
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
-#~ msgstr "Il blocco %i non avrebbe dovuto essere segnato (%d, %d)."
-
-#~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
-#~ "check, use the e2fsck program."
-#~ msgstr ""
-#~ "Il file system ext2 ha passato i controlli di base. Per un controllo più "
-#~ "approfondito utilizzare il programma e2fsck."
-
-#~ msgid "Sorry, can't move the start of ext2 partitions yet!"
-#~ msgstr "Non è ancora possibile spostare l'inizio di una partizione ext2."
-
-#~ msgid "Couldn't flush buffer cache!"
-#~ msgstr "Impossibile svuotare la cache del buffer."
-
-#~ msgid "writing per-group metadata"
-#~ msgstr "scrittura dei metadati per ogni gruppo"
-
-#~ msgid "File system too small for ext2."
-#~ msgstr "File system troppo piccolo per ext2."
-
-#~ msgid "Too many bad pages."
-#~ msgstr "Troppe pagine inutilizzabili."
-
-#~ msgid "The partition must have one of the following FS-TYPEs: "
-#~ msgstr "La partizione deve avere uno dei seguenti TIPO_FS: "
-
-#~ msgid ""
-#~ "The existing file system will be destroyed and all data on the partition "
-#~ "will be lost. Do you want to continue?"
-#~ msgstr ""
-#~ "Il file system esistente verrà eliminato e tutti i dati sulla partizione "
-#~ "saranno persi. Continuare?"
-
-#~ msgid ""
-#~ "WARNING: you are attempting to use %s to operate on (%s) a file system.\n"
-#~ "%s's file system manipulation code is not as robust as what you'll find "
-#~ "in\n"
-#~ "dedicated, file-system-specific packages like e2fsprogs.  We recommend\n"
-#~ "you use %s only to manipulate partition tables, whenever possible.\n"
-#~ "Support for performing most operations on most types of file systems\n"
-#~ "will be removed in an upcoming release.\n"
-#~ msgstr ""
-#~ "Attenzione: si sta tentando di usare %s per operare su un file system "
-#~ "(%s).\n"
-#~ "Il codice per la gestione del file system %s non è sicuro e robusto "
-#~ "come \n"
-#~ "quello presente in programmi dedicati come e2fsprogs. È consigliato "
-#~ "usare\n"
-#~ "%s solo per la gestione delle tabelle di partizione. Il supporto per "
-#~ "l'esecuzione\n"
-#~ "della maggior parte delle operazioni su molti dei file system verrà "
-#~ "rimosso\n"
-#~ "in una prossima versione.\n"
-
-#~ msgid "Source partition number?"
-#~ msgstr "Numero di partizione di origine?"
-
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "Impossibile copiare una partizione estesa."
-
-#~ msgid "Destination partition number?"
-#~ msgstr "Numero della partizione di destinazione?"
-
-#~ msgid ""
-#~ "An extended partition cannot hold a file system.  Did you want mkpart?"
-#~ msgstr ""
-#~ "Una partizione estesa non può contenere un file system. Proseguire con "
-#~ "mkpart?"
-
-#~ msgid "Can't move an extended partition."
-#~ msgstr "Impossibile spostare una partizione estesa."
-
-#~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
-#~ msgstr ""
-#~ "Impossibile spostare una partizione su sé stessa. Provare con il comando "
-#~ "resize?"
-
-#~ msgid "Minor: %d\n"
-#~ msgstr "Minor: %d\n"
-
-#~ msgid "Flags: %s\n"
-#~ msgstr "Flag: %s\n"
-
-#~ msgid "File System: %s\n"
-#~ msgstr "File system: %s\n"
-
-#~ msgid "Size:         "
-#~ msgstr "Dimensione:         "
-
-#~ msgid "Minimum size: "
-#~ msgstr "Dimensione minima:  "
-
-#~ msgid "Maximum size: "
-#~ msgstr "Dimensione massima: "
-
-#~ msgid "check"
-#~ msgstr "check"
-
-#~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
-#~ msgstr ""
-#~ "check NUMERO                             Esegue un semplice controllo sul "
-#~ "file system"
-
-#~ msgid "cp"
-#~ msgstr "cp"
-
-#~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
-#~ "partition"
-#~ msgstr ""
-#~ "cp [DEVICE_INZIALE] DAL_NUMERO AL_NUMERO Copia un file system in un'altra "
-#~ "partizione"
-
-#~ msgid "mkfs"
-#~ msgstr "mkfs"
-
-#~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
-#~ msgstr ""
-#~ "mkfs NUMERO TIPO_FS                      Crea un file system TIPO_FS "
-#~ "sulla partizione NUMERO"
-
-#~ msgid "mkpartfs"
-#~ msgstr "mkpartfs"
-
-#~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
-#~ msgstr ""
-#~ "mkpartfs TIPO_PART TIPO_FS INIZIO FINE   Crea una partizione con un file "
-#~ "system"
-
-#~ msgid "move"
-#~ msgstr "move"
-
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr ""
-#~ "move NUMERO INIZIO FINE                  Sposta la partizione NUMERO"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "resize NUMERO INIZIO FINE                Ridimensiona la partizione "
-#~ "NUMERO e il suo file system"
-
-#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
-#~ msgstr "Questo non è un disco ECKD. Questo tipo di disco non è supportato."
index 8281b979cbaa546b71e0249227e770e85b879912..16e79aeb4639eda557a143edb37d0e9453360d8a 100644 (file)
Binary files a/po/ja.gmo and b/po/ja.gmo differ
index af8b34765ff61e02e80902fb7df5deb7e9e55bf9..6965a73dccdb50f485071fac99aca0bdbffcab5b 100644 (file)
--- a/po/ja.po
+++ b/po/ja.po
@@ -1,14 +1,14 @@
 # Partedのメッセージの日本語訳
 # Copyright (C) 2010 Free Software Foundation, Inc.
 # This file is distributed under the same license as the parted package.
-# Hiroshi Takekawa <sian@big.or.jp>, 1999-2011.
+# Hiroshi Takekawa <sian@big.or.jp>, 1999-2014.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 3.0.136\n"
+"Project-Id-Version: parted 3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2012-02-25 00:19+0900\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-04 18:30+0900\n"
 "Last-Translator: Hiroshi Takekawa <sian@big.or.jp>\n"
 "Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
 "Language: ja\n"
@@ -30,7 +30,7 @@ msgstr "%s は %s には曖昧な引数です"
 msgid "Valid arguments are:"
 msgstr "利用可能な引数は以下の通りです:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "書き込みエラー"
 
@@ -114,83 +114,83 @@ msgstr "%s: オプション '-W %s' には引数が必要です\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "`"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "'"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "成功"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "マッチなし"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "不正な正規表現"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "不正な順序文字"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "不正な文字クラス名"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "余分なバックスラッシュ"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "不正な後方参照"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "対応のない [ あるいは [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "対応のない ( あるいは \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "対応のない \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "\\{\\} の中身が不正"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "不正な終了値"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "メモリ不足"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "先行する正規表現が不正"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "正規表現が途中で終わっている"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "大きすぎる正規表現"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "対応のない ) または \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "これより前に正規表現がない"
 
@@ -200,7 +200,7 @@ msgstr "これより前に正規表現がない"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[yY]"
 
@@ -210,7 +210,7 @@ msgstr "^[yY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -411,60 +411,60 @@ msgid "Disk Image"
 msgstr "ディスクイメージ"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "%s をオープン中にエラー: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "%s を読み書き可能な状態にオープンできません(%s)。%s は読み込みのみ可能な状態"
 "でオープンされました。"
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s: %s から読み込み中のシークでエラーが発生しました。"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s: %s から読み込み中にエラーが発生しました。"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "読み込みのみが可能なようにオープンされているので、%sに書きこめません。"
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s: %s に書きこみ中のシークでエラーが発生しました。"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s: %s に書きこみ中にエラーが発生しました。"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "より詳しく知るには `%s --help' を使ってみてください。\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "使い方: %s [オプション] [デバイス]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -480,7 +480,7 @@ msgstr ""
 "  -h, --help       このヘルプを表示して終了\n"
 "  -v, --version    バージョン情報を表示して終了\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -488,7 +488,7 @@ msgstr ""
 "\n"
 "デバイスの指定がない場合は、全パーティションを調べます。\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -533,7 +533,7 @@ msgstr ""
 "は Hurd はあなたが行った変更を関知していないことを意味しています。%s に対して"
 "何か操作をする前にコンピュータを再起動するべきです。"
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -546,17 +546,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s: %s を同期中にエラーが発生しました。"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "デバイス %s を調べられません: %s"
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "%s の dm タイプを特定できません"
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -565,7 +565,7 @@ msgstr ""
 "%s のセクタサイズが決定できません: %s\n"
 "デフォルトのセクタサイズ (%lld) を使います。"
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -574,21 +574,21 @@ msgstr ""
 "%s の物理セクタサイズが決定できません。\n"
 "論理セクタサイズ (%lld) を使います。"
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "%s のサイズを決定できません(%s)"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "デバイス %s の identity を取得できません: %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "一般的な IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -603,12 +603,12 @@ msgstr ""
 "いった組み合わせです。\n"
 "最新の情報は web サイトをご覧ください。"
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "SCSI デバイス %s の初期化に失敗しました: %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -617,7 +617,7 @@ msgstr ""
 "デバイス %s のサイズがとても小さいので、ファイルシステムやパーティションテー"
 "ブルを記録できません。デバイスの選択を間違っていないか確認してください。"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -626,86 +626,86 @@ msgstr ""
 "ファイルまたはデバイス %s の geometry を決定できません。自分で何をしているか"
 "よく理解していなければ Parted を使うべきではありません。"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "SD/MMC カード"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID コントローラ"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Promise SX8 SATA デバイス"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "ATA over Ethernetデバイス"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "IBM S390 DASD ドライブ"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATA RAID コントローラ"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O コントローラ"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr "Loopback デバイス"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux device-mapper (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Xen Virtual Block Device"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "不明"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Virtio Block Device"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Linux Software RAID Array"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  サポートされていない種類のデバイスです。"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "%s を fsync/close 中にエラー: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "%0.0s%s を読み込み中にファイルの終わりに達しました"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -716,17 +716,12 @@ msgstr ""
 "従って、カーネルは再起動するまで %s に行った変更を認識しません。再起動するま"
 "でそのパーティションをマウントしたり何かしたりしてはいけません。"
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "%s の開始位置と長さを決定できません"
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "パーティション %d を追加できませんでした (%s)"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -739,31 +734,18 @@ msgstr ""
 "いパーティション情報がそのまま使われます。さらなる変更をする前に再起動してく"
 "ださい。"
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted は %s のパーティションテーブルの内容を再読み込みできません(%s)。これ"
-"は Linux カーネルはあなたが行った変更を関知していないことを意味しています。"
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "終了位置を開始位置の前には動かせません(開始セクタ=%jd 長さ=%jd)。"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "ディスクの外側にパーティションは作れません。"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 "書き込もうとしたセクタ (%ld-%ld) は %s 上のパーティションの外にあります。"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "不良ブロックをチェック中"
 
@@ -777,12 +759,12 @@ msgstr "Backtrace has %d calls on stack:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Assertion (%s) at %s:%d in function %s() failed."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: ディスクラベルが認識できません。"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -791,149 +773,165 @@ msgstr ""
 "使用している libparted は %s の書きこみをサポートしていません。読み込み専用で"
 "コンパイルされていると思われます。"
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "パーティション %d は %s であるのに、ファイルシステムは %s です。"
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "%d は不明なディスクフラグです。"
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s のディスクラベルは拡張パーティションをサポートしていません。"
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "%s のディスクラベルは論理パーティションや拡張パーティションをサポートしてませ"
 "ん"
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "プライマリパーティションが多すぎます。"
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr "拡張パーティションがないので、論理パーティションを %s に作れません。"
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "%s には 1 個しか拡張パーティションを作れません。"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "論理パーティションを拡張パーティションの外には持てません。"
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "%s の拡張パーティションの外に論理パーティションは作れません。"
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "重なりのあるパーティションは持てません。"
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "拡張パーティション内にプライマリパーティションは作れません。"
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "ディスクの外側にパーティションは作れません。"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "重なりのあるパーティションは持てません。"
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "メタ情報"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "空き"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "拡張"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "論理"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "プライマリ"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "hidden"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "legacy_boot"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
+
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "%d は不明なパーティションフラグです。"
@@ -1031,10 +1029,10 @@ msgstr "AIX ディスクラベルのパーティションのシステムタイ
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "AIX ディスクラベルのフラグの設定は未実装です。"
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "このパーティションで全ての制約を満たせません。"
@@ -1043,33 +1041,33 @@ msgstr "このパーティションで全ての制約を満たせません。"
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "BSDディスクラベルのスロットを確保できません。"
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "dasd ディスクラベルのスロットを確保できません。"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr ""
 "%s のパーティションテーブルが不正です。%x というシグネチャはあやまりです。"
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr ""
 "パーティションテーブルが不正です。再帰的なパーティションが %s にあります。"
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "MSDOS ディスクラベルで拡張パーティションは隠せません。"
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "ダイナミックディスクに使われているパーティションは Parted ではリサイズできま"
 "せん。"
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
 msgstr "パーティションを追加できません。"
 
@@ -1109,83 +1107,83 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "プライマリパーティションが多すぎます。"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "オープンエラー"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "シークエラー"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "読み込みエラー"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "ioctl()エラー"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "API バージョン不整合"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "サポートされていないディスクタイプ"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "サポートされていないディスクフォーマット"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "ディスク使用中"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "コンフィグファイルの文法エラー"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "ボリュームラベルが壊れています"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "データセット名が壊れています"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "メモリの確保に失敗しました。"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "デバイスのベリファイに失敗しました。"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "指定されたデバイスは有効な DASD デバイスではありません"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "致命的なエラー"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "ボリュームラベルのための領域がありません。"
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "パーティション情報のための領域がありません。"
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "不正なVTOCです。"
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "API バージョンが取得できません。"
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
@@ -1193,35 +1191,23 @@ msgstr ""
 "現在の API のバージョンは '%d' で、dasd ドライバ API のバージョン '%d' と一致"
 "しません!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "ディスクのジオメトリ情報が取得できません。"
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "ブロックサイズ情報が取得できません。"
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "ディスク情報が取得できません。"
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s は GPT テーブルの存在を示す GPT のシグネチャを含んでいますが、持っているべ"
-"き見せかけの msdos パーティションテーブルを持っていません。おそらく壊れている"
-"のでしょう。GPT パーティションテーブルを理解しないプログラムが壊してしまった"
-"のかもしれません。あるいは、GPT テーブルを自ら消していて、msdos パーティショ"
-"ンテーブルを使っているのかもしれません。このテーブルは GPT パーティションテー"
-"ブルですか?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "デバイスは GPT を使うには小さすぎます"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1230,7 +1216,7 @@ msgstr ""
 "GPT パーティションテーブルのフォーマットのバージョンが %x で parted の理解で"
 "きるものより新しいです。報告してください。"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1241,17 +1227,15 @@ msgstr ""
 "可能にするか(%llu ブロック増えます)、このままで続行することができますが、どう"
 "しますか?"
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
-"あるべき GPT テーブルのバックアップがディスクの最後にありません。他の OS が"
-"ディスクはもっと小さいものだと思っているのかもしれません。バックアップを最後"
-"に持ってきて(古いバックアップを削除して)修復しますか?"
+"あるべき GPT テーブルのバックアップがディスクの最後にありません。バックアップ"
+"を最後に持ってきて(古いバックアップを削除して)修復しますか?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1259,7 +1243,7 @@ msgstr ""
 "プライマリ GPT テーブルとバックアップの両方が壊れています。新たにテーブルを作"
 "りなおして、Parted の修復機能を用いてパーティションの修復を試みます。"
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1267,7 +1251,7 @@ msgstr ""
 "バックアップ GPT テーブルは壊れていますが、プライマリは問題ないようなので、そ"
 "ちらを使います。"
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1275,10 +1259,14 @@ msgstr ""
 "プライマリ GPT テーブルは壊れていますが、バックアップは問題ないようなので、そ"
 "ちらを使います。"
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "プライマリパーティションテーブルの CRC が一致しません"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "パーティション名を変換できません"
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1293,33 +1281,33 @@ msgstr "パーティションマップにエントリがありません。"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s は Mac ディスクラベルには小さすぎます。"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "パーティション %d のシグネチャ %x は不正です。"
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "パーティション %d の長さが 0 なのは不正です。"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "データ領域がパーティションの開始位置から始まってません。"
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "ブート領域がパーティションの開始位置から始まってません。"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "パーティションのブート領域が、パーティション全体を占有してません。"
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "パーティションのデータ領域が、パーティション全体を占有してません。"
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1327,7 +1315,7 @@ msgstr ""
 "デバイスディスクリプタに書いてあるブロックサイズはおかしいです。%d バイトは "
 "512 で割り切れません。"
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1336,11 +1324,11 @@ msgstr ""
 "ドライバは物理ブロックサイズが %d バイトであると言っていますが、Linux は %d "
 "バイトだと言っています。"
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "正しいパーティションマップが見つかりません。"
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1349,7 +1337,7 @@ msgstr ""
 "パーティションマップのエントリのサイズが一致しません。エントリ 1 によれば %d "
 "ですが、エントリ %d によれば %d です。"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "おかしいです。パーティションマップエントリが2つあります。"
 
@@ -1361,7 +1349,7 @@ msgstr ""
 "root に使われているパーティションや swap パーティションの名前を変更すると "
 "Linux がそれらをそうと認識できなくなります。"
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "パーティションを追加できません。パーティションマップが小さすぎます。"
 
@@ -1506,56 +1494,60 @@ msgstr "デバイスへの書き込みに失敗しました。"
 msgid "reading from device failed"
 msgstr "デバイスからの読み込みに失敗しました。"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "ボリュームラベルが読めません。"
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "ボリュームラベルが書けません。"
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "VTOC ラベルが読めません。"
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "VTOC FMT1 DSCB が読めません。"
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "VTOC FMT4 DSCB が読めません。"
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "VTOC FMT5 DSCB が読めません。"
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "VTOC FMT7 DSCB が読めません。"
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "VTOC ラベルが書けません。"
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "VTOC FMT1 DSCB が書けません。"
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "VTOC FMT4 DSCB が書けません。"
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "VTOC FMT5 DSCB が書けません。"
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "VTOC FMT7 DSCB が書けません。"
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "VTOC FMT9 DSCB が書けません。"
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "メモリ不足です。"
 
@@ -1591,25 +1583,25 @@ msgstr "不正な値です。"
 msgid "Use a smaller unit instead of a value < 1"
 msgstr "1未満の値の変わりに、より小さなユニットを使ってください"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : パーティションブロックの確保に失敗しました。\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : ブロックの確保に失敗しました。\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : ブートブロック %llu が読めません\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : ルートブロック %llu が読めません\n"
@@ -1649,7 +1641,7 @@ msgstr "%s : rdb ブロックが見つかりません。起こるはずのない
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : パーティションブロック %llu が読めません\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1657,42 +1649,32 @@ msgstr ""
 "GNU parted がちゃんとコンパイルされていません。FAT のブートセクタは 512 バイ"
 "トであるべきです。FAT サポートを無効にします。"
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr ""
 "ファイルシステムのシグネチャが FAT ファイルシステムのものではありません。"
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "ファイルシステムのセクタサイズが FAT ファイルシステムのものではありません。"
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "ファイルシステムのクラスタサイズが FAT ファイルシステムのものではありません。"
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "ファイルシステムの予約セクタの数が FAT ファイルシステムとしては不正です。"
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "ファイルシステムの FAT の数が不正です。"
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"このファイルシステムの論理セクタサイズは %d です.  セクタサイズが 512 バイト"
-"以外では GNU Parted はうまく動かないことが知られています。"
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1701,47 +1683,37 @@ msgstr ""
 "ファイルシステムの CHS ジオメトリが (%d, %d, %d) で不正です。パーティション"
 "テーブルの CHS ジオメトリは (%d, %d, %d) です。"
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "FAT のブートセクタには論理セクタサイズが 0 と書かれています、これはおかしいで"
 "す。"
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "FAT のブートセクタに FAT テーブルがありません。これはおかしいです。"
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "FAT のブートセクタにクラスタは 0 セクタであると書かれています。これはおかしい"
 "です。"
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "FAT12 はサポートしていません。"
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"information セクタのシグネチャ(%x)はまちがっています。取消(C) してバグレポー"
-"トを送ってください。もしどうなってもいいのであれば 無視(I) してもいいでしょ"
-"う。"
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "古いタイプの Linux swap signature '%10s' を認識できません。"
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "新しいタイプの Linux swap signature '%10s' を認識できません。"
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Linux swsusp signature '%9s' を認識できません。"
@@ -1755,7 +1727,16 @@ msgstr ""
 "Parted は、セクタサイズが %d バイトでないディスクでは HFS ファイルシステムを"
 "使えません。"
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"このファイルシステムの論理セクタサイズは %d です.  セクタサイズが 512 バイト"
+"以外では GNU Parted はうまく動かないことが知られています。"
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1769,6 +1750,16 @@ msgstr ""
 "ムの CHS geometry はそのままになります。修正(F)を選べば、ファイルシステムの "
 "CHS geometry は、パーティションの CHS geometry と合うよう修正されます。"
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"information セクタのシグネチャ(%x)はまちがっています。取消(C) してバグレポー"
+"トを送ってください。もしどうなってもいいのであれば 無視(I) してもいいでしょ"
+"う。"
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1831,13 +1822,13 @@ msgstr ""
 "ファイル %s はシステムファイルです。このファイルを移動させると動かなくなるプ"
 "ログラムがあるかもしれません。"
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr ""
 "パーティションがファイルシステム %s に対して大きすぎ、あるいは小さすぎます。"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1846,11 +1837,11 @@ msgstr ""
 "ンセルして scandisk をこのファイルシステムに対して実行して、もう一度実行して"
 "ください。"
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "この FAT タイプに対する可能な設定がありません。"
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1861,7 +1852,7 @@ msgstr ""
 "タサイズは %dk (想定 %dk)で、クラスタ数は %d (想定 %d)、FAT のサイズは %d セ"
 "クタ (想定 %d)です。"
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2302,49 +2293,57 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "ラベルの種類は次のうちから選びます: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "フラグは次のうちから選びます: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "UNIT は次のうちから選びます: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "望ましいアライメント: minimum(最小) か optimal(最適)"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr ""
 "パーティションの種類は次のうちのどれかとなります: プライマリ、論理、拡張\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "ファイルシステムの種類は次のうちから選びます: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
-"START と END は、ディスク上の位置を 4G や 10% などで表わします。負の値はディ"
+"START と END は、ディスク上の位置を 4GB や 10% などで表わします。負の値はディ"
 "スクの終わりからの値になります。例えば、-1s は、最後のセクタを指します。\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"END は、ディスク上の位置を 4GB や 10% などで表わします。負の値はディスクの終"
+"わりからの値になります。例えば、-1s は、最後のセクタを指します。\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "状態は on か off のどちらか\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "デバイスはたいてい /dev/hda か /dev/sda です。\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "名前の部分は任意の単語\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2364,25 +2363,22 @@ msgstr ""
 "いかなる保証も行ないません。詳細についてはGNU 一般公有使用許諾書をお読みくだ"
 "さい。\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(残り時間 %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
-"パーティション %s は使用中です。Parted で操作する前に unmount してください。"
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "パーティション %s は使用中です。それでも実行しますか?"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "%s のパーティションが使用中です。"
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2391,31 +2387,31 @@ msgstr ""
 "いま存在している %s のディスクラベルは破壊され、このディスクの全データが失わ"
 "れます。続行しますか?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "新しいディスクラベル?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "パーティションの種類?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "パーティションの名前?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "ファイルシステムの種類?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "開始?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "終了?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2424,7 +2420,7 @@ msgstr ""
 "%s から %s (%llu から %llu セクタ)までのパーティションを指定されました。\n"
 "可能な中で最も近いものは %s から %s (%llu から %llu セクタ)になります。%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2432,84 +2428,84 @@ msgstr ""
 "\n"
 "それでもかまいませんか?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 "操作の結果できるパーティションはアライメントが正しくないためにパフォーマンス"
 "がでません。"
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "パーティション番号?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr "BIOS シリンダ、ヘッド、セクタ geometry: %d,%d,%d.  1シリンダは %s。\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "モデル: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "ディスク %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "セクタサイズ (論理/物理): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "パーティションテーブル: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, c-format
 msgid "Disk Flags: %s\n"
 msgstr "ディスクフラグ: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "番号"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "開始"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "終了"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "サイズ"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "タイプ"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "ファイルシステム"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "名前"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "フラグ"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "空き容量"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2518,45 +2514,56 @@ msgstr ""
 "%s %s パーティションが %s → %s の場所に発見されました。このパーティションを"
 "パーティションテーブルに追加しますか?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "ファイルシステムを探しています"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "resize コマンドは parted 3.0 で削除されました"
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+"パーティションを縮小するとデータを失うかもしれませんが、それでも実行します"
+"か?"
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "新しいデバイス?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "アライメントタイプ(min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d アライメント済\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d 未アライメント\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "反転するフラグ?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "新しい状態?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "単位は?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2564,43 +2571,43 @@ msgstr ""
 "align-check TYPE N            パーティション N のアライメント(TYPE: min|opt)"
 "をチェックする"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr ""
 "help [コマンド]               ヘルプ表示。コマンド指定でそのヘルプを表示"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
 "mklabel,mktable ラベルの種類  新しいラベル(パーティションテーブル)を作る"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr ""
 "mkpart パーティションの種類 [ファイルシステムの種類] 開始 終了\n"
 "            パーティションを作る"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2608,19 +2615,19 @@ msgstr ""
 "mkpart はパーティションだけ作り、新しいファイルシステムは作りません。ファイル"
 "システムの種類を指定すると、正しいIDが設定されます。\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name NUMBER 名前              パーティションに名前をつける"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2632,7 +2639,7 @@ msgstr ""
 "             見つかった全てのパーティション、あるいは特定のパー"
 "ティションについて表示する"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2640,11 +2647,11 @@ msgstr ""
 "引数をつけない場合、'print' コマンドは、全パーティションテーブルを表示しま"
 "す。次の引数をつけることが可能です。\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : 全てのアクティブなブロックデバイスを表示\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2652,31 +2659,31 @@ msgstr ""
 "  free      : カレントブロックデバイスのパーティションに含まれていない空き領"
 "域情報を表示\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : アクティブな全ブロックデバイスのパーティションテーブルを表示\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr "  NUMBER    : 指定したパーティションについてより詳しい情報を表示\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                          プログラムを終了する"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2684,101 +2691,118 @@ msgstr ""
 "rescue 開始 終了              開始、終了で指定した範囲付近にあるパーティショ"
 "ンを復活させる"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "resize コマンドは parted 3.0 で削除されました\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "resizepart"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr ""
+"resizepart NUMBER END         パーティション NUMBER を END にリサイズする"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm NUMBER                     パーティションを削除する"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select デバイス               操作するデバイスを選択"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr "disk_set"
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr "disk_set FLAG STATE           選択したデバイスの FLAG を変更"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr "disk_toggle"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr "disk_toggle [FLAG]            選択したデバイスの FLAG の状態をトグル"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set NUMBER フラグ 状態        ファイルシステムのフラグと状態を設定する"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr "toggle [NUMBER [FLAG]]        パーティションのフラグの状態を反転する"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "unit UNIT                     デフォルトの単位を UNIT にする"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 "version                       GNU Parted のバージョンと著作権情報を表示"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 "version は、実行中の GNU Parted のバージョンと著作権情報を表示します。\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 "使い方: %s [-hlmsv] [-a<アライン>] [デバイス [コマンド [パラメータ]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "デバイスがみつかりません。"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr "警告: 管理者権限がありません。パーミッションに注意してください。\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "必要であれば /etc/fstab を更新するのを忘れないようにしてください。\n"
 
@@ -3039,65 +3063,65 @@ msgstr ""
 "\n"
 "エラー: SIGILL シグナルを受けとりました。"
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "不正なトークンです: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "パーティション番号を入力してください。"
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "パーティションがありません。"
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "ファイルシステムの種類を入力してください。"
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "ファイルシステムの種類 \"%s\" は不明です。"
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "ディスクラベルの種類を入力してください。"
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "パーティションを追加できません。"
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "パーティションの種類を入力してください。"
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "off"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "最適(optimal)"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "最小(minimal)"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "オプション"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "コマンド:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3106,11 +3130,11 @@ msgstr ""
 "\n"
 "バグレポートは %s へ。\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "%s を使用\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "このコマンドは対話操作モードでなければ意味がありません。\n"
index 2e4bf1feaa814648ea0017905a3e01b44eba511d..eee8da5fc875dd802a80cb61b46f1635a3517809 100644 (file)
Binary files a/po/nl.gmo and b/po/nl.gmo differ
index 96b7c9a0ed7870ae05d8e7308c1d8dcd10b6a2a1..fb2e996e03cc24fc71e09df3f4d4a143be0802ca 100644 (file)
--- a/po/nl.po
+++ b/po/nl.po
@@ -1,18 +1,18 @@
 # Dutch translations for GNU parted.
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2014 Free Software Foundation, Inc.
 # This file is distributed under the same license as the parted package.
 #
-# Boem. Wie heeft oren?
+# Kerrie, kruidnagel, bonenkruid.
 #
-# Benno Schulenberg <benno@vertaalt.nl>, 2005, 2006, 2007, 2010, 2011, 2012.
+# Benno Schulenberg <benno@vertaalt.nl>, 2005, 2006, 2007, 2010, 2011, 2012, 2014.
 # Erwin Poeze <erwin.poeze@gmail.com>, 2010.
 # Ivo Timmermans <ivo@o2w.nl>, 2000.
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 3.0.136\n"
+"Project-Id-Version: parted 3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2012-02-18 23:20+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-03 21:51+0200\n"
 "Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
 "Language-Team: Dutch <vertaling@vrijschrift.org>\n"
 "Language: nl\n"
@@ -36,7 +36,7 @@ msgstr "argument %s van %s is niet eenduidig"
 msgid "Valid arguments are:"
 msgstr "Geldige argumenten zijn:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "schrijffout"
 
@@ -120,83 +120,83 @@ msgstr "%s: optie '-W %s' vereist een argument\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "‘"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "’"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Gelukt"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Geen overeenkomsten"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Ongeldige reguliere expressie"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Ongeldig samengesteld teken"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Ongeldige tekenklassenaam"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Backslash aan het eind"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Ongeldige terugverwijzing"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Ongepaarde [ of [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Ongepaarde ( of \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Ongepaarde \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Ongeldige inhoud van \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Ongeldig bereikeinde"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Onvoldoende geheugen beschikbaar"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Ongeldige voorafgaande reguliere expressie"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Voortijdig einde van reguliere expressie"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Reguliere expressie is te groot"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Ongepaarde ) of \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Geen eerdere reguliere expressie"
 
@@ -206,7 +206,7 @@ msgstr "Geen eerdere reguliere expressie"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[jJyY]"
 
@@ -216,7 +216,7 @@ msgstr "^[jJyY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -421,60 +421,60 @@ msgid "Disk Image"
 msgstr "Schijfimage"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Fout tijdens openen van %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Kan %s niet openen voor lezen-en-schrijven (%s);  %s is geopend voor alleen-"
 "lezen."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s tijdens een 'seek' bij het lezen van %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s tijdens lezen van %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Kan niet naar %s schrijven, omdat het geopend is voor alleen-lezen."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s tijdens een 'seek' bij het schrijven naar %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s tijdens schrijven naar %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Typ '%s --help' voor meer informatie.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Gebruik:  %s [OPTIE] [APPARAAT]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -490,7 +490,7 @@ msgstr ""
 "  -h, --help       deze hulptekst tonen en stoppen\n"
 "  -v, --version    programmaversie tonen en stoppen\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -498,7 +498,7 @@ msgstr ""
 "\n"
 "Zonder APPARAAT worden alle beschikbare apparaten onderzocht.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -545,7 +545,7 @@ msgstr ""
 "de Hurd geen weet heeft van de veranderingen die u net hebt gemaakt.  U "
 "dient uw computer te herstarten alvorens iets met %s te doen."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -558,17 +558,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s: bezig met synchroniseren van %s naar schijf"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Kan de status van apparaat '%s' niet opvragen -- %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Kan het apparaattype van '%s' niet achterhalen."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -577,7 +577,7 @@ msgstr ""
 "Kan de sectorgrootte van %s niet achterhalen: %s.\n"
 "De standaard sectorgrootte (%lld) wordt gebruikt."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -586,21 +586,21 @@ msgstr ""
 "Kan de fysieke sectorgrootte van %s niet achterhalen.\n"
 "De logische sectorgrootte (%lld) wordt gebruikt."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Kan de grootte van %s niet achterhalen -- %s."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Kan de identiteit van apparaat %s niet achterhalen -- %s."
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Gewone IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -614,12 +614,12 @@ msgstr ""
 "schijflabel en bestandssysteem, bijvoorbeeld GPT met ext2/3.\n"
 "Zie de website van Parted voor de laatste informatie."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Fout tijdens initialiseren van SCSI-apparaat %s -- %s."
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -628,7 +628,7 @@ msgstr ""
 "Apparaat %s is zo klein dat het onmogelijk een bestandssysteem of\n"
 "partitietabel kan bevatten.  Hebt u misschien een verkeerd apparaat gekozen?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -637,87 +637,87 @@ msgstr ""
 "Kan de logische opbouw van het apparaat %s niet achterhalen.\n"
 "U kunt Parted beter niet gebruiken tenzij u ECHT weet wat u doet!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Algemeen SD/MMC-geheugenkaart"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID-stuurapparaat"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Promise SX8 SATA-apparaat"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "ATA-over-Ethernet-apparaat"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "IBM S390 DASD-schijf"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries virtuele DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array-stuurapparaat"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATARAID-stuurapparaat"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O-stuurapparaat"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux-blokapparaat (UBD)"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr "Lus-apparaat"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux device-mapper (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Xen virtueel blokapparaat"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "(onbekend)"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Virtio-blokapparaat"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Linux-Software-RAID-array"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "Apparaattype wordt niet ondersteund."
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Fout tijdens fsyncing/sluiten van %s: %s"
 
 # Dit is een maffe manier (%0.0s) om de eerste parameter te negeren.
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "%0.0sbestandseinde tijdens lezen van %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -730,17 +730,12 @@ msgstr ""
 "herstart -- u dient deze partitie dus niet aan te koppelen of op enigerlei "
 "wijze te gebruiken alvorens te herstarten."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Kan begin en lengte van %s niet achterhalen."
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Toevoegen van partitie %d is mislukt (%s)"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -753,32 +748,19 @@ msgstr ""
 "worden.  De oude partities zullen zodoende actief blijven.  U dient uw "
 "computer nu te herstarten alvorens verdere veranderingen aan te brengen."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Parted kan de partitietabel op %s niet herinlezen (%s).  Dit betekent dat "
-"Linux geen weet heeft van de veranderingen die u net hebt gemaakt.  "
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr ""
 "Het einde kan niet vóór het begin liggen! (startsector=%jd, lengte=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Kan geen partitie maken buiten de schijf!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 "Poging tot het schrijven van sectoren %ld-%ld buiten de partitie op %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "bezig met zoeken naar slechte blokken"
 
@@ -792,12 +774,12 @@ msgstr "De backtrace heeft %d aanroepen op de stack:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "*** assertion (%s) at %s:%d in function %s() failed ***"
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: onbekend schijflabel"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -806,39 +788,39 @@ msgstr ""
 "Deze libparted kan niet naar %s schrijven.  Mogelijk werd libparted voor "
 "alleen-lezen gecompileerd."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Partitie %d is %s, maar het bestandssysteem is %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "cilinderuitlijning"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr "PMBR_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Onbekende schijfvlag %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s-schijflabels kennen geen uitgebreide partities."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "%s-schijflabels kennen geen logische of uitgebreide partities."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Te veel primaire partities."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -846,109 +828,125 @@ msgstr ""
 "Kan geen logische partitie aan %s toevoegen, omdat er geen uitgebreide "
 "partitie is."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Kan niet meer dan één uitgebreide partitie maken op %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Kan geen logische partitie buiten de uitgebreide partitie maken."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "Kan geen logische partitie buiten de uitgebreide partitie op %s maken."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Partities mogen elkaar niet overlappen."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Kan geen primaire partitie binnen een uitgebreide partitie maken."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Kan geen partitie maken buiten de schijf!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Partities mogen elkaar niet overlappen."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metagegevens"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "vrij"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "uitgebreid"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logisch"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primair"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "opstart"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "hoofdmap"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "verborgen"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "legacy_boot"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
+
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Onbekende partitievlag %d."
@@ -1053,10 +1051,10 @@ msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
 "Het zetten van vlaggen in AIX-schijflabels is nog niet geïmplementeerd."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Kan niet aan alle voorwaarden voor deze partitie voldoen."
@@ -1065,32 +1063,32 @@ msgstr "Kan niet aan alle voorwaarden voor deze partitie voldoen."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Kan in het BSD-schijflabel geen plekje meer reserveren."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Kan in het DASD-schijflabel geen plekje meer reserveren."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Ongeldige partitietabel op %s -- onjuiste vingerafdruk %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Ongeldige partitietabel -- recursieve partitie op %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 "Uitgebreide partities kunnen op MSDOS-schijflabels niet verborgen zijn."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted kan partitities beheerd door Windows Dynamic Disk niet van grootte "
 "veranderen."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
 msgstr "kan geen nieuwe partities meer maken"
 
@@ -1128,83 +1126,83 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Te veel primaire partities."
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "openfout"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "'seek'-fout"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "leesfout"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "ioctl()-fout"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "API-versies passen niet bij elkaar"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Schijftype wordt niet ondersteund"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Schijfindeling wordt niet ondersteund"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Schijf is in gebruik"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Syntaxfout in configuratiebestand"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Volumenlabel is beschadigd"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Naam van een dataset is beschadigd"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Onvoldoende geheugen beschikbaar"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Apparaatcontrole is mislukt"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Het opgegeven apparaat is geen geldig DASD-apparaat"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Fatale fout"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Geen ruimte voor een volumenlabel."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Geen ruimte voor partitie-informatie."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Ongeldige VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Kan de API-versie niet verkrijgen."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
@@ -1212,34 +1210,23 @@ msgstr ""
 "Huidige API-versie '%d' past niet bij API-versie '%d' van het DASD-"
 "stuurprogramma!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Kan informatie over schijfopbouw niet verkrijgen."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Kan blokgrootte niet verkrijgen."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Kan geen schijfinformatie verkrijgen."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s bevat GPT-vingerafdrukken die aangeven dat het een GPT-tabel heeft.  Maar "
-"het bevat geen geldige nep-MSDOS-partitietabel, zoals zou moeten.  Misschien "
-"werd deze beschadigd, mogelijk door een programma dat GPT-partitietabellen "
-"niet begrijpt.  Of misschien hebt u de GPT-tabel verwijderd en gebruikt nu "
-"een MSDOS-partitietabel.  Is dit echt een GPT-partitietabel?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "Het apparaat is te klein voor GPT."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1248,7 +1235,7 @@ msgstr ""
 "De indeling van de GPT-partitietabel is van versie %x.  Dit is nieuwer dan "
 "wat deze versie van Parted kent.  Rapporteer dit alstublieft aan ons."
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1259,19 +1246,17 @@ msgstr ""
 "De GPT bijwerken om alle ruimte te gebruiken (%llu extra blokken),\n"
 "of doorgaan en deze extra ruimte negeren? "
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "De reservekopie van de GPT-tabel staat niet helemaal aan het einde van de "
-"schijf, zoals zou moeten.  Dit zou kunnen betekenen dat een ander "
-"besturingssysteem aanneemt dat de schijf kleiner is dan hij is.  Dit kan "
-"gerepareerd worden door de reservekopie naar het einde te verplaatsen en de "
-"oude reservekopie te verwijderen.  Reparatie uitvoeren?"
+"schijf, zoals zou moeten.  Dit kan gerepareerd worden door de reservekopie "
+"naar het einde te verplaatsen (en de oude reservekopie te verwijderen).  "
+"Reparatie uitvoeren?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1280,7 +1265,7 @@ msgstr ""
 "een nieuw schijflabel aan, en probeer dan met de 'red'-opdracht de "
 "kwijtgeraakte partities te herstellen."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1288,7 +1273,7 @@ msgstr ""
 "De reservekopie van de GPT-tabel is beschadigd, maar de primaire tabel lijkt "
 "goed.  Deze laatste zal worden gebruikt."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1296,10 +1281,14 @@ msgstr ""
 "De primaire GPT-tabel is beschadigd, maar de reservekopie lijkt goed.  Deze "
 "laatste zal worden gebruikt."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "CRC-verschil in hoofdpartitietabel-array"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "vertalen van partitienaam is mislukt"
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1314,33 +1303,33 @@ msgstr "Partitietabel bevat geen partitietabelitem!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s is te klein voor een Mac-schijflabel!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Partitie %d heeft een ongeldige vingerafdruk %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Partitie %d heeft een ongeldige lengte van 0 bytes!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Het gegevensgebied begint niet bij het begin van de partitie."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Het opstartgebied begint niet bij het begin van de partitie."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Het opstartgebied beslaat niet de gehele partitie."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Het gegevensgebied beslaat niet de gehele partitie."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1348,7 +1337,7 @@ msgstr ""
 "Vreemde blokgrootte in apparaatbeschrijving: %d bytes is niet deelbaar door "
 "512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1357,11 +1346,11 @@ msgstr ""
 "De beschrijving van het stuurprogramma zegt dat de fysieke blokgrootte %d "
 "bytes is, maar Linux zegt dat het %d bytes is."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Geen geldige partitietabel gevonden."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1370,7 +1359,7 @@ msgstr ""
 "Tegenstrijdige groottes van partitietabelitems!\n"
 "Item 1 zegt dat het %d is, maar item %d zegt dat het %d is!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Vreemd: twee partitietabelitems!"
 
@@ -1382,7 +1371,7 @@ msgstr ""
 "Het veranderen van de naam van een root- of swappartitie zal verhinderen dat "
 "Linux deze als zodanig herkent."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
 "Kan geen nieuwe primaire partitie toevoegen: de partitietabel is te klein!"
@@ -1527,56 +1516,60 @@ msgstr "schrijven naar apparaat is mislukt"
 msgid "reading from device failed"
 msgstr "lezen van apparaat is mislukt"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Kan volumenlabel niet lezen."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Kan volumenlabel niet schrijven."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Kan VTOC-labels niet lezen."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Kan een FMT1 DSCB niet lezen."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Kan een FMT4 DSCB niet lezen."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Kan een FMT5 DSCB niet lezen."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Kan een FMT7 DSCB niet lezen."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Kan VTOC-labels niet schrijven."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Kan een FMT1 DSCB niet schrijven."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Kan een FMT4 DSCB niet schrijven."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Kan een FMT5 DSCB niet schrijven."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Kan een FMT7 DSCB niet schrijven."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Kan een FMT9 DSCB niet schrijven."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Onvoldoende geheugen beschikbaar."
 
@@ -1612,25 +1605,25 @@ msgstr "Ongeldig nummer."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr "Gebruik een kleinere eenheid in plaats van een waarde kleiner dan 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Geheugen reserveren voor partitieblok is mislukt\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Geheugen reserveren voor blok is mislukt\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Kan opstartblok %llu niet lezen\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Kan hoofdblok %llu niet lezen\n"
@@ -1670,7 +1663,7 @@ msgstr "%s : Geen 'rdb'-blok gevonden -- zou nooit mogen gebeuren\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Kan partitieblok %llu niet lezen\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1678,40 +1671,30 @@ msgstr ""
 "GNU Parted is verkeerd gecompileerd: de FAT-opstartsector zou 512 bytes "
 "moeten zijn.  Ondersteuning voor FAT wordt uitgeschakeld."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Dit bestandssysteem heeft een voor FAT ongeldige vingerafdruk."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "Dit bestandssysteem heeft een voor FAT ongeldige sectorgrootte."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "Dit bestandssysteem heeft een voor FAT ongeldige clustergrootte."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Dit bestandssysteem heeft een voor FAT ongeldig aantal gereserveerde "
 "sectoren."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Dit bestandssysteem heeft een ongeldig aantal FAT's."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Dit bestandssysteem heeft een logische sectorgrootte van %d.  GNU Parted "
-"werkt niet goed met sectorgroottes anders dan 512 bytes."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1721,50 +1704,39 @@ msgstr ""
 "ongeldig.  De opbouw opgeslagen in het schijflabel is (%d,%d,%d) (cilinders,"
 "koppen,sectoren)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "De FAT-opstartsector zegt dat de logische sectorgrootte 0 is.  Dit is heel "
 "vreemd.  "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "De FAT-opstartsector zegt dat er geen FAT-tabellen zijn.  Dit is heel "
 "vreemd.  "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "De FAT-opstartsector zegt dat een cluster nul sectoren heeft.  Dit is heel "
 "vreemd.  "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Het bestandssysteem is FAT12.  Dit wordt niet ondersteund."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"De informatiesector heeft een onjuiste vingerafdruk (%x).  Kies voorlopig "
-"'Annuleren', en stuur een foutrapportage naar <bug-parted@gnu.org>.  Indien "
-"u heel wanhopig bent: het is waarschijnlijk wel veilig om voor 'Negeren' "
-"kiezen."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Onbekende vingerafdruk '%10s' voor oudestijl-Linux-swappartitie."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Onbekende vingerafdruk '%10s' voor nieuwestijl-Linux-swappartitie."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Onbekende vingerafdruk '%10s' voor swsusp-Linux-swappartitie."
@@ -1778,7 +1750,16 @@ msgstr ""
 "Parted kan geen HFS-bestandssystemen bewerken op schijven met een andere "
 "sectorgrootte dan %d bytes."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Dit bestandssysteem heeft een logische sectorgrootte van %d.  GNU Parted "
+"werkt niet goed met sectorgroottes anders dan 512 bytes."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1793,6 +1774,17 @@ msgstr ""
 "bestandssysteem onveranderd gelaten.  Als u 'Repareren' kiest, wordt deze "
 "opbouw gelijkgemaakt aan die in de partitietabel."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"De informatiesector heeft een onjuiste vingerafdruk (%x).  Kies voorlopig "
+"'Annuleren', en stuur een foutrapportage naar <bug-parted@gnu.org>.  Indien "
+"u heel wanhopig bent: het is waarschijnlijk wel veilig om voor 'Negeren' "
+"kiezen."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1855,12 +1847,12 @@ msgstr ""
 "Het bestand %s is gemarkeerd als een systeembestand.  Als het verplaatst "
 "wordt, zullen sommige programma's misschien niet meer werken."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partitie is te klein of te groot voor een %s-bestandssysteem."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1869,11 +1861,11 @@ msgstr ""
 "dan 'Annuleren', voer 'scandisk' uit op het bestandssysteem, en kom dan weer "
 "terug."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Er zijn geen mogelijke configuraties voor dit type FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1884,7 +1876,7 @@ msgstr ""
 "clustergrootte is %dk (%dk verwacht); het aantal clusters is %d (%d "
 "verwacht); de grootte van de FAT's is %d sectoren (%d verwacht)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2343,27 +2335,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "LABEL-TYPE is een van: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "VLAG is een van: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "EENHEID is een van: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "gewenste uitlijning: minimaal of optimaal"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "PART-TYPE is een van: primair, logisch, uitgebreid\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "BS-SOORT is een van: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2373,19 +2365,28 @@ msgstr ""
 "tellen vanaf het einde van de schijf.  Bijvoorbeeld, -1s geeft precies de "
 "laatste sector aan.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"EINDE is een schijflocatie, zoals 4GB of 10%.  Negatieve waarden tellen "
+"vanaf het einde van de schijf.  Bijvoorbeeld, -1s geeft precies de laatste "
+"sector aan.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "TOESTAND is één van: aan, uit\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "APPARAAT is gewoonlijk /dev/hda of /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAAM is elk woord dat u wilt\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2405,26 +2406,22 @@ msgstr ""
 "van VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN BEPAALD DOEL.\n"
 "Zie de GNU General Public License voor meer details.\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(resterende tijd: %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
-"Partitie %s is in gebruik.  Deze dient ontkoppeld te worden alvorens hem met "
-"Parted te bewerken."
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "Partitie %s is in gebruik.  Weet u zeker dat u verder wilt gaan?"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Partitie(s) op %s zijn in gebruik."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2433,31 +2430,31 @@ msgstr ""
 "Het bestaande label op %s zal worden vernietigd en alle gegevens op deze "
 "schijf zullen verloren gaan.  Wilt u doorgaan?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Type van nieuw schijflabel?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Partitietype?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Naam van partitie?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Bestandssysteemsoort?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Begin?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Einde?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2466,7 +2463,7 @@ msgstr ""
 "U verzocht om een partitie van %s tot %s (sectoren %llu..%llu).\n"
 "De dichtstbijzijnde mogelijkheid is van %s tot %s (sectoren %llu..%llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2474,85 +2471,85 @@ msgstr ""
 "\n"
 "Is dit nog acceptabel?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 "De resulterende partitie is niet correct uitgelijnd voor optimale prestaties."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Nummer van partitie?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "Logische schijfopbouw volgens BIOS: %d,%d,%d (cilinders,koppen,sectoren).  "
 "Elke cilinder is %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Model: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Schijf %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Sectorgrootte (logisch/fysiek): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Partitietabel: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Schijfvlaggen: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Nummer"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Begin"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Einde"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Grootte"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Type"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Bestandssysteem"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Naam"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Vlaggen"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Vrije ruimte"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2561,45 +2558,56 @@ msgstr ""
 "Er is een %s %s-partitie gevonden van %s tot %s.  Wilt u deze aan de "
 "partitietabel toevoegen?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "bezig met zoeken naar bestandssystemen"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "De 'grootte'-opdracht is verwijderd in Parted 3.0."
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+"Het krimpen van een partitie kan gegevensverlies veroorzaken.\n"
+"Weet u zeker dat u verder wilt gaan?"
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Nieuw apparaat?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "uitlijningssoort (min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d is uitgelijnd\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d is niet uitgelijnd\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Om te zetten vlag?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Nieuwe toestand?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Eenheid?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "uitlijncontrole"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2607,41 +2615,41 @@ msgstr ""
 "uitlijncontrole SOORT N     partitie N controleren op SOORT(min|opt)-"
 "uitlijning"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "hulp"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr ""
 "help [OPDRACHT]             enige algemene hulp geven (of hulp bij OPDRACHT)"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "maaklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "maaktabel"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
 "maaklabel LABEL-TYPE        nieuw schijflabel maken (met lege partitietabel)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "maakpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "maakpart PART-TYPE [BS-SOORT] BEGIN EINDE   een partitie aanmaken"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2650,19 +2658,19 @@ msgstr ""
 "maken.  BS-SOORT mag gebruikt worden om het een geschikt partitiekenmerk te "
 "geven.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "noem"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "noem NUMMER NAAM            partitie NUMMER deze NAAM geven"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "toon"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2672,7 +2680,7 @@ msgstr ""
 "beschikbare apparaten, of vrije ruimte, of tabellen van alle apparaten, of "
 "een specifieke partitie)"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2680,42 +2688,42 @@ msgstr ""
 "Zonder argumenten toont 'toon' de volledige partitietabel, maar met\n"
 "de volgende argumenten wordt meer specifieke informatie getoond:\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   :  alle actieve blokapparaten tonen\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 "  free      :  informatie over vrije ruimte op huidige blokapparaat tonen\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all :  de partitietabellen van alle actieve blokapparaten tonen\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr "  NUMMER    :  meer details over partitie NUMMER tonen\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "einde"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "einde                       programma afsluiten"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "red"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2723,84 +2731,101 @@ msgstr ""
 "red BEGIN EINDE             een verloren partitie (met geschat begin en "
 "einde) proberen te herstellen"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "grootte"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "De 'grootte'-opdracht is verwijderd in Parted 3.0.\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "rekoptot"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr ""
+"rekoptot NUMMER EINDE       partitie NUMMER krimpen/oprekken tot nieuw EINDE"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "verwijder"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "verwijder NUMMER            partitie NUMMER verwijderen"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "kies"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "kies APPARAAT               dit APPARAAT kiezen om te bewerken"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr "schijf_zet"
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 "schijf_zet VLAG TOESTAND    op gekozen apparaat deze VLAG in TOESTAND zetten"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr "schijf_zetom"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
 "schijf_zetom [VLAG]         op gekozen apparaat de toestand van VLAG omzetten"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "zet"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "zet NUMMER VLAG TOESTAND    op partitie NUMMER deze VLAG in TOESTAND zetten"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "zetom"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 "zetom [NUMMER [VLAG]]       op partitie NUMMER de toestand van VLAG omzetten"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "eenheid"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "eenheid EENHEID             standaard deze EENHEID gebruiken"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "versie"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 "versie                      versienummer en copyright van deze Parted tonen"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2808,23 +2833,23 @@ msgstr ""
 "'versie' toont informatie over het auteursrecht en de versie van deze GNU "
 "Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 "Gebruik:  %s [-hlmsv] [-aUITLIJNING] [APPARAAT [OPDRACHT [PARAMETERS]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Geen apparaat gevonden"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 "WAARSCHUWING: u bent niet root.\n"
 "Houd rekening met ontbrekende toegangsrechten.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Het kan nodig zijn /etc/fstab bij te werken.\n"
 
@@ -3081,65 +3106,65 @@ msgstr ""
 "\n"
 "Fout: een niet-specifiek SIGILL-signaal werd ontvangen."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "ongeldig symbool: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Een partitienummer wordt verwacht."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Partitie bestaat niet."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Een bestandssysteemsoort wordt verwacht."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Onbekende bestandssysteemsoort '%s'."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Een schijflabeltype wordt verwacht."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Kan geen nieuwe partities meer maken."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Een partitietype wordt verwacht."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "aan"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "uit"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimaal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimaal"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "OPTIEs:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "OPDRACHTen:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3149,15 +3174,39 @@ msgstr ""
 "Rapporteer gebreken in het programma aan <%s>;\n"
 "meld fouten in de vertaling aan <vertaling@vrijschrift.org>.\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Apparaat %s wordt gebruikt.\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Deze opdracht is zonder betekenis in niet-interactieve modus.\n"
 
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Toevoegen van partitie %d is mislukt (%s)"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "Parted kan de partitietabel op %s niet herinlezen (%s).  Dit betekent dat "
+#~ "Linux geen weet heeft van de veranderingen die u net hebt gemaakt.  "
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s bevat GPT-vingerafdrukken die aangeven dat het een GPT-tabel heeft.  "
+#~ "Maar het bevat geen geldige nep-MSDOS-partitietabel, zoals zou moeten.  "
+#~ "Misschien werd deze beschadigd, mogelijk door een programma dat GPT-"
+#~ "partitietabellen niet begrijpt.  Of misschien hebt u de GPT-tabel "
+#~ "verwijderd en gebruikt nu een MSDOS-partitietabel.  Is dit echt een GPT-"
+#~ "partitietabel?"
+
 #~ msgid ""
 #~ "Usage: %s [OPTION]\n"
 #~ "  or:  %s DEVICE MINOR\n"
@@ -3274,9 +3323,6 @@ msgstr "Deze opdracht is zonder betekenis in niet-interactieve modus.\n"
 #~ msgid "Couldn't create reiserfs device abstraction handler."
 #~ msgstr "Kan apparaat-abstractie niet aanmaken."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Het apparaat is te klein voor %lu blokken."
-
 #~ msgid "copying"
 #~ msgstr "bezig met kopiëren"
 
@@ -3531,13 +3577,6 @@ msgstr "Deze opdracht is zonder betekenis in niet-interactieve modus.\n"
 #~ msgid "move"
 #~ msgstr "schuif"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr ""
-#~ "schuif NUMMER BEGIN EINDE   partitie verplaatsen naar nieuw BEGIN en EINDE"
-
-#~ msgid "resize"
-#~ msgstr "grootte"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
index 50e498e2ce58a45af7093da8e02eca93ccc5f203..74491021629f7ff37faf4bbb47d13917cd67fc80 100644 (file)
Binary files a/po/nn.gmo and b/po/nn.gmo differ
index 4ee70dab4850ee90479ed68f3e083ba13bd3a408..2146ba8e4a334f81bc57c8c76622dc7f24848bc7 100644 (file)
--- a/po/nn.po
+++ b/po/nn.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GNU parted 1.6.6-pre2\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2003-07-04 19:03+0200\n"
 "Last-Translator: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>\n"
 "Language-Team: Norwegian Nynorsk <i18n-nn@lister.ping.uio.no>\n"
@@ -16,9 +16,9 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "Kunne ikkje opna %s."
+msgstr ""
 
 #: lib/argmatch.c:134
 #, c-format
@@ -26,11 +26,10 @@ msgid "ambiguous argument %s for %s"
 msgstr ""
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "Kunne ikkje opna %s."
+msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr ""
 
@@ -60,14 +59,14 @@ msgid "%s: option '--%s' requires an argument\n"
 msgstr ""
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "Kunne ikkje opna %s - ukjend disklabel."
+msgstr ""
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "Kunne ikkje opna %s - ukjend disklabel."
+msgstr ""
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
@@ -115,83 +114,83 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr ""
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr ""
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr ""
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr ""
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr ""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr ""
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr ""
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr ""
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr ""
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr ""
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr ""
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr ""
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr ""
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr ""
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr ""
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ""
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr ""
 
@@ -201,7 +200,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr ""
 
@@ -211,7 +210,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr ""
 
@@ -368,79 +367,79 @@ msgid "memory exhausted"
 msgstr ""
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "Kunne ikkje opna %s."
+msgstr ""
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "Kunne ikkje opna %s."
+msgstr ""
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "Kunne ikkje opna %s."
+msgstr ""
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr ""
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Feil ved opning av %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Kunne ikkje opna %s for både lesing og skriving (%s).  %s er berre opna for "
 "lesing."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s under posisjonering før lesing av %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s under lesing av %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Kan ikkje skriva til %s, sidan han berre er opna for lesing."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s under posisjonering før skriving til %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s under skriving til %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr ""
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -450,13 +449,13 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -500,7 +499,7 @@ msgstr ""
 "endringar du har gjort.  Datamaskinen må startast på nytt før du gjer noko "
 "med %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -513,45 +512,45 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "Fekk feilmeldinga «%s» ved forsøk på å synkronisera %s til disk"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Kunne ikkje undersøkja eininga %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, fuzzy, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Klarte ikkje å finna storleiken til %s (%s)"
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, fuzzy, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Klarte ikkje å finna storleiken til %s (%s)"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Kunne ikkje finna identiteten til eininga %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr ""
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -560,12 +559,12 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Initialisering av SCSI-eininga %s gav feil - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, fuzzy, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -574,7 +573,7 @@ msgstr ""
 "Eininga %s har storleik null, og kan umogleg innehalda eit filsystem eller "
 "ein partisjonstabell.  Kanskje du valte feil eining?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, fuzzy, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -583,87 +582,87 @@ msgstr ""
 "Klarte ikkje å finna geometrien til fila/eininga.  Du bør ikkje bruka Parted "
 "med mindre du VERKELEG veit kva du gjer!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID-kontroller"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATARAID-kontroller"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O-kontroller"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "Kva eining skal vera kjelda?"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Ukjent"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Einingstypen er ikkje støtta"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Feil ved opning av %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, fuzzy, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -675,17 +674,12 @@ msgstr ""
 "omstart av maskinen, så du må ikkje montera han eller bruka han på nokon "
 "måte før omstart."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Klarte ikkje å finna storleiken til %s (%s)"
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr ""
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -694,31 +688,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Kjerna klarte ikkje å lesa partisjonstabellen på %s på nytt (%s).  Dette "
-"tyder at Linux ikkje veit om endringane du har gjort.  Du må ta omstart på "
-"maskinen din før du gjer noko med %s."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Kan ikkje ha slutten før starten!"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Kan ikkje ha ein partisjon utanfor disken!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, fuzzy, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Prøvde å skriva sektorane %ld-%ld utanfor partisjonen på %s"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "ser etter dårlege blokker"
 
@@ -732,12 +712,12 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, fuzzy, c-format
 msgid "%s: unrecognised disk label"
 msgstr "Kunne ikkje opna %s - ukjend disklabel."
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -746,41 +726,41 @@ msgstr ""
 "Dette libparted-biblioteket har ikkje støtte for skriving til %s.  Kanskje "
 "vart det kompilert for kun lesing."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, fuzzy, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Partisjonen %d er %.3f MiB, men filsystemet er %.3f MiB."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, fuzzy, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Ukjent partisjonsflagg, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Ein %s-disklabel støttar ikkje utvidingspartisjonar."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "%s-disklablar støttar ikkje logiske eller utvidingspartisjonar."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 #, fuzzy
 msgid "Too many primary partitions."
 msgstr "For mange primærpartisjonar"
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -788,111 +768,129 @@ msgstr ""
 "Kan ikkje leggja ein logisk partisjon til %s, sidan der ikkje er nokon "
 "utvidingspartisjon."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, fuzzy, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Kan ikkje ha meir enn éin utvidingspartisjon på %s"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Kan ikkje ha logiske partisjonar utanfor utvidingspartisjonen."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "Ein logisk partisjon kan ikkje liggja utanfor utvidingspartisjonen på %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
+#: libparted/disk.c:1911
+msgid "Can't have a primary partition inside an extended partition."
+msgstr "Ein primærpartisjon kan ikkje liggja inne i ein utvidingspartisjon."
+
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Kan ikkje ha ein partisjon utanfor disken!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
 #, fuzzy
 msgid "Can't have overlapping partitions."
 msgstr "Partisjonar kan ikkje overlappa kvarandre."
 
-#: libparted/disk.c:1958
-msgid "Can't have a primary partition inside an extended partition."
-msgstr "Ein primærpartisjon kan ikkje liggja inne i ein utvidingspartisjon."
-
-#: libparted/disk.c:2389
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadata"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "ledig"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "utviding"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logisk"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primær"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "rot"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "skjult"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr ""
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr ""
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr ""
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Ja"
+
+#: libparted/disk.c:2414
 #, fuzzy, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Ukjent partisjonsflagg, %d."
@@ -950,15 +948,13 @@ msgid "Cancel"
 msgstr "Avbryt"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"Ein programfeil oppstod i GNU Parted.  Ver venleg å senda ei feilmelding til "
-"bug-parted@gnu.org der du oppgjev versjonsnummeret (%s) og fylgjande melding:"
 
 #: libparted/labels/aix.c:103
 #, fuzzy
@@ -994,10 +990,10 @@ msgstr "St
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "Støtte for å laga %s-filsystem er ikkje lagt inn enno."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Kunne ikkje oppfylla alle dei tekniske krava til partisjonen."
@@ -1007,30 +1003,30 @@ msgstr "Kunne ikkje oppfylla alle dei tekniske krava til partisjonen."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Kunne ikkje tilordna plass i BSD-disklabel."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 #, fuzzy
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Kunne ikkje tilordna plass i BSD-disklabel."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, fuzzy, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Ugyldig partisjonstabell på %s - feil signatur %x"
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Ugyldig partisjonstabell - rekursiv partisjon på %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Kan ikkje laga fleire partisjonar."
@@ -1072,120 +1068,110 @@ msgstr "Berre logiske partisjonar (bootfiler) kan ha namn."
 msgid "Too many primary partitions"
 msgstr "For mange primærpartisjonar"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 #, fuzzy
 msgid "Unsupported disk type"
 msgstr "ped_device_new()  Einingstypen er ikkje støtta"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr ""
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr ""
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr ""
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 #, fuzzy
 msgid "Fatal error"
 msgstr "Kritisk"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 #, fuzzy
 msgid "No room for partition info."
 msgstr "Fann ikkje noko gyldig partisjonskart."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 #, fuzzy
 msgid "Could not retrieve disk geometry information."
 msgstr "Kunne ikkje lesa geometrien til %s - %s."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, fuzzy, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s inneheld GPT-signaturar, som tyder på at han har ein GPT-tabell.  Men han "
-"har ikkje ein gyldig falsk MSDOS-partisjonstabell slik han skulle.  Kanskje "
-"vart han øydelagt, t.d. av eit program som ikkje forstår GPT-"
-"partisjonstabellar.  Eller kanskje du har sletta GPT-tabellen og brukar no "
-"ein MSDOS-partisjonstabell.  Er dette ein GPT-partisjonstabell?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Filsystemet er for lite for ext2."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1195,7 +1181,7 @@ msgstr ""
 "Parted kan kjenna att.  Ver venleg å seia i frå med ein epost til <bug-"
 "parted@gnu.org> (skriv helst på engelsk)"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1203,10 +1189,10 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Sikringskopien av GPT-tabellen er ikkje sist på disken slik han skal vera.  "
@@ -1214,7 +1200,7 @@ msgstr ""
 "dette rettast ved å flytta kopien til slutten av disken (og sletta den gamle "
 "kopien)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 #, fuzzy
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
@@ -1223,7 +1209,7 @@ msgstr ""
 "Både originalen og kopien av GPT-tabellen er korrupt.  Prøv å laga ein ny "
 "tom tabell, og bruk Parteds redningsmodus til å finna partisjonane."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 #, fuzzy
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
@@ -1232,7 +1218,7 @@ msgstr ""
 "GPT-tabellen er korrupt, men sikringskopien ser frisk ut, så kopien vert "
 "brukt."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 #, fuzzy
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
@@ -1241,10 +1227,15 @@ msgstr ""
 "GPT-tabellen er korrupt, men sikringskopien ser frisk ut, så kopien vert "
 "brukt."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Kva partisjonsnummer er målet?"
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1259,35 +1250,35 @@ msgstr "Partisjonskartet inneheld ingen oppf
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s er for liten for ein Mac-disklabel!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Partisjon %d har ein ugyldig signatur %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Partisjon %d har ei ugyldig lengde på 0 oktettar!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 #, fuzzy
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Dataregionen startar ikkje på starten av partisjonen"
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 #, fuzzy
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Bootregionen startar ikkje på starten av partisjonen"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Bootregionen fyller ikkje heile partisjonen."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Dataregionen fyller ikkje heile partisjonen."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1295,7 +1286,7 @@ msgstr ""
 "Merkeleg blokkstorleik på einingsdeskriptor: %d oktettar er ikkje deleleg på "
 "512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1304,11 +1295,11 @@ msgstr ""
 "Drivardeskriptoren seier at den fysiske blokkstorleiken er %d oktettar, men "
 "Linux seier at han er %d oktettar."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Fann ikkje noko gyldig partisjonskart."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, fuzzy, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1317,7 +1308,7 @@ msgstr ""
 "Motstridande storleikar i partisjonskartet!  Oppføring 1 seier at han er %d, "
 "men oppføring %d seier at han er %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 #, fuzzy
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Merkeleg - to partisjonskartoppføringar!"
@@ -1330,7 +1321,7 @@ msgstr ""
 "Endrar du namnet på ein rot- eller swap-partisjon, vil ikkje Linux lenger "
 "kjenna han igjen."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 #, fuzzy
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Kan ikkje leggja til ein partisjon til - partisjonskartet er for lite!"
@@ -1472,58 +1463,62 @@ msgstr ""
 msgid "reading from device failed"
 msgstr ""
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 #, fuzzy
 msgid "Could not read volume label."
 msgstr "Kunne ikkje lesa geometrien til %s - %s."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 #, fuzzy
 msgid "Could not write volume label."
 msgstr "Kan ikkje kjenna igjen noko filsystem."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr ""
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Tom for minne."
 
@@ -1559,25 +1554,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr ""
@@ -1617,7 +1612,7 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr ""
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 #, fuzzy
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
@@ -1626,23 +1621,22 @@ msgstr ""
 "GNU parted er feilkompilert:  ein bootsektor i FAT skal vera 512 oktettar.  "
 "FAT-støtte er no skrudd av."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Filsystemet har ein ugyldig signatur til å vera eit FAT-filsystem."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Filsystemet har ein ugyldig sektorstorleik til å vera eit FAT-filsystem."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "Filsystemet har ein storleik på allokeringseininga som er ugyldig for FAT-"
 "filsystem."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 #, fuzzy
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
@@ -1650,68 +1644,49 @@ msgstr ""
 "Filsystemet har eit ugyldig tal på reserverte sektorar til å vera eit FAT-"
 "filsystem"
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 #, fuzzy
 msgid "File system has an invalid number of FATs."
 msgstr "Filsystemet har eit ugyldig tal på FAT-ar."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Dette filsystemet har ein logisk sektorstorleik på %d.  GNU Parted fungerer "
-"berre skikkeleg når sektorstorleiken er 512 oktettar."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "Bootsektoren i FAT seier at logisk sektorstorleik er 0.  Det var rart. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "Bootsektoren i FAT seier at der ikkje er nokon FAT-tabellar.  Det var rart. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "Bootsektoren i FAT seier at allokeringseininga er 0 sektorar.  Det var rart. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 #, fuzzy
 msgid "File system is FAT12, which is unsupported."
 msgstr "Filsystemet er FAT12, som er ustøtta."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Informasjonssektoren har feil signatur (%x).  Vel avbryt, og send inn ein "
-"feilrapport.  Viss du er desperat, er det sannsynlegvis trygt å oversjå "
-"denne feilen."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Ukjent swap-signatur for Linux '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, fuzzy, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Ukjent swap-signatur for Linux '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, fuzzy, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Ukjent swap-signatur for Linux '%10s'."
@@ -1723,7 +1698,16 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Dette filsystemet har ein logisk sektorstorleik på %d.  GNU Parted fungerer "
+"berre skikkeleg når sektorstorleiken er 512 oktettar."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1733,6 +1717,16 @@ msgid ""
 "geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Informasjonssektoren har feil signatur (%x).  Vel avbryt, og send inn ein "
+"feilrapport.  Viss du er desperat, er det sannsynlegvis trygt å oversjå "
+"denne feilen."
+
 #: libparted/fs/r/fat/calc.c:134
 #, fuzzy, c-format
 msgid ""
@@ -1796,12 +1790,12 @@ msgstr ""
 "Fila %s er klassifisert som ei systemfil.  Å flytta denne fila kan føra til "
 "at nokon program sluttar å fungera."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, fuzzy, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partisjonen er for liten eller stor for eit %s-filsystem"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1809,11 +1803,11 @@ msgstr ""
 "FAT-ane stemmer ikkje overeins.  Viss du ikkje veit kva dette tyder, vel "
 "avbryt, køyr scandisk på filsystem, og kom attende."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Der er ingen moglege konfigurasjonar for denne FAT-typen."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1824,7 +1818,7 @@ msgstr ""
 "er %d KiB (%d KiB er forventa), talet på allokeringseiningar er %d (%d er "
 "forventa), FAT-ane er på %d sektorar (%d er forventa)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2058,9 +2052,8 @@ msgid "Error while writing the allocation file."
 msgstr "Feil ved skriving til toppkatalogen."
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Feil ved skriving til toppkatalogen."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2232,7 +2225,7 @@ msgstr "vis programversjon"
 #: parted/parted.c:130
 #, fuzzy
 msgid "alignment for new partitions"
-msgstr "Kan ikkje laga fleire partisjonar."
+msgstr "Kan ikkje kopiera utvidingspartisjonar."
 
 #: parted/parted.c:142
 #, fuzzy
@@ -2248,28 +2241,28 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "LABEL-TYPE er ein av: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAGG er eitt av: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 #, fuzzy
 msgid "UNIT is one of: "
 msgstr "FLAGG er eitt av: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "PART-TYPE er ein av: primær, logisk, utviding\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "FS-TYPE er ein av: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 #, fuzzy
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
@@ -2278,19 +2271,25 @@ msgid ""
 msgstr ""
 "START og SLUTT er i mebibytes.  Negative verdiar tel frå slutten av disken.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "STATUS er ein av: av, på\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "EINING er vanlegvis /dev/hda eller /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAMN er eit valfritt ord\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 #, fuzzy
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
@@ -2313,150 +2312,144 @@ msgstr ""
 "eller BRUK TIL NOKO FORMÅL.  Sjå GNU General Public License for detaljar.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(tid att %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "Partisjonen %s er i bruk.  Endringar no kan føre til alvorleg datatap."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Partisjon(ane) på %s er i bruk."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Ny disklabel-type?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Partisjonstype?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Partisjonsnamn?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Filsystemtype?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Start?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Slutt?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Du bad om ein partisjon på %.3f-%.3f MiB.  Det nærmaste Parted kan koma er "
-"%.3f-%.3f MiB."
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Partisjonsnummer?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr ""
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, fuzzy, c-format
 msgid "Disk %s: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Disklabel-type: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, fuzzy, c-format
 msgid "Partition Table: %s\n"
 msgstr "Partisjonsnamn?"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Disklabel-type: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr ""
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 #, fuzzy
 msgid "Start"
 msgstr "Start?"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 #, fuzzy
 msgid "End"
 msgstr "Slutt?"
 
-#: parted/parted.c:1119
-#, fuzzy
+#: parted/parted.c:1143
 msgid "Size"
-msgstr "resize"
+msgstr ""
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr ""
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 #, fuzzy
 msgid "File system"
 msgstr "Filsystem?"
 
-#: parted/parted.c:1128
-#, fuzzy
+#: parted/parted.c:1152
 msgid "Name"
-msgstr "name"
+msgstr ""
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Flagg"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr ""
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, fuzzy, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2465,57 +2458,66 @@ msgstr ""
 "Ein %s %s-partisjon vart funnen på %.3f MiB -> %.3f MiB.  Ønskjer du å "
 "leggja han til i partisjonstabellen?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "leitar etter filsystem"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Ny eining?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 #, fuzzy
 msgid "Flag to Invert?"
 msgstr "Flagg som skal endrast?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Ny status?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr ""
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 #, fuzzy
 msgid "align-check"
 msgstr "check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 #, fuzzy
 msgid ""
 "help [COMMAND]                           print general help, or help on "
@@ -2523,32 +2525,31 @@ msgid ""
 msgstr ""
 "help [KOMMANDO]               gjev generell hjelp, eller hjelp om KOMMANDO"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
-#, fuzzy
+#: parted/parted.c:1933
 msgid "mktable"
-msgstr "mklabel"
+msgstr ""
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 #, fuzzy
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr "mklabel LABEL-TYPE            lag ny disklabel (partisjonstabell)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 #, fuzzy
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart PART-TYPE [FS-TYPE] START SLUTT    lag ein partisjon"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 #, fuzzy
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
@@ -2557,27 +2558,27 @@ msgstr ""
 "mkpart lagar ein partisjon utan å laga eit nytt filsystem der.  Du kan "
 "spesifisera FS-TYPE for å setja ein passande partisjons-id.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 #, fuzzy
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name NR NAMN                  gje partisjonen NR namnet NAMN"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 #, fuzzy
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
@@ -2587,41 +2588,41 @@ msgstr ""
 "partisjonsnummer er oppgjeve, vil meir detaljert informasjon om\n"
 "partisjonen verta vist.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 #, fuzzy
 msgid "quit                                     exit program"
 msgstr "quit                          avslutt programmet"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 #, fuzzy
 msgid ""
 "rescue START END                         rescue a lost partition near START "
@@ -2629,104 +2630,120 @@ msgid ""
 msgstr ""
 "rescue START SLUTT            redd tapte partisjonar nær START og SLUTT"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm NR                         slett partisjonen NR"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 #, fuzzy
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm NR                         slett partisjonen NR"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 #, fuzzy
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select EINING                 vel eininga du vil gjera endringar på"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set NR FLAGG STATUS           endra eit flagg på partisjonen NR"
+msgstr ""
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr ""
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 #, fuzzy
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set NR FLAGG STATUS           endra eit flagg på partisjonen NR"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr ""
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 
-#: parted/parted.c:1945
-#, fuzzy
+#: parted/parted.c:2065
 msgid "unit"
-msgstr "quit"
+msgstr ""
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 #, fuzzy
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "quit                          avslutt programmet"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr ""
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Ingen diskar funne"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 #, fuzzy
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Gløym ikkje å oppdatera /etc/fstab, om naudsynt.\n"
@@ -2913,98 +2930,182 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, fuzzy, c-format
 msgid "invalid token: %s"
-msgstr "Kunne ikkje opna %s."
+msgstr "Ugyldig partisjonstabell på %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Forventa eit partisjonsnummer."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Partisjonen finst ikkje."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Forventa ei filsystemtype."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Filsystemtypen «%s» er ukjend."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Forventa ein disklabel-type."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Kan ikkje laga fleire partisjonar."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Forventa ein partisjonstype."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "på"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "av"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "FLAGG:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "KOMMANDOar:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Brukar %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr ""
 
-#, fuzzy
-#~ msgid "too few arguments"
-#~ msgstr "For mange dårlege sider."
+#~ msgid ""
+#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
+#~ "with drives with sector sizes other than %d bytes"
+#~ msgstr ""
+#~ "Sektorane på %s er %d oktettar store.  Parted fungerer berre skikkeleg på "
+#~ "diskar som har ein sektorstorleik på %d oktettar"
 
-#, fuzzy
-#~ msgid "too many arguments"
-#~ msgstr "For mange dårlege sider."
+#~ msgid "Device %s has dodgey geometry."
+#~ msgstr "Eininga %s har tvilsam geometri."
 
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "Kunne ikkje opna %s."
+#~ msgid "IDE"
+#~ msgstr "IDE"
+
+#~ msgid "SCSI"
+#~ msgstr "SCSI"
+
+#~ msgid "Device %s is neither a SCSI nor IDE drive."
+#~ msgstr "Eininga %s er korkje ein SCSI- eller IDE-disk."
+
+#~ msgid "Error reading %s (%s) to determine if partition is mounted."
+#~ msgstr "Feil ved lesing av %s (%s) for å avgjera om partisjonen er montert."
+
+#~ msgid ""
+#~ "Unable to determine if partitions are mounted via /proc/mounts or /etc/"
+#~ "mtab.  Make sure you don't attempt to resize or modify mounted file "
+#~ "systems.  (Even read-only mounted)"
+#~ msgstr ""
+#~ "Kunne ikkje finna liste over monterte partisjonar i /proc/mounts eller /"
+#~ "etc/mtab.  Forsikra deg om at du ikkje prøver å endra på monterte "
+#~ "filsystem (sjølv om dei er montert med kun lesetilgang)"
+
+#~ msgid ""
+#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
+#~ "means Linux won't know anything nothing about the modifications you made "
+#~ "until you reboot.  You should reboot your computer before doing anything "
+#~ "with %s."
+#~ msgstr ""
+#~ "Kjerna klarte ikkje å lesa partisjonstabellen på %s på nytt (%s).  Dette "
+#~ "tyder at Linux ikkje veit om endringane du har gjort.  Du må ta omstart "
+#~ "på maskinen din før du gjer noko med %s."
+
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  However, the most likely reason is that Linux "
+#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
+#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
+#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
+#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
+#~ "GRUB documentation for more information.  If you think Parted's suggested "
+#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
+#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
+#~ msgstr ""
+#~ "Partisjonstabellen på %s er inkonsistent.  Det kan koma av mange ting, "
+#~ "men mest sannsynleg har Linux brukt feil BIOS-geometri for %s.  GNU "
+#~ "Parted trur den verkelege geometrien er %d/%d/%d (ikkje %d/%d/%d).  Sjekk "
+#~ "først i BIOS om det stemmer.  Du kan læra Linux dette ved å leggja til "
+#~ "parameteren %s=%d,%d,%d på kjernekommandolinja.  Sjå dokumentasjonen til "
+#~ "LILO eller GRUB for meir informasjon.  Viss du trur geometrien Parted "
+#~ "foreslår er rett, kan du velja Ignorer for å halda fram (og fiksa Linux "
+#~ "seinare).  Viss ikkje, vel Avbryt (og fiks Linux og/eller BIOS-en no)."
+
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  Often, the reason is that Linux detected the "
+#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
+#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
+#~ "with some boot loaders, and may cause problems with FAT file systems.  "
+#~ "Using LBA is recommended."
+#~ msgstr ""
+#~ "Partisjonstabellen på %s er inkonsistent.  Det kan koma av mange ting, og "
+#~ "ofte er grunnen at Linux har brukt feil BIOS-geometri.  I dette tilfellet "
+#~ "ser det ikkje slik ut.  Det er trygt å oversjå denne feilen, men du kan "
+#~ "koma bort i problem med boot-lastaren (som kan rettast opp), og med FAT-"
+#~ "filsystem.  Det er tilrådd å bruka LBA."
+
+#~ msgid ""
+#~ "Unable to align partition properly.  This probably means that another "
+#~ "partitioning tool generated an incorrect partition table, because it "
+#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
+#~ "may cause (fixable) problems with some boot loaders."
+#~ msgstr ""
+#~ "Kunne ikkje plassera partisjonen på ei passande skiljelinje.  Dette tyder "
+#~ "vanlegvis at eit anna partisjonsprogram har laga ein partisjonstabell med "
+#~ "feil BIOS-geometri.  Det er trygt å oversjå denne feilen, men du kan kome "
+#~ "bort i problem med boot-lastaren (som kan rettast opp)."
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted - possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s inneheld GPT-signaturar, som tyder på at han har ein GPT-tabell.  Men "
+#~ "han har ikkje ein gyldig falsk MSDOS-partisjonstabell slik han skulle.  "
+#~ "Kanskje vart han øydelagt, t.d. av eit program som ikkje forstår GPT-"
+#~ "partisjonstabellar.  Eller kanskje du har sletta GPT-tabellen og brukar "
+#~ "no ein MSDOS-partisjonstabell.  Er dette ein GPT-partisjonstabell?"
 
 #~ msgid "Support for opening %s file systems is not implemented yet."
 #~ msgstr "Støtte for å opna %s-filsystem er ikkje lagt inn enno."
 
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr "Støtte for å laga %s-filsystem er ikkje lagt inn enno."
-
 #~ msgid "Support for checking %s file systems is not implemented yet."
 #~ msgstr "Støtte for å sjekka %s-filsystem for feil er ikkje lagt inn enno."
 
@@ -3017,10 +3118,9 @@ msgstr ""
 #~ msgid "Can't copy onto an overlapping partition."
 #~ msgstr "Kan ikkje kopiera inn i ein overlappande partisjon."
 
-#, fuzzy
 #~ msgid ""
 #~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
+#~ "However, support for resizing implemented.  Therefore, the file system "
 #~ "can be copied if the new partition is at least as big as the old one.  "
 #~ "So, either shrink the partition you are trying to copy, or copy to a "
 #~ "bigger partition."
@@ -3033,116 +3133,95 @@ msgstr ""
 #~ msgid "Support for copying %s file systems is not implemented yet."
 #~ msgstr "Støtte for å kopiera %s-filsystem er ikkje lagt inn enno."
 
-#, fuzzy
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr "Filsystemet har ein ugyldig signatur til å vera eit FAT-filsystem."
-
-#, fuzzy
-#~ msgid "checking"
-#~ msgstr "check"
-
-#, fuzzy
 #~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
+#~ "A bug has been detected in GNU parted.  Please email a bug report to bug-"
+#~ "parted@gnu.org containing the version (%s) and the following message:"
 #~ msgstr ""
-#~ "Ext2-filsystemet gjekk gjennom ein enkel sjekk.  For ein meir grundig "
-#~ "sjekk, bruk programmet e2fsck."
+#~ "Ein programfeil oppstod i GNU Parted.  Ver venleg å senda ei feilmelding "
+#~ "til bug-parted@gnu.org der du oppgjev versjonsnummeret (%s) og fylgjande "
+#~ "melding:"
 
-#, fuzzy
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr "Beklagar, kan ikkje flytta starten på ein ext2-partisjon enno!"
-
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "Åtvaring"
-
-#, fuzzy
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Filsystemet er for lite for ext2."
+#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
+#~ msgstr "Prøvde å lesa sektorane %ld-%ld utanfor partisjonen på %s"
 
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "Inkonsistente gruppe-deskriptorar"
 
-#, fuzzy
-#~ msgid "File system full!"
+#~ msgid "Filesystem full!"
 #~ msgstr "Filsystemet er fullt!"
 
-#, fuzzy
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
+#~ msgid ""
+#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
+#~ "this (yet)."
+#~ msgstr ""
+#~ "Dette ext2-filsystemet har eit ganske rart utlegg.  Parted kan ikkje "
+#~ "endra storleiken på det (enno)."
+
+#~ msgid "Invalid superblock.  Are you sure this is an ext2 filesystem?"
 #~ msgstr ""
 #~ "Ugyldig superblokk.  Er du sikker på at dette er eit ext2-filsystem?"
 
-#, fuzzy
-#~ msgid "File system has errors!  You should run e2fsck."
+#~ msgid "Filesystem has errors!  You should run e2fsck."
 #~ msgstr "Der er feil på filsystemet!  Køyr e2fsck først."
 
-#, fuzzy
 #~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
+#~ "Filesystem was not cleanly unmounted!  You should e2fsck.  Modifying an "
+#~ "unclean filesystem could cause severe corruption."
 #~ msgstr ""
 #~ "Filsystemet vart ikkje avmontert på ein rein og pen måte.  Du må køyra "
 #~ "e2fsck.  Å gjera endringar på eit ureint filsystem kan føre til alvorleg "
 #~ "datatap."
 
+#~ msgid "Filesystem has incompatible feature enabled"
+#~ msgstr "Filsystemet brukar finessar GNU parted ikkje støttar"
+
 #~ msgid "Error allocating buffer cache."
 #~ msgstr "Kunne ikkje allokera buffercache."
 
-#, fuzzy
 #~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
+#~ "Found an inode with a incorrect link count.  Better go run e2fsck first."
 #~ msgstr "Fann ein inode med feil tal på lenkar.  Du bør køyra e2fsck først."
 
 #~ msgid "Not enough free inodes!"
 #~ msgstr "For få ledige inodar!"
 
-#, fuzzy
-#~ msgid "File system is too full to remove a group!"
+#~ msgid "Filesystem is too occupied to remove a group!"
 #~ msgstr "Filsystemet er for fullt til å sletta ei gruppe!"
 
-#, fuzzy
-#~ msgid "File system has too many allocated inodes to remove a group!"
+#~ msgid "Filesystem has too many allocated inodes to remove a group!"
 #~ msgstr "Filsystemet har for mange inodar i bruk til å sletta ei gruppe!"
 
 #~ msgid "adding groups"
 #~ msgstr "legg til grupper"
 
-#, fuzzy
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
+#~ msgid "Your filesystem is too occupied to resize it to %i blocks. Sorry."
 #~ msgstr ""
 #~ "Filsystemet er for fullt til at ein kan endra storleiken til %i blokker.  "
 #~ "Beklagar."
 
-#, fuzzy
 #~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
+#~ "Your filesystem has too much occupied inodes to resize it to %i blocks. "
 #~ "Sorry."
 #~ msgstr ""
 #~ "Filsystemet har for mange inodar i bruk til at ein kan endra storleiken "
 #~ "til %i blokker.  Beklagar."
 
-#, fuzzy
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
+#~ msgid "Filesystem was not cleanly unmounted!  You should e2fsck."
 #~ msgstr ""
 #~ "Filsystemet vart ikkje avmontert på ein rein og pen måte.  Du må køyra "
 #~ "e2fsck."
 
-#, fuzzy
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
+#~ msgid "Cross-linked blocks found! better go run e2fsck first!"
 #~ msgstr "Krysslenka blokker funne!  Køyr e2fsck først!"
 
-#, fuzzy
-#~ msgid "Block %i has no reference?  Weird."
+#~ msgid "Block %i has no reference?  Weird"
 #~ msgstr "Blokk %i har ingen referansar til seg?  Rart"
 
-#, fuzzy
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
+#~ msgid "Block %i shouldn't have been marked!"
 #~ msgstr "Blokk %i burde ikkje ha vore merka!"
 
-#, fuzzy
 #~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
+#~ "The ext2 filesystem passed a basic check.  For a more comprehensive "
 #~ "check, use the e2fsck program."
 #~ msgstr ""
 #~ "Ext2-filsystemet gjekk gjennom ein enkel sjekk.  For ein meir grundig "
@@ -3157,29 +3236,29 @@ msgstr ""
 #~ msgid "writing per-group metadata"
 #~ msgstr "skriv per-gruppe metadata"
 
-#~ msgid "File system too small for ext2."
-#~ msgstr "Filsystemet er for lite for ext2."
+#~ msgid "File system has an invalid signature for a FAT file systems."
+#~ msgstr "Filsystemet har ein ugyldig signatur til å vera eit FAT-filsystem."
 
 #~ msgid "Too many bad pages."
 #~ msgstr "For mange dårlege sider."
 
+#~ msgid "where necessary, prompts for user intervention"
+#~ msgstr "der naudsynt, spør brukaren"
+
 #~ msgid "Source partition number?"
 #~ msgstr "Kva partisjonsnummer skal vera kjelda?"
 
-#, fuzzy
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "Kan ikkje kopiera utvidingspartisjonar."
-
-#~ msgid "Destination partition number?"
-#~ msgstr "Kva partisjonsnummer er målet?"
-
-#, fuzzy
 #~ msgid ""
-#~ "An extended partition cannot hold a file system.  Did you want mkpart?"
+#~ "You requested to create a partition at %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Du bad om ein partisjon på %.3f-%.3f MiB.  Det nærmaste Parted kan koma "
+#~ "er %.3f-%.3f MiB."
+
+#~ msgid "Extended partitions can't have file systems.  Did you want mkpart?"
 #~ msgstr "Utvidingspartisjonar kan ikkje ha filsystem.  Meinte du mkpart?"
 
-#, fuzzy
-#~ msgid "Can't move an extended partition."
+#~ msgid "Can't move extended partitions."
 #~ msgstr "Kan ikkje flytta utvidingspartisjonar."
 
 #~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
@@ -3187,44 +3266,62 @@ msgstr ""
 #~ "Kan ikkje flytta ein partisjon til seg sjølv.  Kanskje du vil prøva å "
 #~ "endra storleik?"
 
+#~ msgid ""
+#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Du bad om å flytta partisjonen til %.3f-%.3f MiB.  Det nærmaste Parted "
+#~ "kan klara er %.3f-%.3f MiB."
+
 #~ msgid "Minor: %d\n"
 #~ msgstr "Nummer: %d\n"
 
-#, fuzzy
-#~ msgid "Flags: %s\n"
+#~ msgid "Flags: "
 #~ msgstr "Flagg: "
 
 #~ msgid "File System: %s\n"
 #~ msgstr "Filsystem: %s\n"
 
-#, fuzzy
-#~ msgid "Size:         "
+#~ msgid "Size:         %10.3fMb (%d%%)\n"
 #~ msgstr "Storleik:         %10.3fMiB (%d%%)\n"
 
-#, fuzzy
-#~ msgid "Minimum size: "
+#~ msgid "Minimum size: %10.3fMb (%d%%)\n"
 #~ msgstr "Minste storleik:  %10.3fMiB (%d%%)\n"
 
-#, fuzzy
-#~ msgid "Maximum size: "
+#~ msgid "Maximum size: %10.3fMb (%d%%)\n"
 #~ msgstr "Største storleik: %10.3fMiB (%d%%)\n"
 
-#~ msgid "check"
-#~ msgstr "check"
+#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
+#~ msgstr "Diskgeometri for %s: 0.000-%.3f mebibytes\n"
+
+#~ msgid "Minor    Start       End     "
+#~ msgstr "Nr       Start       End     "
+
+#~ msgid "Type      "
+#~ msgstr "Type      "
+
+#~ msgid "Filesystem  "
+#~ msgstr "Filsystem   "
+
+#~ msgid "Name                  "
+#~ msgstr "Namn                  "
 
-#, fuzzy
 #~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
+#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Du bad om å endra storleik på partisjonen til %.3f-%.3f MiB.  Det "
+#~ "nærmaste Parted kan klara er %.3f-%.3f MiB."
+
+#~ msgid "check MINOR                   do a simple check on the filesystem"
 #~ msgstr ""
 #~ "check NR                      ta ein enkel konsistenssjekk av filsystemet"
 
 #~ msgid "cp"
 #~ msgstr "cp"
 
-#, fuzzy
 #~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copy filesystem to another "
 #~ "partition"
 #~ msgstr ""
 #~ "cp [FRÅ-EINING] FRÅ-NR TIL-NR      kopier filsystem til ein annan "
@@ -3233,20 +3330,18 @@ msgstr ""
 #~ msgid "mkfs"
 #~ msgstr "mkfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
+#~ "mkfs MINOR FS-TYPE            make a filesystem FS-TYPE on partititon "
+#~ "MINOR"
 #~ msgstr ""
 #~ "mkfs NR FS-TYPE               lag eit filsystem av FS-TYPE på partisjon NR"
 
 #~ msgid "mkpartfs"
 #~ msgstr "mkpartfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
+#~ "mkpartfs PART-TYPE FS-TYPE START END      make a partition with a "
+#~ "filesystem"
 #~ msgstr ""
 #~ "mkpartfs PART-TYPE FS-TYPE START SLUTT    lag ein partition med eit "
 #~ "filsystem"
@@ -3254,168 +3349,9 @@ msgstr ""
 #~ msgid "move"
 #~ msgstr "move"
 
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
+#~ msgid "move MINOR START END          move partition MINOR"
 #~ msgstr "move NR START SLUTT           flytt partisjonen NR"
 
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "rescue START SLUTT            redd tapte partisjonar nær START og SLUTT"
-
-#, fuzzy
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Klarte ikkje å finna storleiken til %s (%s)"
-
-#, fuzzy
-#~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr ""
-#~ "Kjerna klarte ikkje å lesa partisjonstabellen på %s på nytt (%s).  Dette "
-#~ "tyder at Linux ikkje veit om endringane du har gjort.  Du må ta omstart "
-#~ "på maskinen din før du gjer noko med %s."
-
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than %d bytes"
-#~ msgstr ""
-#~ "Sektorane på %s er %d oktettar store.  Parted fungerer berre skikkeleg på "
-#~ "diskar som har ein sektorstorleik på %d oktettar"
-
-#~ msgid "Device %s has dodgey geometry."
-#~ msgstr "Eininga %s har tvilsam geometri."
-
-#~ msgid "IDE"
-#~ msgstr "IDE"
-
-#~ msgid "SCSI"
-#~ msgstr "SCSI"
-
-#~ msgid "Device %s is neither a SCSI nor IDE drive."
-#~ msgstr "Eininga %s er korkje ein SCSI- eller IDE-disk."
-
-#~ msgid "Error reading %s (%s) to determine if partition is mounted."
-#~ msgstr "Feil ved lesing av %s (%s) for å avgjera om partisjonen er montert."
-
-#~ msgid ""
-#~ "Unable to determine if partitions are mounted via /proc/mounts or /etc/"
-#~ "mtab.  Make sure you don't attempt to resize or modify mounted file "
-#~ "systems.  (Even read-only mounted)"
-#~ msgstr ""
-#~ "Kunne ikkje finna liste over monterte partisjonar i /proc/mounts eller /"
-#~ "etc/mtab.  Forsikra deg om at du ikkje prøver å endra på monterte "
-#~ "filsystem (sjølv om dei er montert med kun lesetilgang)"
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  However, the most likely reason is that Linux "
-#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
-#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
-#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
-#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
-#~ "GRUB documentation for more information.  If you think Parted's suggested "
-#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
-#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
-#~ msgstr ""
-#~ "Partisjonstabellen på %s er inkonsistent.  Det kan koma av mange ting, "
-#~ "men mest sannsynleg har Linux brukt feil BIOS-geometri for %s.  GNU "
-#~ "Parted trur den verkelege geometrien er %d/%d/%d (ikkje %d/%d/%d).  Sjekk "
-#~ "først i BIOS om det stemmer.  Du kan læra Linux dette ved å leggja til "
-#~ "parameteren %s=%d,%d,%d på kjernekommandolinja.  Sjå dokumentasjonen til "
-#~ "LILO eller GRUB for meir informasjon.  Viss du trur geometrien Parted "
-#~ "foreslår er rett, kan du velja Ignorer for å halda fram (og fiksa Linux "
-#~ "seinare).  Viss ikkje, vel Avbryt (og fiks Linux og/eller BIOS-en no)."
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  Often, the reason is that Linux detected the "
-#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
-#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
-#~ "with some boot loaders, and may cause problems with FAT file systems.  "
-#~ "Using LBA is recommended."
-#~ msgstr ""
-#~ "Partisjonstabellen på %s er inkonsistent.  Det kan koma av mange ting, og "
-#~ "ofte er grunnen at Linux har brukt feil BIOS-geometri.  I dette tilfellet "
-#~ "ser det ikkje slik ut.  Det er trygt å oversjå denne feilen, men du kan "
-#~ "koma bort i problem med boot-lastaren (som kan rettast opp), og med FAT-"
-#~ "filsystem.  Det er tilrådd å bruka LBA."
-
-#~ msgid ""
-#~ "Unable to align partition properly.  This probably means that another "
-#~ "partitioning tool generated an incorrect partition table, because it "
-#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
-#~ "may cause (fixable) problems with some boot loaders."
-#~ msgstr ""
-#~ "Kunne ikkje plassera partisjonen på ei passande skiljelinje.  Dette tyder "
-#~ "vanlegvis at eit anna partisjonsprogram har laga ein partisjonstabell med "
-#~ "feil BIOS-geometri.  Det er trygt å oversjå denne feilen, men du kan kome "
-#~ "bort i problem med boot-lastaren (som kan rettast opp)."
-
-#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
-#~ msgstr "Prøvde å lesa sektorane %ld-%ld utanfor partisjonen på %s"
-
-#~ msgid ""
-#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
-#~ "this (yet)."
-#~ msgstr ""
-#~ "Dette ext2-filsystemet har eit ganske rart utlegg.  Parted kan ikkje "
-#~ "endra storleiken på det (enno)."
-
-#~ msgid "Filesystem has incompatible feature enabled"
-#~ msgstr "Filsystemet brukar finessar GNU parted ikkje støttar"
-
-#~ msgid "File system has an invalid signature for a FAT file systems."
-#~ msgstr "Filsystemet har ein ugyldig signatur til å vera eit FAT-filsystem."
-
-#~ msgid "where necessary, prompts for user intervention"
-#~ msgstr "der naudsynt, spør brukaren"
-
-#~ msgid ""
-#~ "Partition %s is being used.  Modifying it while it is in use could cause "
-#~ "severe corruption."
-#~ msgstr ""
-#~ "Partisjonen %s er i bruk.  Endringar no kan føre til alvorleg datatap."
-
-#~ msgid ""
-#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr ""
-#~ "Du bad om å flytta partisjonen til %.3f-%.3f MiB.  Det nærmaste Parted "
-#~ "kan klara er %.3f-%.3f MiB."
-
-#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
-#~ msgstr "Diskgeometri for %s: 0.000-%.3f mebibytes\n"
-
-#~ msgid "Disk label type: %s\n"
-#~ msgstr "Disklabel-type: %s\n"
-
-#~ msgid "Minor    Start       End     "
-#~ msgstr "Nr       Start       End     "
-
-#~ msgid "Type      "
-#~ msgstr "Type      "
-
-#~ msgid "Filesystem  "
-#~ msgstr "Filsystem   "
-
-#~ msgid "Name                  "
-#~ msgstr "Namn                  "
-
-#~ msgid ""
-#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr ""
-#~ "Du bad om å endra storleik på partisjonen til %.3f-%.3f MiB.  Det "
-#~ "nærmaste Parted kan klara er %.3f-%.3f MiB."
-
 #~ msgid ""
 #~ "print [MINOR]                 display the partition table, or a partition"
 #~ msgstr ""
index 813430a1737b8f941953371f6bb97d7022f03bb4..b151525edc320ba11b4bb95352e7901312bfc35e 100644 (file)
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: GNU parted 3.1\n"
+"Project-Id-Version: GNU parted 3.2\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -31,7 +31,7 @@ msgstr ""
 msgid "Valid arguments are:"
 msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr ""
 
@@ -115,83 +115,83 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr ""
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr ""
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr ""
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr ""
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr ""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr ""
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr ""
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr ""
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr ""
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr ""
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr ""
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr ""
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr ""
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr ""
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr ""
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ""
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr ""
 
@@ -201,7 +201,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr ""
 
@@ -211,7 +211,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr ""
 
@@ -387,58 +387,58 @@ msgid "Disk Image"
 msgstr ""
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr ""
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr ""
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr ""
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr ""
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr ""
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr ""
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr ""
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -448,13 +448,13 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -488,7 +488,7 @@ msgid ""
 "before doing anything with %s."
 msgstr ""
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -499,45 +499,45 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr ""
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr ""
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr ""
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr ""
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr ""
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr ""
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -546,105 +546,105 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr ""
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
 "unless you REALLY know what you're doing!"
 msgstr ""
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr ""
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr ""
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr ""
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr ""
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr ""
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr ""
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr ""
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -652,17 +652,12 @@ msgid ""
 "so you shouldn't mount it or use it in any way before rebooting."
 msgstr ""
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr ""
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr ""
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -671,28 +666,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr ""
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr ""
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr ""
 
@@ -706,159 +690,175 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr ""
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
 msgstr ""
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr ""
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr ""
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr ""
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr ""
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr ""
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr ""
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr ""
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr ""
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
+#: libparted/disk.c:1911
+msgid "Can't have a primary partition inside an extended partition."
 msgstr ""
 
-#: libparted/disk.c:1958
-msgid "Can't have a primary partition inside an extended partition."
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr ""
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
 msgstr ""
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr ""
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr ""
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr ""
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr ""
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr ""
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr ""
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr ""
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr ""
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr ""
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr ""
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr ""
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr ""
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr ""
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr ""
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr ""
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr ""
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr ""
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr ""
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr ""
@@ -952,10 +952,10 @@ msgstr ""
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr ""
@@ -964,29 +964,29 @@ msgstr ""
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr ""
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr ""
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr ""
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr ""
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
 msgstr ""
 
@@ -1022,118 +1022,112 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr ""
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr ""
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr ""
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr ""
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr ""
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr ""
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
 msgstr ""
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1141,35 +1135,38 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
 msgstr ""
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr ""
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr ""
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr ""
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1184,57 +1181,57 @@ msgstr ""
 msgid "%s is too small for a Mac disk label!"
 msgstr ""
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr ""
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr ""
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr ""
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr ""
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr ""
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr ""
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
 "says it is %d bytes."
 msgstr ""
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr ""
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr ""
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr ""
 
@@ -1244,7 +1241,7 @@ msgid ""
 "recognising it as such."
 msgstr ""
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
 
@@ -1376,56 +1373,60 @@ msgstr ""
 msgid "reading from device failed"
 msgstr ""
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr ""
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr ""
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr ""
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr ""
 
@@ -1461,25 +1462,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr ""
@@ -1519,82 +1520,67 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr ""
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr ""
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr ""
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr ""
@@ -1606,7 +1592,14 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1616,6 +1609,13 @@ msgid ""
 "geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1666,22 +1666,22 @@ msgid ""
 "some programs to stop working."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1689,7 +1689,7 @@ msgid ""
 "FATs is %d sectors (%d expected)."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2078,46 +2078,52 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr ""
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr ""
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr ""
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr ""
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr ""
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr ""
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr ""
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr ""
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2129,387 +2135,410 @@ msgid ""
 "\n"
 msgstr ""
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr ""
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr ""
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr ""
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr ""
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr ""
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr ""
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr ""
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr ""
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr ""
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr ""
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr ""
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr ""
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, c-format
 msgid "Disk Flags: %s\n"
 msgstr ""
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr ""
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr ""
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr ""
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr ""
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr ""
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr ""
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr ""
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr ""
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr ""
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
 msgstr ""
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr ""
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr ""
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr ""
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr ""
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr ""
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr ""
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr ""
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr ""
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr ""
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr ""
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr ""
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr ""
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
 msgstr ""
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr ""
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr ""
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr ""
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr ""
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr ""
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
 msgstr ""
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr ""
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr ""
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr ""
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr ""
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr ""
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr ""
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr ""
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr ""
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr ""
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr ""
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr ""
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr ""
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr ""
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr ""
 
@@ -2691,76 +2720,76 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr ""
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr ""
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr ""
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr ""
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr ""
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr ""
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr ""
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr ""
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr ""
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr ""
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr ""
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr ""
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr ""
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr ""
index 659d34fa9f4aefec956bc022f32a0d9b207b6320..86b0c6ee69249133fb3dc1edf7724914e968440c 100644 (file)
Binary files a/po/pl.gmo and b/po/pl.gmo differ
index 0c4656182ef0b276148be5067cfc4eee1a24ef75..8b0fc50fae0fbce2932e5608bd12e905aa413270 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -1,20 +1,20 @@
 # Polish translations for GNU Parted package.
-# Copyright (C) 2003, 2005, 2006, 2007, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2005, 2006, 2007, 2009, 2010, 2011, 2012, 2014 Free Software Foundation, Inc.
 # This file is distributed under the same license as the parted package.
 # Wojciech Polak <polak@gnu.org>, 2003, 2005, 2006.
 # Jakub Bogusz <qboosh@pld-linux.org>, 2006-2012.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 3.0.136\n"
+"Project-Id-Version: parted 3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2012-02-18 20:32+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-03 21:29+0200\n"
 "Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
 "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
 "Language: pl\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
 "|| n%100>=20) ? 1 : 2);\n"
@@ -22,7 +22,7 @@ msgstr ""
 #: lib/argmatch.c:133
 #, c-format
 msgid "invalid argument %s for %s"
-msgstr "nieprawid³owy argument %s opcji %s"
+msgstr "nieprawidłowy argument %s opcji %s"
 
 #: lib/argmatch.c:134
 #, c-format
@@ -31,35 +31,35 @@ msgstr "niejednoznaczny argument %s opcji %s"
 
 #: lib/argmatch.c:153
 msgid "Valid arguments are:"
-msgstr "Prawid³owe argumenty to:"
+msgstr "Prawidłowe argumenty to:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
-msgstr "b³±d zapisu"
+msgstr "błąd zapisu"
 
 #: lib/error.c:188
 msgid "Unknown system error"
-msgstr "Nieznany b³±d systemowy"
+msgstr "Nieznany błąd systemowy"
 
 #: lib/getopt.c:547 lib/getopt.c:576
 #, c-format
 msgid "%s: option '%s' is ambiguous; possibilities:"
-msgstr "%s: opcja '%s' jest niejednoznaczna; mo¿liwo¶ci:"
+msgstr "%s: opcja '%s' jest niejednoznaczna; możliwości:"
 
 #: lib/getopt.c:624 lib/getopt.c:628
 #, c-format
 msgid "%s: option '--%s' doesn't allow an argument\n"
-msgstr "%s: opcja '--%s' nie mo¿e mieæ argumentów\n"
+msgstr "%s: opcja '--%s' nie może mieć argumentów\n"
 
 #: lib/getopt.c:637 lib/getopt.c:642
 #, c-format
 msgid "%s: option '%c%s' doesn't allow an argument\n"
-msgstr "%s: opcja '%c%s' nie mo¿e mieæ argumentów\n"
+msgstr "%s: opcja '%c%s' nie może mieć argumentów\n"
 
 #: lib/getopt.c:685 lib/getopt.c:704
 #, c-format
 msgid "%s: option '--%s' requires an argument\n"
-msgstr "%s: opcja '--%s' musi mieæ argument\n"
+msgstr "%s: opcja '--%s' musi mieć argument\n"
 
 #: lib/getopt.c:742 lib/getopt.c:745
 #, c-format
@@ -74,12 +74,12 @@ msgstr "%s: nieznana opcja '%c%s'\n"
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
 msgid "%s: invalid option -- '%c'\n"
-msgstr "%s: b³êdna opcja -- '%c'\n"
+msgstr "%s: błędna opcja -- '%c'\n"
 
 #: lib/getopt.c:861 lib/getopt.c:878 lib/getopt.c:1088 lib/getopt.c:1106
 #, c-format
 msgid "%s: option requires an argument -- '%c'\n"
-msgstr "%s: opcja musi mieæ argument -- '%c'\n"
+msgstr "%s: opcja musi mieć argument -- '%c'\n"
 
 #: lib/getopt.c:934 lib/getopt.c:950
 #, c-format
@@ -89,12 +89,12 @@ msgstr "%s: opcja '-W %s' jest niejednoznaczna\n"
 #: lib/getopt.c:974 lib/getopt.c:992
 #, c-format
 msgid "%s: option '-W %s' doesn't allow an argument\n"
-msgstr "%s: opcja '-W %s' nie mo¿e mieæ argumentów\n"
+msgstr "%s: opcja '-W %s' nie może mieć argumentów\n"
 
 #: lib/getopt.c:1013 lib/getopt.c:1031
 #, c-format
 msgid "%s: option '-W %s' requires an argument\n"
-msgstr "%s: opcja '-W %s' musi mieæ argument\n"
+msgstr "%s: opcja '-W %s' musi mieć argument\n"
 
 #. TRANSLATORS:
 #. Get translations for open and closing quotation marks.
@@ -117,85 +117,85 @@ msgstr "%s: opcja '-W %s' musi mie
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "`"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "'"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Sukces"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Nic nie pasuje"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
-msgstr "B³êdne wyra¿enie regularne"
+msgstr "Błędne wyrażenie regularne"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
-msgstr "B³êdny znak sortowany"
+msgstr "Błędny znak sortowany"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
-msgstr "B³êdna nazwa klasy znaku"
+msgstr "Błędna nazwa klasy znaku"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
-msgstr "Koñcz±cy znak `\\'"
+msgstr "Kończący znak `\\'"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
-msgstr "B³êdne odniesienie wstecz"
+msgstr "Błędne odniesienie wstecz"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Niesparowane [ lub [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Niesparowane ( lub \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Niesparowane \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
-msgstr "B³êdna zawarto¶æ \\{\\}"
+msgstr "Błędna zawartość \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
-msgstr "B³êdny koniec zakresu"
+msgstr "Błędny koniec zakresu"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
-msgstr "Pamiêæ wyczerpana"
+msgstr "Pamięć wyczerpana"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
-msgstr "B³êdne poprzedzaj±ce wyra¿enie regularne"
+msgstr "Błędne poprzedzające wyrażenie regularne"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
-msgstr "Przedwczesny koniec wyra¿enia regularnego"
+msgstr "Przedwczesny koniec wyrażenia regularnego"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
-msgstr "Wyra¿enie regularne zbyt du¿e"
+msgstr "Wyrażenie regularne zbyt duże"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Niesparowane ) lub \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
-msgstr "Brak poprzedniego wyra¿enia regularnego"
+msgstr "Brak poprzedniego wyrażenia regularnego"
 
 #. TRANSLATORS: A regular expression testing for an affirmative answer
 #. (english: "yes").  Testing the first character may be sufficient.
@@ -203,7 +203,7 @@ msgstr "Brak poprzedniego wyra
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[yYtT]"
 
@@ -213,19 +213,19 @@ msgstr "^[yYtT]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
 #: lib/version-etc.c:74
 #, c-format
 msgid "Packaged by %s (%s)\n"
-msgstr "Pakietuj±cy: %s (%s)\n"
+msgstr "Pakietujący: %s (%s)\n"
 
 #: lib/version-etc.c:77
 #, c-format
 msgid "Packaged by %s\n"
-msgstr "Pakietuj±cy: %s\n"
+msgstr "Pakietujący: %s\n"
 
 #. TRANSLATORS: Translate "(C)" to the copyright symbol
 #. (C-in-a-circle), if this symbol is available in the user's
@@ -244,10 +244,10 @@ msgid ""
 "\n"
 msgstr ""
 "\n"
-"Licencja GPLv3+: GNU GPL w wersji 3 lub pó¼niejszej:\n"
+"Licencja GPLv3+: GNU GPL w wersji 3 lub późniejszej:\n"
 "<http://gnu.org/licenses/gpl.html>\n"
-"Ten program jest wolnodostêpny: mo¿na go modyfikowaæ i rozprowadzaæ.\n"
-"NIE MA ¯ADNEJ GWARANCJI w zakresie dopuszczalnym przez prawo.\n"
+"Ten program jest wolnodostępny: można go modyfikować i rozprowadzać.\n"
+"NIE MA ŻADNEJ GWARANCJI w zakresie dopuszczalnym przez prawo.\n"
 "\n"
 
 #. TRANSLATORS: %s denotes an author name.
@@ -369,14 +369,14 @@ msgid ""
 "Report bugs to: %s\n"
 msgstr ""
 "\n"
-"Prosimy zg³aszaæ b³êdy na adres <%s>.\n"
-"B³êdy w t³umaczeniu prosimy zg³aszaæ na adres: <translation-team-pl@lists."
+"Prosimy zgłaszać błędy na adres <%s>.\n"
+"Błędy w tłumaczeniu prosimy zgłaszać na adres: <translation-team-pl@lists."
 "sourceforge.net>.\n"
 
 #: lib/version-etc.c:247
 #, c-format
 msgid "Report %s bugs to: %s\n"
-msgstr "Prosimy zg³aszaæ b³êdy w %s na adres <%s>.\n"
+msgstr "Prosimy zgłaszać błędy w %s na adres <%s>.\n"
 
 #: lib/version-etc.c:251
 #, c-format
@@ -391,87 +391,87 @@ msgstr "Strona domowa projektu %s: <http://www.gnu.org/software/%s/>.\n"
 #: lib/version-etc.c:256
 msgid "General help using GNU software: <http://www.gnu.org/gethelp/>\n"
 msgstr ""
-"Ogólna pomoc przy u¿ywaniu oprogramowania GNU: <http://www.gnu.org/gethelp/"
+"Ogólna pomoc przy używaniu oprogramowania GNU: <http://www.gnu.org/gethelp/"
 ">.\n"
 
 #: lib/xalloc-die.c:34
 msgid "memory exhausted"
-msgstr "pamiêæ wyczerpana"
+msgstr "pamięć wyczerpana"
 
 #: lib/xstrtol-error.c:63
 #, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "nieprawid³owy argument %s%s opcji '%s'"
+msgstr "nieprawidłowy argument %s%s opcji '%s'"
 
 #: lib/xstrtol-error.c:68
 #, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "b³êdny przyrostek argumentu %s%s opcji '%s'"
+msgstr "błędny przyrostek argumentu %s%s opcji '%s'"
 
 #: lib/xstrtol-error.c:72
 #, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "argument %s%s '%s' jest zbyt du¿y"
+msgstr "argument %s%s '%s' jest zbyt duży"
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr "Obraz dysku"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
-msgstr "B³±d podczas otwierania %s: %s"
+msgstr "Błąd podczas otwierania %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
-"Nie mo¿na otworzyæ %s jednocze¶nie w trybie do odczytu i zapisu (%s).  %s "
-"zosta³ otwarty tylko w trybie do odczytu."
+"Nie można otworzyć %s jednocześnie w trybie do odczytu i zapisu (%s). %s "
+"został otwarty tylko w trybie do odczytu."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s podczas ustawiania do odczytu na %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s podczas czytania %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
-msgstr "Nie mo¿na zapisaæ do %s, poniewa¿ otwarte jest tylko do czytania."
+msgstr "Nie można zapisać do %s, ponieważ otwarte jest tylko do czytania."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s podczas ustawiania do zapisu na %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s podczas zapisu %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
-msgstr "Polecenie `%s --help' pozwoli uzyskaæ wiêcej informacji.\n"
+msgstr "Polecenie `%s --help' pozwoli uzyskać więcej informacji.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
-msgstr "Sk³adnia: %s [OPCJA] [URZ¡DZENIE]...\n"
+msgstr "Składnia: %s [OPCJA] [URZĄDZENIE]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -482,38 +482,38 @@ msgid ""
 msgstr ""
 "Poinformowanie systemu operacyjnego o zmianach w tablicy partycji.\n"
 "\n"
-"  -d, --dry-run    pominiêcie informowania systemu operacyjnego\n"
-"  -s, --summary    wypisanie podsumowania zawartoci\n"
-"  -h, --help       wy¶wietlenie tego opisu i zakoñczenie\n"
-"  -v, --version    wy¶wietlenie informacji o wersji i zakoñczenie\n"
+"  -d, --dry-run    pominięcie informowania systemu operacyjnego\n"
+"  -s, --summary    wypisanie podsumowania zawartości\n"
+"  -h, --help       wyświetlenie tego opisu i zakończenie\n"
+"  -v, --version    wyświetlenie informacji o wersji i zakończenie\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 "\n"
-"Je¶li nie podano URZ¡DZENIA, sprawdzane s± wszystkie partycje.\n"
+"Jeśli nie podano URZĄDZENIA, sprawdzane są wszystkie partycje.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
 "Report bugs to <%s>.\n"
 msgstr ""
 "\n"
-"Prosimy zg³aszaæ b³êdy na adres <%s>.\n"
-"B³êdy w t³umaczeniu prosimy zg³aszaæ na adres: <translation-team-pl@lists."
+"Prosimy zgłaszać błędy na adres <%s>.\n"
+"Błędy w tłumaczeniu prosimy zgłaszać na adres: <translation-team-pl@lists."
 "sourceforge.net>.\n"
 
 #: libparted/arch/gnu.c:110
 #, c-format
 msgid "Unable to open %s."
-msgstr "Nie mo¿na otworzyæ %s."
+msgstr "Nie można otworzyć %s."
 
 #: libparted/arch/gnu.c:130
 msgid "Unable to probe store."
-msgstr "Detekcja geometrii nie powiod³a siê."
+msgstr "Detekcja geometrii nie powiodła się."
 
 #: libparted/arch/gnu.c:368
 msgid ""
@@ -524,14 +524,14 @@ msgid ""
 "and reinstall your boot loader from the rescue disk.  Read section 4 of the "
 "Parted User documentation for more information."
 msgstr ""
-"Nie mo¿na ponownie odczytaæ tablicy partycji.  Nale¿y ponownie uruchomiæ "
-"komputer przed pod³±czeniem jakichkolwiek zmodyfikowanych partycji.  Nale¿y "
-"tak¿e przeinstalowaæ program ³aduj±cy (boot loader) zanim uruchomisz "
-"ponownie komputer (co mo¿e wymagaæ pod³±czenia zmodyfikowanych partycji).  "
-"Wykonanie dwóch powy¿szych rzeczy jest niemo¿liwe!  A wiêc pozostaje Ci "
-"uruchomienie dysku/p³yty ratunkowej i przeinstalowanie programu ³aduj±cego "
-"prosto z dysku ratunkowego.  Przeczytaj rozdzia³ 4 dokumentacji programu GNU "
-"Parted, aby uzyskaæ wiêcej informacji na ten temat."
+"Nie można ponownie odczytać tablicy partycji. Należy ponownie uruchomić "
+"komputer przed podłączeniem jakichkolwiek zmodyfikowanych partycji. Należy "
+"także przeinstalować program ładujący (boot loader) zanim uruchomisz "
+"ponownie komputer (co może wymagać podłączenia zmodyfikowanych partycji). "
+"Wykonanie dwóch powyższych rzeczy jest niemożliwe!  A więc pozostaje Ci "
+"uruchomienie dysku/płyty ratunkowej i przeinstalowanie programu ładującego "
+"prosto z dysku ratunkowego. Przeczytaj rozdział 4 dokumentacji programu GNU "
+"Parted, aby uzyskać więcej informacji na ten temat."
 
 #: libparted/arch/gnu.c:385
 #, c-format
@@ -540,67 +540,67 @@ msgid ""
 "nothing about any modifications you made.  You should reboot your computer "
 "before doing anything with %s."
 msgstr ""
-"Nie mo¿na ponownie wczytaæ tablicy partycji na %s (%s).  Oznacza to, ¿e Hurd "
-"nie wie o ¿adnych zmianach jakie zosta³y wprowadzone.  Nale¿y ponownie "
-"uruchomiæ komputer zanim wykonasz jak±kolwiek operacjê na %s."
+"Nie można ponownie wczytać tablicy partycji na %s (%s). Oznacza to, że Hurd "
+"nie wie o żadnych zmianach jakie zostały wprowadzone. Należy ponownie "
+"uruchomić komputer zanim wykonasz jakąkolwiek operację na %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
 msgstr ""
-"Nale¿y przeinstalowaæ program ³aduj±cy (boot loader) przed ponownym "
-"uruchomieniem komputera.  Przeczytaj rozdzia³ 4 dokumentacji u¿ytkownika "
-"Parted, aby uzyskaæ wiêcej informacji."
+"Należy przeinstalować program ładujący (boot loader) przed ponownym "
+"uruchomieniem komputera. Przeczytaj rozdział 4 dokumentacji użytkownika "
+"Parted, aby uzyskać więcej informacji."
 
 #: libparted/arch/gnu.c:788
 #, c-format
 msgid "%s trying to sync %s to disk"
-msgstr "B³±d synchronizacji %s do dysku %s"
+msgstr "Błąd synchronizacji %s do dysku %s"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
-msgstr "Nie mo¿na sprawdziæ urz±dzenia %s - %s."
+msgstr "Nie można sprawdzić urządzenia %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
-msgstr "Nie mo¿na okre¶liæ typu dm %s."
+msgstr "Nie można określić typu dm %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
-"Nie uda³o siê okre¶liæ rozmiaru sektora dla %s: %s.\n"
-"U¿yto domy¶lnego rozmiaru sektora (%lld)."
+"Nie udało się określić rozmiaru sektora dla %s: %s.\n"
+"Użyto domyślnego rozmiaru sektora (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
-"Nie uda³o siê okre¶liæ rozmiaru sektora fizycznego dla %s.\n"
-"U¿yto rozmiaru sektora logicznego (%lld)."
+"Nie udało się określić rozmiaru sektora fizycznego dla %s.\n"
+"Użyto rozmiaru sektora logicznego (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
-msgstr "Nie mo¿na ustaliæ rozmiaru %s (%s)."
+msgstr "Nie można ustalić rozmiaru %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
-msgstr "Nie mo¿na uzyskaæ to¿samo¶ci urz±dzenia %s - %s"
+msgstr "Nie można uzyskać tożsamości urządzenia %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
-msgstr "Ogólne IDE"
+msgstr "Ogólne IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -608,138 +608,133 @@ msgid ""
 "system combinations, e.g. GPT and ext2/3.\n"
 "Please consult the web site for up-to-date information."
 msgstr ""
-"Urz±dzenie %s ma wiele (%d) logicznych sektorów w ka¿dym sektorze "
+"Urządzenie %s ma wiele (%d) logicznych sektorów w każdym sektorze "
 "fizycznym.\n"
-"GNU Parted obs³uguje to EKSPERYMENTALNIE dla niektórych specjalnych po³±czeñ "
-"etykiet dysków i systemów plików, np. GPT i ext2/3.\n"
-"Aktualne informacje znajduj± siê na stronie WWW."
+"GNU Parted obsługuje to EKSPERYMENTALNIE dla niektórych specjalnych połączeń "
+"etykiet dysków i systemów plików, np. GPT i ext2/3.\n"
+"Aktualne informacje znajdują się na stronie WWW."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
-msgstr "B³±d podczas inicjalizacji urz±dzenia SCSI %s - %s"
+msgstr "Błąd podczas inicjalizacji urządzenia SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
-"Urz±dzenie %s jest tak ma³e, ¿e mo¿e nie byæ w stanie przechowywaæ systemu "
-"plików lub tablicy partycji.  Byæ mo¿e dokonano niew³a¶ciwego wyboru "
-"urz±dzenia?"
+"Urządzenie %s jest tak małe, że może nie być w stanie przechowywać systemu "
+"plików lub tablicy partycji. Być może dokonano niewłaściwego wyboru "
+"urządzenia?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
 "unless you REALLY know what you're doing!"
 msgstr ""
-"Nie mo¿na ustaliæ geometrii pliku/urz±dzenia %s.  W tym przypadku nie jest "
-"zalecane u¿ywanie Parteda, chyba ¿e NAPRAWDÊ wiesz co robisz!"
+"Nie można ustalić geometrii pliku/urządzenia %s. W tym przypadku nie jest "
+"zalecane używanie Parteda, chyba że NAPRAWDĘ wiesz co robisz!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
-msgstr "Karta pamiêci SD/MMC"
+msgstr "Karta pamięci SD/MMC"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Kontroler DAC960 RAID"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
-msgstr "Urz±dzenie Promise SX8 SATA"
+msgstr "Urządzenie Promise SX8 SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
-msgstr "Urz±dzenie ATA over Ethernet"
+msgstr "Urządzenie ATA over Ethernet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "Dysk DASD IBM S390"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "Wirtualny dysk DASD IBM iSeries"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Kontroler ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Kontroler I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "UBD z User-Mode Linuksa"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr "Urz±dzenie loopback"
+msgstr "Urządzenie loopback"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linuksowy device-mapper (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
-msgstr "Wirtualne urz±dzenie blokowe Xena"
+msgstr "Wirtualne urządzenie blokowe Xena"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Nieznane"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
-msgstr "Urz±dzenie blokowe Virtio"
+msgstr "Urządzenie blokowe Virtio"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Linuksowa programowa macierz RAID"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
-msgstr "ped_device_new()  Ten typ urz±dzenia nie jest wspierany"
+msgstr "ped_device_new()  Ten typ urządzenia nie jest wspierany"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
-msgstr "B³±d podczas synchronizacji/zamykania %s: %s"
+msgstr "Błąd podczas synchronizacji/zamykania %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "%0.0skoniec pliku w trakcie odczytu %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
 "means Linux won't know about any changes you made to %s until you reboot -- "
 "so you shouldn't mount it or use it in any way before rebooting."
 msgstr ""
-"B³±d przy informowaniu j±dra o modyfikacji partycji %s - %s. Oznacza to, ¿e "
-"Linux nie bêdzie wiedzia³ o zmianach wykonanych na %s do czasu restartu "
-"systemu - wiêc nie bêdzie mo¿na zamontowaæ tej partycji ani u¿yæ jej w inny "
-"sposób przed restartem."
+"Błąd przy informowaniu jądra o modyfikacji partycji %s - %s. Oznacza to, że "
+"Linux nie będzie wiedział o zmianach wykonanych na %s do czasu restartu "
+"systemu - więc nie będzie można zamontować tej partycji ani użyć jej w inny "
+"sposób przed restartem."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, c-format
 msgid "Unable to determine the start and length of %s."
-msgstr "Nie mo¿na ustaliæ pocz±tku i d³ugo¶ci %s."
-
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Nie uda³o siê dodaæ partycji %d (%s)"
+msgstr "Nie można ustalić początku i długości %s."
 
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -747,205 +742,208 @@ msgid ""
 "the old partition(s) will remain in use.  You should reboot now before "
 "making further changes."
 msgstr ""
-"Partycja %s na %s zosta³a zapisana, ale nie uda³o siê poinformowaæ j±dra o "
-"tej zmianie, prawdopodobnie poniewa¿ partycje s± w u¿yciu. W efekcie w "
-"u¿yciu pozostan± stare partycje; przed dalszymi zmianami trzeba zrestartowaæ "
+"Partycja %s na %s została zapisana, ale nie udało się poinformować jądra o "
+"tej zmianie, prawdopodobnie ponieważ partycje są w użyciu. W efekcie w "
+"użyciu pozostaną stare partycje; przed dalszymi zmianami trzeba zrestartować "
 "system."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted nie móg³ ponownie odczytaæ tablicy partycji na %s (%s).  Oznacza to, "
-"¿e Linux nie bêdzie wiedzia³ nic o modyfikacjach jakie zosta³y poczynione. "
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
-msgstr "Nie mo¿na mieæ koñca przed pocz±tkiem! (sektor pocz.=%jd d³ugo¶æ=%jd)"
-
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Nie mo¿na mieæ partycji poza dyskiem!"
+msgstr "Nie można mieć końca przed początkiem! (sektor pocz.=%jd długość=%jd)"
 
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
-msgstr "Próba zapisania sektorów %ld-%ld poza partycj± na %s."
+msgstr "Próba zapisania sektorów %ld-%ld poza partycją na %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
-msgstr "sprawdzam czy istniej± uszkodzone bloki"
+msgstr "sprawdzam czy istnieją uszkodzone bloki"
 
 #: libparted/debug.c:96
 #, c-format
 msgid "Backtrace has %d calls on stack:\n"
-msgstr "Backtrace zawiera %d wywo³añ na stosie:\n"
+msgstr "Backtrace zawiera %d wywołań na stosie:\n"
 
 #: libparted/debug.c:109
 #, c-format
 msgid "Assertion (%s) at %s:%d in function %s() failed."
-msgstr "Zapewnienie (%s) w %s:%d w funkcji %s() nie powiod³o siê."
+msgstr "Zapewnienie (%s) w %s:%d w funkcji %s() nie powiodło się."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: nierozpoznana etykieta dysku"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
 msgstr ""
-"Biblioteka libparted nie posiada obs³ugi zapisu dla %s.  Byæ mo¿e zosta³a "
-"ona zbudowana z obs³ug± tylko-do-odczytu."
+"Biblioteka libparted nie posiada obsługi zapisu dla %s. Być może została ona "
+"zbudowana z obsługą tylko-do-odczytu."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
-msgstr "Partycja %d jest %s, lecz system plików jest %s."
+msgstr "Partycja %d jest %s, lecz system plików jest %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
-msgstr "wyrównanie_cylindra"
+msgstr "wyrównanie_cylindra"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Nieznana flaga dysku: %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
-msgstr "Etykiety dysku %s nie wspieraj± rozszerzonych partycji."
+msgstr "Etykiety dysku %s nie wspierają rozszerzonych partycji."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
-msgstr "Etykiety dysku %s nie wspieraj± logicznych lub rozszerzonych partycji."
+msgstr "Etykiety dysku %s nie wspierają logicznych lub rozszerzonych partycji."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
-msgstr "Zbyt du¿o partycji g³ównych."
+msgstr "Zbyt dużo partycji głównych."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr ""
-"Nie mo¿na dodaæ logicznej partycji do %s, poniewa¿ nie istnieje rozszerzona "
+"Nie można dodać logicznej partycji do %s, ponieważ nie istnieje rozszerzona "
 "partycja."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
-msgstr "Nie mo¿na mieæ wiêcej ni¿ jedn± rozszerzon± partycjê na %s."
+msgstr "Nie można mieć więcej niż jedną rozszerzoną partycję na %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
-msgstr "Nie mo¿na mieæ logicznych partycji poza rozszerzon± partycj±."
+msgstr "Nie można mieć logicznych partycji poza rozszerzoną partycją."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
-msgstr "%s nie mo¿e mieæ logicznej partycji poza rozszerzon± partycj±."
+msgstr "%s nie może mieć logicznej partycji poza rozszerzoną partycją."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Nie mo¿na mieæ nak³adaj±cych siê partycji."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
-msgstr "Nie mo¿na mieæ g³ównej partycji wewn±trz rozszerzonej partycji."
+msgstr "Nie można mieć głównej partycji wewnątrz rozszerzonej partycji."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Nie można mieć partycji poza dyskiem!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Nie można mieć nakładających się partycji."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadane"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "wolna"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "rozszerzona"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logiczna"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
-msgstr "g³ówna"
+msgstr "główna"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
-msgstr "³adowalna"
+msgstr "ładowalna"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "wymiany"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "ukryta"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
-msgstr "us³uga-hp"
+msgstr "usługa-hp"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "legacy_boot"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
+
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Nieznana flaga partycji: %d."
@@ -956,19 +954,19 @@ msgstr "Informacja"
 
 #: libparted/exception.c:79
 msgid "Warning"
-msgstr "Ostrze¿enie"
+msgstr "Ostrzeżenie"
 
 #: libparted/exception.c:80
 msgid "Error"
-msgstr "B³±d"
+msgstr "Błąd"
 
 #: libparted/exception.c:81
 msgid "Fatal"
-msgstr "Fatalny b³±d"
+msgstr "Fatalny błąd"
 
 #: libparted/exception.c:82
 msgid "Bug"
-msgstr "B³±d"
+msgstr "Błąd"
 
 #: libparted/exception.c:83
 msgid "No Implementation"
@@ -992,7 +990,7 @@ msgstr "OK"
 
 #: libparted/exception.c:91
 msgid "Retry"
-msgstr "Powtórz"
+msgstr "Powtórz"
 
 #: libparted/exception.c:92
 msgid "Ignore"
@@ -1010,33 +1008,33 @@ msgid ""
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"Zosta³ wykryty b³±d w dzia³aniu programu GNU Parted.  Odwied¼ stronê http://"
+"Został wykryty błąd w działaniu programu GNU Parted. Odwiedź stronę http://"
 "www.gnu.org/software/parted/parted.html w celu uzyskania informacji na temat "
-"zg³aszania b³êdów.  Proszê wys³aæ raport na temat b³êdu na adres %s, "
-"do³±czaj±c przynajmniej numer wersji (%s) oraz nastêpuj±cy komunikat:  "
+"zgłaszania błędów. Proszę wysłać raport na temat błędu na adres %s, "
+"dołączając przynajmniej numer wersji (%s) oraz następujący komunikat:  "
 
 #: libparted/labels/aix.c:103
 msgid "Support for reading AIX disk labels is is not implemented yet."
 msgstr ""
-"Obs³uga odczytu etykiet dyskowych AIX jeszcze nie zosta³a zaimplementowana."
+"Obsługa odczytu etykiet dyskowych AIX jeszcze nie została zaimplementowana."
 
 #: libparted/labels/aix.c:114
 msgid "Support for writing AIX disk labels is is not implemented yet."
 msgstr ""
-"Obs³uga zapisu etykiet dyskowych AIX jeszcze nie zosta³a zaimplementowana."
+"Obsługa zapisu etykiet dyskowych AIX jeszcze nie została zaimplementowana."
 
 #: libparted/labels/aix.c:127
 msgid ""
 "Support for adding partitions to AIX disk labels is not implemented yet."
 msgstr ""
-"Obs³uga dodawania partycji do etykiet dyskowych AIX jeszcze nie zosta³a "
+"Obsługa dodawania partycji do etykiet dyskowych AIX jeszcze nie została "
 "zaimplementowana."
 
 #: libparted/labels/aix.c:137
 msgid ""
 "Support for duplicating partitions in AIX disk labels is not implemented yet."
 msgstr ""
-"Obs³uga powielania partycji na etykietach dyskowych AIX jeszcze nie zosta³a "
+"Obsługa powielania partycji na etykietach dyskowych AIX jeszcze nie została "
 "zaimplementowana."
 
 #: libparted/labels/aix.c:155
@@ -1044,77 +1042,77 @@ msgid ""
 "Support for setting system type of partitions in AIX disk labels is not "
 "implemented yet."
 msgstr ""
-"Obs³uga ustawiania rodzaju systemu partycji na etykietach dyskowych AIX "
-"jeszcze nie zosta³a zaimplementowana."
+"Obsługa ustawiania rodzaju systemu partycji na etykietach dyskowych AIX "
+"jeszcze nie została zaimplementowana."
 
 #: libparted/labels/aix.c:165
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
-"Obs³uga ustawiania flag na etykietach dyskowych AIX jeszcze nie zosta³a "
+"Obsługa ustawiania flag na etykietach dyskowych AIX jeszcze nie została "
 "zaimplementowana."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
-msgstr "Nie mo¿na zaspokoiæ wszystkich ograniczeñ na partycji."
+msgstr "Nie można zaspokoić wszystkich ograniczeń na partycji."
 
 #: libparted/labels/bsd.c:596
 msgid "Unable to allocate a bsd disklabel slot."
-msgstr "Nie mo¿na przydzieliæ miejsca na etykietê dysku bsd."
+msgstr "Nie można przydzielić miejsca na etykietę dysku bsd."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
-msgstr "Nie mo¿na przydzieliæ miejsca na etykiecie dysku dasd."
+msgstr "Nie można przydzielić miejsca na etykiecie dysku dasd."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
-msgstr "Nieprawid³owa tablica partycji na %s -- b³êdna sygnatura %x."
+msgstr "Nieprawidłowa tablica partycji na %s -- błędna sygnatura %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
-msgstr "Nieprawid³owa tablica partycji - partycja rekursywna na %s."
+msgstr "Nieprawidłowa tablica partycji - partycja rekursywna na %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
-msgstr "Rozszerzone partycje nie mog± byæ ukryte dla etykieta dysków msdos."
+msgstr "Rozszerzone partycje nie mogą być ukryte dla etykieta dysków msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
-"Parted nie mo¿e zmieniæ rozmiaru partycji zarz±dzanych przez Windows Dynamic "
+"Parted nie może zmienić rozmiaru partycji zarządzanych przez Windows Dynamic "
 "Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
-msgstr "nie mo¿na utworzyæ wiêcej partycji"
+msgstr "nie można utworzyć więcej partycji"
 
 #: libparted/labels/dvh.c:182
 #, c-format
 msgid "%s has no extended partition (volume header partition)."
 msgstr ""
-"%s nie posiada ¿adnych rozszerzonych partycji (partycji nag³ówka wolumenu)."
+"%s nie posiada żadnych rozszerzonych partycji (partycji nagłówka wolumenu)."
 
 #: libparted/labels/dvh.c:308
 msgid "Checksum is wrong, indicating the partition table is corrupt."
 msgstr ""
-"Suma kontrolna jest b³êdna i oznacza to, ¿e tablica partycji jest uszkodzona."
+"Suma kontrolna jest błędna i oznacza to, że tablica partycji jest uszkodzona."
 
 #: libparted/labels/dvh.c:613
 msgid "Only primary partitions can be root partitions."
-msgstr "Tylko g³ówne partycje mog± byæ typu root."
+msgstr "Tylko główne partycje mogą być typu root."
 
 #: libparted/labels/dvh.c:627
 msgid "Only primary partitions can be swap partitions."
-msgstr "Tylko g³ówne partycje mog± byæ partycjami wymiany."
+msgstr "Tylko główne partycje mogą być partycjami wymiany."
 
 #: libparted/labels/dvh.c:641
 msgid "Only logical partitions can be a boot file."
-msgstr "Tylko logiczne partycje mog± byæ plikami ³adowalnymi (boot)."
+msgstr "Tylko logiczne partycje mogą być plikami ładowalnymi (boot)."
 
 #: libparted/labels/dvh.c:718
 #, c-format
@@ -1122,186 +1120,177 @@ msgid ""
 "failed to set dvh partition name to %s:\n"
 "Only logical partitions (boot files) have a name."
 msgstr ""
-"nie uda³o siê ustawiæ nazwy partycji dvh na %s:\n"
-"Tylko logiczne partycje (³adowalne pliki) maj± nazwy."
+"nie udało się ustawić nazwy partycji dvh na %s:\n"
+"Tylko logiczne partycje (ładowalne pliki) mają nazwy."
 
 #: libparted/labels/dvh.c:811
 msgid "Too many primary partitions"
-msgstr "Zbyt du¿o partycji g³ównych"
+msgstr "Zbyt dużo partycji głównych"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
-msgstr "b³±d otwierania"
+msgstr "błąd otwierania"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
-msgstr "b³±d seek"
+msgstr "błąd seek"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
-msgstr "b³±d odczytu"
+msgstr "błąd odczytu"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
-msgstr "b³±d ioctl()"
+msgstr "błąd ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
-msgstr "niezgodno¶æ wersji API"
+msgstr "niezgodność wersji API"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
-msgstr "Nieobs³ugiwany typ dysku"
+msgstr "Nieobsługiwany typ dysku"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
-msgstr "Nieobs³ugiwany format dysku"
+msgstr "Nieobsługiwany format dysku"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
-msgstr "Dysk jest w u¿yciu"
+msgstr "Dysk jest w użyciu"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
-msgstr "B³±d sk³adni w pliku konfiguracyjnym"
+msgstr "Błąd składni w pliku konfiguracyjnym"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Uszkodzona etykieta wolumenu"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Uszkodzona nazwa zbioru danych"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
-msgstr "Przydzielanie pamiêci powiod³o siê"
+msgstr "Przydzielanie pamięci powiodło się"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
-msgstr "Weryfikacja urz±dzenia nie powiod³o siê"
+msgstr "Weryfikacja urządzenia nie powiodło się"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
-msgstr "Podane urz±dzenie nie jest poprawnym urz±dzeniem DASD"
+msgstr "Podane urządzenie nie jest poprawnym urządzeniem DASD"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
-msgstr "B³±d krytyczny"
+msgstr "Błąd krytyczny"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
-msgstr "Brak miejsca na etykietê wolumenu."
+msgstr "Brak miejsca na etykietę wolumenu."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
-msgstr "Brak miejsca na informacjê o partycji."
+msgstr "Brak miejsca na informację o partycji."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
-msgstr "Nieprawid³owe dane VTOC."
+msgstr "Nieprawidłowe dane VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
-msgstr "Nie uda³o siê odczytaæ wersji API."
+msgstr "Nie udało się odczytać wersji API."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
-"Aktualna wersja API '%d' nie zgadza siê z wersj± API sterownika dasd '%d'!"
+"Aktualna wersja API '%d' nie zgadza się z wersją API sterownika dasd '%d'!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
-msgstr "Nie uda³o siê odczytaæ informacji o geometrii dysku."
+msgstr "Nie udało się odczytać informacji o geometrii dysku."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
-msgstr "Nie uda³o siê odczytaæ informacji o rozmiarze bloku."
+msgstr "Nie udało się odczytać informacji o rozmiarze bloku."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
-msgstr "Nie uda³o siê odczytaæ informacji o dysku."
+msgstr "Nie udało się odczytać informacji o dysku."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s zawiera sygnaturê GPT.  Oznacza to, ¿e posiada tablicê GPT, ale nie "
-"posiada prawid³owej fa³szywej tablicy partycji msdos, tak jak powinna.  Byæ "
-"mo¿e jest uszkodzona -- mo¿liwe, ¿e przez program, który nie rozumie tablic "
-"partycji GPT.  Albo te¿ tablica GPT zosta³a skasowana, za¶ teraz u¿ywana "
-"jest tablica partycji msdos.  Czy to jest tablica partycji GPT?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "urządzenie jest zbyt małe na GPT"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
-"Format tablicy partycji GPT (wersja %x) jest nowszy ni¿ program Parted jest "
-"w stanie rozpoznaæ.  Poinformuj nas o tym!"
+"Format tablicy partycji GPT (wersja %x) jest nowszy niż program Parted jest "
+"w stanie rozpoznać. Poinformuj nas o tym!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
 "to use all of the space (an extra %llu blocks) or continue with the current "
 "setting? "
 msgstr ""
-"Nie ca³e dostêpne miejsce na %s wydaje siê byæ u¿ywane, poprawiæ GPT, aby "
-"u¿yte zosta³o ca³e miejsce (dodatkowe %llu bloków) czy kontynuowaæ przy "
+"Nie całe dostępne miejsce na %s wydaje się być używane, poprawić GPT, aby "
+"użyte zostało całe miejsce (dodatkowe %llu bloków) czy kontynuować przy "
 "aktualnych ustawieniach? "
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
-"Kopia zapasowa tablicy GPT nie znajduje siê na koñcu dysku, a powinna.  Mo¿e "
-"to oznaczaæ, ¿e inny system operacyjny my¶li, ¿e dysk jest mniejszy ni¿ jest "
-"w rzeczywisto¶ci.  Czy naprawiæ to poprzez przesuniêcie kopii zapasowej na "
-"koniec (i usuniêcie starej kopii)?"
+"Kopia zapasowa tablicy GPT nie znajduje się na końcu dysku, a powinna. Czy "
+"naprawić to poprzez przesunięcie kopii zapasowej na koniec (i usunięcie "
+"starej kopii)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
 msgstr ""
-"Obie tablice GPT, g³ówna i jej kopia zapasowa, s± uszkodzone.  Spróbuj "
-"utworzyæ now± tablicê oraz u¿yj opcjê 'rescue', aby odzyskaæ partycje."
+"Obie tablice GPT, główna i jej kopia zapasowa, są uszkodzone. Spróbuj "
+"utworzyć nową tablicę oraz użyj opcję 'rescue', aby odzyskać partycje."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr ""
-"Zapasowa tablica GPT jest uszkodzona, ale g³ówna wydaje siê byæ w porz±dku i "
-"zostanie ona u¿yta."
+"Zapasowa tablica GPT jest uszkodzona, ale główna wydaje się być w porządku i "
+"zostanie ona użyta."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr ""
-"G³ówna tablica GPT jest uszkodzona, ale jej kopia zapasowa wydaje siê byæ w "
-"porz±dku i zostanie ona u¿yta."
+"Główna tablica GPT jest uszkodzona, ale jej kopia zapasowa wydaje się być w "
+"porządku i zostanie ona użyta."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
-msgstr "niezgodno¶æ sumy CRC g³ównej tablicy partycji"
+msgstr "niezgodność sumy CRC głównej tablicy partycji"
+
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "nie udało się przetłumaczyć nazwy partycji"
 
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
-msgstr "Nieprawid³owy podpis %x dla etykiet dysków Mac."
+msgstr "Nieprawidłowy podpis %x dla etykiet dysków Mac."
 
 #: libparted/labels/mac.c:231
 msgid "Partition map has no partition map entry!"
@@ -1310,83 +1299,83 @@ msgstr "Mapa partycji nie posiada wpisu mapy partycji!"
 #: libparted/labels/mac.c:279
 #, c-format
 msgid "%s is too small for a Mac disk label!"
-msgstr "%s jest zbyt ma³y dla etykiety dysku Mac!"
+msgstr "%s jest zbyt mały dla etykiety dysku Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
-msgstr "Partycja %d posiada nieprawid³owy podpis %x."
+msgstr "Partycja %d posiada nieprawidłowy podpis %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
-msgstr "Partycja %d posiada nieprawid³ow± d³ugo¶æ 0 bajtów!"
+msgstr "Partycja %d posiada nieprawidłową długość 0 bajtów!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
-msgstr "Obszar danych nie rozpoczyna siê na pocz±tku partycji."
+msgstr "Obszar danych nie rozpoczyna się na początku partycji."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
-msgstr "Obszar rozruchowy nie zaczyna siê na pocz±tku partycji."
+msgstr "Obszar rozruchowy nie zaczyna się na początku partycji."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
-msgstr "Obszar rozruchowy partycji nie okupuje ca³ej partycji."
+msgstr "Obszar rozruchowy partycji nie okupuje całej partycji."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
-msgstr "Obszar danych partycji nie okupuje ca³ej partycji."
+msgstr "Obszar danych partycji nie okupuje całej partycji."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
-"Dziwny rozmiar bloku w deskryptorze urz±dzenia: %d bajtów nie jest podzielne "
+"Dziwny rozmiar bloku w deskryptorze urządzenia: %d bajtów nie jest podzielne "
 "przez 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
 "says it is %d bytes."
 msgstr ""
-"Deskryptor napêdu mówi, ¿e fizyczny rozmiar bloku wynosi %d bajtów, ale "
-"Linux mówi, ¿e wynosi %d bajtów."
+"Deskryptor napędu mówi, że fizyczny rozmiar bloku wynosi %d bajtów, ale "
+"Linux mówi, że wynosi %d bajtów."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
-msgstr "Nie znaleziono prawid³owej mapy partycji."
+msgstr "Nie znaleziono prawidłowej mapy partycji."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr ""
-"Wyst±pi³ konflikt miêdzy rozmiarami wpisów mapy partycji!  Wpis 1 mówi, ¿e "
-"jest %d, ale wpis %d mówi, ¿e jest %d!"
+"Wystąpił konflikt między rozmiarami wpisów mapy partycji!  Wpis 1 mówi, że "
+"jest %d, ale wpis %d mówi, że jest %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
-msgstr "Dziwne!  Istniej± 2 wpisy map partycji!"
+msgstr "Dziwne!  Istnieją 2 wpisy map partycji!"
 
 #: libparted/labels/mac.c:1356
 msgid ""
 "Changing the name of a root or swap partition will prevent Linux from "
 "recognising it as such."
 msgstr ""
-"Zmiana nazwy partycji root lub wymiany spowoduje, ¿e Linux jej nie rozpozna."
+"Zmiana nazwy partycji root lub wymiany spowoduje, że Linux jej nie rozpozna."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
-msgstr "Nie mo¿na dodaæ kolejnej partycji -- mapa partycji jest zbyt ma³a!"
+msgstr "Nie można dodać kolejnej partycji -- mapa partycji jest zbyt mała!"
 
 #: libparted/labels/pc98.c:284
 #, c-format
 msgid "Invalid partition table on %s."
-msgstr "Nieprawid³owa tablica partycji na %s."
+msgstr "Nieprawidłowa tablica partycji na %s."
 
 #: libparted/labels/pc98.c:337 libparted/labels/pc98.c:415
 #, c-format
@@ -1394,12 +1383,12 @@ msgid ""
 "Partition %d isn't aligned to cylinder boundaries.  This is still "
 "unsupported."
 msgstr ""
-"Partycja %d nie jest wyrównana do granic cylindra.  Nadal nie jest to "
+"Partycja %d nie jest wyrównana do granic cylindra. Nadal nie jest to "
 "wspierane."
 
 #: libparted/labels/pc98.c:733
 msgid "Can't add another partition."
-msgstr "Nie mo¿na dodaæ kolejnej partycji."
+msgstr "Nie można dodać kolejnej partycji."
 
 #: libparted/labels/pt-tools.c:133
 #, c-format
@@ -1407,8 +1396,8 @@ msgid ""
 "partition length of %jd sectors exceeds the %s-partition-table-imposed "
 "maximum of %jd"
 msgstr ""
-"d³ugo¶æ partycji %jd sektorów przekracza maksimum tablicy partycji %s "
-"wynosz±ce %jd"
+"długość partycji %jd sektorów przekracza maksimum tablicy partycji %s "
+"wynoszące %jd"
 
 #: libparted/labels/pt-tools.c:146
 #, c-format
@@ -1416,61 +1405,61 @@ msgid ""
 "starting sector number, %jd exceeds the %s-partition-table-imposed maximum "
 "of %jd"
 msgstr ""
-"pocz±tkowy numer sektora %jd przekracza maksimum tablicy partycji %s "
-"wynosz±ce %jd"
+"początkowy numer sektora %jd przekracza maksimum tablicy partycji %s "
+"wynoszące %jd"
 
 #: libparted/labels/rdb.c:169
 #, c-format
 msgid "%s : Bad checksum on block %llu of type %s."
-msgstr "%s : Nieprawid³owa suma kontrolna bloku %llu typu %s."
+msgstr "%s : Nieprawidłowa suma kontrolna bloku %llu typu %s."
 
 #: libparted/labels/rdb.c:484
 #, c-format
 msgid "%s : Didn't find rdb block, should never happen."
-msgstr "%s : Nie znaleziono bloku rdb, co nie powinno siê zdarzyæ."
+msgstr "%s : Nie znaleziono bloku rdb, co nie powinno się zdarzyć."
 
 #: libparted/labels/rdb.c:573
 #, c-format
 msgid "%s : Loop detected at block %d."
-msgstr "%s : Wykryto pêtlê na bloku %d."
+msgstr "%s : Wykryto pętlę na bloku %d."
 
 #: libparted/labels/rdb.c:592
 #, c-format
 msgid "%s : The %s list seems bad at block %s."
-msgstr "%s : Lista %s wydaje siê byæ uszkodzona na bloku %s."
+msgstr "%s : Lista %s wydaje się być uszkodzona na bloku %s."
 
 #: libparted/labels/rdb.c:691
 #, c-format
 msgid "%s : Failed to list bad blocks."
-msgstr "%s : Nie powiod³o siê wypisanie uszkodzonych bloków."
+msgstr "%s : Nie powiodło się wypisanie uszkodzonych bloków."
 
 #: libparted/labels/rdb.c:699
 #, c-format
 msgid "%s : Failed to list partition blocks."
-msgstr "%s : Wypisanie bloków partycji nie powiod³o siê."
+msgstr "%s : Wypisanie bloków partycji nie powiodło się."
 
 #: libparted/labels/rdb.c:707
 #, c-format
 msgid "%s : Failed to list file system blocks."
-msgstr "%s : Wypisanie bloków systemu plików nie powiod³o siê."
+msgstr "%s : Wypisanie bloków systemu plików nie powiodło się."
 
 #: libparted/labels/rdb.c:715
 #, c-format
 msgid "%s : Failed to list boot blocks."
-msgstr "%s : Nie powiod³o siê wypisanie bloków rozruchowych."
+msgstr "%s : Nie powiodło się wypisanie bloków rozruchowych."
 
 #: libparted/labels/rdb.c:742
 #, c-format
 msgid "Failed to write partition block at %d."
-msgstr "Nie powiód³ siê zapis bloku partycji na %d."
+msgstr "Nie powiódł się zapis bloku partycji na %d."
 
 #: libparted/labels/rdb.c:1080
 msgid "Unable to allocate a partition number."
-msgstr "Nie mo¿na przydzieliæ numeru partycji."
+msgstr "Nie można przydzielić numeru partycji."
 
 #: libparted/labels/sun.c:161
 msgid "Corrupted Sun disk label detected."
-msgstr "Wykryto uszkodzon± etykietê dysku Sun."
+msgstr "Wykryto uszkodzoną etykietę dysku Sun."
 
 #: libparted/labels/sun.c:276
 #, c-format
@@ -1478,19 +1467,19 @@ msgid ""
 "The disk CHS geometry (%d,%d,%d) reported by the operating system does not "
 "match the geometry stored on the disk label (%d,%d,%d)."
 msgstr ""
-"Geometria dysku CHS (%d,%d,%d), zg³oszona przez system operacyjny, nie "
+"Geometria dysku CHS (%d,%d,%d), zgłoszona przez system operacyjny, nie "
 "pasuje do geometrii przechowywanej w etykiecie dysku (%d,%d,%d)."
 
 #: libparted/labels/sun.c:298
 #, c-format
 msgid "The disk label describes a disk bigger than %s."
-msgstr "Etykieta dysku opisuje dysk wiêkszy ni¿ %s."
+msgstr "Etykieta dysku opisuje dysk większy niż %s."
 
 #: libparted/labels/sun.c:473
 #, c-format
 msgid "The disk has %d cylinders, which is greater than the maximum of 65536."
 msgstr ""
-"Dysk posiada %d cylindrów, co stanowi wiêcej ni¿ dopuszczalny limit 65536."
+"Dysk posiada %d cylindrów, co stanowi więcej niż dopuszczalny limit 65536."
 
 #: libparted/labels/sun.c:812
 msgid ""
@@ -1499,264 +1488,248 @@ msgid ""
 "not be able to boot without it, and SILO (the sparc boot loader) appreciates "
 "it as well."
 msgstr ""
-"Partycja ca³ego dysku jest jedyn± jaka pozosta³a.  Generalnie nie jest to "
-"dobry pomys³, aby j± nadpisaæ inn±, prawdziw±.  System Solaris mo¿e siê bez "
-"niej nie uruchomiæ, za¶ SILO (program ³aduj±cy SPARC) równie¿ j± doceni."
+"Partycja całego dysku jest jedyną jaka pozostała. Generalnie nie jest to "
+"dobry pomysł, aby ją nadpisać inną, prawdziwą. System Solaris może się bez "
+"niej nie uruchomić, zaś SILO (program ładujący SPARC) również ją doceni."
 
 #: libparted/labels/sun.c:827
 msgid "Sun disk label is full."
-msgstr "Etykieta dysku Sun jest pe³na."
+msgstr "Etykieta dysku Sun jest pełna."
 
 #: libparted/labels/vtoc.c:164
 msgid "opening of device failed"
-msgstr "otwieranie urz±dzenia nie powiod³o siê"
+msgstr "otwieranie urządzenia nie powiodło się"
 
 #: libparted/labels/vtoc.c:168
 msgid "seeking on device failed"
-msgstr "ustawianie pozycji na urz±dzeniu nie powiod³o siê"
+msgstr "ustawianie pozycji na urządzeniu nie powiodło się"
 
 #: libparted/labels/vtoc.c:172
 msgid "writing to device failed"
-msgstr "zapis na urz±dzeniu nie powiód³ siê"
+msgstr "zapis na urządzeniu nie powiódł się"
 
 #: libparted/labels/vtoc.c:176
 msgid "reading from device failed"
-msgstr "odczyt z urz±dzenia nie powiód³ siê"
+msgstr "odczyt z urządzenia nie powiódł się"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
-msgstr "Nie uda³o siê odczytaæ etykiety wolumenu."
+msgstr "Nie udało się odczytać etykiety wolumenu."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
-msgstr "Nie uda³o siê zapisaæ etykiety wolumenu."
+msgstr "Nie udało się zapisać etykiety wolumenu."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
-msgstr "Nie uda³o siê odczytaæ etykiet VTOC."
+msgstr "Nie udało się odczytać etykiet VTOC."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
-msgstr "Nie uda³o siê odczytaæ VTOC FMT1 DSCB."
+msgstr "Nie udało się odczytać VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
-msgstr "Nie uda³o siê odczytaæ VTOC FMT4 DSCB."
+msgstr "Nie udało się odczytać VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
-msgstr "Nie uda³o siê odczytaæ VTOC FMT5 DSCB."
+msgstr "Nie udało się odczytać VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
-msgstr "Nie uda³o siê odczytaæ VTOC FMT7 DSCB."
+msgstr "Nie udało się odczytać VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
-msgstr "Nie uda³o siê zapisaæ etykiet VTOC."
+msgstr "Nie udało się zapisać etykiet VTOC."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
-msgstr "Nie uda³o siê zapisaæ VTOC FMT1 DSCB."
+msgstr "Nie udało się zapisać VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
-msgstr "Nie uda³o siê zapisaæ VTOC FMT4 DSCB."
+msgstr "Nie udało się zapisać VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
-msgstr "Nie uda³o siê zapisaæ VTOC FMT5 DSCB."
+msgstr "Nie udało się zapisać VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
-msgstr "Nie uda³o siê zapisaæ VTOC FMT7 DSCB."
+msgstr "Nie udało się zapisać VTOC FMT7 DSCB."
+
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Nie udało się zapisać VTOC FMT9 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/libparted.c:234
 msgid "Out of memory."
-msgstr "Brak pamiêci."
+msgstr "Brak pamięci."
 
 #: libparted/unit.c:139
 msgid "Cannot get unit size for special unit 'COMPACT'."
 msgstr ""
-"Nie mo¿na pobraæ rozmiaru jednostki dla specjalnej jednostki 'COMPACT'."
+"Nie można pobrać rozmiaru jednostki dla specjalnej jednostki 'COMPACT'."
 
 #: libparted/unit.c:385
 #, c-format
 msgid "\"%s\" has invalid syntax for locations."
-msgstr "\"%s\" posiada nieprawid³ow± sk³adniê dla lokacji."
+msgstr "\"%s\" posiada nieprawidłową składnię dla lokacji."
 
 #: libparted/unit.c:393
 #, c-format
 msgid "The maximum head value is %d."
-msgstr "Maksymalna warto¶æ g³owicy wynosi %d."
+msgstr "Maksymalna wartość głowicy wynosi %d."
 
 #: libparted/unit.c:400
 #, c-format
 msgid "The maximum sector value is %d."
-msgstr "Maksymalna warto¶æ sektora wynosi %d."
+msgstr "Maksymalna wartość sektora wynosi %d."
 
 #: libparted/unit.c:412 libparted/unit.c:563
 #, c-format
 msgid "The location %s is outside of the device %s."
-msgstr "Lokacja %s jest poza urz±dzeniem %s."
+msgstr "Lokacja %s jest poza urządzeniem %s."
 
 #: libparted/unit.c:532
 msgid "Invalid number."
-msgstr "Nieprawid³owy numer."
+msgstr "Nieprawidłowy numer."
 
 #: libparted/unit.c:538
 msgid "Use a smaller unit instead of a value < 1"
-msgstr "U¿ycie mniejszej jednostki zamiast warto¶ci < 1"
+msgstr "Użycie mniejszej jednostki zamiast wartości < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
-msgstr "%s : Nie powiod³o siê przydzielanie bloku partycji\n"
+msgstr "%s : Nie powiodło się przydzielanie bloku partycji\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
-msgstr "%s : Nie powiod³o siê przydzielanie bloku\n"
+msgstr "%s : Nie powiodło się przydzielanie bloku\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
-msgstr "%s : Nie uda³o siê odczytaæ bloku startowego %llu\n"
+msgstr "%s : Nie udało się odczytać bloku startowego %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
-msgstr "%s : Nie uda³o siê odczytaæ bloku g³ównego %llu\n"
+msgstr "%s : Nie udało się odczytać bloku głównego %llu\n"
 
 #: libparted/fs/amiga/amiga.c:71
 #, c-format
 msgid "%s : Failed to allocate id list element\n"
-msgstr "%s : Nie powiod³o siê przydzielanie elementu id listy\n"
+msgstr "%s : Nie powiodło się przydzielanie elementu id listy\n"
 
 #: libparted/fs/amiga/amiga.c:188
 #, c-format
 msgid "%s : Couldn't read block %llu\n"
-msgstr "%s : Nie uda³o siê odczytaæ bloku %llu\n"
+msgstr "%s : Nie udało się odczytać bloku %llu\n"
 
 #: libparted/fs/amiga/amiga.c:201
 #, c-format
 msgid "%s : Bad checksum on block %llu of type %s\n"
-msgstr "%s : Nieprawid³owa suma kontrolna bloku %llu typu %s\n"
+msgstr "%s : Nieprawidłowa suma kontrolna bloku %llu typu %s\n"
 
 #: libparted/fs/amiga/amiga.c:211
 #, c-format
 msgid "%s : Couldn't write block %d\n"
-msgstr "%s : Nie uda³o siê zapisaæ bloku %d\n"
+msgstr "%s : Nie udało się zapisać bloku %d\n"
 
 #: libparted/fs/amiga/amiga.c:277
 #, c-format
 msgid "%s : Failed to allocate disk_specific rdb block\n"
-msgstr "%s : Nie powiod³o siê przydzielanie bloku rdb disk_specific\n"
+msgstr "%s : Nie powiodło się przydzielanie bloku rdb disk_specific\n"
 
 #: libparted/fs/amiga/amiga.c:288
 #, c-format
 msgid "%s : Didn't find rdb block, should never happen\n"
-msgstr "%s : Nie znaleziono bloku rdb, co nie powinno siê zdarzyæ\n"
+msgstr "%s : Nie znaleziono bloku rdb, co nie powinno się zdarzyć\n"
 
 #: libparted/fs/amiga/amiga.c:317
 #, c-format
 msgid "%s : Failed to read partition block %llu\n"
-msgstr "%s : Nie powiód³ siê odczyt bloku partycji %llu\n"
+msgstr "%s : Nie powiódł się odczyt bloku partycji %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr ""
-"Program GNU Parted zosta³ nieprawid³owo zbudowany: sektor rozruchowy FAT "
-"powinien mieæ 512 bajtów.  Wsparcie dla FAT zostaje wy³±czone."
+"Program GNU Parted został nieprawidłowo zbudowany: sektor rozruchowy FAT "
+"powinien mieć 512 bajtów. Wsparcie dla FAT zostaje wyłączone."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
-msgstr "System plików posiada nieprawid³owy podpis dla systemu plików FAT."
+msgstr "System plików posiada nieprawidłowy podpis dla systemu plików FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
-"System plików posiada nieprawid³owy rozmiar sektora dla systemu plików FAT."
+"System plików posiada nieprawidłowy rozmiar sektora dla systemu plików FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
-"System plików posiada nieprawid³owy rozmiar klastra dla systemu plików FAT."
+"System plików posiada nieprawidłowy rozmiar klastra dla systemu plików FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
-"System plików posiada nieprawid³ow± ilo¶æ zarezerwowanych sektorów dla "
-"systemu plików FAT."
+"System plików posiada nieprawidłową ilość zarezerwowanych sektorów dla "
+"systemu plików FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
-msgstr "System plików posiada nieprawid³ow± ilo¶æ FAT-ów."
-
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Ten system plików posiada rozmiar logicznego sektora %d.  GNU Parted nie "
-"wspó³pracuje prawid³owo z rozmiarami sektorów innymi ni¿ 512 bajtów."
+msgstr "System plików posiada nieprawidłową ilość FAT-ów."
 
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
-"Geometria CHS systemu plików to (%d, %d, %d), co jest b³êdne. Geometria CHS "
+"Geometria CHS systemu plików to (%d, %d, %d), co jest błędne. Geometria CHS "
 "tablicy partycji to (%d, %d, %d)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
-"Sektor rozruchowy FAT mówi, ¿e rozmiar sektora logicznego jest 0.  Dziwne."
+"Sektor rozruchowy FAT mówi, że rozmiar sektora logicznego jest 0. Dziwne."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
-msgstr "Sektor rozruchowy FAT mówi, ¿e nie ma ¿adnych tablic FAT.  Dziwne."
+msgstr "Sektor rozruchowy FAT mówi, że nie ma żadnych tablic FAT. Dziwne."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
-msgstr "Sektor rozruchowy FAT mówi, ¿e klastry zajmuj± 0 sektorów.  Dziwne."
+msgstr "Sektor rozruchowy FAT mówi, że klastry zajmują 0 sektorów. Dziwne."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
-msgstr "Systemem plików jest FAT12, który nie jest wspierany."
+msgstr "Systemem plików jest FAT12, który nie jest wspierany."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Sektor informacyjny posiada nieprawid³owy podpis (%x).  Na razie poniechaj "
-"aktualn± operacjê i wy¶lij raport dotycz±cy b³êdów.  Ewentualnie zignoruj "
-"ca³± sytuacjê."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Nierozpoznany podpis linuksowej partycji wymiany starego typu '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Nierozpoznany podpis linuksowej partycji wymiany nowego typu '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Nierozpoznany podpis linuksowej partycji wymiany swsusp '%9s'."
@@ -1767,10 +1740,19 @@ msgid ""
 "Parted can't use HFS file systems on disks with a sector size not equal to "
 "%d bytes."
 msgstr ""
-"Parted nie mo¿e u¿ywaæ systemów plików HFS na dyskach z rozmiarem sektora "
-"innym ni¿ %d bajtów."
+"Parted nie może używać systemów plików HFS na dyskach z rozmiarem sektora "
+"innym niż %d bajtów."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Ten system plików posiada rozmiar logicznego sektora %d. GNU Parted nie "
+"współpracuje prawidłowo z rozmiarami sektorów innymi niż 512 bajtów."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1779,19 +1761,29 @@ msgid ""
 "file system's CHS geometry will be set to match the partition table's CHS "
 "geometry."
 msgstr ""
-"Geometri± CHS systemu pliku jest (%d, %d, %d), która nie jest prawid³owa.  "
-"Geometri± CHS tablicy partycji jest (%d, %d, %d).  Je¶li zignorujesz, to "
-"geometria CHS systemu pliku pozostanie niezmieniona.  Je¶li zdecydujesz siê "
-"naprawiæ, geometria CHS systemu plików zostanie dopasowana do geometrii CHS "
+"Geometrią CHS systemu pliku jest (%d, %d, %d), która nie jest prawidłowa. "
+"Geometrią CHS tablicy partycji jest (%d, %d, %d). Jeśli zignorujesz, to "
+"geometria CHS systemu pliku pozostanie niezmieniona. Jeśli zdecydujesz się "
+"naprawić, geometria CHS systemu plików zostanie dopasowana do geometrii CHS "
 "tablicy partycji."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Sektor informacyjny posiada nieprawidłowy podpis (%x). Na razie poniechaj "
+"aktualną operację i wyślij raport dotyczący błędów. Ewentualnie zignoruj "
+"całą sytuację."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
 "You need %s of free disk space to shrink this partition to this size.  "
 "Currently, only %s is free."
 msgstr ""
-"Potrzeba %s wolnego miejsca, aby zmniejszyæ tê partycjê do tego rozmiaru. "
+"Potrzeba %s wolnego miejsca, aby zmniejszyć tę partycję do tego rozmiaru. "
 "Teraz wolne jest tylko %s."
 
 #: libparted/fs/r/fat/context.c:55
@@ -1799,21 +1791,21 @@ msgstr ""
 msgid ""
 "Cluster start delta = %d, which is not a multiple of the cluster size %d."
 msgstr ""
-"Ró¿nica pocz±tku klastra = %d, co nie jest wielokrotno¶ci± rozmiaru klastra "
+"Różnica początku klastra = %d, co nie jest wielokrotnością rozmiaru klastra "
 "%d."
 
 #: libparted/fs/r/fat/count.c:143
 #, c-format
 msgid "Bad directory entry for %s: first cluster is the end of file marker."
 msgstr ""
-"B³êdny wpis katalogu dla %s: pierwszy klaster jest znacznikiem koñca pliku."
+"Błędny wpis katalogu dla %s: pierwszy klaster jest znacznikiem końca pliku."
 
 #: libparted/fs/r/fat/count.c:156
 #, c-format
 msgid ""
 "Bad FAT: unterminated chain for %s.  You should run dosfsck or scandisk."
 msgstr ""
-"B³êdny FAT: nie zakoñczony ³añcuch dla pliku %s. Nale¿y uruchomiæ program "
+"Błędny FAT: nie zakończony łańcuch dla pliku %s. Należy uruchomić program "
 "dosfsck lub scandisk."
 
 #: libparted/fs/r/fat/count.c:165
@@ -1822,8 +1814,8 @@ msgid ""
 "Bad FAT: cluster %d outside file system in chain for %s.  You should run "
 "dosfsck or scandisk."
 msgstr ""
-"B³êdny FAT: klaster %d poza systemem plików w ³añcuchu dla pliku %s. Nale¿y "
-"uruchomiæ program dosfsck lub scandisk."
+"Błędny FAT: klaster %d poza systemem plików w łańcuchu dla pliku %s. Należy "
+"uruchomić program dosfsck lub scandisk."
 
 #: libparted/fs/r/fat/count.c:175
 #, c-format
@@ -1831,13 +1823,13 @@ msgid ""
 "Bad FAT: cluster %d is cross-linked for %s.  You should run dosfsck or "
 "scandisk."
 msgstr ""
-"B³êdny FAT: klaster %d dla pliku %s pokrywa siê z innym plikiem. Nale¿y "
-"uruchomiæ program dosfsck lub scandisk."
+"Błędny FAT: klaster %d dla pliku %s pokrywa się z innym plikiem. Należy "
+"uruchomić program dosfsck lub scandisk."
 
 #: libparted/fs/r/fat/count.c:194
 #, c-format
 msgid "%s is %dk, but it has %d clusters (%dk)."
-msgstr "%s ma %dk, ale ma klastrów: %d (%dk)."
+msgstr "%s ma %dk, ale ma klastrów: %d (%dk)."
 
 #: libparted/fs/r/fat/count.c:257
 #, c-format
@@ -1845,59 +1837,59 @@ msgid ""
 "The file %s is marked as a system file.  This means moving it could cause "
 "some programs to stop working."
 msgstr ""
-"Plik %s jest oznaczony jako plik systemowy. Oznacza to, ¿e jego "
-"przeniesienie mo¿e spowodowaæ, ¿e niektóre programy przestan± dzia³aæ."
+"Plik %s jest oznaczony jako plik systemowy. Oznacza to, że jego "
+"przeniesienie może spowodować, że niektóre programy przestaną działać."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
-msgstr "Partycja za du¿a/za ma³a dla systemu plików %s."
+msgstr "Partycja za duża/za mała dla systemu plików %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
-"Tablice FAT ró¿ni± siê. Je¿eli nie jest to jasny przypadek, nale¿y anulowaæ "
-"operacjê, uruchomiæ program scandisk na tym systemie plików i wtedy wróciæ "
+"Tablice FAT różnią się. Jeżeli nie jest to jasny przypadek, należy anulować "
+"operację, uruchomić program scandisk na tym systemie plików i wtedy wrócić "
 "do Parteda"
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
-msgstr "Brak mo¿liwych konfiguracji dla tego rodzaju FAT-u."
+msgstr "Brak możliwych konfiguracji dla tego rodzaju FAT-u."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
 "size is %dk (%dk expected); number of clusters is %d (%d expected); size of "
 "FATs is %d sectors (%d expected)."
 msgstr ""
-"System plików nie ma oczekiwanych rozmiarów lubianych przez Windows. Rozmiar "
-"klastra to %dk (oczekiwano %dk); liczba klastrów to %d (oczekiwano %d); "
-"rozmiar FAT-ów w sektorach to %d (oczekiwano %d)."
+"System plików nie ma oczekiwanych rozmiarów lubianych przez Windows. Rozmiar "
+"klastra to %dk (oczekiwano %dk); liczba klastrów to %d (oczekiwano %d); "
+"rozmiar FAT-ów w sektorach to %d (oczekiwano %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
-msgstr "System plików zg³asza wolne miejsce w klastrach jako %d, a nie %d."
+msgstr "System plików zgłasza wolne miejsce w klastrach jako %d, a nie %d."
 
 #: libparted/fs/r/fat/resize.c:158
 msgid ""
 "There's not enough room in the root directory for all of the files.  Either "
 "cancel, or ignore to lose the files."
 msgstr ""
-"Za ma³o miejsca w g³ównym katalogu na wszystkie pliki. Mo¿na anulowaæ lub "
-"zignorowaæ, co spowoduje utratê plików."
+"Za mało miejsca w głównym katalogu na wszystkie pliki. Można anulować lub "
+"zignorować, co spowoduje utratę plików."
 
 #: libparted/fs/r/fat/resize.c:299
 msgid "Error writing to the root directory."
-msgstr "B³±d zapisu w katalogu g³ównym."
+msgstr "Błąd zapisu w katalogu głównym."
 
 #: libparted/fs/r/fat/resize.c:488
 msgid "If you leave your file system as FAT16, then you will have no problems."
-msgstr "Je¿eli system plików pozostanie jako FAT16, nie bêdzie problemów."
+msgstr "Jeżeli system plików pozostanie jako FAT16, nie będzie problemów."
 
 #: libparted/fs/r/fat/resize.c:491
 msgid ""
@@ -1905,16 +1897,16 @@ msgid ""
 "you must re-install the MS Windows boot loader.  If you want to do this, you "
 "should consult the Parted manual (or your distribution's manual)."
 msgstr ""
-"W przypadku konwersji do FAT16, jeli na partycji zainstalowany jest MS "
-"Windows, trzeba przeinstalowaæ rekord startowy MS Windows. W tym celu nale¿y "
-"zasiêgn±æ rady w podrêczniku Parteda (lub swojej dystrybucji)."
+"W przypadku konwersji do FAT16, jeśli na partycji zainstalowany jest MS "
+"Windows, trzeba przeinstalować rekord startowy MS Windows. W tym celu należy "
+"zasięgnąć rady w podręczniku Parteda (lub swojej dystrybucji)."
 
 #: libparted/fs/r/fat/resize.c:499
 msgid ""
 "If you leave your file system as FAT32, then you will not introduce any new "
 "problems."
 msgstr ""
-"Je¿eli system plików pozostanie jako FAT32, nie powstan± ¿adne nowe problemy."
+"Jeżeli system plików pozostanie jako FAT32, nie powstaną żadne nowe problemy."
 
 #: libparted/fs/r/fat/resize.c:503
 msgid ""
@@ -1924,10 +1916,10 @@ msgid ""
 "converting to FAT32 will make the file system unreadable by MS DOS, MS "
 "Windows 95a, and MS Windows NT."
 msgstr ""
-"W przypadku konwersji do FAT32, jeli na partycji zainstalowany jest MS "
-"Windows, trzeba przeinstalowaæ rekord startowy MS Windows. W tym celu nale¿y "
-"zasiêgn±æ rady w podrêczniku Parteda (lub swojej dystrybucji). Ponadto "
-"konwersja do FAT32 uczyni system plików nieczytelnym dla systemów MS DOS, MS "
+"W przypadku konwersji do FAT32, jeśli na partycji zainstalowany jest MS "
+"Windows, trzeba przeinstalować rekord startowy MS Windows. W tym celu należy "
+"zasięgnąć rady w podręczniku Parteda (lub swojej dystrybucji). Ponadto "
+"konwersja do FAT32 uczyni system plików nieczytelnym dla systemów MS DOS, MS "
 "Windows 95a i MS Windows NT."
 
 #: libparted/fs/r/fat/resize.c:517
@@ -1937,7 +1929,7 @@ msgstr "%s  %s  %s"
 
 #: libparted/fs/r/fat/resize.c:518
 msgid "Would you like to use FAT32?"
-msgstr "Czy u¿yæ FAT32?"
+msgstr "Czy użyć FAT32?"
 
 #: libparted/fs/r/fat/resize.c:549 libparted/fs/r/fat/resize.c:565
 #, c-format
@@ -1948,21 +1940,21 @@ msgstr "%s  %s"
 msgid ""
 "The file system can only be resized to this size by converting to FAT16."
 msgstr ""
-"System plików mo¿na powiêkszyæ do tego rozmiaru tylko konwertuj±c go do "
+"System plików można powiększyć do tego rozmiaru tylko konwertując go do "
 "FAT16."
 
 #: libparted/fs/r/fat/resize.c:566
 msgid ""
 "The file system can only be resized to this size by converting to FAT32."
 msgstr ""
-"System plików mo¿na powiêkszyæ do tego rozmiaru tylko konwertuj±c go do "
+"System plików można powiększyć do tego rozmiaru tylko konwertując go do "
 "FAT32."
 
 #: libparted/fs/r/fat/resize.c:579
 msgid ""
 "GNU Parted cannot resize this partition to this size.  We're working on it!"
 msgstr ""
-"GNU Parted nie jest w stanie zmieniæ rozmiaru partycji do tego rozmiaru. "
+"GNU Parted nie jest w stanie zmienić rozmiaru partycji do tego rozmiaru. "
 "Pracujemy nad tym!"
 
 #: libparted/fs/r/fat/table.c:136
@@ -1971,46 +1963,46 @@ msgid ""
 "FAT %d media %x doesn't match the boot sector's media %x.  You should "
 "probably run scandisk."
 msgstr ""
-"FAT %d no¶nik %x nie odpowiada no¶nikowi %x w sektorze rozruchowym. Nale¿y "
-"prawdopodobnie uruchomiæ program scandisk."
+"FAT %d nośnik %x nie odpowiada nośnikowi %x w sektorze rozruchowym. Należy "
+"prawdopodobnie uruchomić program scandisk."
 
 #: libparted/fs/r/fat/table.c:268
 #, c-format
 msgid "fat_table_set: cluster %ld outside file system"
-msgstr "fat_table_set: klaster %ld poza systemem plików"
+msgstr "fat_table_set: klaster %ld poza systemem plików"
 
 #: libparted/fs/r/fat/table.c:300
 #, c-format
 msgid "fat_table_get: cluster %ld outside file system"
-msgstr "fat_table_get: klaster %ld poza systemem plików"
+msgstr "fat_table_get: klaster %ld poza systemem plików"
 
 #: libparted/fs/r/fat/table.c:342
 msgid "fat_table_alloc_cluster: no free clusters"
-msgstr "fat_table_alloc_cluster: brak wolnych klastrów"
+msgstr "fat_table_alloc_cluster: brak wolnych klastrów"
 
 #: libparted/fs/r/filesys.c:151
 msgid "Could not detect file system."
-msgstr "Nie uda³o siê wykryæ systemu plików."
+msgstr "Nie udało się wykryć systemu plików."
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
 #, c-format
 msgid "resizing %s file systems is not supported"
-msgstr "zmiana rozmiaru systemów plików %s nie jest obs³ugiwana"
+msgstr "zmiana rozmiaru systemów plików %s nie jest obsługiwana"
 
 #: libparted/fs/r/filesys.c:170
 msgid "The file system is bigger than its volume!"
-msgstr "System plików jest wiêkszy ni¿ jego wolumen!"
+msgstr "System plików jest większy niż jego wolumen!"
 
 #: libparted/fs/r/hfs/advfs.c:120 libparted/fs/r/hfs/advfs_plus.c:120
 #: libparted/fs/r/hfs/reloc.c:412 libparted/fs/r/hfs/reloc.c:506
 #: libparted/fs/r/hfs/reloc_plus.c:537 libparted/fs/r/hfs/reloc_plus.c:655
 #: libparted/fs/r/hfs/reloc_plus.c:768
 msgid "The file system contains errors."
-msgstr "System plików zawiera b³êdy."
+msgstr "System plików zawiera błędy."
 
 #: libparted/fs/r/hfs/advfs_plus.c:284
 msgid "Bad blocks could not be read."
-msgstr "Nie mo¿na odczytaæ wadliwych bloków."
+msgstr "Nie można odczytać wadliwych bloków."
 
 #: libparted/fs/r/hfs/cache.c:136
 #, c-format
@@ -2018,8 +2010,8 @@ msgid ""
 "Trying to register an extent starting at block 0x%X, but another one already "
 "exists at this position.  You should check the file system!"
 msgstr ""
-"Próba zarejestrowania ekstentu zaczynaj±cego siê od bloku 0x%X, ale inny ju¿ "
-"istnieje w tym miejscu. Proszê sprawdziæ system plików!"
+"Próba zarejestrowania ekstentu zaczynającego się od bloku 0x%X, ale inny już "
+"istnieje w tym miejscu. Proszę sprawdzić system plików!"
 
 #: libparted/fs/r/hfs/cache.c:213
 #, c-format
@@ -2027,56 +2019,56 @@ msgid ""
 "Trying to move an extent from block Ox%X to block Ox%X, but another one "
 "already exists at this position.  This should not happen!"
 msgstr ""
-"Próba przeniesienia ekstentu z bloku 0x%X do bloku 0x%X, ale inny ju¿ "
-"istnieje w tym miejscu. To siê nie powinno zdarzyæ!"
+"Próba przeniesienia ekstentu z bloku 0x%X do bloku 0x%X, ale inny już "
+"istnieje w tym miejscu. To się nie powinno zdarzyć!"
 
 #: libparted/fs/r/hfs/file.c:142
 #, c-format
 msgid "Could not update the extent cache for HFS file with CNID %X."
 msgstr ""
-"Nie uda³o siê uaktualniæ pamiêci podrêcznej ekstentów dla pliku HFS o CNID "
+"Nie udało się uaktualnić pamięci podręcznej ekstentów dla pliku HFS o CNID "
 "%X."
 
 #: libparted/fs/r/hfs/file.c:179
 #, c-format
 msgid "Trying to read HFS file with CNID %X behind EOF."
-msgstr "Próba odczytu pliku HFS o CNID %X za koñcem pliku."
+msgstr "Próba odczytu pliku HFS o CNID %X za końcem pliku."
 
 #: libparted/fs/r/hfs/file.c:189 libparted/fs/r/hfs/file.c:219
 #, c-format
 msgid "Could not find sector %lli of HFS file with CNID %X."
-msgstr "Nie uda³o siê odnale¼æ sektora %lli pliku HFS o CNID %X."
+msgstr "Nie udało się odnaleźć sektora %lli pliku HFS o CNID %X."
 
 #: libparted/fs/r/hfs/file.c:209
 #, c-format
 msgid "Trying to write HFS file with CNID %X behind EOF."
-msgstr "Próba zapisu pliku HFS o CNID %X za koñcem pliku."
+msgstr "Próba zapisu pliku HFS o CNID %X za końcem pliku."
 
 #: libparted/fs/r/hfs/file_plus.c:156
 #, c-format
 msgid "Could not update the extent cache for HFS+ file with CNID %X."
 msgstr ""
-"Nie uda³o siê uaktualniæ pamiêci podrêcznej ekstentów dla pliku HFS+ o CNID "
+"Nie udało się uaktualnić pamięci podręcznej ekstentów dla pliku HFS+ o CNID "
 "%X."
 
 #: libparted/fs/r/hfs/file_plus.c:201
 #, c-format
 msgid "Trying to read HFS+ file with CNID %X behind EOF."
-msgstr "Próba odczytu pliku HFS+ o CNID %X za koñcem pliku."
+msgstr "Próba odczytu pliku HFS+ o CNID %X za końcem pliku."
 
 #: libparted/fs/r/hfs/file_plus.c:212 libparted/fs/r/hfs/file_plus.c:255
 #, c-format
 msgid "Could not find sector %lli of HFS+ file with CNID %X."
-msgstr "Nie uda³o siê odnale¼æ sektora %lli pliku HFS+ o CNID %X."
+msgstr "Nie udało się odnaleźć sektora %lli pliku HFS+ o CNID %X."
 
 #: libparted/fs/r/hfs/file_plus.c:244
 #, c-format
 msgid "Trying to write HFS+ file with CNID %X behind EOF."
-msgstr "Próba zapisu pliku HFS+ o CNID %X za koñcem pliku."
+msgstr "Próba zapisu pliku HFS+ o CNID %X za końcem pliku."
 
 #: libparted/fs/r/hfs/hfs.c:232
 msgid "Sorry, HFS cannot be resized that way yet."
-msgstr "Niestety nie mo¿na jeszcze zmieniæ rozmiaru HFS-a w ten sposób."
+msgstr "Niestety nie można jeszcze zmienić rozmiaru HFS-a w ten sposób."
 
 #: libparted/fs/r/hfs/hfs.c:250 libparted/fs/r/hfs/hfs.c:629
 msgid "shrinking"
@@ -2084,15 +2076,15 @@ msgstr "zmniejszanie"
 
 #: libparted/fs/r/hfs/hfs.c:262 libparted/fs/r/hfs/hfs.c:641
 msgid "Data relocation has failed."
-msgstr "Relokacja danych nie powiod³a siê."
+msgstr "Relokacja danych nie powiodła się."
 
 #: libparted/fs/r/hfs/hfs.c:281
 msgid "Data relocation left some data in the end of the volume."
-msgstr "Po relokacji danych pozosta³a czê¶æ danych na koñcu wolumenu."
+msgstr "Po relokacji danych pozostała część danych na końcu wolumenu."
 
 #: libparted/fs/r/hfs/hfs.c:320
 msgid "writing HFS Master Directory Block"
-msgstr "zapis g³ównego bloku katalogu HFS (Master Directory Block)"
+msgstr "zapis głównego bloku katalogu HFS (Master Directory Block)"
 
 #: libparted/fs/r/hfs/hfs.c:468
 msgid "No valid HFS[+X] signature has been found while opening."
@@ -2101,46 +2093,46 @@ msgstr "Nie znaleziono poprawnej sygnatury HFS[+X] podczas otwierania."
 #: libparted/fs/r/hfs/hfs.c:478
 #, c-format
 msgid "Version %d of HFS+ isn't supported."
-msgstr "Wersja %d systemu plików HFS+ nie jest obs³ugiwana."
+msgstr "Wersja %d systemu plików HFS+ nie jest obsługiwana."
 
 #: libparted/fs/r/hfs/hfs.c:489
 #, c-format
 msgid "Version %d of HFSX isn't supported."
-msgstr "Wersja %d systemu plików HFSX nie jest obs³ugiwana."
+msgstr "Wersja %d systemu plików HFSX nie jest obsługiwana."
 
 #: libparted/fs/r/hfs/hfs.c:672
 msgid "Data relocation left some data at the end of the volume."
-msgstr "Po relokacji danych pozosta³a czê¶æ danych na koñcu wolumenu."
+msgstr "Po relokacji danych pozostała część danych na końcu wolumenu."
 
 #: libparted/fs/r/hfs/hfs.c:720
 msgid "Error while writing the allocation file."
-msgstr "B³±d podczas zapisu pliku alokacji."
+msgstr "Błąd podczas zapisu pliku alokacji."
 
 #: libparted/fs/r/hfs/hfs.c:735
 msgid "Error while writing the compatibility part of the allocation file."
 msgstr ""
-"B³±d podczas zapisu czê¶ci pliku alokacji przeznaczonej dla kompatybilno¶ci."
+"Błąd podczas zapisu części pliku alokacji przeznaczonej dla kompatybilności."
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
-msgstr "zapis nag³ówka wolumenu HFS+"
+msgstr "zapis nagłówka wolumenu HFS+"
 
 #: libparted/fs/r/hfs/hfs.c:850
 msgid "An error occurred while looking for the mandatory bad blocks file."
-msgstr "Podczas szukania obowi±zkowego pliku wadliwych bloków wyst±pi³ b³±d."
+msgstr "Podczas szukania obowiązkowego pliku wadliwych bloków wystąpił błąd."
 
 #: libparted/fs/r/hfs/hfs.c:904
 msgid ""
 "It seems there is an error in the HFS wrapper: the bad blocks file doesn't "
 "contain the embedded HFS+ volume."
 msgstr ""
-"Prawdopodobnie jest b³±d w obudowaniu HFS: plik wadliwych bloków nie zawiera "
+"Prawdopodobnie jest błąd w obudowaniu HFS: plik wadliwych bloków nie zawiera "
 "osadzonego wolumenu HFS+."
 
 #: libparted/fs/r/hfs/hfs.c:940
 msgid "Sorry, HFS+ cannot be resized that way yet."
 msgstr ""
-"Niestety nie mo¿na jeszcze zmieniæ rozmiaru systemu plików HFS+ w ten sposób."
+"Niestety nie można jeszcze zmienić rozmiaru systemu plików HFS+ w ten sposób."
 
 #: libparted/fs/r/hfs/hfs.c:975
 msgid "shrinking embedded HFS+ volume"
@@ -2148,7 +2140,7 @@ msgstr "zmniejszanie osadzonego wolumenu HFS+"
 
 #: libparted/fs/r/hfs/hfs.c:991
 msgid "Resizing the HFS+ volume has failed."
-msgstr "Zmiana rozmiaru wolumenu HFS+ nie powiod³a siê."
+msgstr "Zmiana rozmiaru wolumenu HFS+ nie powiodła się."
 
 #: libparted/fs/r/hfs/hfs.c:998
 msgid "shrinking HFS wrapper"
@@ -2156,7 +2148,7 @@ msgstr "zmniejszanie obudowania HFS"
 
 #: libparted/fs/r/hfs/hfs.c:1007
 msgid "Updating the HFS wrapper has failed."
-msgstr "Uaktualnianie obudowania HFS nie powiod³o siê."
+msgstr "Uaktualnianie obudowania HFS nie powiodło się."
 
 #: libparted/fs/r/hfs/hfs.c:1109 libparted/fs/r/hfs/hfs.c:1194
 #, c-format
@@ -2164,206 +2156,214 @@ msgid ""
 "This is not a real %s check.  This is going to extract special low level "
 "files for debugging purposes."
 msgstr ""
-"To nie jest prawdziwe sprawdzenie systemu plików %s, a jedynie wydobycie "
-"specjalnych plików niskopoziomowych do celów diagnostycznych."
+"To nie jest prawdziwe sprawdzenie systemu plików %s, a jedynie wydobycie "
+"specjalnych plików niskopoziomowych do celów diagnostycznych."
 
 #: libparted/fs/r/hfs/journal.c:154
 msgid "Bad block list header checksum."
-msgstr "B³êdna suma kontrolna nag³ówka listy bloków."
+msgstr "Błędna suma kontrolna nagłówka listy bloków."
 
 #: libparted/fs/r/hfs/journal.c:167
 #, c-format
 msgid ""
 "Invalid size of a transaction block while replaying the journal (%i bytes)."
 msgstr ""
-"B³êdny rozmiar bloku transakcji w trakcie odtwarzania kroniki (bajtów: %i)."
+"Błędny rozmiar bloku transakcji w trakcie odtwarzania kroniki (bajtów: %i)."
 
 #: libparted/fs/r/hfs/journal.c:259
 msgid ""
 "Journal stored outside of the volume are not supported.  Try to desactivate "
 "the journal and run Parted again."
 msgstr ""
-"Kronika przechowywana poza wolumenem nie jest obs³ugiwana. Proszê spróbowaæ "
-"wy³±czyæ kronikê i uruchomiæ ponownie Parteda."
+"Kronika przechowywana poza wolumenem nie jest obsługiwana. Proszę spróbować "
+"wyłączyć kronikę i uruchomić ponownie Parteda."
 
 #: libparted/fs/r/hfs/journal.c:270
 msgid "Journal offset or size is not multiple of the sector size."
 msgstr ""
-"Po³o¿enie lub rozmiar kroniki nie jest wielokrotno¶ci± rozmiaru sektora."
+"Położenie lub rozmiar kroniki nie jest wielokrotnością rozmiaru sektora."
 
 #: libparted/fs/r/hfs/journal.c:291
 msgid "Incorrect magic values in the journal header."
-msgstr "Nieprawid³owe warto¶ci magiczne w nag³ówku kroniki."
+msgstr "Nieprawidłowe wartości magiczne w nagłówku kroniki."
 
 #: libparted/fs/r/hfs/journal.c:301
 msgid "Journal size mismatch between journal info block and journal header."
 msgstr ""
-"Niezgodno¶æ rozmiaru kroniki miêdzy blokiem informacyjnym kroniki a "
-"nag³ówkiem kroniki."
+"Niezgodność rozmiaru kroniki między blokiem informacyjnym kroniki a "
+"nagłówkiem kroniki."
 
 #: libparted/fs/r/hfs/journal.c:313
 msgid "Some header fields are not multiple of the sector size."
-msgstr "Niektóre pola nag³ówka nie s± wielokrotno¶ci± rozmiaru sektora."
+msgstr "Niektóre pola nagłówka nie są wielokrotnością rozmiaru sektora."
 
 #: libparted/fs/r/hfs/journal.c:322
 msgid ""
 "The sector size stored in the journal is not 512 bytes.  Parted only "
 "supports 512 bytes length sectors."
 msgstr ""
-"Rozmiar sektora zapisany w kronice jest inny ni¿ 512 bajtów. Parted "
-"obs³uguje tylko sektory o d³ugo¶ci 512 bajtów."
+"Rozmiar sektora zapisany w kronice jest inny niż 512 bajtów. Parted "
+"obsługuje tylko sektory o długości 512 bajtów."
 
 #: libparted/fs/r/hfs/journal.c:334
 msgid "Bad journal checksum."
-msgstr "B³êdna suma kontrolna kroniki."
+msgstr "Błędna suma kontrolna kroniki."
 
 #: libparted/fs/r/hfs/journal.c:352
 msgid ""
 "The journal is not empty.  Parted must replay the transactions before "
 "opening the file system.  This will modify the file system."
 msgstr ""
-"Kronika nie jest pusta. Parted musi odtworzyæ transakcje przed otworzeniem "
-"systemu plików - system plików zostanie zmodyfikowany."
+"Kronika nie jest pusta. Parted musi odtworzyć transakcje przed otworzeniem "
+"systemu plików - system plików zostanie zmodyfikowany."
 
 #: libparted/fs/r/hfs/journal.c:380
 msgid ""
 "The volume header or the master directory block has changed while replaying "
 "the journal.  You should restart Parted."
 msgstr ""
-"Nag³ówek wolumenu w bloku g³ównego katalogu zmieni³ siê przy odtwarzaniu "
-"kroniki. Nale¿y uruchomiæ ponownie Parteda."
+"Nagłówek wolumenu w bloku głównego katalogu zmienił się przy odtwarzaniu "
+"kroniki. Należy uruchomić ponownie Parteda."
 
 #: libparted/fs/r/hfs/reloc.c:150 libparted/fs/r/hfs/reloc_plus.c:154
 msgid "An extent has not been relocated."
-msgstr "Ekstent nie zosta³ zrelokowany."
+msgstr "Ekstent nie został zrelokowany."
 
 #: libparted/fs/r/hfs/reloc.c:249 libparted/fs/r/hfs/reloc_plus.c:306
 msgid ""
 "A reference to an extent comes from a place it should not.  You should check "
 "the file system!"
 msgstr ""
-"Odwo³anie do ekstentu pochodzi z niew³a¶ciwego miejsca. Proszê sprawdziæ "
-"system plików!"
+"Odwołanie do ekstentu pochodzi z niewłaściwego miejsca. Proszę sprawdzić "
+"system plików!"
 
 #: libparted/fs/r/hfs/reloc.c:379
 msgid "This HFS volume has no catalog file.  This is very unusual!"
-msgstr "Ten wolumen HFS nie ma pliku katalogu. To bardzo niezwyk³e!"
+msgstr "Ten wolumen HFS nie ma pliku katalogu. To bardzo niezwykłe!"
 
 #: libparted/fs/r/hfs/reloc.c:473
 msgid "This HFS volume has no extents overflow file.  This is quite unusual!"
-msgstr "Ten wolumen HFS nie ma pliku przepe³nieñ ekstenów. To do¶æ niezwyk³e!"
+msgstr "Ten wolumen HFS nie ma pliku przepełnień ekstenów. To dość niezwykłe!"
 
 #: libparted/fs/r/hfs/reloc.c:515 libparted/fs/r/hfs/reloc_plus.c:665
 msgid ""
 "The extents overflow file should not contain its own extents!  You should "
 "check the file system."
 msgstr ""
-"Plik przepe³nieñ ekstentów nie powinien zawieraæ w³asnych ekstentów! Proszê "
-"sprawdziæ system plików."
+"Plik przepełnień ekstentów nie powinien zawierać własnych ekstentów! Proszę "
+"sprawdzić system plików."
 
 #: libparted/fs/r/hfs/reloc.c:572 libparted/fs/r/hfs/reloc_plus.c:843
 msgid "Could not cache the file system in memory."
-msgstr "Nie uda³o siê zbuforowaæ systemu plików w pamiêci."
+msgstr "Nie udało się zbuforować systemu plików w pamięci."
 
 #: libparted/fs/r/hfs/reloc.c:633 libparted/fs/r/hfs/reloc_plus.c:904
 msgid "Bad blocks list could not be loaded."
-msgstr "Nie uda³o siê wczytaæ listy wadliwych bloków."
+msgstr "Nie udało się wczytać listy wadliwych bloków."
 
 #: libparted/fs/r/hfs/reloc.c:647 libparted/fs/r/hfs/reloc_plus.c:920
 msgid "An error occurred during extent relocation."
-msgstr "Wyst±pi³ b³±d w trakcie relokacji ekstentów."
+msgstr "Wystąpił błąd w trakcie relokacji ekstentów."
 
 #: libparted/fs/r/hfs/reloc_plus.c:493
 msgid "This HFS+ volume has no catalog file.  This is very unusual!"
-msgstr "Ten wolumen HFS+ nie zawiera pliku katalogu. To bardzo niezwyk³e!"
+msgstr "Ten wolumen HFS+ nie zawiera pliku katalogu. To bardzo niezwykłe!"
 
 #: libparted/fs/r/hfs/reloc_plus.c:616
 msgid "This HFS+ volume has no extents overflow file.  This is quite unusual!"
 msgstr ""
-"Ten wolumen HFS+ nie zawiera pliku przepe³nieñ ekstentów. To do¶æ niezwyk³e!"
+"Ten wolumen HFS+ nie zawiera pliku przepełnień ekstentów. To dość niezwykłe!"
 
 #: parted/parted.c:125
 msgid "displays this help message"
-msgstr "wy¶wietla tê oto pomoc"
+msgstr "wyświetla tę oto pomoc"
 
 #: parted/parted.c:126
 msgid "lists partition layout on all block devices"
-msgstr "wypisuje rozk³ad partycji na wszystkich wykrytych urz±dzeniach"
+msgstr "wypisuje rozkład partycji na wszystkich wykrytych urządzeniach"
 
 #: parted/parted.c:127
 msgid "displays machine parseable output"
-msgstr "wywietla dane w formacie czytelnym dla maszyny"
+msgstr "wyświetla dane w formacie czytelnym dla maszyny"
 
 #: parted/parted.c:128
 msgid "never prompts for user intervention"
-msgstr "nigdy nie prosi u¿ytkownika o interwencjê"
+msgstr "nigdy nie prosi użytkownika o interwencję"
 
 #: parted/parted.c:129
 msgid "displays the version"
-msgstr "wywietla numer wersji"
+msgstr "wyświetla numer wersji"
 
 #: parted/parted.c:130
 msgid "alignment for new partitions"
-msgstr "wyrównanie dla nowych partycji"
+msgstr "wyrównanie dla nowych partycji"
 
 #: parted/parted.c:142
 msgid ""
 "NUMBER is the partition number used by Linux.  On MS-DOS disk labels, the "
 "primary partitions number from 1 to 4, logical partitions from 5 onwards.\n"
 msgstr ""
-"NUMER oznacza numer partycji u¿ywanej przez Linuksa.  Dla etykiet dysków MS-"
-"DOS liczba partycji g³ównych mie¶ci siê w przedziale 1-4, za¶ partycje "
-"logiczne zajmuj± kolejne numery pocz±wszy od 5.\n"
+"NUMER oznacza numer partycji używanej przez Linuksa. Dla etykiet dysków MS-"
+"DOS liczba partycji głównych mieści się w przedziale 1-4, zaś partycje "
+"logiczne zajmują kolejne numery począwszy od 5.\n"
 
 #: parted/parted.c:145
 msgid "LABEL-TYPE is one of: "
-msgstr "TYP-ETYKIETY stanowi jedn± z nastêpuj±cych warto¶ci: "
+msgstr "TYP-ETYKIETY stanowi jedną z następujących wartości: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
-msgstr "FLAGA stanowi jedn± z nastêpuj±cych warto¶ci: "
+msgstr "FLAGA stanowi jedną z następujących wartości: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
-msgstr "JEDNOSTKA stanowi jedn± z nastêpuj±cych warto¶ci: "
+msgstr "JEDNOSTKA stanowi jedną z następujących wartości: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
-msgstr "po¿±dane wyrównanie: minimalne lub optymalne"
+msgstr "pożądane wyrównanie: minimalne lub optymalne"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr ""
-"TYP-PARTYCJI stanowi jedn± z nastêpuj±cych warto¶ci: g³ówna, logiczna, "
+"TYP-PARTYCJI stanowi jedną z następujących wartości: główna, logiczna, "
 "rozszerzona\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
-msgstr "SYSTEM-PLIKÓW stanowi jedn± z nastêpuj±cych warto¶ci: "
+msgstr "SYSTEM-PLIKÓW stanowi jedną z następujących wartości: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
-"POCZ¡TEK i KONIEC oznaczaj± po³o¿enia na dysku, np. 4GB lub 10%.  Ujemne "
-"warto¶ci s± liczone od koñca dysku.  Na przyk³ad -1s oznacza dok³adnie "
+"POCZĄTEK i KONIEC oznaczają położenia na dysku, np. 4GB lub 10%. Ujemne "
+"wartości są liczone od końca dysku. Na przykład -1s oznacza dokładnie "
 "ostatni sektor.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"KONIEC to miejsce na dysku, np. 4GB lub 10%. Ujemne wartości są liczone od "
+"końca dysku. Na przykład -1s oznacza dokładnie ostatni sektor.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
-msgstr "STAN jest reprezentowany poprzez: w³±czony, wy³±czony\n"
+msgstr "STAN jest reprezentowany poprzez: włączony, wyłączony\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
-msgstr "URZ¡DZENIEM jest zwykle /dev/hda lub /dev/sda\n"
+msgstr "URZĄDZENIEM jest zwykle /dev/hda lub /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
-msgstr "NAZWA jest dowolnym s³owem jakie chcesz\n"
+msgstr "NAZWA jest dowolnym słowem jakie chcesz\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2375,441 +2375,465 @@ msgid ""
 "\n"
 msgstr ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
-"Program ten jest wolnodostêpny, zgodnie z Powszechn± Licencj± Publiczn± "
+"Program ten jest wolnodostępny, zgodnie z Powszechną Licencją Publiczną "
 "GNU.\n"
 "\n"
-"Program ten udostêpniany jest w nadziei, ¿e bêdzie przydatny, ale BEZ\n"
-"¯ADNEJ GWARANCJI, nawet bez domy¶lnej gwarancji PRZYDATNO¦CI HANDLOWEJ albo\n"
-"PRZYDATNO¦CI DO KONKRETNYCH ZASTOSOWAÑ. Wiêcej szczegó³ów znajduje siê\n"
+"Program ten udostępniany jest w nadziei, że będzie przydatny, ale BEZ\n"
+"ŻADNEJ GWARANCJI, nawet bez domyślnej gwarancji PRZYDATNOŚCI HANDLOWEJ albo\n"
+"PRZYDATNOŚCI DO KONKRETNYCH ZASTOSOWAŃ. Więcej szczegółów znajduje się\n"
 "w Powszechnej Licencji Publicznej GNU.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
-msgstr "%0.f%%\t(czas do koñca %.2d:%.2d)"
+msgstr "%0.f%%\t(czas do końca %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
-"Partycja %s jest u¿ywana.  Nale¿y j± od³±czyæ przed jej modyfikacj± Partedem."
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "Partycja %s jest używana. Czy na pewno kontynuować?"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
-msgstr "Partycja (partycje) na %s s± u¿ywane."
+msgstr "Partycja (partycje) na %s są używane."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
-"Istniej±ca etykieta dysku na %s zostanie zniszczona, a wszystkie dane na tym "
-"dysku zostan± utracone. Kontynuowaæ?"
+"Istniejąca etykieta dysku na %s zostanie zniszczona, a wszystkie dane na tym "
+"dysku zostaną utracone. Kontynuować?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Nowy typ etykiety dysku?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Typ partycji?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Nazwa partycji?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
-msgstr "Typ systemu plików?"
+msgstr "Typ systemu plików?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
-msgstr "Pocz±tek?"
+msgstr "Początek?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Koniec?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Wybrano partycjê od %s do %s (sektorów: %llu..%llu).\n"
-"Najbli¿sza z jak± Parted mo¿e sobie poradziæ jest od %s do %s (sektorów: "
+"Wybrano partycję od %s do %s (sektorów: %llu..%llu).\n"
+"Najbliższa z jaką Parted może sobie poradzić jest od %s do %s (sektorów: "
 "%llu..%llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 "\n"
-"Czy jest to do przyjêcia?"
+"Czy jest to do przyjęcia?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
-"Partycja wynikowa nie jest wyrównana w³a¶ciwie dla najlepszej wydajno¶ci."
+"Partycja wynikowa nie jest wyrównana właściwie dla najlepszej wydajności."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Numer partycji?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
-"Geometria BIOS cylinder,g³owica,sektor: %d,%d,%d.  Ka¿dy cylinder ma %s.\n"
+"Geometria BIOS cylinder,głowica,sektor: %d,%d,%d. Każdy cylinder ma %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Model: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Dysk %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Rozmiar sektora (logiczny/fizyczny): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Tablica partycji: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Flagi dysku: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Numer"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
-msgstr "Pocz±tek"
+msgstr "Początek"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Koniec"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Rozmiar"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Typ"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
-msgstr "System plików"
+msgstr "System plików"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Nazwa"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Flaga"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Wolne miejsce"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
 msgstr ""
-"Partycja %s %s zosta³a znaleziona na %s -> %s.  Czy chcesz j± dodaæ do "
+"Partycja %s %s została znaleziona na %s -> %s. Czy chcesz ją dodać do "
 "tablicy partycji?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
-msgstr "szukam systemów plików"
+msgstr "szukam systemów plików"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "Polecenie zmiany rozmiaru zostało usunięte w partedzie 3.0"
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+"Zmniejszenie rozmiaru partycji może spowodować utratę danych, czy na pewno "
+"kontynuować?"
+
+#: parted/parted.c:1609
 msgid "New device?"
-msgstr "Nowe urz±dzenie?"
+msgstr "Nowe urządzenie?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
-msgstr "rodzaj wyrównania(min/opt)"
+msgstr "rodzaj wyrównania(min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
-msgstr "%d wyrównana\n"
+msgstr "%d wyrównana\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
-msgstr "%d niewyrównana\n"
+msgstr "%d niewyrównana\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Flaga do przestawienia?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Nowy stan?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Jednostka?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
-msgstr "sprawd¼-wyrównanie"
+msgstr "sprawdź-wyrównanie"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
-"sprawd¼-wyrównanie TYP N                  sprawdzenie wyrównania TYP(min|"
+"sprawdź-wyrównanie TYP N                  sprawdzenie wyrównania TYP(min|"
 "opt) partycji N"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "pomoc"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr ""
-"pomoc [POLECENIE]             wy¶wietla pomoc ogóln± lub dotycz±c± POLECENIA"
+"pomoc [POLECENIE]             wyświetla pomoc ogólną lub dotyczącą POLECENIA"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
-"mklabel,mktable TYP-ETYKIETY  tworzy now± etykietê dysku (tablicê partycji)"
+"mklabel,mktable TYP-ETYKIETY  tworzy nową etykietę dysku (tablicę partycji)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
-msgstr "mkpart TYP-PARTYCJI [SYSTEM-PLIKÓW] POCZ¡TEK KONIEC   tworzy partycjê"
+msgstr "mkpart TYP-PARTYCJI [SYSTEM-PLIKÓW] POCZĄTEK KONIEC   tworzy partycję"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
 msgstr ""
-"Polecenie 'mkpart' tworzy partycjê bez tworzenia nowego systemu plików na "
-"tej partycji.  Opcjonalny SYSTEM-PLIKÓW mo¿e zostaæ podany do okre¶lenia "
-"w³a¶ciwego identyfikatora partycji.\n"
+"Polecenie 'mkpart' tworzy partycję bez tworzenia nowego systemu plików na "
+"tej partycji. Opcjonalny SYSTEM-PLIKÓW może zostać podany do określenia "
+"właściwego identyfikatora partycji.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "nazwa"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
-msgstr "name NUMER NAZWA              nadaje NAZWÊ partycji NUMER"
+msgstr "name NUMER NAZWA              nadaje NAZWĘ partycji NUMER"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "drukuj"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
-"print [devices|free|list,all|NUMER]   wy¶wietla tablicê partycji, dostêpne "
-"urz±dzenia, wolne miejsce, znalezione partycje lub okre¶lon± partycjê"
+"print [devices|free|list,all|NUMER]   wyświetla tablicę partycji, dostępne "
+"urządzenia, wolne miejsce, znalezione partycje lub określoną partycję"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
-"Bez argumentów 'print' wy¶wietla ca³± tablicê partycji. Jednak z "
-"nastêpuj±cymi parametrami wykonuje ró¿ne inne akcje:\n"
+"Bez argumentów 'print' wyświetla całą tablicę partycji. Jednak z "
+"następującymi parametrami wykonuje różne inne akcje:\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
-msgstr "  devices   : wy¶wietla wszystkie aktywne urz±dzenia blokowe\n"
+msgstr "  devices   : wyświetla wszystkie aktywne urządzenia blokowe\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
-"  free      : wywietla informacje o wolnym, niespartycjonowanym miejscu na "
-"aktualnym urz±dzeniu blokowym\n"
+"  free      : wyświetla informacje o wolnym, niespartycjonowanym miejscu na "
+"aktualnym urządzeniu blokowym\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
-"  list, all : wy¶wietla tablice partycji wszystkich aktywnych urz±dzeñ "
+"  list, all : wyświetla tablice partycji wszystkich aktywnych urządzeń "
 "blokowych\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
-"  NUMER     : wy¶wietla bardziej szczegó³owe informacje o okre¶lonej "
+"  NUMER     : wyświetla bardziej szczegółowe informacje o określonej "
 "partycji\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "koniec"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
-msgstr "quit                          koñczy pracê programu"
+msgstr "quit                          kończy pracę programu"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "uratuj"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
 msgstr ""
-"rescue POCZ¡TEK KONIEC        odzyskuje utracon± partycjê blisko POCZ¡TKU i "
-"KOÑCA"
+"rescue POCZĄTEK KONIEC        odzyskuje utraconą partycję blisko POCZĄTKU i "
+"KOŃCA"
+
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "zmień-rozmiar"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "Polecenie zmiany rozmiaru zostało usunięte w partedzie 3.0\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "resizepart"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "resizepart NUMER KONIEC       zmienia rozmiar partycji NUMER"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2014
 msgid "rm"
-msgstr "usuñ"
+msgstr "usuń"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
-msgstr "rm NUMER                      usuwa partycjê NUMER"
+msgstr "rm NUMER                      usuwa partycję NUMER"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "wybierz"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
-msgstr "select URZ¡DZENIE             wybiera urz±dzenie do edycji"
+msgstr "select URZĄDZENIE             wybiera urządzenie do edycji"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr "ustaw_dysk"
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "disk_set FLAGA STAN           zmienia flagê na wybranym urz±dzeniu"
+msgstr "disk_set FLAGA STAN           zmienia flagę na wybranym urządzeniu"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
-msgstr "prze³±cz_dysk"
+msgstr "przełącz_dysk"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
-"disk_toggle [FLAGA]           przestawia stan FLAGI na wybranym urz±dzeniu"
+"disk_toggle [FLAGA]           przestawia stan FLAGI na wybranym urządzeniu"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "ustaw"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
-msgstr "set NUMER FLAGA STAN          zmienia flagê na partycji NUMER"
+msgstr "set NUMER FLAGA STAN          zmienia flagę na partycji NUMER"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "przestaw"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr "toggle [NUMER [FLAGA]]        przestawia stan FLAGI na partycji NUMER"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "jednostka"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
-msgstr "unit JEDNOSTKA                ustawia domy¶ln± jednostkê"
+msgstr "unit JEDNOSTKA                ustawia domyślną jednostkę"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "wersja"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
-"version                       wywietla numer wersji GNU Parteda i "
+"version                       wyświetla numer wersji GNU Parteda i "
 "informacje o prawach autorskich"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
-"'version' wywietla informacje o prawach autorskich i wersji dla tej kopii "
+"'version' wyświetla informacje o prawach autorskich i wersji dla tej kopii "
 "GNU Parteda\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
-"Sk³adnia: %s [-hlmsv] [-a<wyrównanie>] [URZ¡DZENIE [POLECENIE "
+"Składnia: %s [-hlmsv] [-a<wyrównanie>] [URZĄDZENIE [POLECENIE "
 "[PARAMETRY]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
-msgstr "Nie znaleziono urz±dzenia"
+msgstr "Nie znaleziono urządzenia"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
-msgstr "UWAGA: Nie jeste¶ superu¿ytkownikiem. Uwa¿aj na uprawnienia.\n"
+msgstr "UWAGA: Nie jesteś superużytkownikiem. Uważaj na uprawnienia.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
-msgstr "Mo¿e wyst±piæ potrzeba aktualizacji /etc/fstab.\n"
+msgstr "Może wystąpić potrzeba aktualizacji /etc/fstab.\n"
 
 #: parted/ui.c:162
 msgid "Welcome to GNU Parted! Type 'help' to view a list of commands.\n"
 msgstr ""
-"Witamy w GNU Partedzie! Listê poleceñ mo¿na zobaczyæ po napisaniu 'help'.\n"
+"Witamy w GNU Partedzie! Listę poleceń można zobaczyć po napisaniu 'help'.\n"
 
 #: parted/ui.c:165
 msgid ""
@@ -2818,8 +2842,8 @@ msgid ""
 "in\n"
 "interactive mode.\n"
 msgstr ""
-"Sk³adnia: parted [OPCJA]... [URZ¡DZENIE [POLECENIE [PARAMETRY]...]...]\n"
-"Wykonuje POLECENIA z PARAMETRAMI dla URZ¡DZENIA.  Je¶li nie podano POLECEÑ,\n"
+"Składnia: parted [OPCJA]... [URZĄDZENIE [POLECENIE [PARAMETRY]...]...]\n"
+"Wykonuje POLECENIA z PARAMETRAMI dla URZĄDZENIA. Jeśli nie podano POLECEŃ,\n"
 "program zostanie uruchomiony w trybie interaktywnym.\n"
 
 #: parted/ui.c:170
@@ -2857,33 +2881,33 @@ msgid ""
 msgstr ""
 "\n"
 "\n"
-"Znalaz³e¶ b³±d w programie GNU Parted! Poni¿ej znajduje siê instrukcja\n"
-"postêpowania:\n"
+"Znalazłeś błąd w programie GNU Parted! Poniżej znajduje się instrukcja\n"
+"postępowania:\n"
 "\n"
-"Nie panikuj! B³±d najprawdopodobniej nie dotkn±³ ¿adnych twoich danych.\n"
-"Pomó¿ nam poprawiæ ten b³±d wykonuj±c nastêpuj±ce czynno¶ci:\n"
+"Nie panikuj! Błąd najprawdopodobniej nie dotknął żadnych twoich danych.\n"
+"Pomóż nam poprawić ten błąd wykonując następujące czynności:\n"
 "\n"
-"Sprawd¼, czy b³±d zosta³ ju¿ poprawiony sprawdzaj±c najnowsz± wersjê GNU\n"
-"Parteda dostêpn± pod adresem:\n"
+"Sprawdź, czy błąd został już poprawiony sprawdzając najnowszą wersję GNU\n"
+"Parteda dostępną pod adresem:\n"
 "\n"
 "\thttp://ftp.gnu.org/gnu/parted/\n"
 "\n"
-"Proszê sprawdziæ tê wersjê przed zg³aszaniem b³êdu.\n"
+"Proszę sprawdzić tę wersję przed zgłaszaniem błędu.\n"
 "\n"
-"Je¶li b³±d nie zosta³ jeszcze poprawiony lub nie wiesz, jak to sprawdziæ,\n"
-"proszê odwiedziæ stronê GNU Parteda:\n"
+"Jeśli błąd nie został jeszcze poprawiony lub nie wiesz, jak to sprawdzić,\n"
+"proszę odwiedzić stronę GNU Parteda:\n"
 "\n"
 "\thttp://www.gnu.org/software/parted\n"
 "\n"
-"gdzie znajduje siê wiêcej informacji.\n"
+"gdzie znajduje się więcej informacji.\n"
 "\n"
-"Zg³oszenie b³êdu powinno zawieraæ wersjê tego wydania (%s)\n"
-"wraz z poni¿szym komunikatem o b³êdzie, wyj¶ciem polecenia\n"
+"Zgłoszenie błędu powinno zawierać wersję tego wydania (%s)\n"
+"wraz z poniższym komunikatem o błędzie, wyjściem polecenia\n"
 "\n"
-"\tparted URZ¡DZENIE unit co print unit s print\n"
+"\tparted URZĄDZENIE unit co print unit s print\n"
 "\n"
-"i nastêpuj±c± histori± wprowadzonych poleceñ.\n"
-"Do³±cz tak¿e dodatkowe informacje o konfiguracji, które uwa¿asz\n"
+"i następującą historią wprowadzonych poleceń.\n"
+"Dołącz także dodatkowe informacje o konfiguracji, które uważasz\n"
 "za istotne.\n"
 
 #: parted/ui.c:291
@@ -2892,7 +2916,7 @@ msgid ""
 "Command History:\n"
 msgstr ""
 "\n"
-"Historia poleceñ:\n"
+"Historia poleceń:\n"
 
 #: parted/ui.c:354
 msgid ""
@@ -2900,7 +2924,7 @@ msgid ""
 "Error: SEGV_MAPERR (Address not mapped to object)\n"
 msgstr ""
 "\n"
-"B³±d: SEGV_MAPERR (Adres nie odwzorowany na obiekcie)\n"
+"Błąd: SEGV_MAPERR (Adres nie odwzorowany na obiekcie)\n"
 
 #: parted/ui.c:360
 msgid ""
@@ -2908,7 +2932,7 @@ msgid ""
 "Error: SEGV_ACCERR (Invalid permissions for mapped object)\n"
 msgstr ""
 "\n"
-"B³±d: SEGV_ACCERR (Nieprawid³owe uprawnienia dla odwzorowanego obiektu)\n"
+"Błąd: SEGV_ACCERR (Nieprawidłowe uprawnienia dla odwzorowanego obiektu)\n"
 
 #: parted/ui.c:365
 msgid ""
@@ -2916,7 +2940,7 @@ msgid ""
 "Error: A general SIGSEGV signal was encountered.\n"
 msgstr ""
 "\n"
-"B³±d: Wyst±pi³ ogólny sygna³ SIGSEGV.\n"
+"Błąd: Wystąpił ogólny sygnał SIGSEGV.\n"
 
 #: parted/ui.c:389
 msgid ""
@@ -2924,7 +2948,7 @@ msgid ""
 "Error: FPE_INTDIV (Integer: divide by zero)"
 msgstr ""
 "\n"
-"B³±d: FPE_INTDIV (dzielenie przez zero na liczbach ca³kowitych)"
+"Błąd: FPE_INTDIV (dzielenie przez zero na liczbach całkowitych)"
 
 #: parted/ui.c:394
 msgid ""
@@ -2932,7 +2956,7 @@ msgid ""
 "Error: FPE_INTOVF (Integer: overflow)"
 msgstr ""
 "\n"
-"B³±d: FPE_INTOVF (przepe³nienie dla liczby ca³kowitej)"
+"Błąd: FPE_INTOVF (przepełnienie dla liczby całkowitej)"
 
 #: parted/ui.c:399
 msgid ""
@@ -2940,7 +2964,7 @@ msgid ""
 "Error: FPE_FLTDIV (Float: divide by zero)"
 msgstr ""
 "\n"
-"B³±d: FPE_FLTDIV (dzielenie przez zero na liczbach zmiennoprzecinkowych)"
+"Błąd: FPE_FLTDIV (dzielenie przez zero na liczbach zmiennoprzecinkowych)"
 
 #: parted/ui.c:404
 msgid ""
@@ -2948,7 +2972,7 @@ msgid ""
 "Error: FPE_FLTOVF (Float: overflow)"
 msgstr ""
 "\n"
-"B³±d: FPE_FLTOVF (przepe³nienie dla liczby zmiennoprzecinkowej)"
+"Błąd: FPE_FLTOVF (przepełnienie dla liczby zmiennoprzecinkowej)"
 
 #: parted/ui.c:409
 msgid ""
@@ -2956,7 +2980,7 @@ msgid ""
 "Error: FPE_FLTUND (Float: underflow)"
 msgstr ""
 "\n"
-"B³±d: FPE_FLTUND (niedope³nienie dla liczby zmiennoprzecinkowej)"
+"Błąd: FPE_FLTUND (niedopełnienie dla liczby zmiennoprzecinkowej)"
 
 #: parted/ui.c:414
 msgid ""
@@ -2964,7 +2988,7 @@ msgid ""
 "Error: FPE_FLTRES (Float: inexact result)"
 msgstr ""
 "\n"
-"B³±d: FPE_FLTRES (niedok³adny wynik dla liczb zmiennoprzecinkowych)"
+"Błąd: FPE_FLTRES (niedokładny wynik dla liczb zmiennoprzecinkowych)"
 
 #: parted/ui.c:419
 msgid ""
@@ -2972,7 +2996,7 @@ msgid ""
 "Error: FPE_FLTINV (Float: invalid operation)"
 msgstr ""
 "\n"
-"B³±d: FPE_FLTINV (nieprawid³owa operacja dla liczb zmiennoprzecinkowych)"
+"Błąd: FPE_FLTINV (nieprawidłowa operacja dla liczb zmiennoprzecinkowych)"
 
 #: parted/ui.c:424
 msgid ""
@@ -2980,7 +3004,7 @@ msgid ""
 "Error: FPE_FLTSUB (Float: subscript out of range)"
 msgstr ""
 "\n"
-"B³±d: FPE_FLTSUB (indeks spoza zakresu dla liczb zmiennoprzecinkowych)"
+"Błąd: FPE_FLTSUB (indeks spoza zakresu dla liczb zmiennoprzecinkowych)"
 
 #: parted/ui.c:429
 msgid ""
@@ -2988,7 +3012,7 @@ msgid ""
 "Error: A general SIGFPE signal was encountered."
 msgstr ""
 "\n"
-"B³±d: Wyst±pi³ ogólny sygna³ SIGFPE."
+"Błąd: Wystąpił ogólny sygnał SIGFPE."
 
 #: parted/ui.c:453
 msgid ""
@@ -2996,7 +3020,7 @@ msgid ""
 "Error: ILL_ILLOPC (Illegal Opcode)"
 msgstr ""
 "\n"
-"B³±d: ILL_ILLOPC (niedozwolony kod instrukcji)"
+"Błąd: ILL_ILLOPC (niedozwolony kod instrukcji)"
 
 #: parted/ui.c:458
 msgid ""
@@ -3004,7 +3028,7 @@ msgid ""
 "Error: ILL_ILLOPN (Illegal Operand)"
 msgstr ""
 "\n"
-"B³±d: ILL_ILLOPN (niedozwolony operand)"
+"Błąd: ILL_ILLOPN (niedozwolony operand)"
 
 #: parted/ui.c:463
 msgid ""
@@ -3012,7 +3036,7 @@ msgid ""
 "Error: ILL_ILLADR (Illegal addressing mode)"
 msgstr ""
 "\n"
-"B³±d: ILL_ILLADR (niedozwolony tryb adresowania)"
+"Błąd: ILL_ILLADR (niedozwolony tryb adresowania)"
 
 #: parted/ui.c:468
 msgid ""
@@ -3020,7 +3044,7 @@ msgid ""
 "Error: ILL_ILLTRP (Illegal Trap)"
 msgstr ""
 "\n"
-"B³±d: ILL_ILLTRP (niedozwolona pu³apka)"
+"Błąd: ILL_ILLTRP (niedozwolona pułapka)"
 
 #: parted/ui.c:473
 msgid ""
@@ -3028,7 +3052,7 @@ msgid ""
 "Error: ILL_PRVOPC (Privileged Opcode)"
 msgstr ""
 "\n"
-"B³±d: ILL_PRVOPC (uprzywilejowany kod instrukcji)"
+"Błąd: ILL_PRVOPC (uprzywilejowany kod instrukcji)"
 
 #: parted/ui.c:478
 msgid ""
@@ -3036,7 +3060,7 @@ msgid ""
 "Error: ILL_PRVREG (Privileged Register)"
 msgstr ""
 "\n"
-"B³±d: ILL_PRVREG (uprzywilejowany rejestr)"
+"Błąd: ILL_PRVREG (uprzywilejowany rejestr)"
 
 #: parted/ui.c:483
 msgid ""
@@ -3044,7 +3068,7 @@ msgid ""
 "Error: ILL_COPROC (Coprocessor Error)"
 msgstr ""
 "\n"
-"B³±d: ILL_COPROC (b³±d koprocesora)"
+"Błąd: ILL_COPROC (błąd koprocesora)"
 
 #: parted/ui.c:488
 msgid ""
@@ -3052,7 +3076,7 @@ msgid ""
 "Error: ILL_BADSTK (Internal Stack Error)"
 msgstr ""
 "\n"
-"B³±d: ILL_BADSTK (wewnêtrzny b³±d stosu)"
+"Błąd: ILL_BADSTK (wewnętrzny błąd stosu)"
 
 #: parted/ui.c:493
 msgid ""
@@ -3060,82 +3084,82 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 "\n"
-"B³±d: Wyst±pi³ ogólny sygna³ SIGILL."
+"Błąd: Wystąpił ogólny sygnał SIGILL."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
-msgstr "nieprawid³owy token: %s"
+msgstr "nieprawidłowy token: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
-msgstr "Oczekiwany by³ numer partycji."
+msgstr "Oczekiwany był numer partycji."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Partycja nie istnieje."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
-msgstr "Oczekiwany by³ typ systemu plików."
+msgstr "Oczekiwany był typ systemu plików."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
-msgstr "Nieznany typ systemu plików \"%s\"."
+msgstr "Nieznany typ systemu plików \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
-msgstr "Oczekiwany by³ typ etykiety dysku."
+msgstr "Oczekiwany był typ etykiety dysku."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
-msgstr "Nie mo¿na utworzyæ wiêcej partycji."
+msgstr "Nie można utworzyć więcej partycji."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
-msgstr "Oczekiwany by³ typ partycji."
+msgstr "Oczekiwany był typ partycji."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
-msgstr "w³±czone"
+msgstr "włączone"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
-msgstr "wy³±czone"
+msgstr "wyłączone"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optymalne"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimalne"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "OPCJE:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "POLECENIA:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 "\n"
-"Prosimy zg³aszaæ b³êdy na adres <%s>.\n"
-"B³êdy w t³umaczeniu prosimy zg³aszaæ na adres: <translation-team-pl@lists."
+"Prosimy zgłaszać błędy na adres <%s>.\n"
+"Błędy w tłumaczeniu prosimy zgłaszać na adres: <translation-team-pl@lists."
 "sourceforge.net>.\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
-msgstr "U¿ycie %s\n"
+msgstr "Użycie %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "To polecenie nie ma sensu w trybie nieinteraktywnym.\n"
index 5155630527ac474c39b6a2b6a14f3738e0008e96..a9b1df72d3398cfaf2805fc0a64af3d66e1375b3 100644 (file)
Binary files a/po/pt.gmo and b/po/pt.gmo differ
index d27fc001c79814a6bea0fddb5df86b5c69bcab1a..a6a5c9598a45a8114188cb582d9ea61966d26db6 100644 (file)
--- a/po/pt.po
+++ b/po/pt.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 1.4.20\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2001-10-16 20:16+02:00\n"
 "Last-Translator: Gonçalo Silva <goncalo.silva@caixamagica.org>\n"
 "Language-Team: Portuguese <pt@li.org>\n"
@@ -17,9 +17,9 @@ msgstr ""
 "Content-Transfer-Encoding: 8-bit\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "Tabela de partições inválida em %s"
+msgstr ""
 
 #: lib/argmatch.c:134
 #, c-format
@@ -27,11 +27,10 @@ msgid "ambiguous argument %s for %s"
 msgstr ""
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "Tabela de partições inválida em %s"
+msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr ""
 
@@ -61,14 +60,14 @@ msgid "%s: option '--%s' requires an argument\n"
 msgstr ""
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "Impossível abrir %s - rótulo de disco desconhecido."
+msgstr ""
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "Impossível abrir %s - rótulo de disco desconhecido."
+msgstr ""
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
@@ -116,83 +115,83 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr ""
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr ""
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr ""
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr ""
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr ""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr ""
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr ""
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr ""
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr ""
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr ""
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr ""
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr ""
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr ""
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr ""
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr ""
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ""
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr ""
 
@@ -202,7 +201,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr ""
 
@@ -212,7 +211,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr ""
 
@@ -369,78 +368,78 @@ msgid "memory exhausted"
 msgstr ""
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "Tabela de partições inválida em %s"
+msgstr ""
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "Tabela de partições inválida em %s"
+msgstr ""
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "Tabela de partições inválida em %s"
+msgstr ""
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr ""
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Erro abrindo %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Não posso abrir %s para gravação (%s). %s foi aberto somente para leitura."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s durante procura para leitura em %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s durante leitura em %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Não posso gravar em %s, pois ela foi aberta como somente para leitura."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s durante procura para escrita em %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s durante escrita em %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr ""
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -450,13 +449,13 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -501,7 +500,7 @@ msgstr ""
 "significa que o Linux não sabe nada sobre as modificações que fez. Deverá "
 "reinicializar seu computador antes de fazer qualquer uso de %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -514,45 +513,45 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr ""
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Não foi possível inicializar o dispositivo %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, fuzzy, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Impossível determinar tamanho de %s (%s)"
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, fuzzy, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Impossível determinar tamanho de %s (%s)"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Não foi possível obter a identificação do dispositivo %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr ""
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -561,19 +560,19 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Erro inicializando dispositivo SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, fuzzy, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -582,108 +581,99 @@ msgstr ""
 "Impossível determinar a geometria do ficheiro/dispositivo. Não deve utilizar "
 "o Parted a não ser que REALMENTE saiba o que está a fazer!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Controlador RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Controlador ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Controlador I20"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
-#, fuzzy
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr "Nenhum dispositivo encontrado"
+msgstr ""
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Desconhecido"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Tipo de dispositivo não suportado"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Erro abrindo %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
-#, fuzzy, c-format
+#: libparted/arch/linux.c:2564
+#, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
 "means Linux won't know about any changes you made to %s until you reboot -- "
 "so you shouldn't mount it or use it in any way before rebooting."
 msgstr ""
-"O kernel não conseguiu reler a tabela de partições de %s (%s). Isto "
-"significa que o Linux não sabe nada sobre as modificações que fez. Deverá "
-"reinicializar seu computador antes de fazer qualquer uso de %s."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Impossível determinar tamanho de %s (%s)"
 
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Impossível determinar se a partição está montada."
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -692,31 +682,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"O kernel não conseguiu reler a tabela de partições de %s (%s). Isto "
-"significa que o Linux não sabe nada sobre as modificações que fez. Deverá "
-"reinicializar seu computador antes de fazer qualquer uso de %s."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Não pode ter o fim da partição antes do início."
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Não pode ter uma partição fora do disco!."
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, fuzzy, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Tentativa de escrever sectores %ld-%ld fora da partição em %s"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr ""
 
@@ -730,53 +706,53 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, fuzzy, c-format
 msgid "%s: unrecognised disk label"
 msgstr "Impossível abrir %s - rótulo de disco desconhecido."
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, fuzzy, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
 msgstr "Não posso gravar em %s, pois ela foi aberta como somente para leitura."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, fuzzy, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "A partição é muito pequena para um sistema de ficheiros FAT"
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, fuzzy, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Sinalizador de partição desconhecido, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Rótulos de disco %s não suportam partições extendidas."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "Rótulos de disco %s não suportam partições lógicas ou extendidas."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 #, fuzzy
 msgid "Too many primary partitions."
 msgstr "Muitas páginas inválidas."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -784,114 +760,131 @@ msgstr ""
 "Não posso adicionar uma partição lógica em %s, pois não há uma partição "
 "extendida."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, fuzzy, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Não se pode haver mais de uma partição extendida em %s"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 #, fuzzy
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr ""
 "Não posso adicionar uma partição lógica fora da partição extendida em %s."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, fuzzy, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "Não posso adicionar uma partição lógica fora da partição extendida em %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-#, fuzzy
-msgid "Can't have overlapping partitions."
-msgstr "Não posso copiar para uma partição sobreposta."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 #, fuzzy
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Não posso adicionar uma partição primária dentro de uma extendida."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Não pode ter uma partição fora do disco!."
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+#, fuzzy
+msgid "Can't have overlapping partitions."
+msgstr "Não posso copiar para uma partição sobreposta."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr ""
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "livre"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "extendida"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "lógica"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primária"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "escondida"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr ""
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr ""
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr ""
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr ""
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr ""
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Sim"
+
+#: libparted/disk.c:2414
 #, fuzzy, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Sinalizador de partição desconhecido, %d."
@@ -949,15 +942,13 @@ msgid "Cancel"
 msgstr "Cancelar"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"Um bug foi detectado no GNU parted. Por favor, envie um relatório do bug "
-"para bug-parted@gnu.org contendo a versão (%s) e a mensagem abaixo:"
 
 #: libparted/labels/aix.c:103
 #, fuzzy
@@ -999,10 +990,10 @@ msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
 "O suporte para criar sistema de ficheiros %s não foi implementado ainda."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 #, fuzzy
 msgid "Unable to satisfy all constraints on the partition."
@@ -1013,34 +1004,34 @@ msgstr "Imposs
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Impossível localizar um rotulo de disco bsd"
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 #, fuzzy
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Impossível localizar um rotulo de disco bsd"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, fuzzy, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Tabela de partições inválida em %s - assinatura errada %x"
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Tabela de partições inválida - partição recursiva em %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 #, fuzzy
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Partições ext2 não podem ser escondidas em rótulos de disco msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
-msgstr "Não posso adicionar outra partição."
+msgstr "Não posso copiar partições extendidas."
 
 #: libparted/labels/dvh.c:182
 #, fuzzy, c-format
@@ -1079,122 +1070,116 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Muitas páginas inválidas."
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 #, fuzzy
 msgid "Unsupported disk type"
 msgstr "ped_device_new()  Tipo de dispositivo não suportado"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr ""
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr ""
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr ""
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 #, fuzzy
 msgid "Fatal error"
 msgstr "Fatal"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 #, fuzzy
 msgid "No room for partition info."
 msgstr "Nenhum mapa de partições válido foi encontrado."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 #, fuzzy
 msgid "Could not retrieve disk geometry information."
 msgstr "Não foi possível ler a geometria de %s - %s"
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
 msgstr ""
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1202,35 +1187,39 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
 msgstr ""
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr ""
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr ""
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Impossível alinhar a partição."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1245,35 +1234,35 @@ msgstr "Mapa de parti
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s é muito pequeno para um rótulo de disco Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "A partição %d tem uma assinatura inválida %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "A partição %d tem um tamanho inválido de 0 bytes!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 #, fuzzy
 msgid "The data region doesn't start at the start of the partition."
 msgstr "A região de dados não começa no início da partição"
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 #, fuzzy
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "A região de inicialização não começa no início da partição"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "A região de inicialização da partição não a ocupa inteiramente."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "A região de dados da partição não a ocupa inteiramente."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1281,7 +1270,7 @@ msgstr ""
 "tamanho de bloco estranho no descritor de dispositivo: %d bytes não são "
 "divisíveis por 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1290,11 +1279,11 @@ msgstr ""
 "O descritor do driver informa que o tamanho físico de bloco é %d bytes, mas "
 "o Linux informa que é %d bytes."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Nenhum mapa de partições válido foi encontrado."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, fuzzy, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1303,7 +1292,7 @@ msgstr ""
 "Conflito nos tamanhos de mapa de partição! Entrada 1 informa que é %d, mas "
 "entrada %d informa que é %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 #, fuzzy
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Estranho - 2 entradas no mapa de partição"
@@ -1316,7 +1305,7 @@ msgstr ""
 "Mudar o nome de uma partição root ou swap irá impedir o Linux de reconhecê-"
 "la como tal."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 #, fuzzy
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
@@ -1453,58 +1442,62 @@ msgstr ""
 msgid "reading from device failed"
 msgstr ""
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 #, fuzzy
 msgid "Could not read volume label."
 msgstr "Não foi possível ler a geometria de %s - %s"
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 #, fuzzy
 msgid "Could not write volume label."
 msgstr "Não foi possível detectar o sistema de Ficheiros."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr ""
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Não há memória."
 
@@ -1540,25 +1533,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr ""
@@ -1598,7 +1591,7 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr ""
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 #, fuzzy
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
@@ -1607,21 +1600,20 @@ msgstr ""
 "O GNU parted foi compilado erradamente: o sector de boot FAT deveria ser de "
 "512 bytes. O suporte a FAT será desabilitado."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Sistema de ficheiros tem uma assinatura inválida para um FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "Sistema de ficheiros tem um tamanho de sector inválido para um FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 #, fuzzy
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "Sistema de ficheiros tem um tamanho de sector inválido para um FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 #, fuzzy
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
@@ -1629,66 +1621,46 @@ msgstr ""
 "Sistema de ficheiros tem um número de setores reservados inválido para um "
 "FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 #, fuzzy
 msgid "File system has an invalid number of FATs."
 msgstr "Sistema de ficheiros tem um número inválido de FATS."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Este sistema de ficheiros tem um tamanho de sector lógico de %d. O GNU "
-"Parted é conhecido por não funcionar corretamente com sectores diferentes de "
-"512 bytes."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr "Sector de boot FAT diz que o tamanho lógico do sector é 0. Estranho. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "Sector de boot FAT diz que não há tabelas FAT. Estranho. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "Sector de boot FAT diz que os clusters têm 0 setores. Estranho. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 #, fuzzy
 msgid "File system is FAT12, which is unsupported."
 msgstr "O sistema de ficheiros é FAT12, que não é suportado."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"O sector de informações tem uma assinatura inválida (%x). Selecione cancelar "
-"agora, e mande um relatório de bug. Se você está desesperado, é provável que "
-"seja seguro ignorar."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Assinatura linux swap não reconhecida '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, fuzzy, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Assinatura linux swap não reconhecida '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, fuzzy, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Assinatura linux swap não reconhecida '%10s'."
@@ -1700,7 +1672,17 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Este sistema de ficheiros tem um tamanho de sector lógico de %d. O GNU "
+"Parted é conhecido por não funcionar corretamente com sectores diferentes de "
+"512 bytes."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1710,6 +1692,16 @@ msgid ""
 "geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"O sector de informações tem uma assinatura inválida (%x). Selecione cancelar "
+"agora, e mande um relatório de bug. Se você está desesperado, é provável que "
+"seja seguro ignorar."
+
 #: libparted/fs/r/fat/calc.c:134
 #, fuzzy, c-format
 msgid ""
@@ -1772,12 +1764,12 @@ msgid ""
 "some programs to stop working."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, fuzzy, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "A partição é muito pequena para um sistema de ficheiros FAT"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1785,11 +1777,11 @@ msgstr ""
 "As FATs não estão iguais. Se não sabe o que isto significa, seleccione "
 "cancelar, execute o scandisk no sistema de ficheiros, depois volte."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Não há configurações possíveis para este tipo de FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1800,7 +1792,7 @@ msgstr ""
 "utilize. O tamanho do cluster é %dk (%dk esperado); número de clusters é %d "
 "(%d esperado); tamanho da FAT é %d sectores (%d esperado)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2002,9 +1994,8 @@ msgid "Sorry, HFS cannot be resized that way yet."
 msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:250 libparted/fs/r/hfs/hfs.c:629
-#, fuzzy
 msgid "shrinking"
-msgstr "Aviso"
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:262 libparted/fs/r/hfs/hfs.c:641
 msgid "Data relocation has failed."
@@ -2043,9 +2034,8 @@ msgid "Error while writing the allocation file."
 msgstr "Erro escrevendo no diretório raiz."
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Erro escrevendo no diretório raiz."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2074,9 +2064,8 @@ msgid "Resizing the HFS+ volume has failed."
 msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:998
-#, fuzzy
 msgid "shrinking HFS wrapper"
-msgstr "Aviso"
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:1007
 msgid "Updating the HFS wrapper has failed."
@@ -2217,7 +2206,7 @@ msgstr "mostra a vers
 #: parted/parted.c:130
 #, fuzzy
 msgid "alignment for new partitions"
-msgstr "Não posso adicionar outra partição."
+msgstr "Não posso copiar partições extendidas."
 
 #: parted/parted.c:142
 #, fuzzy
@@ -2232,47 +2221,53 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "TIPO_ROTULO é um de:"
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAG é um de: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 #, fuzzy
 msgid "UNIT is one of: "
 msgstr "FLAG é um de: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "TIPO-PART é um de: primary, logical, extended\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "TIPO-FS é um de: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "ESTADO é um de: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "DISPOSITIVO é usualmente /dev/hda ou /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAME é qualquer palavra que desejar\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2284,226 +2279,229 @@ msgid ""
 "\n"
 msgstr ""
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr ""
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Partição(ões) em %s está(ão) a ser utilizada(s)."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 #, fuzzy
 msgid "New disk label type?"
 msgstr "Tipo de rótulo de disco: %s\n"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 #, fuzzy
 msgid "Partition type?"
 msgstr "A partição não existe."
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 #, fuzzy
 msgid "Partition name?"
 msgstr "A partição não existe."
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 #, fuzzy
 msgid "File system type?"
 msgstr "SistemaFich "
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr ""
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr ""
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Pretende criar uma partiçao em %.3f-%.3fMb. O mais perto que se consegue "
-"será %3f-%.3fMb."
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 #, fuzzy
 msgid "Partition number?"
 msgstr "A partição está a ser utilizada."
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr ""
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, fuzzy, c-format
 msgid "Disk %s: %s\n"
 msgstr "Tipo de rótulo de disco: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, fuzzy, c-format
 msgid "Partition Table: %s\n"
 msgstr "Tabela de partições inválida em %s"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Tipo de rótulo de disco: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr ""
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr ""
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr ""
 
-#: parted/parted.c:1119
-#, fuzzy
+#: parted/parted.c:1143
 msgid "Size"
-msgstr "resize"
+msgstr ""
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr ""
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 #, fuzzy
 msgid "File system"
 msgstr "SistemaFich "
 
-#: parted/parted.c:1128
-#, fuzzy
+#: parted/parted.c:1152
 msgid "Name"
-msgstr "name"
+msgstr ""
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Sinalizador"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr ""
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
 msgstr ""
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr ""
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 #, fuzzy
 msgid "New device?"
 msgstr "Nenhum dispositivo encontrado"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr ""
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr ""
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr ""
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 #, fuzzy
 msgid "align-check"
 msgstr "check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
+#, fuzzy
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
-msgstr ""
+msgstr "print                         mostra a tabela de partições"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 #, fuzzy
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr "help [COMANDO]                mostra ajuda geral, ou ajuda a COMANDO"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
-#, fuzzy
+#: parted/parted.c:1933
 msgid "mktable"
-msgstr "mklabel"
+msgstr ""
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 #, fuzzy
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
@@ -2511,16 +2509,16 @@ msgid ""
 msgstr ""
 "mklabel TIPO-ROTULO           cria um novo rótulo (na tabela de partição)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 #, fuzzy
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart TIPO-PART [FS-TYPE] INICIO FIM     cria uma partição"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 #, fuzzy
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
@@ -2531,173 +2529,188 @@ msgstr ""
 "partição extendida). Este comando é útil se apagou acidentalmente uma "
 "partição.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 #, fuzzy
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name MINOR NAME               renomeia a partição MINOR para NAME"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 #, fuzzy
 msgid "quit                                     exit program"
 msgstr "quit                          sair do programa"
 
-#: parted/parted.c:1885
-#, fuzzy
+#: parted/parted.c:1991
 msgid "rescue"
-msgstr "resize"
+msgstr ""
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 #, fuzzy
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
 msgstr "print                         mostra a tabela de partições"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm MINOR                      apaga a partição MINOR"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 #, fuzzy
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm MINOR                      apaga a partição MINOR"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 #, fuzzy
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select DEVICE                 selecciona o dispositivo a editar"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set MINOR FLAG ESTADO         muda o sinalizador na partição MINOR"
+msgstr ""
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr ""
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 #, fuzzy
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set MINOR FLAG ESTADO         muda o sinalizador na partição MINOR"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr ""
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 
-#: parted/parted.c:1945
-#, fuzzy
+#: parted/parted.c:2065
 msgid "unit"
-msgstr "quit"
+msgstr ""
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 #, fuzzy
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "print                         mostra a tabela de partições"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr ""
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 #, fuzzy
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr "print                         mostra a tabela de partições"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Nenhum dispositivo encontrado"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr ""
 
@@ -2883,386 +2896,126 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, fuzzy, c-format
 msgid "invalid token: %s"
 msgstr "Tabela de partições inválida em %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 #, fuzzy
 msgid "Expecting a partition number."
 msgstr "A partição destino está a ser utilizada."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "A partição não existe."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 #, fuzzy
 msgid "Expecting a file system type."
 msgstr "Tipo de sistema de ficheiros desconhecido."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, fuzzy, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Tipo de sistema de ficheiros desconhecido."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr ""
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 #, fuzzy
 msgid "Can't create any more partitions."
 msgstr "Não posso adicionar outra partição."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 #, fuzzy
 msgid "Expecting a partition type."
 msgstr "A partição destino não existe."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr ""
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "OPÇÕES:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "COMANDOs:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, fuzzy, c-format
 msgid "Using %s\n"
 msgstr ""
 "\n"
 "Usando %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr ""
 
-#, fuzzy
-#~ msgid "too few arguments"
-#~ msgstr "Muitas páginas inválidas."
-
-#, fuzzy
-#~ msgid "too many arguments"
-#~ msgstr "Muitas páginas inválidas."
-
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "Tabela de partições inválida em %s"
-
-#~ msgid "Support for opening %s file systems is not implemented yet."
+#~ msgid ""
+#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
+#~ "with drives with sector sizes other than 512 bytes"
 #~ msgstr ""
-#~ "O suporte para abrir sistema de ficheiros %s não foi implementado ainda."
+#~ "O tamanho do sector em %s é %d bytes. O Parted é conhecido por não "
+#~ "funcionar perfeitamente com discos com sectores diferentes de 512 bytes"
 
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "O suporte para criar sistema de ficheiros %s não foi implementado ainda."
+#~ msgid "Device %s has dodgey geometry."
+#~ msgstr "Dispositivo %s tem geometria estranha."
 
-#~ msgid "Support for checking %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "Suporte para verificar sistema de ficheiros não implementado para %s."
+#~ msgid "unknown"
+#~ msgstr "desconhecido"
 
-#, fuzzy
-#~ msgid "growing file system"
-#~ msgstr "Tipo de sistema de ficheiros desconhecido."
+#~ msgid "Unknown SCSI"
+#~ msgstr "SCSI desconhecido"
 
-#~ msgid "Can't copy onto an overlapping partition."
-#~ msgstr "Não posso copiar para uma partição sobreposta."
+#~ msgid "Device %s is neither a SCSI nor IDE drive."
+#~ msgstr "O dispositivo %s não é um drive SCSI ou IDE."
 
-#, fuzzy
 #~ msgid ""
-#~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
-#~ "can be copied if the new partition is at least as big as the old one.  "
-#~ "So, either shrink the partition you are trying to copy, or copy to a "
-#~ "bigger partition."
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  However, the most likely reason is that Linux "
+#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
+#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
+#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
+#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
+#~ "GRUB documentation for more information.  If you think Parted's suggested "
+#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
+#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
 #~ msgstr ""
-#~ "O suporte directo para cópia de sistemas de ficheiros não está "
-#~ "implementado para %s. Entretanto, o suporte para redimensionamento está. "
-#~ "Portanto, o sistema de ficheiros pode ser copiado se a nova partição for "
-#~ "pelo menos tão grande quanto a antiga. Então, diminua a partição que você "
-#~ "está a tentar copiar, ou copie para uma partição maior."
-
-#~ msgid "Support for copying %s file systems is not implemented yet."
-#~ msgstr "Suporte para copiar sistema de ficheiros não implementado para %s."
-
-#, fuzzy
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr "Sistema de ficheiros tem uma assinatura inválida para um FAT."
-
-#, fuzzy
-#~ msgid "checking"
-#~ msgstr "check"
-
-#, fuzzy
-#~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
-#~ msgstr ""
-#~ "O sistema de ficheiros ext2 passou pelo teste básico. Para um teste mais "
-#~ "profundo, utilize o programa e2fsck."
-
-#, fuzzy
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr "Desculpe, não posso mover o início de partições ext2 ainda!"
-
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "Aviso"
-
-#~ msgid "Inconsistent group descriptors!"
-#~ msgstr "Descritores de grupo inconsistentes!"
-
-#, fuzzy
-#~ msgid "File system full!"
-#~ msgstr "Sistema de ficheiros cheio!"
-
-#, fuzzy
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
-#~ msgstr "Superbloco inválido. Tem certeza que isto é um sistema ext2?"
-
-#, fuzzy
-#~ msgid "File system has errors!  You should run e2fsck."
-#~ msgstr "Sistema de ficheiros tem erros! Execute e2fsck primeiro!"
-
-#, fuzzy
-#~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
-#~ msgstr ""
-#~ "Sistema de ficheiros não foi desmontado correctamente! Execute e2fsck "
-#~ "primeiro!"
-
-#~ msgid "Error allocating buffer cache."
-#~ msgstr "Erro ao determinar o cache temporário."
-
-#, fuzzy
-#~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Encontrado um inode com uma contagem incorreta de ligações. Melhor "
-#~ "executar o e2fsck primeiro."
-
-#~ msgid "Not enough free inodes!"
-#~ msgstr "Não há inodes livres suficientes!"
-
-#, fuzzy
-#~ msgid "File system is too full to remove a group!"
-#~ msgstr "Sistema de ficheiros muito ocupado para remover um grupo!"
-
-#, fuzzy
-#~ msgid "File system has too many allocated inodes to remove a group!"
-#~ msgstr ""
-#~ "Sistema de ficheiros tem muitos inodes utilizados para remover um grupo!"
-
-#, fuzzy
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
-#~ msgstr ""
-#~ "Seu sistema de ficheiros está muito ocupado para redimensioná-lo para %i "
-#~ "blocos. Desculpe."
-
-#, fuzzy
-#~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
-#~ "Sorry."
-#~ msgstr ""
-#~ "Seu sistema de ficheiros está com muitos inodes ocupados para "
-#~ "redimensioná-lo para %i blocos. Desculpe."
-
-#, fuzzy
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
-#~ msgstr ""
-#~ "Sistema de ficheiros não foi desmontado correctamente! Execute e2fsck "
-#~ "primeiro!"
-
-#, fuzzy
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Encontrados blocos com referência cruzada! Melhor executar e2fsck "
-#~ "primeiro."
-
-#, fuzzy
-#~ msgid "Block %i has no reference?  Weird."
-#~ msgstr "Bloco %i não tem referência? Estranho"
-
-#, fuzzy
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
-#~ msgstr "Bloco %i não deveria ter sido marcado!"
-
-#, fuzzy
-#~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
-#~ "check, use the e2fsck program."
-#~ msgstr ""
-#~ "O sistema de ficheiros ext2 passou pelo teste básico. Para um teste mais "
-#~ "profundo, utilize o programa e2fsck."
-
-#~ msgid "Sorry, can't move the start of ext2 partitions yet!"
-#~ msgstr "Desculpe, não posso mover o início de partições ext2 ainda!"
-
-#~ msgid "Couldn't flush buffer cache!"
-#~ msgstr "Não foi possível esvaziar a cache temporária!"
-
-#, fuzzy
-#~ msgid "File system too small for ext2."
-#~ msgstr "Sistema de ficheiros muito ocupado para remover um grupo!"
-
-#~ msgid "Too many bad pages."
-#~ msgstr "Muitas páginas inválidas."
-
-#, fuzzy
-#~ msgid "Source partition number?"
-#~ msgstr "A partição origem não existe."
-
-#, fuzzy
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "Não posso copiar partições extendidas."
-
-#, fuzzy
-#~ msgid "Destination partition number?"
-#~ msgstr "A partição destino está a ser utilizada."
-
-#, fuzzy
-#~ msgid "Can't move an extended partition."
-#~ msgstr "Não posso mover partições extendidas."
-
-#~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
-#~ msgstr ""
-#~ "Não posso mover a partição sobre ela mesma. Talvez queira redimensionar?"
-
-#, fuzzy
-#~ msgid "Flags: %s\n"
-#~ msgstr "Sinalizador"
-
-#, fuzzy
-#~ msgid "File System: %s\n"
-#~ msgstr "SistemaFich "
-
-#~ msgid "check"
-#~ msgstr "check"
-
-#, fuzzy
-#~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
-#~ msgstr ""
-#~ "check MINOR                   faz um teste simples no sistema de ficheiros"
-
-#~ msgid "cp"
-#~ msgstr "cp"
-
-#, fuzzy
-#~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
-#~ "partition"
-#~ msgstr ""
-#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copia o sistema de ficheiros "
-#~ "para outra partição"
-
-#~ msgid "mkfs"
-#~ msgstr "mkfs"
-
-#, fuzzy
-#~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
-#~ msgstr ""
-#~ "mkfs MINOR TIPO-FS            cria um sistema TIPO-FS na partição MINOR"
-
-#~ msgid "mkpartfs"
-#~ msgstr "mkpartfs"
-
-#, fuzzy
-#~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
-#~ msgstr "mkpartfs TIPO-PART TIPO-FS INICIO FIM     cria uma partição TIPO-FS"
-
-#~ msgid "move"
-#~ msgstr "move"
-
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move MINOR INICIO [FIM]       redimensiona a partição MINOR"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr "resize MINOR INICIO FIM       redimensiona a partição MINOR"
-
-#, fuzzy
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Impossível determinar tamanho de %s (%s)"
-
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than 512 bytes"
-#~ msgstr ""
-#~ "O tamanho do sector em %s é %d bytes. O Parted é conhecido por não "
-#~ "funcionar perfeitamente com discos com sectores diferentes de 512 bytes"
-
-#~ msgid "Device %s has dodgey geometry."
-#~ msgstr "Dispositivo %s tem geometria estranha."
-
-#~ msgid "unknown"
-#~ msgstr "desconhecido"
-
-#~ msgid "Unknown SCSI"
-#~ msgstr "SCSI desconhecido"
-
-#~ msgid "Device %s is neither a SCSI nor IDE drive."
-#~ msgstr "O dispositivo %s não é um drive SCSI ou IDE."
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  However, the most likely reason is that Linux "
-#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
-#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
-#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
-#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
-#~ "GRUB documentation for more information.  If you think Parted's suggested "
-#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
-#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
-#~ msgstr ""
-#~ "A tabela de partições em %s é inconsistente. Há várias razões para isto "
-#~ "ocorrer. A mais certa seria o Linux detectar a geometria da BIOS para %s "
-#~ "incorretamente. O GNU Parted suspeita que a geometria real deveria ser %d/"
-#~ "%d/%d (e não %d/%d/%d). Deverá vefificar a BIOS primeiro, pois isto pode "
-#~ "não estar correcto. Poderá informar o Linux adicionando o parâmetro %s=%d,"
-#~ "%d,%d na linha de comando. Veja a documentação do LILO ou GRUB para "
-#~ "maiores informações. Se acha que a geometria sugeria pelo Parted é a "
-#~ "correcta, pode selecionar Ignorar para continuar (e corrigir o Linux "
-#~ "depois). De outra maneira, seleccione Cancelar (e corrigir o Linux e/ou a "
-#~ "BIOS agora)."
+#~ "A tabela de partições em %s é inconsistente. Há várias razões para isto "
+#~ "ocorrer. A mais certa seria o Linux detectar a geometria da BIOS para %s "
+#~ "incorretamente. O GNU Parted suspeita que a geometria real deveria ser %d/"
+#~ "%d/%d (e não %d/%d/%d). Deverá vefificar a BIOS primeiro, pois isto pode "
+#~ "não estar correcto. Poderá informar o Linux adicionando o parâmetro %s=%d,"
+#~ "%d,%d na linha de comando. Veja a documentação do LILO ou GRUB para "
+#~ "maiores informações. Se acha que a geometria sugeria pelo Parted é a "
+#~ "correcta, pode selecionar Ignorar para continuar (e corrigir o Linux "
+#~ "depois). De outra maneira, seleccione Cancelar (e corrigir o Linux e/ou a "
+#~ "BIOS agora)."
 
 #~ msgid ""
 #~ "The partition table on %s is inconsistent.  There are many reasons why "
@@ -3306,6 +3059,30 @@ msgstr ""
 #~ msgstr ""
 #~ "Não posso configurar partições não nao sejam Linux como uma partição swap."
 
+#~ msgid "Support for opening %s file systems is not implemented yet."
+#~ msgstr ""
+#~ "O suporte para abrir sistema de ficheiros %s não foi implementado ainda."
+
+#~ msgid "Support for checking %s file systems is not implemented yet."
+#~ msgstr ""
+#~ "Suporte para verificar sistema de ficheiros não implementado para %s."
+
+#~ msgid ""
+#~ "Direct support for copying file systems is not yet implemented for %s.  "
+#~ "However, support for resizing implemented.  Therefore, the file system "
+#~ "can be copied if the new partition is at least as big as the old one.  "
+#~ "So, either shrink the partition you are trying to copy, or copy to a "
+#~ "bigger partition."
+#~ msgstr ""
+#~ "O suporte directo para cópia de sistemas de ficheiros não está "
+#~ "implementado para %s. Entretanto, o suporte para redimensionamento está. "
+#~ "Portanto, o sistema de ficheiros pode ser copiado se a nova partição for "
+#~ "pelo menos tão grande quanto a antiga. Então, diminua a partição que você "
+#~ "está a tentar copiar, ou copie para uma partição maior."
+
+#~ msgid "Support for copying %s file systems is not implemented yet."
+#~ msgstr "Suporte para copiar sistema de ficheiros não implementado para %s."
+
 #~ msgid "No get_resize_constraint for %s!"
 #~ msgstr "Não há get_resize_constraint para %s!"
 
@@ -3327,9 +3104,22 @@ msgstr ""
 #~ msgid "Can't grow a partition onto used space."
 #~ msgstr "Não posso aumentar a partição acima de espaço já utilizado."
 
+#~ msgid ""
+#~ "A bug has been detected in GNU parted.  Please email a bug report to bug-"
+#~ "parted@gnu.org containing the version (%s) and the following message:"
+#~ msgstr ""
+#~ "Um bug foi detectado no GNU parted. Por favor, envie um relatório do bug "
+#~ "para bug-parted@gnu.org contendo a versão (%s) e a mensagem abaixo:"
+
 #~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
 #~ msgstr "Tentativa de ler sectores %ld-%ld fora da partição em %s"
 
+#~ msgid "Inconsistent group descriptors!"
+#~ msgstr "Descritores de grupo inconsistentes!"
+
+#~ msgid "Filesystem full!"
+#~ msgstr "Sistema de ficheiros cheio!"
+
 #~ msgid ""
 #~ "This ext2 filesystem has a rather strange layout!  Please use dumpe2fs on "
 #~ "this filesystem and send it to <buytenh@gnu.org>. I won't resize it, "
@@ -3339,9 +3129,75 @@ msgstr ""
 #~ "favor use o dumpe2fs neste sistema e envie-o para <buytenh@dsv.nl>. Eu "
 #~ "não vou redimensioná-lo, desculpe."
 
+#~ msgid "Invalid superblock.  Are you sure this is an ext2 filesystem?"
+#~ msgstr "Superbloco inválido. Tem certeza que isto é um sistema ext2?"
+
+#~ msgid "Filesystem has errors!  You should run e2fsck."
+#~ msgstr "Sistema de ficheiros tem erros! Execute e2fsck primeiro!"
+
+#~ msgid "Filesystem was not cleanly unmounted!  You should e2fsck."
+#~ msgstr ""
+#~ "Sistema de ficheiros não foi desmontado correctamente! Execute e2fsck "
+#~ "primeiro!"
+
 #~ msgid "Filesystem has incompatible feature enabled"
 #~ msgstr "Sistema de ficheiros tem características incompatíveis"
 
+#~ msgid "Error allocating buffer cache."
+#~ msgstr "Erro ao determinar o cache temporário."
+
+#~ msgid ""
+#~ "Found an inode with a incorrect link count.  Better go run e2fsck first."
+#~ msgstr ""
+#~ "Encontrado um inode com uma contagem incorreta de ligações. Melhor "
+#~ "executar o e2fsck primeiro."
+
+#~ msgid "Not enough free inodes!"
+#~ msgstr "Não há inodes livres suficientes!"
+
+#~ msgid "Filesystem is too occupied to remove a group!"
+#~ msgstr "Sistema de ficheiros muito ocupado para remover um grupo!"
+
+#~ msgid "Filesystem has too many allocated inodes to remove a group!"
+#~ msgstr ""
+#~ "Sistema de ficheiros tem muitos inodes utilizados para remover um grupo!"
+
+#~ msgid "Your filesystem is too occupied to resize it to %i blocks. Sorry."
+#~ msgstr ""
+#~ "Seu sistema de ficheiros está muito ocupado para redimensioná-lo para %i "
+#~ "blocos. Desculpe."
+
+#~ msgid ""
+#~ "Your filesystem has too much occupied inodes to resize it to %i blocks. "
+#~ "Sorry."
+#~ msgstr ""
+#~ "Seu sistema de ficheiros está com muitos inodes ocupados para "
+#~ "redimensioná-lo para %i blocos. Desculpe."
+
+#~ msgid "Cross-linked blocks found! better go run e2fsck first!"
+#~ msgstr ""
+#~ "Encontrados blocos com referência cruzada! Melhor executar e2fsck "
+#~ "primeiro."
+
+#~ msgid "Block %i has no reference?  Weird"
+#~ msgstr "Bloco %i não tem referência? Estranho"
+
+#~ msgid "Block %i shouldn't have been marked!"
+#~ msgstr "Bloco %i não deveria ter sido marcado!"
+
+#~ msgid ""
+#~ "The ext2 filesystem passed a basic check.  For a more comprehensive "
+#~ "check, use the e2fsck program."
+#~ msgstr ""
+#~ "O sistema de ficheiros ext2 passou pelo teste básico. Para um teste mais "
+#~ "profundo, utilize o programa e2fsck."
+
+#~ msgid "Sorry, can't move the start of ext2 partitions yet!"
+#~ msgstr "Desculpe, não posso mover o início de partições ext2 ainda!"
+
+#~ msgid "Couldn't flush buffer cache!"
+#~ msgstr "Não foi possível esvaziar a cache temporária!"
+
 #~ msgid "Insane!  %d clusters!"
 #~ msgstr "Estranho! %d clusters!"
 
@@ -3442,6 +3298,23 @@ msgstr ""
 #~ msgid "START and END are in megabytes\n"
 #~ msgstr "INICIO e FIM são em megabytes\n"
 
+#~ msgid "Source partition doesn't exist."
+#~ msgstr "A partição origem não existe."
+
+#~ msgid ""
+#~ "You requested to create a partition at %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Pretende criar uma partiçao em %.3f-%.3fMb. O mais perto que se consegue "
+#~ "será %3f-%.3fMb."
+
+#~ msgid "Can't move extended partitions."
+#~ msgstr "Não posso mover partições extendidas."
+
+#~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
+#~ msgstr ""
+#~ "Não posso mover a partição sobre ela mesma. Talvez queira redimensionar?"
+
 #~ msgid ""
 #~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
 #~ "can manage is %.3f-%.3fMb."
@@ -3468,6 +3341,46 @@ msgstr ""
 #~ "Pretende redimensionar a partiçao para %.3f-%.3fMb. O mais perto que se "
 #~ "consegue será %3f-%.3fMb"
 
+#~ msgid "check MINOR                   do a simple check on the filesystem"
+#~ msgstr ""
+#~ "check MINOR                   faz um teste simples no sistema de ficheiros"
+
+#~ msgid "cp"
+#~ msgstr "cp"
+
+#~ msgid ""
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copy filesystem to another "
+#~ "partition"
+#~ msgstr ""
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copia o sistema de ficheiros "
+#~ "para outra partição"
+
+#~ msgid "mkfs"
+#~ msgstr "mkfs"
+
+#~ msgid ""
+#~ "mkfs MINOR FS-TYPE            make a filesystem FS-TYPE on partititon "
+#~ "MINOR"
+#~ msgstr ""
+#~ "mkfs MINOR TIPO-FS            cria um sistema TIPO-FS na partição MINOR"
+
+#~ msgid "mkpartfs"
+#~ msgstr "mkpartfs"
+
+#~ msgid ""
+#~ "mkpartfs PART-TYPE FS-TYPE START END      make a partition with a "
+#~ "filesystem"
+#~ msgstr "mkpartfs TIPO-PART TIPO-FS INICIO FIM     cria uma partição TIPO-FS"
+
+#~ msgid "move"
+#~ msgstr "move"
+
+#~ msgid "move MINOR START [END]          move partition MINOR"
+#~ msgstr "move MINOR INICIO [FIM]       redimensiona a partição MINOR"
+
+#~ msgid "resize MINOR START END        resize filesystem on partition MINOR"
+#~ msgstr "resize MINOR INICIO FIM       redimensiona a partição MINOR"
+
 #~ msgid ""
 #~ "You found a bug in GNU Parted.  Please email a bug report to bug-"
 #~ "parted@gnu.org containing the version (%s), and the following message:\n"
index 22dab025651f6b98857d4c3ff478045e0815b596..fff54d4b3e0b1720832a0a9795db874701d62db8 100644 (file)
Binary files a/po/pt_BR.gmo and b/po/pt_BR.gmo differ
index 774073afbda0e97654f15f6d0969a633fb36aca1..36932ac69639245ea8c2e400581ce3a7f9461158 100644 (file)
-# Brazilian portuguese messages for GNU parted.
-# Copyright (C) 1999 Free Software Foundation, Inc.
+# Brazilian Portuguese messages for GNU parted.
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the parted package.
 # Eliphas Levy Theodoro <eliphas@conectiva.com>, 1999.
+# Enrico Nicoletto <liverig@gmail.com>, 2013.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2014.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: GNU parted 1.4.21\n"
+"Project-Id-Version: GNU parted 3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2001-11-21 09:10-0300\n"
-"Last-Translator: Eliphas Levy Theodoro <eliphas@f2s.com>\n"
-"Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-26 01:09-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
 "Language: pt_BR\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-1\n"
-"Content-Transfer-Encoding: 8-bit\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.5\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "Tabela de partições inválida em %s"
+msgstr "argumento %s é inválido para %s"
 
 #: lib/argmatch.c:134
 #, c-format
 msgid "ambiguous argument %s for %s"
-msgstr ""
+msgstr "argumento %s é ambíguo para %s"
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "Tabela de partições inválida em %s"
+msgstr "Argumentos válidos são:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
-msgstr ""
+msgstr "erro de escrita"
 
 #: lib/error.c:188
-#, fuzzy
 msgid "Unknown system error"
-msgstr "Tipo de sistema de arquivos desconhecido."
+msgstr "Erro desconhecido do sistema"
 
 #: lib/getopt.c:547 lib/getopt.c:576
 #, c-format
 msgid "%s: option '%s' is ambiguous; possibilities:"
-msgstr ""
+msgstr "%s: a opção '%s' é ambígua; possibilidades:"
 
 #: lib/getopt.c:624 lib/getopt.c:628
 #, c-format
 msgid "%s: option '--%s' doesn't allow an argument\n"
-msgstr ""
+msgstr "%s: a opção '--%s' não permite um argumento\n"
 
 #: lib/getopt.c:637 lib/getopt.c:642
 #, c-format
 msgid "%s: option '%c%s' doesn't allow an argument\n"
-msgstr ""
+msgstr "%s: a opção '%c%s' não permite um argumento\n"
 
 #: lib/getopt.c:685 lib/getopt.c:704
 #, c-format
 msgid "%s: option '--%s' requires an argument\n"
-msgstr ""
+msgstr "%s: a opção '--%s' necessita de um argumento\n"
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "Impossível abrir %s - rótulo de disco desconhecido."
+msgstr "%s: opção irreconhecível '--%s'\n"
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "Impossível abrir %s - rótulo de disco desconhecido."
+msgstr "%s: opção irreconhecível '%c%s'\n"
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
 msgid "%s: invalid option -- '%c'\n"
-msgstr ""
+msgstr "%s: opção inválida -- '%c'\n"
 
 #: lib/getopt.c:861 lib/getopt.c:878 lib/getopt.c:1088 lib/getopt.c:1106
 #, c-format
 msgid "%s: option requires an argument -- '%c'\n"
-msgstr ""
+msgstr "%s: a opção necessita de um argumento -- '%c'\n"
 
 #: lib/getopt.c:934 lib/getopt.c:950
 #, c-format
 msgid "%s: option '-W %s' is ambiguous\n"
-msgstr ""
+msgstr "%s: a opção '-W %s' é ambígua\n"
 
 #: lib/getopt.c:974 lib/getopt.c:992
 #, c-format
 msgid "%s: option '-W %s' doesn't allow an argument\n"
-msgstr ""
+msgstr "%s: a opção '-W %s' não permite um argumento\n"
 
 #: lib/getopt.c:1013 lib/getopt.c:1031
 #, c-format
 msgid "%s: option '-W %s' requires an argument\n"
-msgstr ""
+msgstr "%s: a opção '-W %s' necessita de um argumento\n"
 
 #. TRANSLATORS:
 #. Get translations for open and closing quotation marks.
@@ -115,85 +119,85 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
-msgstr ""
+msgstr "'"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
-msgstr ""
+msgstr "'"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
-msgstr ""
+msgstr "Com sucesso"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
-msgstr ""
+msgstr "Nenhuma coincidência"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
-msgstr ""
+msgstr "Expressão regular inválida"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
-msgstr ""
+msgstr "Agrupamento de caractere inválido"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
-msgstr ""
+msgstr "Nome de classe de caractere inválido"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
-msgstr ""
+msgstr "Barra invertida à direita"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
-msgstr ""
+msgstr "Referência inversa inválida"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
-msgstr ""
+msgstr "'[' incompatível ou [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
-msgstr ""
+msgstr "'(' incompatível ou \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
-msgstr ""
+msgstr "\\{ incompatível"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
-msgstr ""
+msgstr "Conteúdo inválido de \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
-msgstr ""
+msgstr "Final de intervalo inválido"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
-msgstr ""
+msgstr "Memória esgotada"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
-msgstr ""
+msgstr "Expressão regular anterior inválida"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
-msgstr ""
+msgstr "Fim prematuro da expressão regular"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
-msgstr ""
+msgstr "Expressão regular muito grande"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
-msgstr ""
+msgstr "')' incompatível ou \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
-msgstr ""
+msgstr "Nenhuma expressão regular anterior"
 
 #. TRANSLATORS: A regular expression testing for an affirmative answer
 #. (english: "yes").  Testing the first character may be sufficient.
@@ -201,9 +205,9 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
-msgstr ""
+msgstr "^[SsYy]"
 
 #. TRANSLATORS: A regular expression testing for a negative answer
 #. (english: "no").  Testing the first character may be sufficient.
@@ -211,26 +215,26 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
-msgstr ""
+msgstr "^[Nn]"
 
 #: lib/version-etc.c:74
 #, c-format
 msgid "Packaged by %s (%s)\n"
-msgstr ""
+msgstr "Empacotado por %s (%s)\n"
 
 #: lib/version-etc.c:77
 #, c-format
 msgid "Packaged by %s\n"
-msgstr ""
+msgstr "Empacotado por %s\n"
 
 #. TRANSLATORS: Translate "(C)" to the copyright symbol
 #. (C-in-a-circle), if this symbol is available in the user's
 #. locale.  Otherwise, do not translate "(C)"; leave it as-is.
 #: lib/version-etc.c:84
 msgid "(C)"
-msgstr ""
+msgstr "©"
 
 #: lib/version-etc.c:86
 msgid ""
@@ -241,24 +245,30 @@ msgid ""
 "There is NO WARRANTY, to the extent permitted by law.\n"
 "\n"
 msgstr ""
+"\n"
+"Licença GPLv3+: GNU GPL versão 3 ou posterior <http://gnu.org/licenses/gpl."
+"html>.\n"
+"Este é um software livre: você é livre para alterá-lo ou redistribuí-lo.\n"
+"Não há NENHUMA GARANTIA, até o limite permitido pela lei.\n"
+"\n"
 
 #. TRANSLATORS: %s denotes an author name.
 #: lib/version-etc.c:102
 #, c-format
 msgid "Written by %s.\n"
-msgstr ""
+msgstr "Escrito por %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #: lib/version-etc.c:106
 #, c-format
 msgid "Written by %s and %s.\n"
-msgstr ""
+msgstr "Escrito por %s e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #: lib/version-etc.c:110
 #, c-format
 msgid "Written by %s, %s, and %s.\n"
-msgstr ""
+msgstr "Escrito por %s, %s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -269,6 +279,8 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -279,6 +291,8 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -289,6 +303,8 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, %s, and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -299,6 +315,8 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, %s, %s, and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, %s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -310,6 +328,9 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, %s, %s,\n"
+"e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -321,6 +342,9 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "%s, and %s.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, %s, %s,\n"
+"%s, e %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -332,6 +356,9 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "%s, %s, and others.\n"
 msgstr ""
+"Escrito por %s, %s, %s,\n"
+"%s, %s, %s, %s,\n"
+"%s, %s, e outros.\n"
 
 #. TRANSLATORS: The placeholder indicates the bug-reporting address
 #. for this package.  Please add _another line_ saying
@@ -343,103 +370,105 @@ msgid ""
 "\n"
 "Report bugs to: %s\n"
 msgstr ""
+"\n"
+"Informe erros para: %s\n"
 
 #: lib/version-etc.c:247
 #, c-format
 msgid "Report %s bugs to: %s\n"
-msgstr ""
+msgstr "Informe %s erros para: %s\n"
 
 #: lib/version-etc.c:251
 #, c-format
 msgid "%s home page: <%s>\n"
-msgstr ""
+msgstr "%s página principal: <%s>\n"
 
 #: lib/version-etc.c:253
 #, c-format
 msgid "%s home page: <http://www.gnu.org/software/%s/>\n"
-msgstr ""
+msgstr "%s página principal: <http://www.gnu.org/software/%s/>\n"
 
 #: lib/version-etc.c:256
 msgid "General help using GNU software: <http://www.gnu.org/gethelp/>\n"
-msgstr ""
+msgstr "Ajuda geral usando software GNU: <http://www.gnu.org/gethelp/>\n"
 
 #: lib/xalloc-die.c:34
 msgid "memory exhausted"
-msgstr ""
+msgstr "memória esgotada"
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "Tabela de partições inválida em %s"
+msgstr "é inválido %s%s argumento '%s'"
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "Tabela de partições inválida em %s"
+msgstr "sufixo inválido em %s%s argumento '%s'"
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "Tabela de partições inválida em %s"
+msgstr "%s%s argumento '%s' muito comprido"
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
-msgstr ""
+msgstr "Imagem de disco"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Erro abrindo %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
-"Não posso abrir %s para leitura-gravação (%s). %s foi aberto somente-leitura."
+"Não posso abrir %s para leitura-gravação (%s). %s foi aberto somente-leitura."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
-msgstr "%s durante procura para leitura em %s"
+msgstr "%s durante busca para leitura em %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s durante leitura em %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
-msgstr "Não posso gravar em %s, pois ela foi aberta como somente-leitura."
+msgstr "Não posso gravar em %s, pois ela foi aberta como somente-leitura."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
-msgstr "%s durante procura para escrita em %s"
+msgstr "%s durante busca para escrita em %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s durante escrita em %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
-msgstr ""
+msgstr "Tente `%s --help' para maiores informações.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
-msgstr ""
+msgstr "Utilização: %s [OPÇÃO] [DISPOSITIVO]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -448,32 +477,40 @@ msgid ""
 "  -h, --help       display this help and exit\n"
 "  -v, --version    output version information and exit\n"
 msgstr ""
+"Informa o sistema operacional sobre alterações na tabela de partição.\n"
+"\n"
+"  -d, --dry-run    atualmente não informa o sistema operacional \n"
+"  -s, --summary    exibe um resumo do conteúdo\n"
+"  -h, --help       exibe esta ajuda e sai\n"
+"  -v, --version    mostra informações da versão e sai\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
+"\n"
+"Quando nenhum DISPOSITIVO é informado, investigar todas as partições.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
 "Report bugs to <%s>.\n"
 msgstr ""
+"\n"
+"Informe erros para <%s>.\n"
 
 #: libparted/arch/gnu.c:110
 #, c-format
 msgid "Unable to open %s."
-msgstr ""
+msgstr "Não é possível abrir %s."
 
 #: libparted/arch/gnu.c:130
-#, fuzzy
 msgid "Unable to probe store."
-msgstr "Impossível alinhar a partição."
+msgstr "Não foi possível investigar armazenamento."
 
 #: libparted/arch/gnu.c:368
-#, fuzzy
 msgid ""
 "The partition table cannot be re-read.  This means you need to reboot before "
 "mounting any modified partitions.  You also need to reinstall your boot "
@@ -482,77 +519,81 @@ msgid ""
 "and reinstall your boot loader from the rescue disk.  Read section 4 of the "
 "Parted User documentation for more information."
 msgstr ""
-"O kernel não pôde reler sua tabela de partições, então você precisa "
-"reiniciar antes de montar qualquer partição modificada. Voce pode também "
-"precisar reinstalar seu gerenciador de boot antes de reinicializar (o que "
-"pode requerer a montagem das partições modificadas). É impossível fazer as "
-"duas coisas! Então você irá precisar inicializar por um disco de resgate, e "
-"reinstalar seu gerenciador de boot desde este disco. Leia a seção 4 da "
-"documentação do usuário do Parted para mais informações."
+"A tabela de partições não pde ser lida novamente.  Isto significa que você "
+"precisa reiniciar antes de montar qualquer partição modificada.  Você também "
+"precisará reinstalar seu gerenciador de boot antes de reinicializar (o que "
+"pode requerer a montagem das partições modificadas).  É impossível fazer as "
+"duas coisas!  Então você irá precisar inicializar por um disco de resgate, e "
+"reinstalar seu gerenciador de boot a partir deste disco.  Leia a seção 4 da "
+"documentação do usuário do Parted para maiores informações."
 
 #: libparted/arch/gnu.c:385
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "The partition table on %s cannot be re-read (%s).  This means the Hurd knows "
 "nothing about any modifications you made.  You should reboot your computer "
 "before doing anything with %s."
 msgstr ""
-"O kernel não conseguiu reler a tabela de partições de %s (%s). Isto "
-"significa que o Linux não sabe nada sobre as modificações que você fez. Você "
-"deve reinicializar seu computador antes de fazer qualquer uso de %s."
+"A tabela de partições em %s não pode ser lida novamente (%s).  Isto "
+"significa que o GNU Hurd não sabe nada sobre as modificações que você fez.  "
+"Você deve reinicializar seu computador antes de fazer qualquer coisa em %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
 msgstr ""
-"Você deve reinstalar seu gerenciador de boot antes de reinicializar. Leia a "
-"seção 4 da documentação do usuário do Parted para mais informações."
+"Você deve reinstalar seu gerenciador de boot antes de reinicializar. Leia a "
+"seção 4 da documentação do usuário do Parted para mais informações."
 
 #: libparted/arch/gnu.c:788
 #, c-format
 msgid "%s trying to sync %s to disk"
-msgstr ""
+msgstr "%s tentando sincronizar %s ao disco"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
-msgstr "Não foi possível obter status do dispositivo %s - %s."
+msgstr "Não foi possível obter status do dispositivo %s - %s."
 
-#: libparted/arch/linux.c:586
-#, fuzzy, c-format
+#: libparted/arch/linux.c:679
+#, c-format
 msgid "Unable to determine the dm type of %s."
-msgstr "Impossível determinar tamanho de %s (%s)"
+msgstr "Não foi possível determinar o tipo dm de %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
+"Não foi possível determinar o tamanho do setor para %s: %s.\n"
+"Utilizando tamanho padrão do setor (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
+"Não foi possível determinar o tamanho do setor físico para %s.\n"
+"Utilizando tamanho do setor lógico (%lld)."
 
-#: libparted/arch/linux.c:754
-#, fuzzy, c-format
+#: libparted/arch/linux.c:834
+#, c-format
 msgid "Unable to determine the size of %s (%s)."
-msgstr "Impossível determinar tamanho de %s (%s)"
+msgstr "Não foi possível determinar tamanho de %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
-msgstr "Não foi possível obter a identificação do dispositivo %s - %s"
+msgstr "Não foi possível obter a identificação do dispositivo %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
-msgstr ""
+msgstr "IDE genérico"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -560,130 +601,133 @@ msgid ""
 "system combinations, e.g. GPT and ext2/3.\n"
 "Please consult the web site for up-to-date information."
 msgstr ""
+"O dispositivo %s possui múltiplos setores lógicos (%d) por setores físicos.\n"
+"GNU Parted suporta isto de forma EXPERIMENTAL para alguns rótulos de disco/"
+"combinações de sistema de arquivos especiais, ex.: GPT e ext2/3.\n"
+"Por gentileza, consulte o site para informações atualizadas."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Erro inicializando dispositivo SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
+"O dispositivo %s é tão pequeno que possivelmente não pode armazenar um "
+"sistema de arquivos ou tabela de partições.  Talvez você selecionou o "
+"dispositivo errado?"
 
-#: libparted/arch/linux.c:1224
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1304
+#, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
 "unless you REALLY know what you're doing!"
 msgstr ""
-"Impossível determinar a geometria do arquivo/dispositivo. Você não deveria "
-"utilizar o Parted a não ser que você REALMENTE saiba o que está fazendo!"
+"Não foi possível determinar a geometria do arquivo/dispositivo %s.  Você não "
+"deveria utilizar o Parted a menos que você REALMENTE saiba o que está "
+"fazendo!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
-msgstr ""
+msgstr "Cartão de armazenamento genérico SD/MMC"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Controlador RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
-msgstr ""
+msgstr "Dispositivo Promise SX8 SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
-msgstr ""
+msgstr "ATA através de dispositivo Ethernet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
-msgstr ""
+msgstr "Unidade DASD IBM S390"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
-msgstr ""
+msgstr "DASD Virtual IBM iSeries"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Controlador ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Controlador I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
-msgstr ""
+msgstr "Linux UBD modo usuário"
 
-#: libparted/arch/linux.c:1389
-#, fuzzy
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr "Nenhum dispositivo encontrado"
+msgstr "Dispositivo loopback"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
-msgstr ""
+msgstr "Mapeador de dispositivo Linux (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
-msgstr ""
+msgstr "Dispositivo de bloco virtual Xen"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Desconhecido"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
-msgstr ""
+msgstr "Dispositivo de bloco Virtio"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
-msgstr ""
+msgstr "Conjunto RAID por software Linux"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
-msgstr "ped_device_new()  Tipo de dispositivo não suportado"
+msgstr "ped_device_new()  Tipo de dispositivo não suportado"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
+#, c-format
 msgid "Error fsyncing/closing %s: %s"
-msgstr "Erro abrindo %s: %s"
+msgstr "Erro ao chamar fsync/fechar %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
-msgstr ""
+msgstr "%0.0s fim de arquivo enquanto lê %s"
 
-#: libparted/arch/linux.c:2388
-#, fuzzy, c-format
+#: libparted/arch/linux.c:2564
+#, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
 "means Linux won't know about any changes you made to %s until you reboot -- "
 "so you shouldn't mount it or use it in any way before rebooting."
 msgstr ""
-"O kernel não conseguiu reler a tabela de partições de %s (%s). Isto "
-"significa que o Linux não sabe nada sobre as modificações que você fez. Você "
-"deve reinicializar seu computador antes de fazer qualquer uso de %s."
+"Erro ao informar o kernel sobre alterações na partição %s -- %s.  Isto "
+"significa que o Linux não saberá de qualquer alteração que você tenha feito "
+"em %s até que o computador seja reiniciado -- logo você não deve montá-lo ou "
+"usá-lo de maneira alguma antes de reiniciar."
 
-#: libparted/arch/linux.c:2517
-#, fuzzy, c-format
+#: libparted/arch/linux.c:2683
+#, c-format
 msgid "Unable to determine the start and length of %s."
-msgstr "Impossível determinar tamanho de %s (%s)"
+msgstr "Não foi possível determinar o início e comprimento de %s."
 
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Impossível determinar se a partição está montada."
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -691,218 +735,222 @@ msgid ""
 "the old partition(s) will remain in use.  You should reboot now before "
 "making further changes."
 msgstr ""
+"Partição(ões) %s em %s foram escritas, mas não foi impossível informar o "
+"kernel sobre as alterações, provavelmente esta/estas está(ão) em uso.  Como "
+"resultado, a(s) partição(ões) antiga(s) permanecerá(ão) em uso.  Você deve "
+"reinicializar agora antes de realizar alterações posteriores."
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"O kernel não conseguiu reler a tabela de partições de %s (%s). Isto "
-"significa que o Linux não sabe nada sobre as modificações que você fez. Você "
-"deve reinicializar seu computador antes de fazer qualquer uso de %s."
-
-#: libparted/cs/geom.c:161
-#, fuzzy, c-format
+#: libparted/cs/geom.c:162
+#, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
-msgstr "Não pode ter fim da partição antes do início."
-
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Não pode ter uma partição para fora do disco!."
+msgstr ""
+"Não é possível possuir o fim antes do início! (setor inicial=%jd comprimento="
+"%jd)"
 
-#: libparted/cs/geom.c:384
-#, fuzzy, c-format
+#: libparted/cs/geom.c:378
+#, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
-msgstr "Tentativa de escrever setores %ld-%ld fora da partição em %s"
+msgstr "Tentativa de escrever setores %ld-%ld fora da partição em %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
-msgstr ""
+msgstr "verificando por blocos ruins"
 
 #: libparted/debug.c:96
 #, c-format
 msgid "Backtrace has %d calls on stack:\n"
-msgstr ""
+msgstr "Backtrace possui %d chamadas na pilha:\n"
 
 #: libparted/debug.c:109
 #, c-format
 msgid "Assertion (%s) at %s:%d in function %s() failed."
-msgstr ""
+msgstr "A declaração (%s) em %s:%d na função %s() falhou."
 
-#: libparted/disk.c:192
-#, fuzzy, c-format
+#: libparted/disk.c:193
+#, c-format
 msgid "%s: unrecognised disk label"
-msgstr "Impossível abrir %s - rótulo de disco desconhecido."
+msgstr "%s: rótulo de disco irreconhecível"
 
-#: libparted/disk.c:484
-#, fuzzy, c-format
+#: libparted/disk.c:486
+#, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
-msgstr "Não posso gravar em %s, pois ela foi aberta como somente-leitura."
+msgstr ""
+"O libparted não possui suporte para escrita em %s.  Talvez isto tenha sido "
+"compilado como somente-leitura."
 
-#: libparted/disk.c:629
-#, fuzzy, c-format
+#: libparted/disk.c:631
+#, c-format
 msgid "Partition %d is %s, but the file system is %s."
-msgstr "A partição é muito pequena para um sistema de arquivos FAT"
+msgstr "A partição %d é %s, mas o sistema de arquivos é %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
-msgstr ""
+msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
-#, fuzzy
+#: libparted/disk.c:842
 msgid "pmbr_boot"
-msgstr "boot"
+msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
-#, fuzzy, c-format
+#: libparted/disk.c:847
+#, c-format
 msgid "Unknown disk flag, %d."
-msgstr "Sinalizador de partição desconhecido, %d."
+msgstr "Opção desconhecida de partição, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
-msgstr "Rótulos de disco %s não suportam partições extendidas."
+msgstr "Rótulos de disco %s não suportam partições estendidas."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
-msgstr "Rótulos de disco %s não suportam partições lógicas ou extendidas."
+msgstr "Rótulos de disco %s não suportam partições lógicas ou estendidas."
 
-#: libparted/disk.c:1872
-#, fuzzy
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
-msgstr "Muitas páginas inválidas."
+msgstr "Há partições primárias demais."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr ""
-"Não posso adicionar uma partição lógica em %s, pois não há uma partição "
-"extendida."
+"Não posso adicionar uma partição lógica em %s, pois não há uma partição "
+"estendida."
 
-#: libparted/disk.c:1905
-#, fuzzy, c-format
+#: libparted/disk.c:1866
+#, c-format
 msgid "Can't have more than one extended partition on %s."
-msgstr "Não se pode haver mais de uma partição extendida em %s"
+msgstr "Não pode existir mais de uma partição estendida em %s."
 
-#: libparted/disk.c:1915
-#, fuzzy
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
-msgstr ""
-"Não posso adicionar uma partição lógica fora da partição extendida em %s."
+msgstr "Partições lógicas não podem existir fora da partição estendida."
 
-#: libparted/disk.c:1940
-#, fuzzy, c-format
+#: libparted/disk.c:1901
+#, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
+msgstr "Uma partição lógica não pode existir fora da partição estendida em %s."
+
+#: libparted/disk.c:1911
+msgid "Can't have a primary partition inside an extended partition."
 msgstr ""
-"Não posso adicionar uma partição lógica fora da partição extendida em %s."
+"Não é possível ter uma partição primária dentro de uma partição estendida."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-#, fuzzy
-msgid "Can't have overlapping partitions."
-msgstr "Não posso copiar em uma partição sobreposta."
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Não é possível ter uma partição para fora do disco!"
 
-#: libparted/disk.c:1958
-#, fuzzy
-msgid "Can't have a primary partition inside an extended partition."
-msgstr "Não posso adicionar uma partição primária dentro de uma extendida."
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Não é possível ter partições que se sobrepoem."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadado"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "livre"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
-msgstr "extendida"
+msgstr "estendida"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
-msgstr "lógica"
+msgstr "lógica"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
-msgstr "primária"
+msgstr "primária"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
-msgstr ""
+msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "escondida"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
-msgstr ""
+msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
-msgstr ""
+msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
-msgstr ""
+msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
-msgstr ""
+msgstr "msftres"
+
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2400
 msgid "atvrecv"
-msgstr ""
+msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
-msgstr ""
+msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
-msgstr ""
+msgstr "legacy_boot"
+
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
 
-#: libparted/disk.c:2447
-#, fuzzy, c-format
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
+#, c-format
 msgid "Unknown partition flag, %d."
-msgstr "Sinalizador de partição desconhecido, %d."
+msgstr "Opção de partição desconhecida, %d."
 
 #: libparted/exception.c:78
 msgid "Information"
-msgstr "Informação"
+msgstr "Informação"
 
 #: libparted/exception.c:79
 msgid "Warning"
-msgstr "Aviso"
+msgstr "Alerta"
 
 #: libparted/exception.c:80
 msgid "Error"
@@ -914,11 +962,11 @@ msgstr "Fatal"
 
 #: libparted/exception.c:82
 msgid "Bug"
-msgstr "Bug"
+msgstr "Erro"
 
 #: libparted/exception.c:83
 msgid "No Implementation"
-msgstr "Sem Implementação"
+msgstr "Sem implementação"
 
 #: libparted/exception.c:87
 msgid "Fix"
@@ -930,7 +978,7 @@ msgstr "Sim"
 
 #: libparted/exception.c:89
 msgid "No"
-msgstr "Não"
+msgstr "Não"
 
 #: libparted/exception.c:90
 msgid "OK"
@@ -949,123 +997,120 @@ msgid "Cancel"
 msgstr "Cancelar"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"Um bug foi detectado no GNU parted. Por favor, envie um relatório de bugpara "
-"bug-parted@gnu.org contendo a versão (%s) e a mensagem abaixo:"
+"Um erro foi detectado no GNU parted.  Visite o site do parted: http://www."
+"gnu.org/software/parted/parted.html para maiores informações sobre o que "
+"pode ser útil na hora de submeter um erro. Por favor, envie um relatório de "
+"erro para %s contendo ao menos a versão (%s) e a seguinte mensagem:  "
 
 #: libparted/labels/aix.c:103
-#, fuzzy
 msgid "Support for reading AIX disk labels is is not implemented yet."
 msgstr ""
-"O suporte para criar sistema de arquivos %s não foi implementado ainda."
+"Suporte para leitura de rótulos de disco AIX não foi implementado ainda."
 
 #: libparted/labels/aix.c:114
-#, fuzzy
 msgid "Support for writing AIX disk labels is is not implemented yet."
 msgstr ""
-"O suporte para criar sistema de arquivos %s não foi implementado ainda."
+"Suporte para escrita de rótulos de disco AIX não foi implementado ainda."
 
 #: libparted/labels/aix.c:127
-#, fuzzy
 msgid ""
 "Support for adding partitions to AIX disk labels is not implemented yet."
 msgstr ""
-"O suporte para criar sistema de arquivos %s não foi implementado ainda."
+"Suporte para adicionar partições em rótulos de disco AIX não foi "
+"implementado ainda."
 
 #: libparted/labels/aix.c:137
-#, fuzzy
 msgid ""
 "Support for duplicating partitions in AIX disk labels is not implemented yet."
 msgstr ""
-"O suporte para criar sistema de arquivos %s não foi implementado ainda."
+"Suporte para duplicar partições em rótulos de disco AIX não foi implementado "
+"ainda."
 
 #: libparted/labels/aix.c:155
-#, fuzzy
 msgid ""
 "Support for setting system type of partitions in AIX disk labels is not "
 "implemented yet."
 msgstr ""
-"O suporte para criar sistema de arquivos %s não foi implementado ainda."
+"Suporte para ajustar o tipo de sistema de partições em rótulos de disco AIX "
+"não foi implementado ainda."
 
 #: libparted/labels/aix.c:165
-#, fuzzy
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
-"O suporte para criar sistema de arquivos %s não foi implementado ainda."
+"O suporte para definir opções em rótulos de disco AIX não foi implementado "
+"ainda."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
-#, fuzzy
 msgid "Unable to satisfy all constraints on the partition."
-msgstr "Impossível alinhar a partição."
+msgstr "Não é possível satisfazer todos as restrições na partição."
 
 #: libparted/labels/bsd.c:596
-#, fuzzy
 msgid "Unable to allocate a bsd disklabel slot."
-msgstr "Impossível alocar um slot de rótulo de disco bsd"
+msgstr "Não é possível alocar uma posição para rótulo de disco bsd."
 
-#: libparted/labels/dasd.c:859
-#, fuzzy
+# Ponto final acrescentado para seguir as demais frases em volta desta
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
-msgstr "Impossível alocar um slot de rótulo de disco bsd"
+msgstr "Não é possível alocar uma posição para rótulo de disco dasd."
 
-#: libparted/labels/dos.c:966
-#, fuzzy, c-format
+#: libparted/labels/dos.c:1001
+#, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
-msgstr "Tabela de partições inválida em %s - assinatura errada %x"
+msgstr "Tabela de partições inválida em %s -- assinatura errada %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
-msgstr "Tabela de partições inválida - partição recursiva em %s."
+msgstr "Tabela de partições inválida - partição recursiva em %s."
 
-#: libparted/labels/dos.c:1504
-#, fuzzy
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
-msgstr "Partições ext2 não podem ser escondidas em rótulos de disco msdos."
+msgstr ""
+"Partições estendidas não podem ser escondidas em rótulos de disco msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
+"O Parted não pode redimensionar partições gerenciadas com o Disco Dinâmico "
+"do Windows."
 
-#: libparted/labels/dos.c:2414
-#, fuzzy
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
-msgstr "Não posso adicionar outra partição."
+msgstr "não é possível criar mais nenhuma partição"
 
 #: libparted/labels/dvh.c:182
-#, fuzzy, c-format
+#, c-format
 msgid "%s has no extended partition (volume header partition)."
-msgstr ""
-"Não posso redimensionar uma partição extendida, sem excluir uma partição "
-"lógica."
+msgstr "%s não possui partições estendidas (cabeçalho de volume da partição)."
 
 #: libparted/labels/dvh.c:308
 msgid "Checksum is wrong, indicating the partition table is corrupt."
 msgstr ""
+"A soma de verificação está errada, indicando que a tabela de partições está "
+"corrompida."
 
 #: libparted/labels/dvh.c:613
-#, fuzzy
 msgid "Only primary partitions can be root partitions."
-msgstr "Não posso adicionar uma partição primária dentro de uma extendida."
+msgstr "Apenas partições primárias podem ser partições root."
 
 #: libparted/labels/dvh.c:627
-#, fuzzy
 msgid "Only primary partitions can be swap partitions."
-msgstr "Não posso adicionar uma partição primária dentro de uma extendida."
+msgstr "Apenas partições primárias podem ser partições de troca (swap)."
 
 #: libparted/labels/dvh.c:641
 msgid "Only logical partitions can be a boot file."
-msgstr ""
+msgstr "Apenas partições lógicas podem ser um arquivo de inicialização."
 
 #: libparted/labels/dvh.c:718
 #, c-format
@@ -1073,272 +1118,279 @@ msgid ""
 "failed to set dvh partition name to %s:\n"
 "Only logical partitions (boot files) have a name."
 msgstr ""
+"falha ao definir nome de partição dvh para %s:\n"
+"Apenas partições lógicas (arquivos de inicialização) possuem um nome."
 
 #: libparted/labels/dvh.c:811
-#, fuzzy
 msgid "Too many primary partitions"
-msgstr "Muitas páginas inválidas."
+msgstr "Há partições primárias demais"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
-msgstr ""
+msgstr "erro de abertura"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
-msgstr ""
+msgstr "erro de busca"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
-msgstr ""
+msgstr "erro de leitura"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
-msgstr ""
+msgstr "erro em ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
-msgstr ""
+msgstr "Versão da API não coincide"
 
-#: libparted/labels/fdasd.c:118
-#, fuzzy
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
-msgstr "ped_device_new()  Tipo de dispositivo não suportado"
+msgstr "Tipo de disco não suportado"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
-msgstr ""
+msgstr "Formato de disco não suportado"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
-msgstr ""
+msgstr "O disco está em uso"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
-msgstr ""
+msgstr "Erro de sintaxe no arquivo de configuração"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
-msgstr ""
+msgstr "O rótulo do volume está corrompido"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
-msgstr ""
+msgstr "Um nome de conjunto de dados está corrompido"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
-msgstr ""
+msgstr "Falha em alocação de memória"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
-msgstr ""
+msgstr "Falha em verificação de dispositivo"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
-msgstr ""
+msgstr "O dispositivo especificado não é um dispositivo DASD válido"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
-#, fuzzy
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
-msgstr "Fatal"
+msgstr "Erro fatal"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
-msgstr ""
+msgstr "Nenhum espaço para rótulo de volume."
 
-#: libparted/labels/fdasd.c:234
-#, fuzzy
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
-msgstr "Nenhum mapa de partições válido foi encontrado."
+msgstr "Nenhum espaço para informações de partição."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
-msgstr ""
+msgstr "VTOC inválido."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
-msgstr ""
+msgstr "Não foi possível recuperar versão API ."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
+"A versão \"%d\" da API atual não coincide com a versão \"%d\" da API da "
+"controladora dasd."
 
-#: libparted/labels/fdasd.c:806
-#, fuzzy
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
-msgstr "Não foi possível ler a geometria de %s - %s"
+msgstr "Não foi possível recuperar informações sobre a geometria do disco."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
-msgstr ""
+msgstr "Não foi possível recuperar informações de tamanho do bloco."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
-msgstr ""
+msgstr "Não foi possível recuperar informações de disco."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "dispositivo é muito pequeno para GPT"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
+"A versão do formato da tabela de partição GPT é %x, que é mais recente do "
+"que o Parted pode reconhecer.  Por favor, informe-nos sobre isso!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
 "to use all of the space (an extra %llu blocks) or continue with the current "
 "setting? "
 msgstr ""
+"Parece que não está sendo usado todo o espaço disponível em %s, você pode "
+"corrigir a GPT para usar todo seu espaço (uns %llu blocos adicionais) ou "
+"continuar com a configuração atual? "
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
+"A cópia da tabela GPT não está no fim do disco, como deveria estar.  "
+"Corrija, movendo a cópia para o fim do disco (e removendo a cópia antiga)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
 msgstr ""
+"Tanto a tabela GPT primária quanto a sua cópia estão corrompidas.  Tente "
+"fazer uma nova tabela, usando os recursos de recuperação do Parted para "
+"recuperar partições."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr ""
+"A cópia da tabela GPT está corrompida, mas a tabela primária aparece estar "
+"OK, então esta será usada."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr ""
+"A tabela GPT primária está corrompida, mas a cópia da tabela aparece estar "
+"OK, então esta será usada."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
-msgstr ""
+msgstr "CRC do conjunto de tabela de partição primária não coincide"
+
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "falha ao traduzir nome de partição"
 
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
-msgstr "Assinatura inválida %x para rótulos de disco Mac."
+msgstr "Assinatura inválida %x para rótulos de disco Mac."
 
 #: libparted/labels/mac.c:231
 msgid "Partition map has no partition map entry!"
-msgstr "Mapa de partições não tem nenhuma entrada!"
+msgstr "Mapa de partições não tem nenhuma entrada!"
 
 #: libparted/labels/mac.c:279
 #, c-format
 msgid "%s is too small for a Mac disk label!"
-msgstr "%s é muito pequeno para um rótulo de disco Mac!"
+msgstr "%s é muito pequeno para um rótulo de disco Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
-msgstr "A partição %d tem uma assinatura inválida %x."
+msgstr "A partição %d tem uma assinatura inválida %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
-msgstr "A partição %d tem um tamanho inválido de 0 bytes!"
+msgstr "A partição %d tem um tamanho inválido de 0 bytes!"
 
-#: libparted/labels/mac.c:557
-#, fuzzy
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
-msgstr "A região de dados não começa no início da partição"
+msgstr "A região de dados não começa no início da partição."
 
-#: libparted/labels/mac.c:574
-#, fuzzy
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
-msgstr "A região de inicialização não começa no início da partição"
+msgstr "A região de inicialização não começa no início da partição."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
-msgstr "A região de inicialização da partição não a ocupa inteiramente."
+msgstr "A região de inicialização da partição não a ocupa inteiramente."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
-msgstr "A região de dados da partição não a ocupa inteiramente."
+msgstr "A região de dados da partição não a ocupa inteiramente."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
-"tamanho de bloco estranho no descritor de dispositivo: %d bytes não "
-"sãodivisíveis por 512."
+"tamanho de bloco estranho no descritor de dispositivo: %d bytes não são "
+"divisíveis por 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
 "says it is %d bytes."
 msgstr ""
-"O descritor do driver informa que o tamanho físico de bloco é %d bytes, mas "
-"o Linux informa que é %d bytes."
+"O descritor da controladora (driver) informa que o tamanho físico de bloco é "
+"%d bytes, mas o Linux informa que é %d bytes."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
-msgstr "Nenhum mapa de partições válido foi encontrado."
+msgstr "Nenhum mapa de partições válido foi encontrado."
 
-#: libparted/labels/mac.c:779
-#, fuzzy, c-format
+#: libparted/labels/mac.c:787
+#, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr ""
-"Tamanhos de mapa de partição conflitantes! Entrada 1 informa que é %d, mas "
-"entrada %d informa que é %d!"
+"Conflito nos tamanhos de entrada do mapa de partições!  A entrada 1 diz que "
+"é %d, mas a entrada %d diz que é %d!"
 
-#: libparted/labels/mac.c:810
-#, fuzzy
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
-msgstr "Estranho - 2 entradas no mapa de partição"
+msgstr "Que estranho! Há 2 entradas no mapa de partições!"
 
 #: libparted/labels/mac.c:1356
 msgid ""
 "Changing the name of a root or swap partition will prevent Linux from "
 "recognising it as such."
 msgstr ""
-"Mudar o nome de uma partição root ou swap irá impedir o Linux de reconhecê-"
+"Mudar o nome de uma partição root ou swap irá impedir o Linux de reconhecê-"
 "la como tal."
 
-#: libparted/labels/mac.c:1460
-#, fuzzy
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
-"Não posso adicionar outra partição - o mapa de partições é muito pequeno!"
+"Não é possível adicionar outra partição -- o mapa de partições é muito "
+"pequeno!"
 
 #: libparted/labels/pc98.c:284
-#, fuzzy, c-format
+#, c-format
 msgid "Invalid partition table on %s."
-msgstr "Tabela de partições inválida em %s"
+msgstr "Tabela de partições inválida em %s."
 
 #: libparted/labels/pc98.c:337 libparted/labels/pc98.c:415
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Partition %d isn't aligned to cylinder boundaries.  This is still "
 "unsupported."
 msgstr ""
-"A partição %d não está alinhada ao limite do cilindro. Preciso adicionar "
-"suporte para isso."
+"A partição %d não está alinhada aos limites do cilindro.  Isto ainda não é "
+"suportado."
 
 #: libparted/labels/pc98.c:733
 msgid "Can't add another partition."
-msgstr "Não posso adicionar outra partição."
+msgstr "Não posso adicionar outra partição."
 
 #: libparted/labels/pt-tools.c:133
 #, c-format
@@ -1346,6 +1398,8 @@ msgid ""
 "partition length of %jd sectors exceeds the %s-partition-table-imposed "
 "maximum of %jd"
 msgstr ""
+"tamanho de partição de %1$jd setores excede o máximo de %3$jd do imposto "
+"pela tabela de partições %2$s"
 
 #: libparted/labels/pt-tools.c:146
 #, c-format
@@ -1353,79 +1407,80 @@ msgid ""
 "starting sector number, %jd exceeds the %s-partition-table-imposed maximum "
 "of %jd"
 msgstr ""
+"número do setor inicial %1$jd excede o máximo de %3$jd do imposto pela "
+"tabela de partições %2$s"
 
 #: libparted/labels/rdb.c:169
 #, c-format
 msgid "%s : Bad checksum on block %llu of type %s."
-msgstr ""
+msgstr "%s : Soma de verificação ruim no bloco %llu do tipo %s."
 
 #: libparted/labels/rdb.c:484
 #, c-format
 msgid "%s : Didn't find rdb block, should never happen."
-msgstr ""
+msgstr "%s: Bloco rdb não encontrado, isto nunca deveria acontecer."
 
 #: libparted/labels/rdb.c:573
 #, c-format
 msgid "%s : Loop detected at block %d."
-msgstr ""
+msgstr "%s : Loop detectado no bloco %d."
 
 #: libparted/labels/rdb.c:592
 #, c-format
 msgid "%s : The %s list seems bad at block %s."
-msgstr ""
+msgstr "%s : A lista %s parece ruim no bloco %s."
 
 #: libparted/labels/rdb.c:691
 #, c-format
 msgid "%s : Failed to list bad blocks."
-msgstr ""
+msgstr "%s : Falha ao listar blocos ruins."
 
 #: libparted/labels/rdb.c:699
-#, fuzzy, c-format
+#, c-format
 msgid "%s : Failed to list partition blocks."
-msgstr "Impossível alinhar a partição."
+msgstr "%s : Falha ao listar blocos de partições."
 
 #: libparted/labels/rdb.c:707
 #, c-format
 msgid "%s : Failed to list file system blocks."
-msgstr ""
+msgstr "%s : Falha ao listar blocos de sistemas de arquivo."
 
 #: libparted/labels/rdb.c:715
 #, c-format
 msgid "%s : Failed to list boot blocks."
-msgstr ""
+msgstr "%s : Falha ao listar blocos de inicialização."
 
 #: libparted/labels/rdb.c:742
-#, fuzzy, c-format
+#, c-format
 msgid "Failed to write partition block at %d."
-msgstr "Impossível determinar se a partição está montada."
+msgstr "Falha ao escrever bloco de partição em %d."
 
 #: libparted/labels/rdb.c:1080
-#, fuzzy
 msgid "Unable to allocate a partition number."
-msgstr "Impossível alinhar a partição."
+msgstr "Não é possível alocar um número de partição."
 
 #: libparted/labels/sun.c:161
 msgid "Corrupted Sun disk label detected."
-msgstr "Um rótulo de disco Sun corrompido foi detectado."
+msgstr "Um rótulo de disco Sun corrompido foi detectado."
 
 #: libparted/labels/sun.c:276
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "The disk CHS geometry (%d,%d,%d) reported by the operating system does not "
 "match the geometry stored on the disk label (%d,%d,%d)."
 msgstr ""
-"A geometria CHS do disco (%d,%d,%d) não confere com a geometria gravada no "
-"tulo de disco (%d,%d,%d)."
+"A geometria CHS do disco (%d,%d,%d) informada pelo sistema operacional não "
+"coincide com a geometria gravada no rótulo de disco (%d,%d,%d)."
 
 #: libparted/labels/sun.c:298
 #, c-format
 msgid "The disk label describes a disk bigger than %s."
-msgstr "O rótulo de disco descreve um disco maior que %s."
+msgstr "O rótulo de disco descreve um disco maior que %s."
 
 #: libparted/labels/sun.c:473
 #, c-format
 msgid "The disk has %d cylinders, which is greater than the maximum of 65536."
-msgstr ""
+msgstr "O disco possui %d cilindros, número que é maior que o máximo de 65536."
 
 #: libparted/labels/sun.c:812
 msgid ""
@@ -1434,265 +1489,251 @@ msgid ""
 "not be able to boot without it, and SILO (the sparc boot loader) appreciates "
 "it as well."
 msgstr ""
+"A partição inteira do disco é a única disponível à esquerda.  Geralmente não "
+"é uma boa ideia sobrescrever esta partição com uma real.  O Solaris pode não "
+"ser capaz de inicializar sem isto, e o SILO (o carregador de inicialização "
+"sparc) utiliza também."
 
 #: libparted/labels/sun.c:827
 msgid "Sun disk label is full."
-msgstr "O rótulo de disco Sun está cheio."
+msgstr "O rótulo de disco Sun está cheio."
 
 #: libparted/labels/vtoc.c:164
 msgid "opening of device failed"
-msgstr ""
+msgstr "falha ao abrir dispositivo"
 
 #: libparted/labels/vtoc.c:168
 msgid "seeking on device failed"
-msgstr ""
+msgstr "falha ao buscar em dispositivo"
 
 #: libparted/labels/vtoc.c:172
 msgid "writing to device failed"
-msgstr ""
+msgstr "falha ao escrever em dispositivo"
 
 #: libparted/labels/vtoc.c:176
 msgid "reading from device failed"
-msgstr ""
+msgstr "falha ao ler de dispositivo"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
-#, fuzzy
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
-msgstr "Não foi possível ler a geometria de %s - %s"
+msgstr "Não foi possível ler o rótulo do volume."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
-#, fuzzy
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
-msgstr "Não foi possível detectar o sistema de arquivos."
+msgstr "Não foi possível escrever o rótulo do volume."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
-msgstr ""
+msgstr "Não foi possível ler rótulos VTOC."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
-msgstr ""
+msgstr "Não foi possível ler VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
-msgstr ""
+msgstr "Não foi possível ler VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
-msgstr ""
+msgstr "Não foi possível ler VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
-msgstr ""
+msgstr "Não foi possível ler VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
-msgstr ""
+msgstr "Não foi possível escrever rótulos VTOC."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
-msgstr ""
+msgstr "Não foi possível escrever VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
-msgstr ""
+msgstr "Não foi possível escrever VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
-msgstr ""
+msgstr "Não foi possível escrever VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
-msgstr ""
+msgstr "Não foi possível escrever VTOC FMT7 DSCB."
+
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Não foi possível escrever VTOC FMT9 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/libparted.c:234
 msgid "Out of memory."
-msgstr "Não há memória."
+msgstr "Não há memória."
 
 #: libparted/unit.c:139
 msgid "Cannot get unit size for special unit 'COMPACT'."
 msgstr ""
+"Não foi possível obter o tamanho da unidade para a unidade especial \"COMPACT"
+"\"."
 
 #: libparted/unit.c:385
 #, c-format
 msgid "\"%s\" has invalid syntax for locations."
-msgstr ""
+msgstr "\"%s\" possui sintaxe inválida para localizações."
 
 #: libparted/unit.c:393
 #, c-format
 msgid "The maximum head value is %d."
-msgstr ""
+msgstr "O valor máximo do cabeçalho é %d."
 
 #: libparted/unit.c:400
 #, c-format
 msgid "The maximum sector value is %d."
-msgstr ""
+msgstr "O valor máximo do setor é %d."
 
 #: libparted/unit.c:412 libparted/unit.c:563
-#, fuzzy, c-format
+#, c-format
 msgid "The location %s is outside of the device %s."
-msgstr "Impossível criar partição para fora do dispositivo."
+msgstr "A localização %s está para fora do dispositivo %s."
 
 #: libparted/unit.c:532
 msgid "Invalid number."
-msgstr ""
+msgstr "Número inválido."
 
 #: libparted/unit.c:538
 msgid "Use a smaller unit instead of a value < 1"
-msgstr ""
+msgstr "Use uma unidade menor ao invés de usar um valor < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
-msgstr ""
+msgstr "%s : Falha ao alocar bloco de partição\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
-msgstr ""
+msgstr "%s : Falha ao alocar bloco\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
-msgstr ""
+msgstr "%s : Não foi possível ler o bloco de inicialização %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
-msgstr ""
+msgstr "%s : Não foi possível ler o bloco root %llu\n"
 
 #: libparted/fs/amiga/amiga.c:71
 #, c-format
 msgid "%s : Failed to allocate id list element\n"
-msgstr ""
+msgstr "%s : Falha ao alocar id de elemento de lista\n"
 
 #: libparted/fs/amiga/amiga.c:188
 #, c-format
 msgid "%s : Couldn't read block %llu\n"
-msgstr ""
+msgstr "%s : Não foi possível ler o bloco %llu\n"
 
 #: libparted/fs/amiga/amiga.c:201
 #, c-format
 msgid "%s : Bad checksum on block %llu of type %s\n"
-msgstr ""
+msgstr "%s : Soma de verificação ruim no bloco %llu do tipo %s\n"
 
 #: libparted/fs/amiga/amiga.c:211
-#, fuzzy, c-format
+#, c-format
 msgid "%s : Couldn't write block %d\n"
-msgstr "%s durante escrita em %s"
+msgstr "%s : Não foi possível escrever bloco %d\n"
 
 #: libparted/fs/amiga/amiga.c:277
 #, c-format
 msgid "%s : Failed to allocate disk_specific rdb block\n"
-msgstr ""
+msgstr "%s : Falha ao alocar bloco rdb de disco_específico\n"
 
 #: libparted/fs/amiga/amiga.c:288
 #, c-format
 msgid "%s : Didn't find rdb block, should never happen\n"
-msgstr ""
+msgstr "%s : Não foi encontrado bloco rdb, isto nunca deveria acontecer\n"
 
 #: libparted/fs/amiga/amiga.c:317
 #, c-format
 msgid "%s : Failed to read partition block %llu\n"
-msgstr ""
+msgstr "%s : Falha ao ler bloco de partição %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
-#, fuzzy
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr ""
-"O GNU parted foi compilado erradamente: o setor de boot FAT deveria ser de "
-"512 bytes. O suporte a FAT será desabilitado."
+"O GNU Parted não foi mal compilado: o setor de boot FAT deveria ser de 512 "
+"bytes.  O suporte a FAT será desabilitado."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
-msgstr "Sistema de arquivos tem uma assinatura inválida para um FAT."
+msgstr "Sistema de arquivos tem uma assinatura inválida para um FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
-msgstr "Sistema de arquivos tem um tamanho de setor inválido para um FAT."
+msgstr "Sistema de arquivos tem um tamanho de setor inválido para um FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
-#, fuzzy
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
-msgstr "Sistema de arquivos tem um tamanho de setor inválido para um FAT."
+msgstr ""
+"O sistema de arquivos possui um tamanho de cluster inválido para um FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
-#, fuzzy
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
-"Sistema de arquivos tem um número de setores reservados inválido para um FAT."
+"O sistema de arquivos possui um número inválido de setores reservados à "
+"sistemas de arquivo FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
-#, fuzzy
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
-msgstr "Sistema de arquivos tem um número inválido de FATS."
-
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Este sistema de arquivos tem um tamanho de setor lógico de %d. O GNU Parted "
-"é conhecido por não funcionar corretamente com setores diferentes de 512 "
-"bytes."
+msgstr "O sistema de arquivos possui um número inválido de FATs."
 
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
+"A geometria CHS do sistema de arquivos é (%d, %d, %d), que é inválida.  A "
+"geometria CHS da tabela de partições é (%d, %d, %d)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
-msgstr "Setor de boot FAT diz que o tamanho lógico do setor é 0. Estranho. "
+msgstr "Setor de boot FAT diz que o tamanho lógico do setor é 0. Estranho. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
-msgstr "Setor de boot FAT diz que não há tabelas FAT. Estranho. "
+msgstr "Setor de boot FAT diz que não há tabelas FAT. Estranho. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
-msgstr "Setor de boot FAT diz que os clusters têm 0 setores. Estranho. "
+msgstr "Setor de boot FAT diz que os clusters têm 0 setores. Estranho. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
-#, fuzzy
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
-msgstr "O sistema de arquivos é FAT12, que não é suportado."
+msgstr "O sistema de arquivos é FAT12, que não é suportado."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"O setor de informações tem uma assinatura inválida (%x). Selecione cancelar "
-"agora, e mande um relatório de bug. Se você está desesperado, é provável que "
-"seja seguro ignorar."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
-#, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
-msgstr "Assinatura linux swap não reconhecida '%10s'."
+msgstr "Assinatura linux swap estilo antigo não reconhecido '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
-#, fuzzy, c-format
+#: libparted/fs/linux_swap/linux_swap.c:268
+#, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
-msgstr "Assinatura linux swap não reconhecida '%10s'."
+msgstr "Assinatura linux swap estilo novo não reconhecido '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
-#, fuzzy, c-format
+#: libparted/fs/linux_swap/linux_swap.c:308
+#, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
-msgstr "Assinatura linux swap não reconhecida '%10s'."
+msgstr "Assinatura linux swap swsusp não reconhecido '%9s'."
 
 #: libparted/fs/hfs/probe.c:50 libparted/fs/r/hfs/probe.c:50
 #, c-format
@@ -1700,8 +1741,20 @@ msgid ""
 "Parted can't use HFS file systems on disks with a sector size not equal to "
 "%d bytes."
 msgstr ""
+"O Parted não pode utilizar sistemas de arquivos HFS em discos com um tamanho "
+"de setor diferente de %d bytes."
+
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Este sistema de arquivos tem um tamanho de setor lógico de %d. O GNU Parted "
+"é conhecido por não funcionar corretamente com setores diferentes de 512 "
+"bytes."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1710,29 +1763,44 @@ msgid ""
 "file system's CHS geometry will be set to match the partition table's CHS "
 "geometry."
 msgstr ""
+"A geometria CHS do sistema de arquivos é (%d, %d, %d), que é inválida.  A "
+"geometria CHS da tabela de partições é (%d, %d, %d).  Se você selecionar "
+"Ignorar, a geometria CHS do sistema de arquivos permanecerá inalterada.  Se "
+"você selecionar Arrumar, a geometria CHS do sistema de arquivos será "
+"definida para coincidir com a geometria CHS da tabela de partições."
+
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"O setor de informações tem uma assinatura inválida (%x). Selecione cancelar "
+"agora, e mande um relatório de bug. Se você está desesperado, é provável que "
+"seja seguro ignorar."
 
 #: libparted/fs/r/fat/calc.c:134
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "You need %s of free disk space to shrink this partition to this size.  "
 "Currently, only %s is free."
 msgstr ""
-"Você precisa de %dM de espaço livre para diminuir esta partição para este "
-"tamanho (você tem somente %dM livres)"
+"Você precisa de %s de espaço livre em disco para diminuir esta partição a "
+"este tamanho. Atualmente, apenas %s estão livres."
 
 #: libparted/fs/r/fat/context.c:55
 #, c-format
 msgid ""
 "Cluster start delta = %d, which is not a multiple of the cluster size %d."
 msgstr ""
-"O cluster inicia em delta = %d, que não é um múltiplo do tamanho de cluster "
+"O cluster inicia em delta = %d, que não é um múltiplo do tamanho de cluster "
 "%d."
 
 #: libparted/fs/r/fat/count.c:143
 #, c-format
 msgid "Bad directory entry for %s: first cluster is the end of file marker."
 msgstr ""
-"Entrada de diretório inválida para %s: o primeiro cluster é o fim do "
+"Entrada de diretório inválida para %s: o primeiro cluster é o fim do "
 "marcador de arquivo."
 
 #: libparted/fs/r/fat/count.c:156
@@ -1740,16 +1808,16 @@ msgstr ""
 msgid ""
 "Bad FAT: unterminated chain for %s.  You should run dosfsck or scandisk."
 msgstr ""
-"FAT ruim: cadeia não terminada para %s. Você deveria rodar o dosfsck ou o "
+"FAT ruim: cadeia não terminada para %s. Você deveria rodar o dosfsck ou o "
 "scandisk."
 
 #: libparted/fs/r/fat/count.c:165
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Bad FAT: cluster %d outside file system in chain for %s.  You should run "
 "dosfsck or scandisk."
 msgstr ""
-"FAT ruim: cluster %d fora do sistema de arquivos na cadeia para %s. Você "
+"FAT ruim: cluster %d fora do sistema de arquivos na cadeia para %s.  Você "
 "deveria rodar o dosfsck ou o scandisk."
 
 #: libparted/fs/r/fat/count.c:175
@@ -1758,13 +1826,13 @@ msgid ""
 "Bad FAT: cluster %d is cross-linked for %s.  You should run dosfsck or "
 "scandisk."
 msgstr ""
-"FAT ruim: o cluster %d tem uma referência cruzada para %s. Você deveria "
+"FAT ruim: o cluster %d tem uma referência cruzada para %s. Você deveria "
 "rodar o dosfsck ou o scandisk."
 
 #: libparted/fs/r/fat/count.c:194
-#, fuzzy, c-format
+#, c-format
 msgid "%s is %dk, but it has %d clusters (%dk)."
-msgstr "%s é %dk, mas tem %d clusters (%dk)."
+msgstr "%s é %dk, mas ele tem %d clusters (%dk)."
 
 #: libparted/fs/r/fat/count.c:257
 #, c-format
@@ -1772,60 +1840,62 @@ msgid ""
 "The file %s is marked as a system file.  This means moving it could cause "
 "some programs to stop working."
 msgstr ""
+"O arquivo %s está marcado como um arquivo de sistema.  Isto significa que "
+"movê-lo pode fazer com que alguns programas parem de funcionar."
 
-#: libparted/fs/r/fat/fat.c:251
-#, fuzzy, c-format
+#: libparted/fs/r/fat/fat.c:243
+#, c-format
 msgid "Partition too big/small for a %s file system."
-msgstr "A partição é muito pequena para um sistema de arquivos FAT"
+msgstr "Partição muito grande/pequena para um sistema de arquivos %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
-"As FATs não estão iguais. Se você não sabe o que isto significa, selecione "
+"As FATs não estão iguais. Se você não sabe o que isto significa, selecione "
 "cancelar, execute o scandisk no sistema de arquivos, depois volte."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
-msgstr "Não há configurações possíveis para este tipo de FAT."
+msgstr "Não há configurações possíveis para este tipo de FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
 "size is %dk (%dk expected); number of clusters is %d (%d expected); size of "
 "FATs is %d sectors (%d expected)."
 msgstr ""
-"O sistema de arquivos não tem o tamanho esperado para que o Windows utilize. "
-"O tamanho do cluster é %dk (%dk esperado); número de clusters é %d (%d "
-"esperado); tamanho da FAT é %d setores (%d esperado)."
+"O sistema de arquivos não tem o tamanho esperado para que o Windows utilize. "
+"O tamanho do cluster é %dk (%dk esperado); número de clusters é %d (%d "
+"esperado); tamanho da FAT é %d setores (%d esperado)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
 msgstr ""
-"O sistema de arquivos está reportando que o espaço livre é %d clusters, não "
+"O sistema de arquivos está reportando que o espaço livre é %d clusters, não "
 "%d clusters."
 
 #: libparted/fs/r/fat/resize.c:158
-#, fuzzy
 msgid ""
 "There's not enough room in the root directory for all of the files.  Either "
 "cancel, or ignore to lose the files."
 msgstr ""
-"Não há espaço suficiente no diretório raiz, para todos os arquivos. Cancele, "
+"Não há espaço suficiente no diretório raiz para todos os arquivos.  Cancele, "
 "ou ignore para perder os arquivos."
 
 #: libparted/fs/r/fat/resize.c:299
 msgid "Error writing to the root directory."
-msgstr "Erro escrevendo no diretório raiz."
+msgstr "Erro escrevendo no diretório raiz."
 
 #: libparted/fs/r/fat/resize.c:488
-#, fuzzy
 msgid "If you leave your file system as FAT16, then you will have no problems."
-msgstr "Se deixar seu sistema de arquivos como FAT16, não haverá problemas."
+msgstr ""
+"Se você deixar seu sistema de arquivos como FAT16, não haverá nenhum "
+"problema."
 
 #: libparted/fs/r/fat/resize.c:491
 msgid ""
@@ -1833,16 +1903,16 @@ msgid ""
 "you must re-install the MS Windows boot loader.  If you want to do this, you "
 "should consult the Parted manual (or your distribution's manual)."
 msgstr ""
-"Se você converter para FAT16, e o MS Windows está instalado nesta partição, "
-"você deverá reinstalar o gerenciador de boot do MS Windows. Se quiser fazer "
-"isso, consulte o manual do Parted (ou o manual de sua distribuição)."
+"Se você converter para FAT16, e o MS Windows está instalado nesta partição, "
+"você deverá reinstalar o gerenciador de boot do MS Windows. Se quiser fazer "
+"isso, consulte o manual do Parted (ou o manual de sua distribuição)."
 
 #: libparted/fs/r/fat/resize.c:499
 msgid ""
 "If you leave your file system as FAT32, then you will not introduce any new "
 "problems."
 msgstr ""
-"Se deixar seu sistema de arquivos como FAT32, você não criará mais nenhum "
+"Se deixar seu sistema de arquivos como FAT32, você não criará mais nenhum "
 "problema novo."
 
 #: libparted/fs/r/fat/resize.c:503
@@ -1853,10 +1923,10 @@ msgid ""
 "converting to FAT32 will make the file system unreadable by MS DOS, MS "
 "Windows 95a, and MS Windows NT."
 msgstr ""
-"Se você converter para FAT32, e o MS Windows está instalado nesta partição, "
-"você deverá reinstalar o gerenciador de boot do MS Windows. Se quiser fazer "
-"isso, consulte o manual do Parted (ou o manual de sua distribuição). Também, "
-"convertendo para FAT32 fará com que o sistema de arquivos não seja mais "
+"Se você converter para FAT32, e o MS Windows está instalado nesta partição, "
+"você deverá reinstalar o gerenciador de boot do MS Windows. Se quiser fazer "
+"isso, consulte o manual do Parted (ou o manual de sua distribuição). Também, "
+"convertendo para FAT32 fará com que o sistema de arquivos não seja mais "
 "reconhecido pelo MS DOS, Windows 95a, e MS Windows NT."
 
 #: libparted/fs/r/fat/resize.c:517
@@ -1866,7 +1936,7 @@ msgstr "%s  %s  %s"
 
 #: libparted/fs/r/fat/resize.c:518
 msgid "Would you like to use FAT32?"
-msgstr "Você gostaria de usar FAT32?"
+msgstr "Você gostaria de usar FAT32?"
 
 #: libparted/fs/r/fat/resize.c:549 libparted/fs/r/fat/resize.c:565
 #, c-format
@@ -1877,22 +1947,21 @@ msgstr "%s  %s"
 msgid ""
 "The file system can only be resized to this size by converting to FAT16."
 msgstr ""
-"O sistema de arquivos só pode ser redimensionado para este tamanho sendo "
+"O sistema de arquivos só pode ser redimensionado para este tamanho sendo "
 "convertido para FAT16."
 
 #: libparted/fs/r/fat/resize.c:566
 msgid ""
 "The file system can only be resized to this size by converting to FAT32."
 msgstr ""
-"O sistema de arquivos só pode ser redimensionado para este tamanho sendo "
+"O sistema de arquivos só pode ser redimensionado para este tamanho sendo "
 "convertido para FAT32."
 
 #: libparted/fs/r/fat/resize.c:579
-#, fuzzy
 msgid ""
 "GNU Parted cannot resize this partition to this size.  We're working on it!"
 msgstr ""
-"O GNU Parted não pode redimensionar esta partição a este tamanho. Estamos "
+"O GNU Parted não pode redimensionar esta partição a este tamanho.  Estamos "
 "trabalhando nisto!"
 
 #: libparted/fs/r/fat/table.c:136
@@ -1901,48 +1970,46 @@ msgid ""
 "FAT %d media %x doesn't match the boot sector's media %x.  You should "
 "probably run scandisk."
 msgstr ""
-"FAT %d mídia %x não bate com o setor de boot mídia %x. Você deveria executar "
+"FAT %d mídia %x não bate com o setor de boot mídia %x. Você deveria executar "
 "o scandisk."
 
 #: libparted/fs/r/fat/table.c:268
-#, fuzzy, c-format
+#, c-format
 msgid "fat_table_set: cluster %ld outside file system"
 msgstr "fat_table_set: cluster %ld fora do sistema de arquivos"
 
 #: libparted/fs/r/fat/table.c:300
-#, fuzzy, c-format
+#, c-format
 msgid "fat_table_get: cluster %ld outside file system"
 msgstr "fat_table_get: cluster %ld fora do sistema de arquivos"
 
 #: libparted/fs/r/fat/table.c:342
 msgid "fat_table_alloc_cluster: no free clusters"
-msgstr "fat_table_alloc_cluster: não há clusters livres"
+msgstr "fat_table_alloc_cluster: não há clusters livres"
 
 #: libparted/fs/r/filesys.c:151
 msgid "Could not detect file system."
-msgstr "Não foi possível detectar o sistema de arquivos."
+msgstr "Não foi possível detectar o sistema de arquivos."
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
-#, fuzzy, c-format
+#, c-format
 msgid "resizing %s file systems is not supported"
-msgstr ""
-"Suporte para redimensionar sistema de arquivos não implementado para %s."
+msgstr "não é suportado redimensionar sistemas de arquivos %s"
 
 #: libparted/fs/r/filesys.c:170
-#, fuzzy
 msgid "The file system is bigger than its volume!"
-msgstr "O rótulo de disco descreve um disco maior que %s."
+msgstr "O sistema de arquivos é maior que seu volume!"
 
 #: libparted/fs/r/hfs/advfs.c:120 libparted/fs/r/hfs/advfs_plus.c:120
 #: libparted/fs/r/hfs/reloc.c:412 libparted/fs/r/hfs/reloc.c:506
 #: libparted/fs/r/hfs/reloc_plus.c:537 libparted/fs/r/hfs/reloc_plus.c:655
 #: libparted/fs/r/hfs/reloc_plus.c:768
 msgid "The file system contains errors."
-msgstr ""
+msgstr "O sistema de arquivos contém erros."
 
 #: libparted/fs/r/hfs/advfs_plus.c:284
 msgid "Bad blocks could not be read."
-msgstr ""
+msgstr "Blocos ruins não podem ser lidos."
 
 #: libparted/fs/r/hfs/cache.c:136
 #, c-format
@@ -1950,6 +2017,8 @@ msgid ""
 "Trying to register an extent starting at block 0x%X, but another one already "
 "exists at this position.  You should check the file system!"
 msgstr ""
+"Tentando registar uma extensão que inicia no bloco 0x%X, mas uma outra já "
+"existe nesta posição.  Você deve verificar o sistema de arquivos!"
 
 #: libparted/fs/r/hfs/cache.c:213
 #, c-format
@@ -1957,131 +2026,133 @@ msgid ""
 "Trying to move an extent from block Ox%X to block Ox%X, but another one "
 "already exists at this position.  This should not happen!"
 msgstr ""
+"Tentando mover uma extensão do bloco Ox%X para o bloco Ox%X, mas uma outra "
+"já existe nesta posição.  Isto não deveria acontecer!"
 
 #: libparted/fs/r/hfs/file.c:142
 #, c-format
 msgid "Could not update the extent cache for HFS file with CNID %X."
 msgstr ""
+"Não foi possível atualizar o cache de extensão de arquivo HFS com CNID %X."
 
 #: libparted/fs/r/hfs/file.c:179
 #, c-format
 msgid "Trying to read HFS file with CNID %X behind EOF."
-msgstr ""
+msgstr "Tentando ler arquivo HFS com CNID %X atrás do fim do arquivo."
 
 #: libparted/fs/r/hfs/file.c:189 libparted/fs/r/hfs/file.c:219
 #, c-format
 msgid "Could not find sector %lli of HFS file with CNID %X."
-msgstr ""
+msgstr "Não foi possível encontrar setor %lli de arquivo HFS com CNID %X."
 
 #: libparted/fs/r/hfs/file.c:209
 #, c-format
 msgid "Trying to write HFS file with CNID %X behind EOF."
-msgstr ""
+msgstr "Tentando escrever arquivo HFS com CNID %X atrás do fim do arquivo."
 
 #: libparted/fs/r/hfs/file_plus.c:156
 #, c-format
 msgid "Could not update the extent cache for HFS+ file with CNID %X."
 msgstr ""
+"Não foi possível atualizar o cache do arquivo de extensão HFS+ com CNID %X."
 
 #: libparted/fs/r/hfs/file_plus.c:201
 #, c-format
 msgid "Trying to read HFS+ file with CNID %X behind EOF."
-msgstr ""
+msgstr "Tentando ler arquivo HFS+ com CNID %X atrás do fim do arquivo."
 
 #: libparted/fs/r/hfs/file_plus.c:212 libparted/fs/r/hfs/file_plus.c:255
 #, c-format
 msgid "Could not find sector %lli of HFS+ file with CNID %X."
-msgstr ""
+msgstr "Não foi possível encontrar setor %lli de arquivo HFS+ com CNID %X."
 
 #: libparted/fs/r/hfs/file_plus.c:244
 #, c-format
 msgid "Trying to write HFS+ file with CNID %X behind EOF."
-msgstr ""
+msgstr "Tentando escrever arquivo HFS+ com CNID %X atrás do fim do arquivo."
 
 #: libparted/fs/r/hfs/hfs.c:232
 msgid "Sorry, HFS cannot be resized that way yet."
-msgstr ""
+msgstr "Desculpe, HFS não pode ser redimensionada deste modo ainda."
 
 #: libparted/fs/r/hfs/hfs.c:250 libparted/fs/r/hfs/hfs.c:629
-#, fuzzy
 msgid "shrinking"
-msgstr "Aviso"
+msgstr "encolhendo"
 
 #: libparted/fs/r/hfs/hfs.c:262 libparted/fs/r/hfs/hfs.c:641
 msgid "Data relocation has failed."
-msgstr ""
+msgstr "Realocação de dados falhou."
 
 #: libparted/fs/r/hfs/hfs.c:281
 msgid "Data relocation left some data in the end of the volume."
-msgstr ""
+msgstr "A realocação de dados deixou alguns dados no final do volume."
 
 #: libparted/fs/r/hfs/hfs.c:320
-#, fuzzy
 msgid "writing HFS Master Directory Block"
-msgstr "Erro escrevendo no diretório raiz."
+msgstr "escrevendo bloco de diretório mestre HFS"
 
 #: libparted/fs/r/hfs/hfs.c:468
 msgid "No valid HFS[+X] signature has been found while opening."
-msgstr ""
+msgstr "Nenhuma assinatura HFS[+X] válida foi encontrada ao abrir."
 
 #: libparted/fs/r/hfs/hfs.c:478
 #, c-format
 msgid "Version %d of HFS+ isn't supported."
-msgstr ""
+msgstr "Não há suporte para a versão %d do HFS+."
 
 #: libparted/fs/r/hfs/hfs.c:489
 #, c-format
 msgid "Version %d of HFSX isn't supported."
-msgstr ""
+msgstr "Não há suporte para a versão %d do HFSX."
 
 #: libparted/fs/r/hfs/hfs.c:672
 msgid "Data relocation left some data at the end of the volume."
-msgstr ""
+msgstr "A realocação de dados deixou alguns dados no final do volume."
 
 #: libparted/fs/r/hfs/hfs.c:720
-#, fuzzy
 msgid "Error while writing the allocation file."
-msgstr "Erro escrevendo no diretório raiz."
+msgstr "Erro ao escrever o arquivo de alocação."
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Erro escrevendo no diretório raiz."
+msgstr "Erro ao escrever a parte de compatibilidade do arquivo de alocação."
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
-msgstr ""
+msgstr "escrevendo cabeçalho de volume HFS+"
 
 #: libparted/fs/r/hfs/hfs.c:850
 msgid "An error occurred while looking for the mandatory bad blocks file."
 msgstr ""
+"Ocorreu um erro enquanto era visto o arquivo obrigatório de blocos ruins."
 
 #: libparted/fs/r/hfs/hfs.c:904
 msgid ""
 "It seems there is an error in the HFS wrapper: the bad blocks file doesn't "
 "contain the embedded HFS+ volume."
 msgstr ""
+"Parece que há um erro no empacotador HFS: o arquivo de blocos ruins não "
+"contém um volume HFS+ embutido."
 
 #: libparted/fs/r/hfs/hfs.c:940
 msgid "Sorry, HFS+ cannot be resized that way yet."
-msgstr ""
+msgstr "Desculpe, HFS+ não pode ser redimensionada deste modo ainda."
 
 #: libparted/fs/r/hfs/hfs.c:975
 msgid "shrinking embedded HFS+ volume"
-msgstr ""
+msgstr "encolhendo volume HFS+ embutido"
 
 #: libparted/fs/r/hfs/hfs.c:991
 msgid "Resizing the HFS+ volume has failed."
-msgstr ""
+msgstr "Redimensionamento de volume HFS+ falhou."
 
 #: libparted/fs/r/hfs/hfs.c:998
-#, fuzzy
 msgid "shrinking HFS wrapper"
-msgstr "Aviso"
+msgstr "reduzindo empacotador HFS"
 
 #: libparted/fs/r/hfs/hfs.c:1007
 msgid "Updating the HFS wrapper has failed."
-msgstr ""
+msgstr "Falha na atualização do empacotador HFS."
 
 #: libparted/fs/r/hfs/hfs.c:1109 libparted/fs/r/hfs/hfs.c:1194
 #, c-format
@@ -2089,111 +2160,128 @@ msgid ""
 "This is not a real %s check.  This is going to extract special low level "
 "files for debugging purposes."
 msgstr ""
+"Isto não é uma verificação %s real.  Isto vai extrair arquivos especiais de "
+"baixo nível para propósitos de depuração."
 
 #: libparted/fs/r/hfs/journal.c:154
 msgid "Bad block list header checksum."
-msgstr ""
+msgstr "Soma de verificação do cabeçalho de lista de blocos ruins."
 
 #: libparted/fs/r/hfs/journal.c:167
 #, c-format
 msgid ""
 "Invalid size of a transaction block while replaying the journal (%i bytes)."
 msgstr ""
+"Tamanho inválido de um bloco de transação ao reproduzir o journal (%i bytes)."
 
 #: libparted/fs/r/hfs/journal.c:259
 msgid ""
 "Journal stored outside of the volume are not supported.  Try to desactivate "
 "the journal and run Parted again."
 msgstr ""
+"Journals armazenados fora do volume não são suportados.  Tente desabilitar o "
+"journal e execute o Parted novamente."
 
 #: libparted/fs/r/hfs/journal.c:270
-#, fuzzy
 msgid "Journal offset or size is not multiple of the sector size."
 msgstr ""
-"O cluster inicia em delta = %d, que não é um múltiplo do tamanho de cluster "
-"%d."
+"O deslocamento ou tamanho de Journal não é um múltiplo do tamanho do cluster."
 
 #: libparted/fs/r/hfs/journal.c:291
 msgid "Incorrect magic values in the journal header."
-msgstr ""
+msgstr "Valores mágicos incorretos no cabeçalho journal."
 
 #: libparted/fs/r/hfs/journal.c:301
 msgid "Journal size mismatch between journal info block and journal header."
 msgstr ""
+"Tamanho do Journal não coincide com o bloco de informações e cabeçalho do "
+"journal."
 
 #: libparted/fs/r/hfs/journal.c:313
-#, fuzzy
 msgid "Some header fields are not multiple of the sector size."
-msgstr ""
-"O cluster inicia em delta = %d, que não é um múltiplo do tamanho de cluster "
-"%d."
+msgstr "Alguns campos de cabeçalho não são múltiplos do tamanho do setor."
 
 #: libparted/fs/r/hfs/journal.c:322
 msgid ""
 "The sector size stored in the journal is not 512 bytes.  Parted only "
 "supports 512 bytes length sectors."
 msgstr ""
+"O tamanho de setor armazenado no journal não é 512 bytes.  O Parted suporta "
+"apenas setores com 512 bytes de comprimento."
 
 #: libparted/fs/r/hfs/journal.c:334
 msgid "Bad journal checksum."
-msgstr ""
+msgstr "Soma de verificação de journal ruim."
 
 #: libparted/fs/r/hfs/journal.c:352
 msgid ""
 "The journal is not empty.  Parted must replay the transactions before "
 "opening the file system.  This will modify the file system."
 msgstr ""
+"O jornal não está vazio.  O Parted deve repetir as transações antes de abrir "
+"o sistema de arquivos.  Isto irá modificá-lo."
 
 #: libparted/fs/r/hfs/journal.c:380
 msgid ""
 "The volume header or the master directory block has changed while replaying "
 "the journal.  You should restart Parted."
 msgstr ""
+"O cabeçalho do volume ou o bloco de diretório mestre foi modificado quando "
+"repetindo o journal.  Você deve reiniciar o Parted."
 
 #: libparted/fs/r/hfs/reloc.c:150 libparted/fs/r/hfs/reloc_plus.c:154
 msgid "An extent has not been relocated."
-msgstr ""
+msgstr "Uma extensão não foi realocada."
 
 #: libparted/fs/r/hfs/reloc.c:249 libparted/fs/r/hfs/reloc_plus.c:306
 msgid ""
 "A reference to an extent comes from a place it should not.  You should check "
 "the file system!"
 msgstr ""
+"Uma referência para uma extensão vem de um local indevido.  Você deve "
+"verificar o sistema de arquivos!"
 
 #: libparted/fs/r/hfs/reloc.c:379
 msgid "This HFS volume has no catalog file.  This is very unusual!"
-msgstr ""
+msgstr "Este volume HFS não possui arquivo de catálogo.  Isto é muito incomum!"
 
 #: libparted/fs/r/hfs/reloc.c:473
 msgid "This HFS volume has no extents overflow file.  This is quite unusual!"
 msgstr ""
+"Este volume HFS não possui nenhum arquivo de estouro de extensão.  Isto é "
+"bastante incomum!"
 
 #: libparted/fs/r/hfs/reloc.c:515 libparted/fs/r/hfs/reloc_plus.c:665
 msgid ""
 "The extents overflow file should not contain its own extents!  You should "
 "check the file system."
 msgstr ""
+"O arquivo de estouro de extensões não deve conter suas próprias extensões!  "
+"Você deve verificar o sistema de arquivos."
 
 #: libparted/fs/r/hfs/reloc.c:572 libparted/fs/r/hfs/reloc_plus.c:843
-#, fuzzy
 msgid "Could not cache the file system in memory."
-msgstr "Não foi possível detectar o sistema de arquivos."
+msgstr "Não foi possível armazenar em cache o sistema de arquivos em memória."
 
 #: libparted/fs/r/hfs/reloc.c:633 libparted/fs/r/hfs/reloc_plus.c:904
 msgid "Bad blocks list could not be loaded."
-msgstr ""
+msgstr "A lista de blocos ruins não pôde ser carregada."
 
 #: libparted/fs/r/hfs/reloc.c:647 libparted/fs/r/hfs/reloc_plus.c:920
 msgid "An error occurred during extent relocation."
-msgstr ""
+msgstr "Ocorreu um erro durante a realocação da extensão."
 
 #: libparted/fs/r/hfs/reloc_plus.c:493
 msgid "This HFS+ volume has no catalog file.  This is very unusual!"
 msgstr ""
+"Este volume HFS+ não possui nenhum arquivo de catálogo.  Isto é muito "
+"incomum!"
 
 #: libparted/fs/r/hfs/reloc_plus.c:616
 msgid "This HFS+ volume has no extents overflow file.  This is quite unusual!"
 msgstr ""
+"Este volume HFS+ não possui nenhum arquivo de estouro de extensões.  Isto é "
+"bastante incomum!"
 
 #: parted/parted.c:125
 msgid "displays this help message"
@@ -2201,79 +2289,88 @@ msgstr "mostra esta mensagem de ajuda"
 
 #: parted/parted.c:126
 msgid "lists partition layout on all block devices"
-msgstr ""
+msgstr "lista modelos de partições em todos os dispositivos de bloco"
 
 #: parted/parted.c:127
 msgid "displays machine parseable output"
-msgstr ""
+msgstr "exibe saída analisável por máquina"
 
 #: parted/parted.c:128
 msgid "never prompts for user intervention"
-msgstr "nunca pede intervenção do usuário"
+msgstr "nunca pede intervenção do usuário"
 
 #: parted/parted.c:129
 msgid "displays the version"
-msgstr "mostra a versão"
+msgstr "mostra a versão"
 
 #: parted/parted.c:130
-#, fuzzy
 msgid "alignment for new partitions"
-msgstr "Não posso adicionar outra partição."
+msgstr "alinhamento para novas partições"
 
 #: parted/parted.c:142
-#, fuzzy
 msgid ""
 "NUMBER is the partition number used by Linux.  On MS-DOS disk labels, the "
 "primary partitions number from 1 to 4, logical partitions from 5 onwards.\n"
 msgstr ""
-"MINOR é o número da partição usado pelo linux. Em rótulos de disco msdos, as "
-"partições primárias são de 1-4, e partições lógicas de 5 adiante.\n"
+"NÚMERO é o número da partição usado pelo Linux.  Em rótulos de disco MS-DOS, "
+"as partições primárias são de 1 a 4 e partições lógicas de 5 adiante.\n"
 
 #: parted/parted.c:145
 msgid "LABEL-TYPE is one of: "
-msgstr "TIPO_ROTULO é um de:"
+msgstr "TIPO_RÓTULO é um de:"
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
-msgstr "FLAG é um de: "
+msgstr "OPÇÃO é um de: "
 
-#: parted/parted.c:147
-#, fuzzy
+#: parted/parted.c:148
 msgid "UNIT is one of: "
-msgstr "FLAG é um de: "
+msgstr "UNIDADE é um de: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
-msgstr ""
+msgstr "alinhamento desejado: mínimo ou ideal"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
-msgstr "TIPO-PART é um de: primary, logical, extended\n"
+msgstr "TIPO-PART é uma: primária, lógica, estendida\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
-msgstr "TIPO-FS é um de: "
+msgstr "SISTARQ é um de: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
+"INÍCIO E FIM são localizações de disco, assim como 4GB ou 10%.  Valores "
+"negativos contam a partir do final do disco.  Por exemplo, -1s especifica "
+"exatamente o último setor.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"FIM é localização de disco, assim como 4GB ou 10%.  Valores negativos contam "
+"a partir do final do disco.  Por exemplo, -1s especifica exatamente o último "
+"setor.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
-msgstr "ESTADO é um de: on, off\n"
+msgstr "ESTADO é um de: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
-msgstr "DISPOSITIVO é usualmente /dev/hda ou /dev/sda\n"
+msgstr "DISPOSITIVO é usualmente /dev/hda ou /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
-msgstr "NAME é qualquer palavra que desejar\n"
+msgstr "NOME é qualquer palavra que desejar\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2284,430 +2381,482 @@ msgid ""
 "GNU General Public License for more details.\n"
 "\n"
 msgstr ""
+"Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
+"Este programa é um software livre, coberto pela Licença Pública Geral GNU.\n"
+"\n"
+"Este programa é distribuído na expectativa de que seja útil,\n"
+"mas SEM NENHUMA GARANTIA; sem mesmo implicar garantias de\n"
+"COMERCIALIZAÇÃO ou ADEQUAÇÃO A UM FIM ESPECÍFICO. Veja a\n"
+"Licença Pública Geral GNU (GPL) para mais detalhes.\n"
+"\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
-msgstr ""
+msgstr "%0.f%%\t(tempo restante %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "A partição %s está em uso. Você tem certeza que deseja continuar?"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
-msgstr "Partição(ões) em %s está(ão) sendo utilizada(s)."
+msgstr "Partição(ões) em %s está(ão) sendo utilizada(s)."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
+"O rótulo de disco existente em %s será destruído e todos os dados neste "
+"disco serão perdidos. Você deseja continuar?"
 
-#: parted/parted.c:497
-#, fuzzy
+#: parted/parted.c:524
 msgid "New disk label type?"
-msgstr "Tipo de rótulo de disco: %s\n"
+msgstr "Novo tipo de rótulo de disco?"
 
-#: parted/parted.c:629
-#, fuzzy
+#: parted/parted.c:661
 msgid "Partition type?"
-msgstr "A partição não existe."
+msgstr "Tipo da partição?"
 
-#: parted/parted.c:647 parted/parted.c:841
-#, fuzzy
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
-msgstr "A partição não existe."
+msgstr "Nome da partição?"
 
-#: parted/parted.c:655
-#, fuzzy
+#: parted/parted.c:687
 msgid "File system type?"
-msgstr "Sistema de arquivos  "
+msgstr "Tipo do sistema de arquivos?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
-msgstr ""
+msgstr "Iniciar?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
-msgstr ""
+msgstr "Terminar?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Você comandou a criação de uma partição em %.3f-%.3fMb. O mais perto que o "
-"Parted pode chegar é %.3f-%.3fMb."
+"Você solicitou uma partição de %s até %s (setores %llu..%llu).\n"
+"A localização mais próxima que podemos gerenciar é de %s até %s (setores "
+"%llu..%llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
+"\n"
+"Isto é ainda aceitável para você?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
+"A partição resultante não é propriamente alinhada para melhor performance."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
-#, fuzzy
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
-msgstr "A partição está sendo utilizada."
+msgstr "Número da partição?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
+"cilindro pela BIOS,cabeça,geometria do setor: %d,%d,%d.  Cada cilindro é "
+"%s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
-msgstr ""
+msgstr "Modelo: %s (%s)\n"
 
-#: parted/parted.c:978
-#, fuzzy, c-format
+#: parted/parted.c:1003
+#, c-format
 msgid "Disk %s: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Disco %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
-msgstr ""
+msgstr "Tamanho do setor (lógico/físico): %lldB/%lldB\n"
 
-#: parted/parted.c:991
-#, fuzzy, c-format
+#: parted/parted.c:1016
+#, c-format
 msgid "Partition Table: %s\n"
-msgstr "Tabela de partições inválida em %s"
+msgstr "Tabela de partições: %s\n"
 
-#: parted/parted.c:992
-#, fuzzy, c-format
+#: parted/parted.c:1017
+#, c-format
 msgid "Disk Flags: %s\n"
-msgstr "%s  %s  %s"
+msgstr "Opções de disco: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
-msgstr ""
+msgstr "Número"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
-msgstr ""
+msgstr "Início"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
-msgstr ""
+msgstr "Fim"
 
-#: parted/parted.c:1119
-#, fuzzy
+#: parted/parted.c:1143
 msgid "Size"
-msgstr "resize"
+msgstr "Tamanho"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
-msgstr ""
+msgstr "Tipo"
 
-#: parted/parted.c:1125
-#, fuzzy
+#: parted/parted.c:1149
 msgid "File system"
-msgstr "Sistema de arquivos  "
+msgstr "Sistema de arquivos"
 
-#: parted/parted.c:1128
-#, fuzzy
+#: parted/parted.c:1152
 msgid "Name"
-msgstr "name"
+msgstr "Nome"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
-msgstr "Sinalizador"
+msgstr "Opções"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
-msgstr ""
+msgstr "Espaço livre"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
 msgstr ""
+"Uma partição %s %s foi encontrada em %s -> %s.  Você deseja adicioná-la a "
+"tabela de partições?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
+msgstr "pesquisando por sistemas de arquivo"
+
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "O comando resize foi removido no parted 3.0"
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
 msgstr ""
+"Reduzir uma partição pode causar perda de dados, você tem certeza que deseja "
+"continuar?"
 
-#: parted/parted.c:1515
-#, fuzzy
+#: parted/parted.c:1609
 msgid "New device?"
-msgstr "Nenhum dispositivo encontrado"
+msgstr "Novo dispositivo?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
-msgstr ""
+msgstr "tipo de alinhamento(min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
-msgstr ""
+msgstr "%d alinhado(s)\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
-msgstr ""
+msgstr "%d não alinhado(s)\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
-msgstr ""
+msgstr "Opção para inverter?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
-msgstr ""
+msgstr "Novo estado?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
-msgstr ""
+msgstr "Unidade?"
 
-#: parted/parted.c:1807
-#, fuzzy
+#: parted/parted.c:1913
 msgid "align-check"
-msgstr "check"
+msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
+"align-check TIPO N                        verifica a partição N para "
+"alinhamento de TIPO(mínimo|ideal)"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
-#, fuzzy
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
-msgstr "help [COMANDO]                mostra ajuda geral, ou ajuda a COMANDO"
+msgstr ""
+"help [COMANDO]                            exibe a ajuda geral, ou ajuda para "
+"o COMANDO"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
-#, fuzzy
+#: parted/parted.c:1933
 msgid "mktable"
-msgstr "mklabel"
+msgstr "mktable"
 
-#: parted/parted.c:1830
-#, fuzzy
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
-"mklabel TIPO-ROTULO           cria um novo rótulo (na tabela de partição)"
+"mklabel,mktable TIPO-RÓTULO               cria um novo rótulo de disco (na "
+"tabela de partição)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
-#, fuzzy
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
-msgstr "mkpart TIPO-PART [FS-TYPE] INICIO FIM     cria uma partição"
+msgstr "mkpart TIPO-PART [TIPO-SISTARQ] INÍCIO FIM     cria uma partição"
 
-#: parted/parted.c:1845
-#, fuzzy
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
 msgstr ""
-"mkpart cria uma partição sem criar um novo sistema de arquivos na partição. "
-"TIPO-FS deve ser especificado para partições de dados (ao oposto de uma "
-"partição extendida). Este comando é útil se você apagou acidentalmente uma "
-"partição.\n"
+"mkpart cria uma partição sem criar um novo sistema de arquivos na partição. "
+"TIPO-SISTARQ deve ser especificado para partições de dados (ao oposto de uma "
+"partição estendida). Este comando é útil se você apagou acidentalmente uma "
+"partição.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
-#, fuzzy
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
-msgstr "name MINOR NAME               renomeia a partição MINOR para NAME"
+msgstr ""
+"name NÚMERO NOME                          renomeia a partição NÚMERO para "
+"NOME"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
+"print [devices|free|list,all|NÚMERO]      exibe a tabela de partições, "
+"dispositivos disponíveis, espaço livre, todas as partições encontradas ou "
+"uma partição específica"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
+"Sem argumentos, \"print\" exibe a tabela de partições inteira. Entretanto, "
+"com os argumentos a seguir, ele executa várias outras ações.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
-msgstr ""
+msgstr "  devices   : exibe todos os dispositivos de bloco ativos\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
+"  free      : exibe informações sobre espaço livre não particionado no "
+"dispositivo de bloco atual\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
+"  list, all : exibe as tabelas de partições de todos os dispositivos de "
+"bloco ativos\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
+"  NÚMERO    : exibe informações mais detalhadas sobre esta partição "
+"específica\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
-#, fuzzy
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
-msgstr "quit                          sair do programa"
+msgstr "quit                                     sai do programa"
 
-#: parted/parted.c:1885
-#, fuzzy
+#: parted/parted.c:1991
 msgid "rescue"
-msgstr "resize"
+msgstr "rescue"
 
-#: parted/parted.c:1888
-#, fuzzy
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
-msgstr "print                         mostra a tabela de partições"
+msgstr ""
+"rescue INÍCIO FIM                        recupera uma partição perdida "
+"próxima do INÍCIO e FIM"
+
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "O comando resize foi removido no parted 3.0\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "resizepart"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr ""
+"resizepart NÚMERO FIM                    redimensiona a partição NÚMERO"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
-#, fuzzy
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
-msgstr "rm MINOR                      apaga a partição MINOR"
+msgstr "rm NÚMERO                                apaga a partição NÚMERO"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
-#, fuzzy
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
-msgstr "select DEVICE                 seleciona o dispositivo a editar"
+msgstr ""
+"select DISPOSITIVO                       escolhe o dispositivo para editar"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
-msgstr ""
+msgstr "disk_set"
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set MINOR FLAG ESTADO         muda o sinalizador na partição MINOR"
+msgstr ""
+"disk_set OPÇÃO ESTADO                    muda o estado de OPÇÃO no "
+"dispositivo selecionado"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
-msgstr ""
+msgstr "disk_toggle"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
+"disk_toggle [OPÇÃO]                      alterna o estado de OPÇÃO no "
+"dispositivo selecionado"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
-#, fuzzy
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
-msgstr "set MINOR FLAG ESTADO         muda o sinalizador na partição MINOR"
+msgstr ""
+"set NÚMERO OPÇÃO ESTADO                  muda a OPÇÃO na partição NÚMERO"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
-msgstr ""
+msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
+"toggle [NÚMERO [OPÇÃO]]                  alterna o estado de OPÇÃO no NÚMERO "
+"da partição"
 
-#: parted/parted.c:1945
-#, fuzzy
+#: parted/parted.c:2065
 msgid "unit"
-msgstr "quit"
+msgstr "unit"
 
-#: parted/parted.c:1948
-#, fuzzy
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
-msgstr "print                         mostra a tabela de partições"
+msgstr ""
+"unit UNIDADE                             define como unidade padrão UNIDADE"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
-msgstr ""
+msgstr "version"
 
-#: parted/parted.c:1956
-#, fuzzy
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
-msgstr "print                         mostra a tabela de partições"
+msgstr ""
+"version                                  exibe o número da versão e "
+"informações de direitos autorais do GNU Parted"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
+"'version' exibe informações de versão e direitos autorais correspondentes a "
+"esta cópia do GNU Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
+"Uso: %s [-hlmsv] [-a<alinhamento>] [DISPOSITIVO [COMANDO [PARÂMETROS]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Nenhum dispositivo encontrado"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
-msgstr ""
+msgstr "ATENÇÃO: Você não é super usuário.  Tome cuidado com permissões.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
-msgstr ""
+msgstr "Você pode precisar atualizar /etc/fstab.\n"
 
 #: parted/ui.c:162
 msgid "Welcome to GNU Parted! Type 'help' to view a list of commands.\n"
 msgstr ""
+"Bem vindo ao GNU Parted! Digite 'help' para ver uma lista de comandos.\n"
 
 #: parted/ui.c:165
-#, fuzzy
 msgid ""
 "Usage: parted [OPTION]... [DEVICE [COMMAND [PARAMETERS]...]...]\n"
 "Apply COMMANDs with PARAMETERS to DEVICE.  If no COMMAND(s) are given, run "
@@ -2715,8 +2864,8 @@ msgid ""
 "interactive mode.\n"
 msgstr ""
 "Uso: parted [OPCOES]... [DISPOSITIVO [COMANDO [PARAMETROS]...]...]\n"
-"Aplica COMANDO com PARAMETROS em DISPOSITIVO. Se não for dado nenhum\n"
-"COMANDO, executa em modo interativo.\n"
+"Aplica COMANDOs com PARÂMETROS para DISPOSITIVO. Se nenhum COMANDO(s) forem\n"
+"informados, executa-se em modo interativo.\n"
 
 #: parted/ui.c:170
 #, c-format
@@ -2751,483 +2900,318 @@ msgid ""
 "Also include any additional information about your setup you\n"
 "consider important.\n"
 msgstr ""
+"\n"
+"\n"
+"Você encontrou um problema no GNU Parted! Eis o que deve fazer:\n"
+"\n"
+"Não entre em pânico! O erro provavelmente não afetou nenhum de seus dados.\n"
+"Ajude-nos a consertar este problema fazendo o seguinte:\n"
+"\n"
+"Confira se o problema já foi resolvido verificando\n"
+"a última versão do GNU Parted disponível em:\n"
+"\n"
+"\thttp://ftp.gnu.org/gnu/parted/\n"
+"\n"
+"Por favor, confira essa versão antes de relatar seu problema.\n"
+"\n"
+"Se ele ainda não tiver sido resolvido, ou se não sabe como verificá-lo,\n"
+"por favor visite a página do GNU Parted:\n"
+"\n"
+"\thttp://www.gnu.org/software/parted\n"
+"\n"
+"para maiores informações.\n"
+"\n"
+"Seu relatório deve conter a versão deste lançamento, Parted (%s),\n"
+"a mensagem de erro abaixo, a saída do comando\n"
+"\n"
+"\tparted DISPOSITIVO unit co print unit s print\n"
+"\n"
+"e o histórico de comandos que você digitou.\n"
+"Isto também inclui quaisquer informações adicionais sobre seu sistema\n"
+"que você considerar relevantes.\n"
 
 #: parted/ui.c:291
 msgid ""
 "\n"
 "Command History:\n"
 msgstr ""
+"\n"
+"Histórico de comandos:\n"
 
 #: parted/ui.c:354
 msgid ""
 "\n"
 "Error: SEGV_MAPERR (Address not mapped to object)\n"
 msgstr ""
+"\n"
+"Erro: SEGV_MAPERR (Endereço não mapeado ao objeto)\n"
 
 #: parted/ui.c:360
 msgid ""
 "\n"
 "Error: SEGV_ACCERR (Invalid permissions for mapped object)\n"
 msgstr ""
+"\n"
+"Erro: SEGV_ACCERR (Permissões inválidas para o objeto mapeado)\n"
 
 #: parted/ui.c:365
 msgid ""
 "\n"
 "Error: A general SIGSEGV signal was encountered.\n"
 msgstr ""
+"\n"
+"Erro: Um sinal geral SIGSEGV foi encontrado.\n"
 
 #: parted/ui.c:389
 msgid ""
 "\n"
 "Error: FPE_INTDIV (Integer: divide by zero)"
 msgstr ""
+"\n"
+"Error: FPE_INTDIV (Inteiro: divisão por zero)"
 
 #: parted/ui.c:394
 msgid ""
 "\n"
 "Error: FPE_INTOVF (Integer: overflow)"
 msgstr ""
+"\n"
+"Erro: FPE_INTOVF (Inteiro: estouro)"
 
 #: parted/ui.c:399
 msgid ""
 "\n"
 "Error: FPE_FLTDIV (Float: divide by zero)"
 msgstr ""
+"\n"
+"Erro: FPE_FLTDIV (Real: divisão por zero)"
 
 #: parted/ui.c:404
 msgid ""
 "\n"
 "Error: FPE_FLTOVF (Float: overflow)"
 msgstr ""
+"\n"
+"Erro: FPE_FLTOVF (Real: estouro)"
 
 #: parted/ui.c:409
 msgid ""
 "\n"
 "Error: FPE_FLTUND (Float: underflow)"
 msgstr ""
+"\n"
+"Erro: FPE_FLTUND (Real: estouro negativo)"
 
 #: parted/ui.c:414
 msgid ""
 "\n"
 "Error: FPE_FLTRES (Float: inexact result)"
 msgstr ""
+"\n"
+"Erro: FPE_FLTRES (Real: resultado não exato)"
 
 #: parted/ui.c:419
 msgid ""
 "\n"
 "Error: FPE_FLTINV (Float: invalid operation)"
 msgstr ""
+"\n"
+"Erro: FPE_FLTINV (Real: operação inválida)"
 
 #: parted/ui.c:424
 msgid ""
 "\n"
 "Error: FPE_FLTSUB (Float: subscript out of range)"
 msgstr ""
+"\n"
+"Erro: FPE_FLTSUB (Real: subscrito fora de alcance)"
 
 #: parted/ui.c:429
 msgid ""
 "\n"
 "Error: A general SIGFPE signal was encountered."
 msgstr ""
+"\n"
+"Erro: Um sinal geral SIGFPE foi encontrado."
 
 #: parted/ui.c:453
 msgid ""
 "\n"
 "Error: ILL_ILLOPC (Illegal Opcode)"
 msgstr ""
+"\n"
+"Erro: ILL_ILLOPC (Código de operação privilegiado)"
 
 #: parted/ui.c:458
 msgid ""
 "\n"
 "Error: ILL_ILLOPN (Illegal Operand)"
 msgstr ""
+"\n"
+"Erro: ILL_ILLOPN (Operando ilegal)"
 
 #: parted/ui.c:463
 msgid ""
 "\n"
 "Error: ILL_ILLADR (Illegal addressing mode)"
 msgstr ""
+"\n"
+"Erro: ILL_ILLADR (Modo de endereçamento ilegal)"
 
 #: parted/ui.c:468
 msgid ""
 "\n"
 "Error: ILL_ILLTRP (Illegal Trap)"
 msgstr ""
+"\n"
+"Erro: ILL_ILLTRP (Interupção ilegal)"
 
 #: parted/ui.c:473
 msgid ""
 "\n"
 "Error: ILL_PRVOPC (Privileged Opcode)"
 msgstr ""
+"\n"
+"Erro: ILL_PRVOPC (Código de operação privilegiado)"
 
 #: parted/ui.c:478
 msgid ""
 "\n"
 "Error: ILL_PRVREG (Privileged Register)"
 msgstr ""
+"\n"
+"Erro: ILL_PRVREG (Registrador privilegiado)"
 
 #: parted/ui.c:483
 msgid ""
 "\n"
 "Error: ILL_COPROC (Coprocessor Error)"
 msgstr ""
+"\n"
+"Erro: ILL_COPROC (Erro do coprocessador)"
 
 #: parted/ui.c:488
 msgid ""
 "\n"
 "Error: ILL_BADSTK (Internal Stack Error)"
 msgstr ""
+"\n"
+"Erro: ILL_BADSTK (Erro interno da pilha)"
 
 #: parted/ui.c:493
 msgid ""
 "\n"
 "Error: A general SIGILL signal was encountered."
 msgstr ""
+"\n"
+"Erro: Um sinal geral SIGILL foi encontrado."
 
-#: parted/ui.c:891
-#, fuzzy, c-format
+#: parted/ui.c:883
+#, c-format
 msgid "invalid token: %s"
-msgstr "Tabela de partições inválida em %s"
+msgstr "token inválido: %s"
 
-#: parted/ui.c:1051
-#, fuzzy
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
-msgstr "A partição destino está sendo utilizada."
+msgstr "Espera-se um número de partição."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
-msgstr "A partição não existe."
+msgstr "A partição não existe."
 
-#: parted/ui.c:1080
-#, fuzzy
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
-msgstr "Tipo de sistema de arquivos desconhecido."
+msgstr "Espera-se um tipo de sistema de arquivos."
 
-#: parted/ui.c:1087
-#, fuzzy, c-format
+#: parted/ui.c:1083
+#, c-format
 msgid "Unknown file system type \"%s\"."
-msgstr "Tipo de sistema de arquivos desconhecido."
+msgstr "Tipo de sistema de arquivos \"%s\" desconhecido."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
-msgstr ""
+msgstr "Espera-se um tipo de rótulo de disco."
 
-#: parted/ui.c:1235
-#, fuzzy
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
-msgstr "Não posso adicionar outra partição."
+msgstr "Não é possível criar mais nenhuma partição."
 
-#: parted/ui.c:1245
-#, fuzzy
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
-msgstr "A partição destino não existe."
+msgstr "Espera-se um tipo de partição."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
-msgstr "on"
+msgstr "ligado"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
-msgstr ""
+msgstr "desligado"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
-msgstr ""
+msgstr "ideal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
-msgstr ""
+msgstr "mínimo"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
-msgstr "OPÇÕESs:"
+msgstr "OPÇÕEs:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "COMANDOs:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
+"\n"
+"Informe erros para %s\n"
 
-#: parted/ui.c:1560
-#, fuzzy, c-format
+#: parted/ui.c:1556
+#, c-format
 msgid "Using %s\n"
-msgstr ""
-"\n"
-"Usando %s\n"
+msgstr "Usando %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
-msgstr ""
-
-#, fuzzy
-#~ msgid "too few arguments"
-#~ msgstr "Muitas páginas inválidas."
-
-#, fuzzy
-#~ msgid "too many arguments"
-#~ msgstr "Muitas páginas inválidas."
-
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "Tabela de partições inválida em %s"
-
-#~ msgid "Support for opening %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "O suporte para abrir sistema de arquivos %s não foi implementado ainda."
-
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr ""
-#~ "O suporte para criar sistema de arquivos %s não foi implementado ainda."
-
-#~ msgid "Support for checking %s file systems is not implemented yet."
-#~ msgstr "Suporte para checar sistema de arquivos não implementado para %s."
+msgstr "Este comando não faz sentido em modo não interativo.\n"
 
-#, fuzzy
-#~ msgid "growing file system"
-#~ msgstr "Tipo de sistema de arquivos desconhecido."
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Ocorreu falha ao adicionar partição %d (%s)"
 
-#~ msgid "Can't copy onto an overlapping partition."
-#~ msgstr "Não posso copiar em uma partição sobreposta."
-
-#, fuzzy
 #~ msgid ""
-#~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
-#~ "can be copied if the new partition is at least as big as the old one.  "
-#~ "So, either shrink the partition you are trying to copy, or copy to a "
-#~ "bigger partition."
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
 #~ msgstr ""
-#~ "O suporte direto para cópia de sistemas de arquivos não está implementado "
-#~ "para %s. Entretanto, o suporte para redimensionamento está. Portanto, o "
-#~ "sistema de arquivos pode ser copiado se a nova partição for pelo menos "
-#~ "tão grande quanto a antiga. Então, diminua a partição que você está "
-#~ "tentando copiar, ou copie para uma partição maior."
-
-#~ msgid "Support for copying %s file systems is not implemented yet."
-#~ msgstr "Suporte para copiar sistema de arquivos não implementado para %s."
-
-#, fuzzy
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr "Sistema de arquivos tem uma assinatura inválida para um FAT."
-
-#, fuzzy
-#~ msgid "checking"
-#~ msgstr "check"
+#~ "A tabela de partições em %s (%s) não pode ser lida novamente pelo "
+#~ "parted.  Isto significa que o Linux não sabe nada sobre as modificações "
+#~ "que você fez."
 
-#, fuzzy
 #~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
 #~ msgstr ""
-#~ "O sistema de arquivos ext2 passou pelo teste básico. Para um teste mais "
-#~ "compreensivo, utilize o programa e2fsck."
-
-#, fuzzy
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr "Desculpe, não posso mover o início de partições ext2 ainda!"
-
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "Aviso"
-
-#~ msgid "Inconsistent group descriptors!"
-#~ msgstr "Descritores de grupo inconsistentes!"
-
-#, fuzzy
-#~ msgid "File system full!"
-#~ msgstr "Sistema de arquivos cheio!"
-
-#, fuzzy
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
-#~ msgstr "Superbloco inválido. Você tem certeza que isto é um sistema ext2?"
-
-#, fuzzy
-#~ msgid "File system has errors!  You should run e2fsck."
-#~ msgstr "Sistema de arquivos tem erros! Execute e2fsck primeiro."
-
-#, fuzzy
-#~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
-#~ msgstr ""
-#~ "Sistema de arquivos não foi desmontado corretamente! Execute e2fsck "
-#~ "primeiro."
-
-#~ msgid "Error allocating buffer cache."
-#~ msgstr "Erro determinando o cache temporário."
-
-#, fuzzy
-#~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Encontrado um inode com uma contagem incorreta de ligações. Melhor "
-#~ "executar o e2fsck primeiro."
-
-#~ msgid "Not enough free inodes!"
-#~ msgstr "Não há inodes livres suficientes!"
-
-#, fuzzy
-#~ msgid "File system is too full to remove a group!"
-#~ msgstr "Sistema de arquivos muito ocupado para remover um grupo!"
-
-#, fuzzy
-#~ msgid "File system has too many allocated inodes to remove a group!"
-#~ msgstr ""
-#~ "Sistema de arquivos tem muitos inodes utilizados para remover um grupo!"
-
-#, fuzzy
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
-#~ msgstr ""
-#~ "Seu sistema de arquivos está muito ocupado para redimensioná-lo para %i "
-#~ "blocos. Desculpe."
-
-#, fuzzy
-#~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
-#~ "Sorry."
-#~ msgstr ""
-#~ "Seu sistema de arquivos está com muitos inodes ocupados para redimensioná-"
-#~ "lo para %i blocos. Desculpe."
-
-#, fuzzy
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
-#~ msgstr ""
-#~ "Sistema de arquivos não foi desmontado corretamente! Execute e2fsck "
-#~ "primeiro."
-
-#, fuzzy
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Encontrados blocos com referência cruzada! Melhor executar e2fsck "
-#~ "primeiro."
-
-#, fuzzy
-#~ msgid "Block %i has no reference?  Weird."
-#~ msgstr "Bloco %i não tem referência? Estranho"
-
-#, fuzzy
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
-#~ msgstr "Bloco %i não deveria ter sido marcado!"
-
-#, fuzzy
-#~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
-#~ "check, use the e2fsck program."
-#~ msgstr ""
-#~ "O sistema de arquivos ext2 passou pelo teste básico. Para um teste mais "
-#~ "compreensivo, utilize o programa e2fsck."
-
-#~ msgid "Sorry, can't move the start of ext2 partitions yet!"
-#~ msgstr "Desculpe, não posso mover o início de partições ext2 ainda!"
-
-#~ msgid "Couldn't flush buffer cache!"
-#~ msgstr "Não foi possível esvaziar cache temporário!"
-
-#, fuzzy
-#~ msgid "File system too small for ext2."
-#~ msgstr "Sistema de arquivos muito ocupado para remover um grupo!"
-
-#~ msgid "Too many bad pages."
-#~ msgstr "Muitas páginas inválidas."
-
-#, fuzzy
-#~ msgid "Source partition number?"
-#~ msgstr "A partição origem não existe."
-
-#, fuzzy
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "Não posso copiar partições extendidas."
-
-#, fuzzy
-#~ msgid "Destination partition number?"
-#~ msgstr "A partição destino está sendo utilizada."
-
-#, fuzzy
-#~ msgid "Can't move an extended partition."
-#~ msgstr "Não posso mover partições extendidas."
-
-#~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
-#~ msgstr ""
-#~ "Não posso mover a partição sobre ela mesma. Talvez queira redimensionar?"
-
-#, fuzzy
-#~ msgid "Flags: %s\n"
-#~ msgstr "Sinalizador"
-
-#, fuzzy
-#~ msgid "File System: %s\n"
-#~ msgstr "Sistema de arquivos  "
-
-#~ msgid "check"
-#~ msgstr "check"
-
-#, fuzzy
-#~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
-#~ msgstr ""
-#~ "check MINOR                   faz um teste simples no sistema de arquivos"
-
-#~ msgid "cp"
-#~ msgstr "cp"
-
-#, fuzzy
-#~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
-#~ "partition"
-#~ msgstr ""
-#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copia o sistema de arquivos "
-#~ "para outra partição"
-
-#~ msgid "mkfs"
-#~ msgstr "mkfs"
-
-#, fuzzy
-#~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
-#~ msgstr ""
-#~ "mkfs MINOR TIPO-FS            cria um sistema TIPO-FS na partição MINOR"
-
-#~ msgid "mkpartfs"
-#~ msgstr "mkpartfs"
-
-#, fuzzy
-#~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
-#~ msgstr "mkpartfs TIPO-PART TIPO-FS INICIO FIM     cria uma partição TIPO-FS"
-
-#~ msgid "move"
-#~ msgstr "move"
-
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move MINOR INICIO [FIM]         move a partição MINOR"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr "resize MINOR INICIO FIM       redimensiona a partição MINOR"
-
-#, fuzzy
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Impossível determinar tamanho de %s (%s)"
+#~ "%s contêm assinaturas GPT, indicando que isto possui uma tabela GPT. "
+#~ "Entretando, ele não tem uma tabela de partição falsa do msdos válida, "
+#~ "como deveria. Talvez tenha sido corrompido -- possivelmente por um "
+#~ "programa que não compreende tabelas de partição GPT.  Ou talvez você "
+#~ "excluiu a tabela GPT, e agora está usando uma tabela de partição msdos.  "
+#~ "Isto é uma tabela de partição GPT?"
 
 #~ msgid ""
 #~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
 #~ "with drives with sector sizes other than 512 bytes"
 #~ msgstr ""
-#~ "O tamanho do setor em %s é %d bytes. O Parted é conhecido por não "
+#~ "O tamanho do setor em %s é %d bytes. O Parted é conhecido por não "
 #~ "funcionar perfeitamente com discos com setores diferentes de 512 bytes"
 
 #~ msgid "Device %s has dodgey geometry."
@@ -3240,7 +3224,7 @@ msgstr ""
 #~ msgstr "SCSI desconhecido"
 
 #~ msgid "Device %s is neither a SCSI nor IDE drive."
-#~ msgstr "O dispositivo %s não é um drive SCSI ou IDE."
+#~ msgstr "O dispositivo %s não é um drive SCSI ou IDE."
 
 #~ msgid ""
 #~ "The partition table on %s is inconsistent.  There are many reasons why "
@@ -3253,13 +3237,13 @@ msgstr ""
 #~ "geometry is correct, you may select Ignore to continue (and fix Linux "
 #~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
 #~ msgstr ""
-#~ "A tabela de partições em %s é inconsistente. Há várias razões para isto "
+#~ "A tabela de partições em %s é inconsistente. Há várias razões para isto "
 #~ "ocorrer. A mais certa seria o Linux detectar a geometria do BIOS para %s "
 #~ "incorretamente. O GNU Parted suspeita que a geometria real deveria ser %d/"
-#~ "%d/%d (e não %d/%d/%d). Você deve checar com seu BIOS primeiro, pois isto "
-#~ "pode não ser correto. Você pode informar o Linux adicionando o parâmetro "
-#~ "%s=%d,%d,%d na linha de comando. Veja a documentação do LILO ou GRUB para "
-#~ "maiores informações. Se você acha que a geometria sugeria pelo Parted é a "
+#~ "%d/%d (e não %d/%d/%d). Você deve checar com seu BIOS primeiro, pois isto "
+#~ "pode não ser correto. Você pode informar o Linux adicionando o parâmetro "
+#~ "%s=%d,%d,%d na linha de comando. Veja a documentação do LILO ou GRUB para "
+#~ "maiores informações. Se você acha que a geometria sugeria pelo Parted é a "
 #~ "correta, pode selecionar Ignorar para continuar (e arrumar o Linux "
 #~ "depois). De outra maneira, selecione Cancelar (e arrume o Linux e/ou o "
 #~ "BIOS agora)."
@@ -3272,11 +3256,11 @@ msgstr ""
 #~ "with some boot loaders, and may cause problems with FAT file systems.  "
 #~ "Using LBA is recommended."
 #~ msgstr ""
-#~ "A tabela de partições em %s está inconsistente. Há várias razões para "
+#~ "A tabela de partições em %s está inconsistente. Há várias razões para "
 #~ "isto ocorrer. Muitas vezes, o Linux detecta a geometria do BIOS "
-#~ "incorretamente. Porém, isso não parece ser o caso aqui. É seguro ignorar, "
-#~ "mas isso pode causar problemas (solucionáveis) com alguns gerenciadores "
-#~ "de boot. É recomendável usar LBA."
+#~ "incorretamente. Porém, isso não parece ser o caso aqui. É seguro ignorar, "
+#~ "mas isso pode causar problemas (solucionáveis) com alguns gerenciadores "
+#~ "de boot. É recomendável usar LBA."
 
 #~ msgid ""
 #~ "Unable to align partition properly.  This probably means that another "
@@ -3284,24 +3268,24 @@ msgstr ""
 #~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
 #~ "may cause (fixable) problems with some boot loaders."
 #~ msgstr ""
-#~ "Impossível alinhar a partição propriamente. Isso provavelmente significa "
-#~ "que outra ferramenta de particionamento gerou uma tabela de partições "
-#~ "incorreta porque não tinha a geometria na BIOS correta. É seguro ignorar, "
-#~ "mas isto pode causar problemas (solucionáveis) com alguns gerenciadores "
+#~ "Impossível alinhar a partição propriamente. Isso provavelmente significa "
+#~ "que outra ferramenta de particionamento gerou uma tabela de partições "
+#~ "incorreta porque não tinha a geometria na BIOS correta. É seguro ignorar, "
+#~ "mas isto pode causar problemas (solucionáveis) com alguns gerenciadores "
 #~ "de boot."
 
 #~ msgid "GUID Partition Table Header Signature is wrong: "
-#~ msgstr "A Assinatura do Cabeçalho da Tabela de Partições GUID está errada: "
+#~ msgstr "A Assinatura do Cabeçalho da Tabela de Partições GUID está errada: "
 
 #~ msgid " should be "
 #~ msgstr " deveria ser "
 
 #~ msgid "GPT Header CRC check failed, %x should be %x."
-#~ msgstr "Checagem de CRC no cabeçalho GPT falhou, %x deveria ser %x."
+#~ msgstr "Checagem de CRC no cabeçalho GPT falhou, %x deveria ser %x."
 
 #~ msgid "GPT Partition Entry Array CRC check failed, %x should be %x."
 #~ msgstr ""
-#~ "Checagem de CRC na Matriz de Entradas de Partição GPT falhou, %x deveria "
+#~ "Checagem de CRC na Matriz de Entradas de Partição GPT falhou, %x deveria "
 #~ "ser %x."
 
 #~ msgid ""
@@ -3315,14 +3299,14 @@ msgstr ""
 #~ "No will assume that the MBR is correct, and erase the GPT information.\n"
 #~ "Ignore will assume that the MBR is correct, but not change the disk."
 #~ msgstr ""
-#~ "Esse disco contém as Tabelas de Partições GUID primária e alternativa "
-#~ "corretas, mas a Protective MBR é inválida. Isso geralmente significa que "
-#~ "o disco tinha partições GPT, mas um programa padrão de particionamento "
-#~ "foi usado para mudar a tabela de partições gravada na MBR.\n"
-#~ "Quais dados são válidos, GPT ou MBR?\n"
-#~ "Sim: assume que a informação na GPT é a correta, e reescreve a PMBR.\n"
-#~ "Não: assume que a MBR é a correta, e apaga as informações na GPT.\n"
-#~ "Ignorar: assume que a MBR é correta, mas não altera o disco."
+#~ "Esse disco contém as Tabelas de Partições GUID primária e alternativa "
+#~ "corretas, mas a Protective MBR é inválida. Isso geralmente significa que "
+#~ "o disco tinha partições GPT, mas um programa padrão de particionamento "
+#~ "foi usado para mudar a tabela de partições gravada na MBR.\n"
+#~ "Quais dados são válidos, GPT ou MBR?\n"
+#~ "Sim: assume que a informação na GPT é a correta, e reescreve a PMBR.\n"
+#~ "Não: assume que a MBR é a correta, e apaga as informações na GPT.\n"
+#~ "Ignorar: assume que a MBR é correta, mas não altera o disco."
 
 #~ msgid ""
 #~ "This disk contains a valid Alternate GUID Partition Table but the Primary "
@@ -3335,16 +3319,16 @@ msgstr ""
 #~ "No will assume that the MBR is correct, and erase the GPT information.\n"
 #~ "Ignore will assume that the MBR is correct, but not change the disk."
 #~ msgstr ""
-#~ "Esse disco contém uma Tabela de Partição GUID alternativa correta, mas a "
-#~ "GPT primária e a Protective MBR são inválidas. Isso geralmente significa "
-#~ "que o disco tinha partições GPT, mas um programa padrão de "
-#~ "particionamento foi usado para mudar a tabela de partições gravada na "
+#~ "Esse disco contém uma Tabela de Partição GUID alternativa correta, mas a "
+#~ "GPT primária e a Protective MBR são inválidas. Isso geralmente significa "
+#~ "que o disco tinha partições GPT, mas um programa padrão de "
+#~ "particionamento foi usado para mudar a tabela de partições gravada na "
 #~ "MBR.\n"
-#~ "Quais dados são válidos, GPT ou MBR?\n"
-#~ "Sim: assume que a informação na GPT é a correta, e reescreve a PMBR e a "
-#~ "GPT primária.\n"
-#~ "Não: assume que a MBR é a correta, e apaga as informações na GPT.\n"
-#~ "Ignorar: assume que a MBR é correta, mas não altera o disco."
+#~ "Quais dados são válidos, GPT ou MBR?\n"
+#~ "Sim: assume que a informação na GPT é a correta, e reescreve a PMBR e a "
+#~ "GPT primária.\n"
+#~ "Não: assume que a MBR é a correta, e apaga as informações na GPT.\n"
+#~ "Ignorar: assume que a MBR é correta, mas não altera o disco."
 
 #~ msgid ""
 #~ "This disk contains a valid Primary GUID Partition Table but the Alternate "
@@ -3357,58 +3341,160 @@ msgstr ""
 #~ "No will assume that the MBR is correct, and erase the GPT information.\n"
 #~ "Ignore will assume that the MBR is correct, but not change the disk.\n"
 #~ msgstr ""
-#~ "Esse disco contém uma Tabela de Partição GUID primária correta, mas a GPT "
-#~ "alternativa e a Protective MBR são inválidas. Isso geralmente significa "
-#~ "que o disco tinha partições GPT, mas um programa padrão de "
-#~ "particionamento foi usado para mudar a tabela de partições gravada na "
+#~ "Esse disco contém uma Tabela de Partição GUID primária correta, mas a GPT "
+#~ "alternativa e a Protective MBR são inválidas. Isso geralmente significa "
+#~ "que o disco tinha partições GPT, mas um programa padrão de "
+#~ "particionamento foi usado para mudar a tabela de partições gravada na "
 #~ "MBR.\n"
-#~ "Quais dados são válidos, GPT ou MBR?\n"
-#~ "Sim: assume que a informação na GPT é a correta, e reescreve a PMBR e a "
+#~ "Quais dados são válidos, GPT ou MBR?\n"
+#~ "Sim: assume que a informação na GPT é a correta, e reescreve a PMBR e a "
 #~ "GPT alternativa.\n"
-#~ "Não: assume que a MBR é a correta, e apaga as informações na GPT.\n"
-#~ "Ignorar: assume que a MBR é correta, mas não altera o disco.\n"
+#~ "Não: assume que a MBR é a correta, e apaga as informações na GPT.\n"
+#~ "Ignorar: assume que a MBR é correta, mas não altera o disco.\n"
 
 #~ msgid "The new partition overlaps with another partition."
-#~ msgstr "A nova partição sobrepõe alguma outra partição"
+#~ msgstr "A nova partição sobrepõe alguma outra partição"
 
 #~ msgid "Can't set non-Linux partitions as a root device."
-#~ msgstr "Não posso configurar partições não Linux como uma partição root."
+#~ msgstr "Não posso configurar partições não Linux como uma partição root."
 
 #~ msgid "Can't set non-Linux partitions as a swap device."
-#~ msgstr "Não posso configurar partições não Linux como uma partição swap."
+#~ msgstr "Não posso configurar partições não Linux como uma partição swap."
+
+#~ msgid "Support for opening %s file systems is not implemented yet."
+#~ msgstr ""
+#~ "O suporte para abrir sistema de arquivos %s não foi implementado ainda."
+
+#~ msgid "Support for checking %s file systems is not implemented yet."
+#~ msgstr "Suporte para checar sistema de arquivos não implementado para %s."
+
+#~ msgid ""
+#~ "Direct support for copying file systems is not yet implemented for %s.  "
+#~ "However, support for resizing implemented.  Therefore, the file system "
+#~ "can be copied if the new partition is at least as big as the old one.  "
+#~ "So, either shrink the partition you are trying to copy, or copy to a "
+#~ "bigger partition."
+#~ msgstr ""
+#~ "O suporte direto para cópia de sistemas de arquivos não está implementado "
+#~ "para %s. Entretanto, o suporte para redimensionamento está. Portanto, o "
+#~ "sistema de arquivos pode ser copiado se a nova partição for pelo menos "
+#~ "tão grande quanto a antiga. Então, diminua a partição que você está "
+#~ "tentando copiar, ou copie para uma partição maior."
+
+#~ msgid "Support for copying %s file systems is not implemented yet."
+#~ msgstr "Suporte para copiar sistema de arquivos não implementado para %s."
 
 #~ msgid "No get_resize_constraint for %s!"
-#~ msgstr "Não há get_resize_constraint para %s!"
+#~ msgstr "Não há get_resize_constraint para %s!"
 
 #~ msgid "The %s file system code doesn't support %s disk labels."
-#~ msgstr "O código do sistema de arquivos %s não suporta rótulos de disco %s."
+#~ msgstr "O código do sistema de arquivos %s não suporta rótulos de disco %s."
 
 #~ msgid "Creating new %s disklabels is not implemented yet."
-#~ msgstr "Criação de novos rótulos %s não está implementado ainda."
+#~ msgstr "Criação de novos rótulos %s não está implementado ainda."
 
 #~ msgid "The code to write the partition table hasn't been written for %s yet"
 #~ msgstr ""
-#~ "O código para escrever a tabela de partições ainda não foi escrito para "
+#~ "O código para escrever a tabela de partições ainda não foi escrito para "
 #~ "%s."
 
 #~ msgid "Error reading %s (%s) to determine if partition is mounted."
-#~ msgstr "Erro lendo %s (%s) para determinar se a partição está montada."
+#~ msgstr "Erro lendo %s (%s) para determinar se a partição está montada."
 
 #~ msgid "Can't grow a partition onto used space."
-#~ msgstr "Não posso aumentar a partição acima de algum espaço utilizado."
+#~ msgstr "Não posso aumentar a partição acima de algum espaço utilizado."
+
+#~ msgid ""
+#~ "A bug has been detected in GNU parted.  Please email a bug report to bug-"
+#~ "parted@gnu.org containing the version (%s) and the following message:"
+#~ msgstr ""
+#~ "Um bug foi detectado no GNU parted. Por favor, envie um relatório de "
+#~ "bugpara bug-parted@gnu.org contendo a versão (%s) e a mensagem abaixo:"
 
 #~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
-#~ msgstr "Tentativa de ler setores %ld-%ld fora da partição em %s"
+#~ msgstr "Tentativa de ler setores %ld-%ld fora da partição em %s"
+
+#~ msgid "Inconsistent group descriptors!"
+#~ msgstr "Descritores de grupo inconsistentes!"
+
+#~ msgid "Filesystem full!"
+#~ msgstr "Sistema de arquivos cheio!"
 
 #~ msgid ""
 #~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
 #~ "this (yet)."
 #~ msgstr ""
-#~ "Este sistema de arquivos ext2 tem uma aparência muito estranha! O Parted "
-#~ "não pode redimensioná-lo (ainda)."
+#~ "Este sistema de arquivos ext2 tem uma aparência muito estranha! O Parted "
+#~ "não pode redimensioná-lo (ainda)."
+
+#~ msgid "Invalid superblock.  Are you sure this is an ext2 filesystem?"
+#~ msgstr "Superbloco inválido. Você tem certeza que isto é um sistema ext2?"
+
+#~ msgid "Filesystem has errors!  You should run e2fsck."
+#~ msgstr "Sistema de arquivos tem erros! Execute e2fsck primeiro."
+
+#~ msgid "Filesystem was not cleanly unmounted!  You should e2fsck."
+#~ msgstr ""
+#~ "Sistema de arquivos não foi desmontado corretamente! Execute e2fsck "
+#~ "primeiro."
 
 #~ msgid "Filesystem has incompatible feature enabled"
-#~ msgstr "Sistema de arquivos tem uma característica incompatível habilitada"
+#~ msgstr "Sistema de arquivos tem uma característica incompatível habilitada"
+
+#~ msgid "Error allocating buffer cache."
+#~ msgstr "Erro determinando o cache temporário."
+
+#~ msgid ""
+#~ "Found an inode with a incorrect link count.  Better go run e2fsck first."
+#~ msgstr ""
+#~ "Encontrado um inode com uma contagem incorreta de ligações. Melhor "
+#~ "executar o e2fsck primeiro."
+
+#~ msgid "Not enough free inodes!"
+#~ msgstr "Não há inodes livres suficientes!"
+
+#~ msgid "Filesystem is too occupied to remove a group!"
+#~ msgstr "Sistema de arquivos muito ocupado para remover um grupo!"
+
+#~ msgid "Filesystem has too many allocated inodes to remove a group!"
+#~ msgstr ""
+#~ "Sistema de arquivos tem muitos inodes utilizados para remover um grupo!"
+
+#~ msgid "Your filesystem is too occupied to resize it to %i blocks. Sorry."
+#~ msgstr ""
+#~ "Seu sistema de arquivos está muito ocupado para redimensioná-lo para %i "
+#~ "blocos. Desculpe."
+
+#~ msgid ""
+#~ "Your filesystem has too much occupied inodes to resize it to %i blocks. "
+#~ "Sorry."
+#~ msgstr ""
+#~ "Seu sistema de arquivos está com muitos inodes ocupados para redimensioná-"
+#~ "lo para %i blocos. Desculpe."
+
+#~ msgid "Cross-linked blocks found! better go run e2fsck first!"
+#~ msgstr ""
+#~ "Encontrados blocos com referência cruzada! Melhor executar e2fsck "
+#~ "primeiro."
+
+#~ msgid "Block %i has no reference?  Weird"
+#~ msgstr "Bloco %i não tem referência? Estranho"
+
+#~ msgid "Block %i shouldn't have been marked!"
+#~ msgstr "Bloco %i não deveria ter sido marcado!"
+
+#~ msgid ""
+#~ "The ext2 filesystem passed a basic check.  For a more comprehensive "
+#~ "check, use the e2fsck program."
+#~ msgstr ""
+#~ "O sistema de arquivos ext2 passou pelo teste básico. Para um teste mais "
+#~ "compreensivo, utilize o programa e2fsck."
+
+#~ msgid "Sorry, can't move the start of ext2 partitions yet!"
+#~ msgstr "Desculpe, não posso mover o início de partições ext2 ainda!"
+
+#~ msgid "Couldn't flush buffer cache!"
+#~ msgstr "Não foi possível esvaziar cache temporário!"
 
 #~ msgid "Insane!  %d clusters!"
 #~ msgstr "Insano! %d clusters!"
@@ -3420,11 +3506,11 @@ msgstr ""
 #~ "create a smaller partition.  If you only use Linux, BSD, MS Windows 98 "
 #~ "and/or MS Windows 95 B, then select OK."
 #~ msgstr ""
-#~ "O sistema de arquivos será muito grande para FAT16, então será usado "
-#~ "FAT32. Isto não é compatível com o MS-DOS, versões antigas do MS-Windows "
-#~ "95 e Windows NT. Se você utiliza estes sistemas operacionais, selecione "
-#~ "cancelar, e crie uma partição menor. Se você utiliza somente Linux, BSD, "
-#~ "MS-Windows 98 e/ou MS-Windows 95 B, então selecione OK."
+#~ "O sistema de arquivos será muito grande para FAT16, então será usado "
+#~ "FAT32. Isto não é compatível com o MS-DOS, versões antigas do MS-Windows "
+#~ "95 e Windows NT. Se você utiliza estes sistemas operacionais, selecione "
+#~ "cancelar, e crie uma partição menor. Se você utiliza somente Linux, BSD, "
+#~ "MS-Windows 98 e/ou MS-Windows 95 B, então selecione OK."
 
 #~ msgid "Weird: fat_calc_sizes() failed for FAT32!"
 #~ msgstr "Estranho: fat_calc_sizes() falhou para a FAT32!"
@@ -3435,28 +3521,28 @@ msgstr ""
 #~ "of Windows 95 and Windows NT.  Only select yes if you only use Linux, "
 #~ "BSD, MS Windows 98 and/or MS Windows 95 B."
 #~ msgstr ""
-#~ "Você gostaria de usar a FAT32 para este sistema de arquivos? É muito mais "
-#~ "eficiente com o espaço em disco, mas não é compatível com versões antigas "
-#~ "do Windows 95 e Windows NT. Somente selecione sim se você só utilizar "
+#~ "Você gostaria de usar a FAT32 para este sistema de arquivos? É muito mais "
+#~ "eficiente com o espaço em disco, mas não é compatível com versões antigas "
+#~ "do Windows 95 e Windows NT. Somente selecione sim se você só utilizar "
 #~ "Linux, BSD, MS-Windows 98 e/ou MS-Windows 95 B."
 
 #~ msgid ""
 #~ "File system doesn't have expected sizes for Windows to like it.  Number "
 #~ "of clusters is %d (%d expected); size of FATs is %d sectors (%d expected)."
 #~ msgstr ""
-#~ "O sistema de arquivos não tem o tamanho esperado para que o Windows "
-#~ "utilize. O tamanho do cluster é %dk (%dk esperado); tamanho da FAT é %d "
+#~ "O sistema de arquivos não tem o tamanho esperado para que o Windows "
+#~ "utilize. O tamanho do cluster é %dk (%dk esperado); tamanho da FAT é %d "
 #~ "setores (%d esperado)."
 
 #~ msgid "File system has an invalid signature for a FAT file systems."
-#~ msgstr "Sistema de arquivos tem uma assinatura inválida para um FAT."
+#~ msgstr "Sistema de arquivos tem uma assinatura inválida para um FAT."
 
 #~ msgid ""
 #~ "Partition size (%ld sectors) and filesystem size (%ld sectors) do not "
 #~ "match."
 #~ msgstr ""
-#~ "Tamanho de partição (%ld setores) e tamanho do sistema de arquivos (%ld "
-#~ "setores) não batem."
+#~ "Tamanho de partição (%ld setores) e tamanho do sistema de arquivos (%ld "
+#~ "setores) não batem."
 
 #~ msgid ""
 #~ "The FATs aren't big enough to describe all clusters!  Each FAT is %d "
@@ -3464,9 +3550,9 @@ msgstr ""
 #~ "sectors.  This is REALLY weird.  You might want to write us an email: bug-"
 #~ "parted@gnu.org"
 #~ msgstr ""
-#~ "As FATs não são grandes o suficiente para descrever todos os clusters! "
+#~ "As FATs não são grandes o suficiente para descrever todos os clusters! "
 #~ "Cada FAT tem %d setores. Existem %d clusters, os quais requerem que cada "
-#~ "FAT tenha %d setores. Isto é REALMENTE estranho. Você pode querer nos "
+#~ "FAT tenha %d setores. Isto é REALMENTE estranho. Você pode querer nos "
 #~ "escrever um email: bug-parted@gnu.org"
 
 #~ msgid ""
@@ -3474,54 +3560,71 @@ msgstr ""
 #~ "earlier.  Use a smaller partition (maximum size 128mb) if you want to use "
 #~ "old versions of Linux."
 #~ msgstr ""
-#~ "Esta partição swap não é compatível com o Linux versão 2.1.117 ou "
-#~ "anterior. Utilize uma partição menor (máximo de 128mb) se você quiser "
-#~ "utilizar versões antigas do Linux."
+#~ "Esta partição swap não é compatível com o Linux versão 2.1.117 ou "
+#~ "anterior. Utilize uma partição menor (máximo de 128mb) se você quiser "
+#~ "utilizar versões antigas do Linux."
 
 #~ msgid "Linux-swap partitions can not be hidden on msdos disk labels."
 #~ msgstr ""
-#~ "Partições Linux-swap não podem ser escondidas em rótulos de disco msdos."
+#~ "Partições Linux-swap não podem ser escondidas em rótulos de disco msdos."
 
 #~ msgid "Linux-swap partitions can not be bootable on pc98 disk labels."
 #~ msgstr ""
-#~ "Partições Linux-swap não podem ser inicializáveis em rótulos de disco "
+#~ "Partições Linux-swap não podem ser inicializáveis em rótulos de disco "
 #~ "pc98."
 
 #~ msgid "HFS partitions can't be hidden on msdos disk labels."
-#~ msgstr "Partições HFS não podem ser escondidas em rótulos de disco msdos."
+#~ msgstr "Partições HFS não podem ser escondidas em rótulos de disco msdos."
 
 #~ msgid "JFS partitions can't be hidden on msdos disk labels."
-#~ msgstr "Partições JFS não podem ser escondidas em rótulos de disco msdos."
+#~ msgstr "Partições JFS não podem ser escondidas em rótulos de disco msdos."
 
 #~ msgid "Reiserfs partitions can't be hidden on msdos disk labels."
 #~ msgstr ""
-#~ "Partições ReiserFS não podem ser escondidas em rótulos de disco msdos."
+#~ "Partições ReiserFS não podem ser escondidas em rótulos de disco msdos."
 
 #~ msgid "Reiserfs partitions must be bootable on pc98 disk labels."
 #~ msgstr ""
-#~ "Partições ReiserFS devem ser inicializáveis em rótulos de disco pc98."
+#~ "Partições ReiserFS devem ser inicializáveis em rótulos de disco pc98."
 
 #~ msgid "XFS partitions can't be hidden on msdos disk labels."
-#~ msgstr "Partições XFS não podem ser escondidas em rótulos de disco msdos."
+#~ msgstr "Partições XFS não podem ser escondidas em rótulos de disco msdos."
 
 #~ msgid "where necessary, prompts for user intervention"
-#~ msgstr "quando necessário, pede intervenção do usuário"
+#~ msgstr "quando necessário, pede intervenção do usuário"
 
 #~ msgid "START and END are in megabytes\n"
-#~ msgstr "INICIO e FIM são em megabytes\n"
+#~ msgstr "INICIO e FIM são em megabytes\n"
+
+#~ msgid "Source partition doesn't exist."
+#~ msgstr "A partição origem não existe."
+
+#~ msgid ""
+#~ "You requested to create a partition at %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "Você comandou a criação de uma partição em %.3f-%.3fMb. O mais perto que "
+#~ "o Parted pode chegar é %.3f-%.3fMb."
+
+#~ msgid "Can't move extended partitions."
+#~ msgstr "Não posso mover partições extendidas."
+
+#~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
+#~ msgstr ""
+#~ "Não posso mover a partição sobre ela mesma. Talvez queira redimensionar?"
 
 #~ msgid ""
 #~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
 #~ "can manage is %.3f-%.3fMb."
 #~ msgstr ""
-#~ "Você comandou a movimentação da partição para %.3f-%.3fMb. O mais perto "
-#~ "que o Parted pode chegar é %.3f-%.3fMb."
+#~ "Você comandou a movimentação da partição para %.3f-%.3fMb. O mais perto "
+#~ "que o Parted pode chegar é %.3f-%.3fMb."
 
 #~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
 #~ msgstr "Geometria de disco para %s: 0.000-%.3f megabytes\n"
 
 #~ msgid "Minor    Start       End     "
-#~ msgstr "Minor    Início      Fim     "
+#~ msgstr "Minor    Início      Fim     "
 
 #~ msgid "Type      "
 #~ msgstr "Tipo      "
@@ -3533,16 +3636,56 @@ msgstr ""
 #~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
 #~ "can manage is %.3f-%.3fMb."
 #~ msgstr ""
-#~ "Você comandou o redimensionamento da partição para %.3f-%.3fMb. O mais "
-#~ "perto que o Parted pode chegar é %.3f-%.3fMb."
+#~ "Você comandou o redimensionamento da partição para %.3f-%.3fMb. O mais "
+#~ "perto que o Parted pode chegar é %.3f-%.3fMb."
+
+#~ msgid "check MINOR                   do a simple check on the filesystem"
+#~ msgstr ""
+#~ "check MINOR                   faz um teste simples no sistema de arquivos"
+
+#~ msgid "cp"
+#~ msgstr "cp"
+
+#~ msgid ""
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copy filesystem to another "
+#~ "partition"
+#~ msgstr ""
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copia o sistema de arquivos "
+#~ "para outra partição"
+
+#~ msgid "mkfs"
+#~ msgstr "mkfs"
+
+#~ msgid ""
+#~ "mkfs MINOR FS-TYPE            make a filesystem FS-TYPE on partititon "
+#~ "MINOR"
+#~ msgstr ""
+#~ "mkfs MINOR TIPO-FS            cria um sistema TIPO-FS na partição MINOR"
+
+#~ msgid "mkpartfs"
+#~ msgstr "mkpartfs"
+
+#~ msgid ""
+#~ "mkpartfs PART-TYPE FS-TYPE START END      make a partition with a "
+#~ "filesystem"
+#~ msgstr "mkpartfs TIPO-PART TIPO-FS INICIO FIM     cria uma partição TIPO-FS"
+
+#~ msgid "move"
+#~ msgstr "move"
+
+#~ msgid "move MINOR START [END]          move partition MINOR"
+#~ msgstr "move MINOR INICIO [FIM]         move a partição MINOR"
+
+#~ msgid "resize MINOR START END        resize filesystem on partition MINOR"
+#~ msgstr "resize MINOR INICIO FIM       redimensiona a partição MINOR"
 
 #~ msgid ""
 #~ "You found a bug in GNU Parted.  Please email a bug report to bug-"
 #~ "parted@gnu.org containing the version (%s), and the following message:\n"
 #~ msgstr ""
-#~ "Você encontrou um bug no GNU parted. Por favor envie um relatório para "
+#~ "Você encontrou um bug no GNU parted. Por favor envie um relatório para "
 #~ "bug-parted@gnu.org\n"
-#~ "contendo a versão (%s), e a mensagem abaixo:\n"
+#~ "contendo a versão (%s), e a mensagem abaixo:\n"
 
 #~ msgid ""
 #~ "  You have Windows FAT partition(s) that are not using LBA.  If your BIOS "
@@ -3550,18 +3693,17 @@ msgstr ""
 #~ "all FAT partitions.  Otherwise, make sure the operating system and the "
 #~ "BIOS have the same geometry before resizing any FAT partitions."
 #~ msgstr ""
-#~ "  Você tem partições FAT Windows que não estão usando LBA. Se seu BIOS "
-#~ "suporta LBA, você deveria mudar para LBA ligando o sinalizador LBA em "
-#~ "todas as partições FAT. De outro modo, tenha certeza que o sistema "
-#~ "operacional e o BIOS têm a mesma geometria antes de redimensionar "
-#~ "quaisquer partições FAT."
+#~ "  Você tem partições FAT Windows que não estão usando LBA. Se seu BIOS "
+#~ "suporta LBA, você deveria mudar para LBA ligando o OPÇÃO LBA em todas as "
+#~ "partições FAT. De outro modo, tenha certeza que o sistema operacional e o "
+#~ "BIOS têm a mesma geometria antes de redimensionar quaisquer partições FAT."
 
 #~ msgid ""
 #~ "The operating system thinks the geometry on %s is %d/%d/%d.  Therefore, "
 #~ "cylinder 1024 ends at %.3fM.%s"
 #~ msgstr ""
-#~ "O sistema operacional acha que a geometria de %s é %d/%d/%d. Porém, o "
+#~ "O sistema operacional acha que a geometria de %s é %d/%d/%d. Porém, o "
 #~ "cilindro 1024 termina em %.3fM.%s"
 
 #~ msgid "The operating system thinks the geometry on %s is %d/%d/%d.%s"
-#~ msgstr "O sistema operacional acha que a geometria de %s é %d/%d/%d.%s"
+#~ msgstr "O sistema operacional acha que a geometria de %s é %d/%d/%d.%s"
index cd034ed57762aeee820bf449f108038283ae6db7..0bed0ad0a402f48e545279b3aef6993dd9fb7f5c 100644 (file)
Binary files a/po/ro.gmo and b/po/ro.gmo differ
index 242459cb97f59f1cf2076edaabb2c1d762dff900..2d0eda9581a6df5a3b461d136a36e8cd6dcf8075 100644 (file)
--- a/po/ro.po
+++ b/po/ro.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 1.6.23\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2005-08-08 12:00-05\n"
 "Last-Translator: Laurentiu Buzdugan <lbuz@rolix.org>\n"
 "Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
@@ -17,9 +17,9 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "Nu pot deschide %s."
+msgstr ""
 
 #: lib/argmatch.c:134
 #, c-format
@@ -27,11 +27,10 @@ msgid "ambiguous argument %s for %s"
 msgstr ""
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "Nu pot deschide %s."
+msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr ""
 
@@ -61,14 +60,14 @@ msgid "%s: option '--%s' requires an argument\n"
 msgstr ""
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "Nu pot deschide %s - etichetã de disc nerecunoscutã."
+msgstr ""
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "Nu pot deschide %s - etichetã de disc nerecunoscutã."
+msgstr ""
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
@@ -116,83 +115,83 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr ""
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr ""
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr ""
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr ""
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr ""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr ""
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr ""
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr ""
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr ""
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr ""
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr ""
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr ""
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr ""
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr ""
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr ""
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ""
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr ""
 
@@ -202,7 +201,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr ""
 
@@ -212,7 +211,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr ""
 
@@ -369,78 +368,78 @@ msgid "memory exhausted"
 msgstr ""
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "Nu pot deschide %s."
+msgstr ""
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "Nu pot deschide %s."
+msgstr ""
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "Nu pot deschide %s."
+msgstr ""
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr ""
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Eroare la deschiderea %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Nu pot deschide %s citire-scriere (%s). %s a fost deschis numai-citire."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s în timpul cãutãrii pentru citire pe %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s în timpul citirii pe %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Nu pot scrie pe %s, pentru cã este deschis numai-citire."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s în timpul cãutãrii pentru scriere pe %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s în timpul scrierii pe %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr ""
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -450,13 +449,13 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -501,7 +500,7 @@ msgstr ""
 "Hurd nu ºtie nimic despre nici o modificare pe care aþi fãcut-o.  Ar trebui "
 "sã reboot-aþi computerul înainte de a face ceva cu %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -515,45 +514,45 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s încearcã sã sincronizeze %s pe disc"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Nu am putut afla date despre dispozitivul %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, fuzzy, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Nu pot determina dimensiunea lui %s (%s)."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Nu pot determina dimensiunea lui %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Nu am putut identifica dispozitivul %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr ""
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -562,12 +561,12 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Eroare la iniþializarea dispozitivului SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, fuzzy, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -577,7 +576,7 @@ msgstr ""
 "fiºiere sau o tabelã de partiþii. Aþi selectat din greºealã un alt "
 "dispozitiv?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, fuzzy, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -586,86 +585,86 @@ msgstr ""
 "Nu pot determina geometria fiºierului/dispozitivului. N-ar trebui sã "
 "folosiþi Parted decât dacã ºtiþi cu ADEVÃRAT ce faceþi!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Controller RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Controller ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Controller I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr ""
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Necunoscut"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new() Tip de dispozitiv nesuportat"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Eroare la deschiderea %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -677,17 +676,12 @@ msgstr ""
 "aþi fãcut lui %s pânã când nu reboot-aþi -- aºa cã n-ar trebui sã îl montaþi "
 "sau folosiþi în vreun fel înainte de a reboot-a."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Nu pot determina dimensiunea lui %s (%s)."
 
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Nu pot aloca un numãr de partiþie."
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -696,32 +690,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Kernel-ul nu a putut re-citi tabela de partiþii pe %s (%s).  Aceasta "
-"înseamnã cã Linux nu va ºti nimic despre schimbãrile pe care le-aþi fãcut "
-"pânã când nu reboot-aþi.  Ar trebui sã reboot-aþi computerul înainte de a "
-"face ceva cu %s."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr ""
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr ""
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr ""
 
@@ -735,12 +714,12 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, fuzzy, c-format
 msgid "%s: unrecognised disk label"
 msgstr "Nu pot deschide %s - etichetã de disc nerecunoscutã."
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -749,40 +728,40 @@ msgstr ""
 "Aceast libparted nu are suport pentru %s. Probabil cã a fost compilat numai-"
 "citire."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Partiþia %d este %s, dar sistemul de fiºiere este %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, fuzzy, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Flag de partiþie necunoscut, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Etichetele de disc %s nu suportã partiþii extinse."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "Etichetele de disc %s nu suportã partiþii logice sau extinse."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Prea multe partiþii primare."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -790,109 +769,126 @@ msgstr ""
 "Nu pot adãuga o partiþie logicã lui %s pentru cã aceasta nu este o partiþie "
 "extinsã."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Nu puteþi avea mai mult de o partiþie extinsã pe %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Nu puteþi avea partiþii logice în afara partiþiei extinse."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "Nu puteþi avea o partiþie logicã în afara partiþiei extinse pe %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Nu puteþi avea partiþii care se suprapun."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Nu puteþi avea o partiþie primarã într-o partiþie extinsã."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr ""
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Nu puteþi avea partiþii care se suprapun."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadata"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "liber"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "extinsã"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logicã"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primarã"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "root"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "ascunsã"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr ""
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr ""
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr ""
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr ""
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Flag de partiþie necunoscut, %d."
@@ -986,10 +982,10 @@ msgstr ""
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Nu pot satisface toate constrângerile pe partiþie."
@@ -998,30 +994,30 @@ msgstr "Nu pot satisface toate constr
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Nu pot aloca loc pentru eticheta de disc bsd."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 #, fuzzy
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Nu pot aloca loc pentru eticheta de disc bsd."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Tabela de partiþii invalidã pe %s -- semnãturã greºitã %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Tabela de partiþii invalidã - partiþie recursivã pe %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Nu mai pot crea nici o partiþie"
@@ -1058,119 +1054,108 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr ""
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 #, fuzzy
 msgid "Unsupported disk type"
 msgstr "ped_device_new() Tip de dispozitiv nesuportat"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr ""
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr ""
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr ""
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 #, fuzzy
 msgid "Fatal error"
 msgstr "Fatalã"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 #, fuzzy
 msgid "No room for partition info."
 msgstr "Nu a fost gãsitã nici o hartã de partiþie validã."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
 msgstr ""
-"%s conþine semnãturi GPT, indicând cã are o tabelã GPT.  Totuºi, aceasta nu "
-"are o tabelã de partiþii msdos falsã, aºa cum ar trebui.  Probabil cã a fost "
-"coruptã -- posibil de un program ce nu înþelege tabelele de partiþii GPT.  "
-"Sau probabil cã aþi ºters tabela GPT ºi folosiþi acum o tabelã de partiþii "
-"msdos.  Este aceasta o tabelã de partiþii GPT?"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1179,7 +1164,7 @@ msgstr ""
 "Formatul tabelei de partiþii GPT este versiunea %x, care este mai nou decât "
 "ceea ce Parted poate recunoaºte.  Vã rugãm spuneþi-ne!  bug-parted@gnu.org"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1187,10 +1172,10 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Tabela GPT de rezervã nu este la sfârºitul discului, cum ar trbui sã fie.  "
@@ -1198,7 +1183,7 @@ msgstr ""
 "mai mic.  Reparã, mutând rezerva (backup) la sfârºit (ºi ºterge vechea "
 "rezervã?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1207,7 +1192,7 @@ msgstr ""
 "o tabelã nouã ºi sã folosiþi capabilitatea de salvare lui Parted pentru a "
 "recupera partiþiile."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 #, fuzzy
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
@@ -1216,7 +1201,7 @@ msgstr ""
 "Tabela primarã GPT este coruptã, dar rezerva pare OK, aºa cã va fi folositã "
 "rezerva."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1224,10 +1209,15 @@ msgstr ""
 "Tabela primarã GPT este coruptã, dar rezerva pare OK, aºa cã va fi folositã "
 "rezerva."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Nu pot aloca un numãr de partiþie."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1242,33 +1232,33 @@ msgstr "Harta de parti
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s este prea mic pentr o etichetã de disc pentru Mac."
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Partiþia %d are o semnãturã invalidã %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Partiþia %d are o lungime invalidã de 0 octeþi!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Regiunea de date nu începe la începutul partiþiei."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Regiunea de boot nu începe la începutul partiþiei."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Regiunea de boot a partiþiei nu ocupã întreaga partiþie."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Regiunea de date a partiþiei nu ocupã întreaga partiþie."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1276,7 +1266,7 @@ msgstr ""
 "Dimensiune de bloc ciudatã pe descriptorul dispozitivului: %d octeþi nu este "
 "divizibil cu 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1285,18 +1275,18 @@ msgstr ""
 "Descriptorul de driver spune cã dimensiunea fizicã a blocului este %d octeþi "
 "dar Linux spune cã este %d octeþi."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Nu a fost gãsitã nici o hartã de partiþie validã."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr ""
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Ciudat!  Existã 2 intrãri în harta partiþiei"
 
@@ -1306,7 +1296,7 @@ msgid ""
 "recognising it as such."
 msgstr ""
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
 
@@ -1438,56 +1428,60 @@ msgstr ""
 msgid "reading from device failed"
 msgstr ""
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr ""
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr ""
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr ""
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr ""
 
@@ -1523,25 +1517,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, fuzzy, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "Nu pot aloca un numãr de partiþie."
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr ""
@@ -1581,82 +1575,67 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr ""
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr ""
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr ""
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr ""
@@ -1668,7 +1647,14 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1678,6 +1664,13 @@ msgid ""
 "geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1728,22 +1721,22 @@ msgid ""
 "some programs to stop working."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partiþie prea mare/micã pentru un sistem de fiºiere %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1751,7 +1744,7 @@ msgid ""
 "FATs is %d sectors (%d expected)."
 msgstr ""
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -1844,9 +1837,8 @@ msgid "fat_table_alloc_cluster: no free clusters"
 msgstr ""
 
 #: libparted/fs/r/filesys.c:151
-#, fuzzy
 msgid "Could not detect file system."
-msgstr "Nu am putut afla date despre dispozitivul %s - %s."
+msgstr ""
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
 #, fuzzy, c-format
@@ -2088,9 +2080,8 @@ msgid ""
 msgstr ""
 
 #: libparted/fs/r/hfs/reloc.c:572 libparted/fs/r/hfs/reloc_plus.c:843
-#, fuzzy
 msgid "Could not cache the file system in memory."
-msgstr "Nu am putut afla date despre dispozitivul %s - %s."
+msgstr ""
 
 #: libparted/fs/r/hfs/reloc.c:633 libparted/fs/r/hfs/reloc_plus.c:904
 msgid "Bad blocks list could not be loaded."
@@ -2143,46 +2134,52 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr ""
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr ""
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr ""
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr ""
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr ""
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr ""
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr ""
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr ""
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 #, fuzzy
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
@@ -2202,198 +2199,205 @@ msgstr ""
 "PENTRU UN SCOP ANUME.  Vedeþi Licenþa Publicã Generalã GNU (GNU GPL) pentru\n"
 "detalii suplimentare.\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr ""
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr ""
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Tip de etichetã pentru discul nou?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr ""
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr ""
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr ""
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr ""
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr ""
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr ""
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr ""
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr ""
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, fuzzy, c-format
 msgid "Partition Table: %s\n"
 msgstr "Tabela de partiþii invalidã pe %s."
 
-#: parted/parted.c:992
-#, fuzzy, c-format
+#: parted/parted.c:1017
+#, c-format
 msgid "Disk Flags: %s\n"
-msgstr "Sistem de fiºiere"
+msgstr ""
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Numãr"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Start"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Sfârºit"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Dimensiune"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Tip"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Sistem de fiºiere"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Nume"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr ""
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr ""
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
 msgstr ""
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr ""
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr ""
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr ""
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr ""
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr ""
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr ""
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 #, fuzzy
 msgid ""
 "help [COMMAND]                           print general help, or help on "
@@ -2402,16 +2406,15 @@ msgstr ""
 "help [COMANDA]                afiºeazã informaþii generale, sau\n"
 "                                depre COMANDA"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
-#, fuzzy
+#: parted/parted.c:1933
 msgid "mktable"
-msgstr "mklabel"
+msgstr ""
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 #, fuzzy
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
@@ -2420,15 +2423,15 @@ msgstr ""
 "mklabel TIP_ETICHETA          creazã o nouã etichetã de disc\n"
 "                                       (tabela de partiþii)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart TIP-PART [TIP-SF] START SFÂRªIT    creazã o partiþie"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 #, fuzzy
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
@@ -2438,27 +2441,27 @@ msgstr ""
 "partiþie. TIP-SF poate fi specificat pentru a seta un anumit ID de "
 "partiþie.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 #, fuzzy
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name NUMÃR NUME               numeºte patiþia NUMÃR ca NUME"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 #, fuzzy
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
@@ -2468,41 +2471,41 @@ msgstr ""
 "un numãr de partiþie, atunci este afiºatã informaþii detaliate despre acea\n"
 "partiþie.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 #, fuzzy
 msgid "quit                                     exit program"
 msgstr "quit                          ieºire din program"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 #, fuzzy
 msgid ""
 "rescue START END                         rescue a lost partition near START "
@@ -2511,105 +2514,121 @@ msgstr ""
 "rescue START SFARSIT           salveazã o partiþie pierdutã lingã START ºi\n"
 "                                 SFARSIT"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm NUMÃR                      ºterge partiþia NUMÃR"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 #, fuzzy
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm NUMÃR                      ºterge partiþia NUMÃR"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 #, fuzzy
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select UNITATE                 alege unitatea de editat"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set NUMÃR FLAG STARE          schimbã un flag pe partiþia NUMÃR"
+msgstr ""
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr ""
 
-#: parted/parted.c:1921
-#, fuzzy
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
-msgstr "rm NUMÃR                      ºterge partiþia NUMÃR"
+msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 #, fuzzy
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set NUMÃR FLAG STARE          schimbã un flag pe partiþia NUMÃR"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr ""
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 #, fuzzy
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr "rm NUMÃR                      ºterge partiþia NUMÃR"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unitate"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 #, fuzzy
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "quit UNITATE                  seteazã unitatea implicitã ca UNITATE"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr ""
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Nu a fost gãsitã nici o unitate"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 #, fuzzy
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Nu uitaþi sã actualizaþi /etc/fstab, dacã e necesar.\n"
@@ -2796,107 +2815,114 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
-#, fuzzy, c-format
+#: parted/ui.c:883
+#, c-format
 msgid "invalid token: %s"
-msgstr "Nu pot deschide %s."
+msgstr ""
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Aºtept un numãr de partiþie."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Partiþia nu existã."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Aºtept un tip de sistem de fiºiere."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Tip de sistem de fiºiere necunoscut \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Aºtept un tip de etichetã de disc."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Nu mai pot crea nici o partiþie"
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Aºtept un tip de partiþie."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "pornit"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "oprit"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "OPÞIUNI:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "COMMENZI:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Folosesc %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr ""
 
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "Nu pot deschide %s."
-
-#, fuzzy
-#~ msgid "growing file system"
-#~ msgstr "Sistem de fiºiere"
-
-#, fuzzy
-#~ msgid "Can't copy onto an overlapping partition."
-#~ msgstr "Nu puteþi avea partiþii care se suprapun."
-
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "Avertisment"
+#~ msgid ""
+#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
+#~ "with drives with sector sizes other than %d bytes."
+#~ msgstr ""
+#~ "Dimensiunea sectorului pe %s este %d octeþi. Este ºtiut cã parted nu "
+#~ "funcþioneazã corespunzãtor cu discuri cu dimensiunea sectorului diferitã "
+#~ "de %d octeþi."
 
-#, fuzzy
-#~ msgid "File system full!"
-#~ msgstr "Sistem de fiºiere"
+#~ msgid "IDE"
+#~ msgstr "IDE"
 
-#, fuzzy
-#~ msgid "Too many bad pages."
-#~ msgstr "Prea multe partiþii primare."
+#~ msgid ""
+#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
+#~ "means Linux won't know anything about the modifications you made until "
+#~ "you reboot.  You should reboot your computer before doing anything with "
+#~ "%s."
+#~ msgstr ""
+#~ "Kernel-ul nu a putut re-citi tabela de partiþii pe %s (%s).  Aceasta "
+#~ "înseamnã cã Linux nu va ºti nimic despre schimbãrile pe care le-aþi fãcut "
+#~ "pânã când nu reboot-aþi.  Ar trebui sã reboot-aþi computerul înainte de a "
+#~ "face ceva cu %s."
 
-#, fuzzy
-#~ msgid "Source partition number?"
-#~ msgstr "Numãrul partiþiei destinaþie?"
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s conþine semnãturi GPT, indicând cã are o tabelã GPT.  Totuºi, aceasta "
+#~ "nu are o tabelã de partiþii msdos falsã, aºa cum ar trebui.  Probabil cã "
+#~ "a fost coruptã -- posibil de un program ce nu înþelege tabelele de "
+#~ "partiþii GPT.  Sau probabil cã aþi ºters tabela GPT ºi folosiþi acum o "
+#~ "tabelã de partiþii msdos.  Este aceasta o tabelã de partiþii GPT?"
 
 #~ msgid "Can't copy an extended partition."
 #~ msgstr "Nu puteþi copia o partiþie extinsã."
@@ -2904,6 +2930,9 @@ msgstr ""
 #~ msgid "Destination partition number?"
 #~ msgstr "Numãrul partiþiei destinaþie?"
 
+#~ msgid "File system?"
+#~ msgstr "Sistem de fiºiere?"
+
 #~ msgid "Can't move an extended partition."
 #~ msgstr "Nu puteþi muta o partiþie extinsã."
 
@@ -2912,26 +2941,15 @@ msgstr ""
 #~ "Nu puteþi muta o partiþie peste ea însãºi.  încercaþi poate sã folosiþi "
 #~ "redimensionare?"
 
-#, fuzzy
-#~ msgid "File System: %s\n"
-#~ msgstr "Sistem de fiºiere"
-
-#, fuzzy
-#~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
-#~ msgstr "rm NUMÃR                      ºterge partiþia NUMÃR"
-
 #~ msgid "cp"
 #~ msgstr "cp"
 
 #~ msgid "mkfs"
 #~ msgstr "mkfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
+#~ "mkfs NUMBER FS-TYPE           make a FS-TYPE file system on partititon "
+#~ "NUMBER"
 #~ msgstr ""
 #~ "mkfs NUMÃR TIP-SF        creazã un sistem de fiºiere TIP-SF pe partiþia "
 #~ "NUMÃR"
@@ -2949,54 +2967,19 @@ msgstr ""
 #~ msgid "move"
 #~ msgstr "move"
 
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
+#~ msgid "move NUMBER START END         move partition NUMBER"
 #~ msgstr "move NUMÃR START SFÂRªIT      mutã partiþia NUMÃR"
 
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "resize NUMÃR START SFÂRªIT    redimensioneazã partiþia NUMÃR ºi sistemul "
-#~ "sãu de fiºiere"
-
-#, fuzzy
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Nu pot determina dimensiunea lui %s (%s)."
-
 #~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr ""
-#~ "Kernel-ul nu a putut re-citi tabela de partiþii pe %s (%s).  Aceasta "
-#~ "înseamnã cã Linux nu va ºti nimic despre schimbãrile pe care le-aþi fãcut "
-#~ "pânã când nu reboot-aþi.  Ar trebui sã reboot-aþi computerul înainte de a "
-#~ "face ceva cu %s."
-
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than %d bytes."
+#~ "print [NUMBER]                display the partition table, or a partition"
 #~ msgstr ""
-#~ "Dimensiunea sectorului pe %s este %d octeþi. Este ºtiut cã parted nu "
-#~ "funcþioneazã corespunzãtor cu discuri cu dimensiunea sectorului diferitã "
-#~ "de %d octeþi."
-
-#~ msgid "IDE"
-#~ msgstr "IDE"
-
-#~ msgid "File system?"
-#~ msgstr "Sistem de fiºiere?"
+#~ "print [NUMÃR]                 afiºeazã tabela de partiþii, sau o partiþie"
 
 #~ msgid ""
-#~ "print [NUMBER]                display the partition table, or a partition"
+#~ "resize NUMBER START END       resize partition NUMBER and its file system"
 #~ msgstr ""
-#~ "print [NUMÃR]                 afiºeazã tabela de partiþii, sau o partiþie"
+#~ "resize NUMÃR START SFÂRªIT    redimensioneazã partiþia NUMÃR ºi sistemul "
+#~ "sãu de fiºiere"
 
 #~ msgid ""
 #~ "You found a bug in GNU Parted.  Please email a bug report to bug-"
index 2caddd91862358dfd2a2cce898a6076deb0072fd..3857200849677e00af3b453cc92d122c98cd047f 100644 (file)
Binary files a/po/ru.gmo and b/po/ru.gmo differ
index 440fe1e511893e6e926324f89e2ca5edc6a1449e..e1c0d3c652f09c3171b5e02f7bf10e5027ae5370 100644 (file)
--- a/po/ru.po
+++ b/po/ru.po
@@ -1,41 +1,42 @@
 # Translation of parted to Russian
 # Copyright (C) 1999, 2007, 2008 Free Software Foundation, Inc.
-# This file is distributed under the same license as the parted package. 
+# This file is distributed under the same license as the parted package.
+#
 # Dmitry S. Sivachenko <dima@Chg.RU>, 1999.
 # Dimitriy Ryazantcev <DJm00n@mail.ru>, 2007, 2008.
-#
+# Pavel Maryanov <acid@jack.kiev.ua>, 2014.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 1.8.8\n"
+"Project-Id-Version: parted 3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2008-02-16 14:02+0200\n"
-"Last-Translator: Pavel Maryanov <acid_jack@ukr.net>\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-05 12:52+0400\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
 "Language-Team: Russian <gnu@mx.ru>\n"
 "Language: ru\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
-"Plural-Forms:  nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "Ð\9dе Ð¿Ñ\80авилÑ\8cнÑ\8bй ÐºÐ»Ñ\8eÑ\87: %s"
+msgstr "недопÑ\83Ñ\81Ñ\82имÑ\8bй Ð°Ñ\80гÑ\83менÑ\82 %s Ð´Ð»Ñ\8f %s"
 
 #: lib/argmatch.c:134
 #, c-format
 msgid "ambiguous argument %s for %s"
-msgstr ""
+msgstr "неоднозначный аргумент %s для %s"
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "Ð\9dе Ð¿Ñ\80авилÑ\8cнÑ\8bй ÐºÐ»Ñ\8eÑ\87: %s"
+msgstr "Ð\94опÑ\83Ñ\81Ñ\82имÑ\8bе Ð°Ñ\80гÑ\83менÑ\82Ñ\8b:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "ошибка записи"
 
@@ -44,59 +45,59 @@ msgid "Unknown system error"
 msgstr "Неизвестная системная ошибка"
 
 #: lib/getopt.c:547 lib/getopt.c:576
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '%s' is ambiguous; possibilities:"
-msgstr "%s: неоднозначный параметр `%s'\n"
+msgstr "%s: неоднозначный параметр '%s'; возможные значения:"
 
 #: lib/getopt.c:624 lib/getopt.c:628
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '--%s' doesn't allow an argument\n"
-msgstr "%s: параметр `--%s' не позволяет аргументы\n"
+msgstr "%s: параметр '--%s' не может иметь аргументы\n"
 
 #: lib/getopt.c:637 lib/getopt.c:642
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '%c%s' doesn't allow an argument\n"
-msgstr "%s: параметр `%c%s' не позволяет аргументы\n"
+msgstr "%s: параметр '%c%s' не может иметь аргументы\n"
 
 #: lib/getopt.c:685 lib/getopt.c:704
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '--%s' requires an argument\n"
-msgstr "%s: Ð¿Ð°Ñ\80амеÑ\82Ñ\80 `%s' Ñ\82Ñ\80ебÑ\83еÑ\82 Ð°Ñ\80гÑ\83менÑ\82Ñ\8b\n"
+msgstr "%s: Ð´Ð»Ñ\8f Ð¿Ð°Ñ\80амеÑ\82Ñ\80а Â«--%s» Ñ\82Ñ\80ебÑ\83еÑ\82Ñ\81Ñ\8f Ð°Ñ\80гÑ\83менÑ\82\n"
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "%s: неопознанный параметр `--%s'\n"
+msgstr "%s: нераспознанный параметр '--%s'\n"
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "%s: неопознанный параметр `%c%s'\n"
+msgstr "%s: нераспознанный параметр '%c%s'\n"
 
 #: lib/getopt.c:805 lib/getopt.c:808
-#, fuzzy, c-format
+#, c-format
 msgid "%s: invalid option -- '%c'\n"
-msgstr "%s: Ð½ÐµÐ¿Ñ\80авилÑ\8cнÑ\8bй Ð¿Ð°Ñ\80амеÑ\82Ñ\80 -- %c\n"
+msgstr "%s: Ð½ÐµÐ´Ð¾Ð¿Ñ\83Ñ\81Ñ\82имÑ\8bй Ð¿Ð°Ñ\80амеÑ\82Ñ\80 â\80\94 '%c'\n"
 
 #: lib/getopt.c:861 lib/getopt.c:878 lib/getopt.c:1088 lib/getopt.c:1106
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option requires an argument -- '%c'\n"
-msgstr "%s: Ð¿Ð°Ñ\80амеÑ\82Ñ\80 Ñ\82Ñ\80ебÑ\83еÑ\82 Ð°Ñ\80гÑ\83менÑ\82 -- %c\n"
+msgstr "%s: Ð´Ð»Ñ\8f Ð¿Ð°Ñ\80амеÑ\82Ñ\80а Ð½Ñ\83жен Ð°Ñ\80гÑ\83менÑ\82 â\80\94 Â«%c»\n"
 
 #: lib/getopt.c:934 lib/getopt.c:950
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '-W %s' is ambiguous\n"
-msgstr "%s: Ð¿ÐµÑ\80амеÑ\82Ñ\80 `-W %s' Ð½ÐµÐ¾Ð´Ð½Ð¾Ð·Ð½Ð°Ñ\87ен\n"
+msgstr "%s: Ð½ÐµÐ¾Ð´Ð½Ð¾Ð·Ð½Ð°Ñ\87нÑ\8bй Ð¿Ð°Ñ\80амеÑ\82Ñ\80 Â«-W %s»\n"
 
 #: lib/getopt.c:974 lib/getopt.c:992
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '-W %s' doesn't allow an argument\n"
-msgstr "%s: параметр `-W %s' не позволяет аргумент\n"
+msgstr "%s: параметр «-W %s» не должен иметь аргументы\n"
 
 #: lib/getopt.c:1013 lib/getopt.c:1031
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '-W %s' requires an argument\n"
-msgstr "%s: Ð¿Ð°Ñ\80амеÑ\82Ñ\80 `%s' Ñ\82Ñ\80ебÑ\83еÑ\82 аргументы\n"
+msgstr "%s: Ð´Ð»Ñ\8f Ð¿Ð°Ñ\80амеÑ\82Ñ\80а Â«-W %s» Ð½Ñ\83жнÑ\8b аргументы\n"
 
 #. TRANSLATORS:
 #. Get translations for open and closing quotation marks.
@@ -119,83 +120,83 @@ msgstr "%s: параметр `%s' требует аргументы\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "«"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "»"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Успешно"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Нет соответствия"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Неправильное регулярное выражение"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Неправильный символ сопоставления"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Неправильное название класса символа"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Завершающая обратная косая черта"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Неправильная обратная ссылка"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Нет соответствия [ или [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Нет соответствия ( или \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Нет соответствия \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Неправильное содержимое \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Неправильный конец области"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Закончилась память"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Неправильное предыдущее регулярное выражение"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Неожиданный конец регулярного выражения"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Слишком большое регулярное выражение"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Нет соответствия ) или \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Нет предыдущего регулярного выражения"
 
@@ -205,7 +206,7 @@ msgstr "Нет предыдущего регулярного выражения"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[yYдД]"
 
@@ -215,19 +216,19 @@ msgstr "^[yYдД]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nNнН]"
 
 #: lib/version-etc.c:74
 #, c-format
 msgid "Packaged by %s (%s)\n"
-msgstr ""
+msgstr "Упаковщик: %s (%s)\n"
 
 #: lib/version-etc.c:77
 #, c-format
 msgid "Packaged by %s\n"
-msgstr ""
+msgstr "Упаковщик: %s\n"
 
 #. TRANSLATORS: Translate "(C)" to the copyright symbol
 #. (C-in-a-circle), if this symbol is available in the user's
@@ -237,7 +238,6 @@ msgid "(C)"
 msgstr "©"
 
 #: lib/version-etc.c:86
-#, fuzzy
 msgid ""
 "\n"
 "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl."
@@ -247,29 +247,29 @@ msgid ""
 "\n"
 msgstr ""
 "\n"
-"Лицензия GPLv3+: GNU GPL версия 3 или позже <http://gnu.org/licenses/gpl."
+"Лицензия GPLv3+: GNU GPL версии 3 или новее <http://gnu.org/licenses/gpl."
 "html>\n"
-"This is free software: you are free to change and redistribute it.\n"
-"There is NO WARRANTY, to the extent permitted by law.\n"
+"Это свободное ПО: вы можете продавать и распространять его.\n"
+"Нет НИКАКИХ ГАРАНТИЙ до степени, разрешённой законом.\n"
 "\n"
 
 #. TRANSLATORS: %s denotes an author name.
 #: lib/version-etc.c:102
 #, c-format
 msgid "Written by %s.\n"
-msgstr "Ð\9dапиÑ\81ано %s.\n"
+msgstr "Ð\90вÑ\82оÑ\80 Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #: lib/version-etc.c:106
 #, c-format
 msgid "Written by %s and %s.\n"
-msgstr "Ð\9dапиÑ\81ано %s и %s.\n"
+msgstr "Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s и %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #: lib/version-etc.c:110
 #, c-format
 msgid "Written by %s, %s, and %s.\n"
-msgstr "Ð\9dапиÑ\81ано %s, %s и %s.\n"
+msgstr "Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s, %s и %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
 #. You can use line breaks, estimating that each author name occupies
@@ -280,7 +280,7 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "and %s.\n"
 msgstr ""
-"Ð\9dапиÑ\81ано %s, %s, %s\n"
+"Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s, %s, %s\n"
 "и %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
@@ -292,7 +292,7 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, and %s.\n"
 msgstr ""
-"Ð\9dапиÑ\81ано %s, %s, %s,\n"
+"Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s, %s, %s,\n"
 "%s и %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
@@ -304,7 +304,7 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, %s, and %s.\n"
 msgstr ""
-"Ð\9dапиÑ\81ано %s, %s, %s,\n"
+"Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s, %s, %s,\n"
 "%s, %s и %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
@@ -316,7 +316,7 @@ msgid ""
 "Written by %s, %s, %s,\n"
 "%s, %s, %s, and %s.\n"
 msgstr ""
-"Ð\9dапиÑ\81ано %s, %s, %s,\n"
+"Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s, %s, %s,\n"
 "%s, %s, %s и %s.\n"
 
 #. TRANSLATORS: Each %s denotes an author name.
@@ -329,7 +329,7 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "and %s.\n"
 msgstr ""
-"Ð\9dапиÑ\81ано %s, %s, %s,\n"
+"Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s, %s, %s,\n"
 "%s, %s, %s, %s\n"
 "и %s.\n"
 
@@ -343,7 +343,7 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "%s, and %s.\n"
 msgstr ""
-"Ð\9dапиÑ\81ано %s, %s, %s,\n"
+"Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s, %s, %s,\n"
 "%s, %s, %s, %s,\n"
 "%s и %s.\n"
 
@@ -357,121 +357,121 @@ msgid ""
 "%s, %s, %s, %s,\n"
 "%s, %s, and others.\n"
 msgstr ""
-"Ð\9dапиÑ\81ано %s, %s, %s,\n"
+"Ð\90вÑ\82оÑ\80Ñ\8b Ð¿Ñ\80огÑ\80аммÑ\8b â\80\94 %s, %s, %s,\n"
 "%s, %s, %s, %s,\n"
-"%s, %s Ð¸ Ð´Ñ\80Ñ\83гими.\n"
+"%s, %s Ð¸ Ð´Ñ\80Ñ\83гие.\n"
 
 #. TRANSLATORS: The placeholder indicates the bug-reporting address
 #. for this package.  Please add _another line_ saying
 #. "Report translation bugs to <...>\n" with the address for translation
 #. bugs (typically your translation team's web or email address).
 #: lib/version-etc.c:245
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "\n"
 "Report bugs to: %s\n"
 msgstr ""
 "\n"
-"СообÑ\89айÑ\82е Ð¾Ð± Ð¾Ñ\88ибкаÑ\85 Ð½Ð° <%s>.\n"
+"Ð\9eб Ð¾Ñ\88ибкаÑ\85 Ñ\81ообÑ\89айÑ\82е Ð¿Ð¾ Ð°Ð´Ñ\80еÑ\81Ñ\83: %s.\n"
 
 #: lib/version-etc.c:247
-#, fuzzy, c-format
+#, c-format
 msgid "Report %s bugs to: %s\n"
-msgstr ""
-"\n"
-"Сообщайте об ошибках на <%s>.\n"
+msgstr "Об ошибках %s сообщайте по адресу: %s\n"
 
 #: lib/version-etc.c:251
 #, c-format
 msgid "%s home page: <%s>\n"
-msgstr ""
+msgstr "Домашняя страница %s: <%s>\n"
 
 #: lib/version-etc.c:253
 #, c-format
 msgid "%s home page: <http://www.gnu.org/software/%s/>\n"
-msgstr ""
+msgstr "Домашняя страница %s: <http://www.gnu.org/software/%s/>\n"
 
 #: lib/version-etc.c:256
 msgid "General help using GNU software: <http://www.gnu.org/gethelp/>\n"
 msgstr ""
+"Общая справка по программному обеспечению GNU: <http://www.gnu.org/gethelp/"
+">\n"
 
 #: lib/xalloc-die.c:34
 msgid "memory exhausted"
 msgstr "закончилась память"
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "Ð\9dе Ð¿Ñ\80авилÑ\8cнÑ\8bй ÐºÐ»Ñ\8eÑ\87: %s"
+msgstr "недопÑ\83Ñ\81Ñ\82имÑ\8bй Ð°Ñ\80гÑ\83менÑ\82 %s%s '%s'"
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "Ð\9dе Ð¿Ñ\80авилÑ\8cнÑ\8bй ÐºÐ»Ñ\8eÑ\87: %s"
+msgstr "недопÑ\83Ñ\81Ñ\82имÑ\8bй Ñ\81Ñ\83Ñ\84Ñ\84икÑ\81 Ð² Ð°Ñ\80гÑ\83менÑ\82е %s%s '%s'"
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "Не правильный ключ: %s"
+msgstr "слишком большой аргумент %s%s '%s'"
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr "Образ диска"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Ошибка открытия %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Не удалось открыть %s на чтение-запись (%s).  %s открыт только для чтения."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s во время позиционирования для чтения на %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s во время чтения на %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Нельзя записать на %s, так как он открыт только для чтения."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s во время позиционирования для записи на %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s во время записи на %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Попробуйте `%s --help' для дополнительной информации.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Использование: %s [ПАРАМЕТР] [УСТРОЙСТВО]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -487,7 +487,7 @@ msgstr ""
 "  -h, --help       отобразить справку и выйти\n"
 "  -v, --version    вывести информацию о версии и выйти\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -495,7 +495,7 @@ msgstr ""
 "\n"
 "Когда УСТРОЙСТВО вы указано, проверять все разделы.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -541,7 +541,7 @@ msgstr ""
 "сделанные вами изменения недоступны для ядра.  Вы должны перезагрузить ваш "
 "компьютер до того, как что-либо делать с %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -554,18 +554,18 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s пытается записать %s на диск"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Не удаётся получить статус устройства %s - %s."
 
-#: libparted/arch/linux.c:586
-#, fuzzy, c-format
+#: libparted/arch/linux.c:679
+#, c-format
 msgid "Unable to determine the dm type of %s."
-msgstr "Ð\9dе Ñ\83даÑ\91Ñ\82Ñ\81Ñ\8f Ð¾Ð¿Ñ\80еделиÑ\82Ñ\8c Ñ\80азмеÑ\80 %s (%s)."
+msgstr "Ð\9dе Ñ\83даÑ\91Ñ\82Ñ\81Ñ\8f Ð¾Ð¿Ñ\80еделиÑ\82Ñ\8c Ñ\82ип dm Ð´Ð»Ñ\8f %s."
 
-#: libparted/arch/linux.c:677
-#, fuzzy, c-format
+#: libparted/arch/linux.c:757
+#, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
@@ -573,30 +573,30 @@ msgstr ""
 "Не удалось определить размер сектора для %s: %s.\n"
 "Использую стандартный размер сектора (%lld)."
 
-#: libparted/arch/linux.c:698
-#, fuzzy, c-format
+#: libparted/arch/linux.c:778
+#, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
-"Ð\9dе Ñ\83далоÑ\81Ñ\8c Ð¾Ð¿Ñ\80еделиÑ\82Ñ\8c Ñ\80азмеÑ\80 Ñ\81екÑ\82оÑ\80а Ð´Ð»Ñ\8f %s: %s.\n"
-"Ð\98Ñ\81полÑ\8cзÑ\83Ñ\8e стандартный размер сектора (%lld)."
+"Ð\9dе Ñ\83далоÑ\81Ñ\8c Ð¾Ð¿Ñ\80еделиÑ\82Ñ\8c Ñ\84изиÑ\87еÑ\81кий Ñ\80азмеÑ\80 Ñ\81екÑ\82оÑ\80а Ð´Ð»Ñ\8f %s.\n"
+"Ð\91Ñ\83деÑ\82 Ð¸Ñ\81полÑ\8cзоваÑ\82Ñ\8cÑ\81Ñ\8f стандартный размер сектора (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Не удаётся определить размер %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Не удаётся получить идентификатор устройства %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Обычный IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -610,111 +610,109 @@ msgstr ""
 "комбинаций меток/файловых систем, например GPT и ext2/3.\n"
 "За дополнительной информацией обращайтесь на сайт программы."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Ошибка инициализации SCSI-устройства %s - %s"
 
-#: libparted/arch/linux.c:1111
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1191
+#, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
-"Устройство %s имеет нулевую длину и не может содержать файловую систему или "
-"таблицу разделов.  Возможно вы выбрали неправильное устройство?"
+"Устройство %s слишком мало и поэтому не может содержать файловую систему или "
+"таблицу разделов. Возможно вы выбрали неправильное устройство?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
 "unless you REALLY know what you're doing!"
 msgstr ""
-"Не удаётся определить геометрию файла/устройства %s.  Вы не должны "
+"Не удаётся определить геометрию файла/устройства %s. Вы не должны "
 "использовать Parted, если вы не знаете НАВЕРНЯКА, что делаете!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
-msgstr ""
+msgstr "Универсальная карта памяти SD/MMC"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID контроллер"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "SATA устройство Promise SX8"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
-msgstr ""
+msgstr "Устройство ATA over Ethernet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "IBM S390 DASD привод"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATARAID Контроллер"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O Контроллер"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux UBD"
 
-#: libparted/arch/linux.c:1389
-#, fuzzy
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr "Устройство источник?"
+msgstr "Устройство типа loopback"
 
-#: libparted/arch/linux.c:1397
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1481
+#, c-format
 msgid "Linux device-mapper (%s)"
-msgstr "Linux device-mapper"
+msgstr "Linux device-mapper (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Виртуальное блочное устройство Xen"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Неизвестный"
 
-#: libparted/arch/linux.c:1422
-#, fuzzy
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
-msgstr "Ð\92иÑ\80Ñ\82Ñ\83алÑ\8cное Ð±Ð»Ð¾Ñ\87ное Ñ\83Ñ\81Ñ\82Ñ\80ойÑ\81Ñ\82во Xen"
+msgstr "Ð\91лоÑ\87ное Ñ\83Ñ\81Ñ\82Ñ\80ойÑ\81Ñ\82во Virtio"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
-msgstr ""
+msgstr "Программный RAID-массив Linux"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Не поддерживаемый тип устройства"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
+#, c-format
 msgid "Error fsyncing/closing %s: %s"
-msgstr "Ошибка открытия %s: %s"
+msgstr "Ошибка синхронизации или закрытия файлов %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
-msgstr ""
+msgstr "%0.0sконец файла при чтении %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -725,17 +723,12 @@ msgstr ""
 "Linux не узнает об изменениях %s до перезагрузки -- поэтому не пытайтесь "
 "примонтировать или как либо использовать его до перезагрузки."
 
-#: libparted/arch/linux.c:2517
-#, fuzzy, c-format
+#: libparted/arch/linux.c:2683
+#, c-format
 msgid "Unable to determine the start and length of %s."
-msgstr "Не удаётся определить размер %s (%s)."
+msgstr "Не удаётся определить начало и длину %s."
 
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "%s : Не удалось прочесть блок раздела %llu\n"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -743,31 +736,24 @@ msgid ""
 "the old partition(s) will remain in use.  You should reboot now before "
 "making further changes."
 msgstr ""
+"Был записан раздел(ы) %s на %s, но об этом изменении не удалось "
+"проинформировать ядро, вероятно, из-за занятости раздела. В результате "
+"старый раздел всё ещё используется. Чтобы выполнить дальнейшие изменения вам "
+"нужно перезагрузить систему."
 
-#: libparted/arch/linux.c:2785
+#: libparted/cs/geom.c:162
 #, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted не смог считать таблицу разделов на %s (%s).  Это значит, что "
-"сделанные вами изменения будут недоступны для Linux. "
-
-#: libparted/cs/geom.c:161
-#, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
-msgstr "Невозможно переместить конец раздела за начало!"
-
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Невозможно создать раздел за пределами устройства!"
+msgstr ""
+"Невозможно переместить конец раздела за начало! (начальный сектор =%jd длина="
+"%jd)"
 
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Попытка записи секторов %ld-%ld за пределы раздела на %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "проверка на плохие блоки"
 
@@ -781,12 +767,12 @@ msgstr "Backtrace имеет %d вызовов из стека:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Проверка условия (%s) на %s:%d в функции %s() не удалась."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: метка диска не определена"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -795,41 +781,40 @@ msgstr ""
 "Эта библиотеке libparted не содержит поддержки записи для %s.  Наверное "
 "скомпилирована только для чтения."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Раздел %d содержит %s, но файловая система %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
-msgstr ""
+msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
-#, fuzzy
+#: libparted/disk.c:842
 msgid "pmbr_boot"
-msgstr "загрузочный"
+msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
-#, fuzzy, c-format
+#: libparted/disk.c:847
+#, c-format
 msgid "Unknown disk flag, %d."
-msgstr "Неизвестный флаг раздела, %d."
+msgstr "Неизвестный флаг диска, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Подписи к дискам %s не поддерживают расширенные разделы."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "Подписи к дискам %s не поддерживают логические или расширенные разделы."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Слишком много основных разделов."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -837,110 +822,126 @@ msgstr ""
 "Невозможно добавить логический раздел на %s, потому что нет расширенного "
 "раздела."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Невозможно создать больше одного расширенного раздела на %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Невозможно создать логический раздел больше расширенного раздела."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "Невозможно создать логический раздел больше расширенного раздела на %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Невозможно создавать пересекающиеся разделы."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Невозможно создать основной раздел внутри расширенного."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Невозможно создать раздел за пределами устройства!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Невозможно создавать пересекающиеся разделы."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "метаданные"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "свободно"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "расширенный"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "логический"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "основной"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "загрузочный"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
-msgstr ""
+msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "корневой"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "подкачка"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "скрытый"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
-msgstr ""
+msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
-msgstr ""
+msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
-msgstr ""
+msgstr "legacy_boot"
+
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Неизвестный флаг раздела, %d."
@@ -998,18 +999,17 @@ msgid "Cancel"
 msgstr "Отменить"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"В GNU parted была обнаружена ошибка.  Обратитесь за информацией на сайт "
+"В GNU parted была обнаружена ошибка. Обратитесь за информацией на сайт "
 "parted http://www.gnu.org/software/parted/parted.html за дополнительной "
-"информацией относительно отправке отчёта об ошибке! Пожалуйста, пошлите по "
-"адресу bug-parted@gnu.org отчёт об ошибке, содержащий хотя-бы версию (%s) и "
-"следующее сообщение:  "
+"информацией относительно отправки сообщение об ошибке! Пошлите по адресу %s "
+"сообщение об ошибке, содержащее хотя бы версию (%s) и следующую информацию:"
 
 #: libparted/labels/aix.c:103
 msgid "Support for reading AIX disk labels is is not implemented yet."
@@ -1041,10 +1041,10 @@ msgstr ""
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "Поддержка записи флагов на метках диска AIX пока не реализована."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Не удалось удовлетворить все ограничения целостности раздела."
@@ -1053,33 +1053,32 @@ msgstr "Не удалось удовлетворить все ограничен
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Не удалось назначить слот подписи к диску bsd."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Не удалось назначить слот подписи к диску dasd"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Неверная таблица разделов на %s -- неправильная сигнатура %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Неверная таблица разделов - рекурсивный раздел на %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Расширенные разделы не могут быть скрыты при msdos метках диска."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted не может изменять размер разделов управляемых Windows Dynamic Disk."
 
-#: libparted/labels/dos.c:2414
-#, fuzzy
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
-msgstr "Ð\9dевозможно Ñ\81оздаÑ\82Ñ\8c Ð±Ð¾Ð»Ñ\8cÑ\88е Ñ\80азделов."
+msgstr "не Ñ\83даÑ\91Ñ\82Ñ\81Ñ\8f Ñ\81оздаÑ\82Ñ\8c Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ\82елÑ\8cнÑ\8bе Ñ\80азделÑ\8b"
 
 #: libparted/labels/dvh.c:182
 #, c-format
@@ -1103,136 +1102,127 @@ msgid "Only logical partitions can be a boot file."
 msgstr "Только логические разделы могут быть загрузочными файлами."
 
 #: libparted/labels/dvh.c:718
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "failed to set dvh partition name to %s:\n"
 "Only logical partitions (boot files) have a name."
-msgstr "Только логические разделы  (загрузочные файлы) могут иметь имя."
+msgstr ""
+"ошибка при задании имени %s для раздела dvh:\n"
+"Только логические разделы (загрузочные файлы) могут иметь имя."
 
 #: libparted/labels/dvh.c:811
 msgid "Too many primary partitions"
 msgstr "Слишком много основных разделов"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "ошибка открытия"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "ошибка при поиске дорожки"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "ошибка чтения"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "ошибка ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "Несоответствие версий API"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Не поддерживаемый тип диска"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Не поддерживаемый формат диска"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Диск используется"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Ошибка синтаксиса конфигурационного файла"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Метка тома повреждена"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Имя набора данных повреждено"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Ошибка выделения памяти"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Ошибка проверки устройства"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Указанное устройство не является правильным DASD устройством"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Критическая ошибка"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Нет комнаты для метки тома."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Нет комнаты для информации о разделе."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Неправильный VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Не удалось получить версию API."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 "Текущая версия API '%d' не соответствует версии API dasd драйвера '%d'!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Не удалось получить информацию о геометрии диска."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Не удалось получить информацию о размере блока."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Не удалось получить информацию о диске."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s содержит сигнатуры GPT, означающие наличие GPT таблицы.  Но он не "
-"содержит нормальной фальшивой таблицы разделов msdos, как должен.  Скорее "
-"всего он повреждён -- возможно программой, которая не понимает таблицы "
-"разделов GPT.  Или возможно вы удалили таблицу GPT и теперь используете "
-"таблицу разделов msdos.  Это таблица разделов GPT?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "устройство слишком маленькое для GPT"
 
-#: libparted/labels/gpt.c:700
-#, fuzzy, c-format
+#: libparted/labels/gpt.c:734
+#, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
-"Формат таблицы разделов GPT версии %x, которая новее, чем Parted может "
-"распознать.  Расскажите нам об этом!  bug-parted@gnu.org"
+"Формат таблицы разделов GPT версии %x новее, чем Parted может распознать. "
+"Сообщите об этом!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1243,44 +1233,45 @@ msgstr ""
 "таблицу GPT для использования всего места (дополнительно %llu блоков) или "
 "продолжить с текущими настройками? "
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
-"Резервная копия таблицы GPT не находится в конце диска, как должно быть.  "
-"Это может означать, что другая операционная система верит, что диск меньше.  "
+"Резервная копия таблицы GPT находится не в конце диска, как должно быть. "
 "Исправить это, передвинув резервную копию в конец диска (и удалив старую)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
 msgstr ""
-"Обе - и главная, и резервная таблицы GPT повреждены.  Попробуйте создать "
-"новую и использовать функцию Parted восстановить для восстановления разделов."
+"Обе — и главная, и резервная таблицы GPT — повреждены. Попробуйте создать "
+"новую и используя Parted для восстановления разделов."
 
-#: libparted/labels/gpt.c:1002
-#, fuzzy
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr ""
-"Ð\93лавнаÑ\8f Ñ\82аблиÑ\86а GPT Ð¿Ð¾Ð²Ñ\80еждена, Ð½Ð¾ Ñ\80езеÑ\80внаÑ\8f ÐºÐ¾Ð¿Ð¸Ñ\8f Ð²Ñ\80оде Ð½Ð¾Ñ\80малÑ\8cнаÑ\8f, Ð¿Ð¾Ñ\8dÑ\82омÑ\83 "
-"она Ð¸ Ð±Ñ\83деÑ\82 Ð¸Ñ\81полÑ\8cзоваÑ\82Ñ\8cÑ\81Ñ\8f."
+"РезеÑ\80внаÑ\8f Ñ\82аблиÑ\86а GPT Ð¿Ð¾Ð²Ñ\80еждена, Ð½Ð¾ Ð³Ð»Ð°Ð²Ð½Ð°Ñ\8f ÐºÐ°Ð¶ÐµÑ\82Ñ\81Ñ\8f ÐºÐ¾Ñ\80Ñ\80екÑ\82ной, Ð¿Ð¾Ñ\8dÑ\82омÑ\83 Ð¾Ð½Ð° "
+"и будет использоваться."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr ""
-"Ð\93лавнаÑ\8f Ñ\82аблиÑ\86а GPT Ð¿Ð¾Ð²Ñ\80еждена, Ð½Ð¾ Ñ\80езеÑ\80внаÑ\8f ÐºÐ¾Ð¿Ð¸Ñ\8f Ð²Ñ\80оде Ð½Ð¾Ñ\80малÑ\8cнаÑ\8f, Ð¿Ð¾Ñ\8dÑ\82омÑ\83 "
-"она и будет использоваться."
+"Ð\93лавнаÑ\8f Ñ\82аблиÑ\86а GPT Ð¿Ð¾Ð²Ñ\80еждена, Ð½Ð¾ Ñ\80езеÑ\80внаÑ\8f ÐºÐ¾Ð¿Ð¸Ñ\8f ÐºÐ°Ð¶ÐµÑ\82Ñ\81Ñ\8f ÐºÐ¾Ñ\80Ñ\80екÑ\82ной, "
+"поÑ\8dÑ\82омÑ\83 Ð¾Ð½Ð° Ð¸ Ð±Ñ\83деÑ\82 Ð¸Ñ\81полÑ\8cзоваÑ\82Ñ\8cÑ\81Ñ\8f."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
-msgstr ""
+msgstr "ошибка CRC массива таблицы основных разделов"
+
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "ошибка при трансляции имени раздела"
 
 #: libparted/labels/mac.c:184
 #, c-format
@@ -1296,39 +1287,39 @@ msgstr "Карта разделов не содержит элемента ка
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s слишком меленький для метки диска Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Раздел %d содержит неправильную сигнатуру %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Раздел %d имеет неправильную длину 0 байт!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Область данных не начинается в начале раздела."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Область загрузки не начинается в начале раздела."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Область загрузки не покрывает весь раздел."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Область данных не покрывает весь раздел."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr "Неправильный размер блока на устройстве: %d байт не делится на 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1337,11 +1328,11 @@ msgstr ""
 "Драйвер говорит,что размер физического блока равен %d байт, но Linux "
 "говорит, что он %d байт."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Не найдено правильной карты разделов."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1350,7 +1341,7 @@ msgstr ""
 "Конфликт размеров элементов карты разделов!  Элемент 1 говорит %d, но %d "
 "говорит %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Ужас!  Содержится 2 элемента таблицы разделов!"
 
@@ -1361,7 +1352,7 @@ msgid ""
 msgstr ""
 "Изменив имя root или swap раздела заставит Linux перестать понимать их."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Не удалось создать другой раздел -- слишком маленькая карта разделов!"
 
@@ -1387,6 +1378,8 @@ msgid ""
 "partition length of %jd sectors exceeds the %s-partition-table-imposed "
 "maximum of %jd"
 msgstr ""
+"длина раздела в %jd секторов превышает максимальное значение %s-налагаемую-"
+"на-таблицы-разделов для %jd"
 
 #: libparted/labels/pt-tools.c:146
 #, c-format
@@ -1394,6 +1387,8 @@ msgid ""
 "starting sector number, %jd exceeds the %s-partition-table-imposed maximum "
 "of %jd"
 msgstr ""
+"номер начального сектора %jd превышает максимальное значение %s-налагаемую-"
+"на-таблицы-разделов для %jd"
 
 #: libparted/labels/rdb.c:169
 #, c-format
@@ -1498,63 +1493,66 @@ msgstr "не удалось записать на устройство"
 msgid "reading from device failed"
 msgstr "не удалось прочесть с устройства"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Не удалось прочесть метку тома."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Не удалось записать метку тома."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Не удалось прочесть VTOC метки."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Не удалось прочесть VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Не удалось прочесть VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Не удалось прочесть VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Не удалось прочесть VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Не удалось записать VTOC метки."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Не удалось записать VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Не удалось записать VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Не удалось записать VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Не удалось записать VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Не удалось записать VTOC FMT9 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Недостаточно памяти."
 
 #: libparted/unit.c:139
 msgid "Cannot get unit size for special unit 'COMPACT'."
-msgstr ""
-"Невозможно определить размер объекта для специального объекта 'COMPACT'."
+msgstr "Не удаётся определить размер специальной единицы измерения 'COMPACT'."
 
 #: libparted/unit.c:385
 #, c-format
@@ -1582,27 +1580,27 @@ msgstr "Неправильный номер."
 
 #: libparted/unit.c:538
 msgid "Use a smaller unit instead of a value < 1"
-msgstr ""
+msgstr "Используйте меньшую единицу измерения вместо значений < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Не удалось выделить блок раздела\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Не удалось выделить блок\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Не удалось прочесть загрузочный блок %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Не удалось прочесть корневой блок %llu\n"
@@ -1642,7 +1640,7 @@ msgstr "%s : Не найден rdb блок, такого не должно бы
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Не удалось прочесть блок раздела %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1650,92 +1648,73 @@ msgstr ""
 "GNU parted был неправильно скомпилирован: загрузочный сектор FAT должен "
 "занимать 512 байт.  Поддержка FAT будет отключена."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Файловая система имеет неверную для FAT сигнатуру."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "Файловая система имеет неверный для FAT размер сектора."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "Файловая система имеет неверный для FAT размер кластера."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Файловая система имеет неверное для FAT число зарезервированных секторов."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Файловая система имеет неверное количество FAT."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Эта файловая система имеет размер логического сектора %d.  Считается, что "
-"GNU Parted работает неправильно с секторами, размер которых отличен от 512 "
-"байт."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
+"CHS геометрия файловой системы (%d, %d, %d) некорректна. CHS геометрия "
+"таблицы разделов — (%d, %d, %d)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "Загрузочный сектор FAT содержит размер логического сектора, равный 0.  Это "
 "странно. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "В загрузочном секторе FAT не содержится информации о таблицах FAT.  Это "
 "странно. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "В соответствии с загрузочным сектором FAT, кластер содержит 0 секторов.  Это "
 "странно. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Файловая система FAT12, не поддерживается."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Информационный сектор имеет неверную сигнатуру (%x).  Выберите отмену, и "
-"пошлите сообщение об ошибке.  Если вы уже отчаялись, то, вероятно, можно "
-"проигнорировать."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
-#, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
-msgstr "Не распознанная сигнатура linux swap '%10s'."
+msgstr "Нераспознанная устаревшая сигнатура linux swap '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
-#, fuzzy, c-format
+#: libparted/fs/linux_swap/linux_swap.c:268
+#, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
-msgstr "Не распознанная сигнатура linux swap '%10s'."
+msgstr "Нераспознанная новая сигнатура linux swap '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
-#, fuzzy, c-format
+#: libparted/fs/linux_swap/linux_swap.c:308
+#, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
-msgstr "Не распознанная сигнатура linux swap '%10s'."
+msgstr "Нераспознанная сигнатура swsusp linux swap '%9s'."
 
 #: libparted/fs/hfs/probe.c:50 libparted/fs/r/hfs/probe.c:50
 #, c-format
@@ -1746,7 +1725,17 @@ msgstr ""
 "Parted не может работать с файловыми системами HFS, на дисках с размером "
 "сектора не равным %d байт."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Эта файловая система имеет размер логического сектора %d.  Считается, что "
+"GNU Parted работает неправильно с секторами, размер которых отличен от 512 "
+"байт."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1761,6 +1750,16 @@ msgstr ""
 "Исправить, CHS геометрия файловой системы будет изменена для согласования с "
 "CHS геометрией таблицы раздела."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Информационный сектор имеет неверную сигнатуру (%x).  Выберите отмену, и "
+"пошлите сообщение об ошибке.  Если вы уже отчаялись, то, вероятно, можно "
+"проигнорировать."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1824,12 +1823,12 @@ msgstr ""
 "Файл %s помечен как системный.  Это значит, что его перемещение может "
 "привести к прекращению работы некоторых программ."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Раздел слишком большой/маленький для файловой системы %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1838,11 +1837,11 @@ msgstr ""
 "означает, выберите отмену, запустите scandisk для файловой системы, и затем "
 "возвращайтесь."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Для этого типа FAT допустимых конфигураций нет."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1853,7 +1852,7 @@ msgstr ""
 "Размер кластера %dk (ожидаемый %dk); число кластеров %d (ожидаемое %d); "
 "размер FAT %d секторов (ожидаемый %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -1972,9 +1971,9 @@ msgid "Could not detect file system."
 msgstr "Не удаётся определить файловую систему."
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
-#, fuzzy, c-format
+#, c-format
 msgid "resizing %s file systems is not supported"
-msgstr "Ð\9fоддеÑ\80жка Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ\8f Ñ\80азмеÑ\80а Ñ\84айловой Ñ\81иÑ\81Ñ\82емÑ\8b %s Ð¿Ð¾ÐºÐ° Ð½Ðµ Ñ\80еализована."
+msgstr "изменение Ñ\80азмеÑ\80а Ñ\84айловой Ñ\81иÑ\81Ñ\82емÑ\8b %s Ð½Ðµ Ñ\80еализовано"
 
 #: libparted/fs/r/filesys.c:170
 msgid "The file system is bigger than its volume!"
@@ -1997,8 +1996,8 @@ msgid ""
 "Trying to register an extent starting at block 0x%X, but another one already "
 "exists at this position.  You should check the file system!"
 msgstr ""
-"Ð\9fÑ\8bÑ\82аÑ\8eÑ\81Ñ\8c Ð·Ð°Ñ\80егиÑ\81Ñ\82Ñ\80иÑ\80оваÑ\82Ñ\8c Ð½Ð°Ñ\87ало Ð±Ð»Ð¾ÐºÐ° Ð½Ð° 0x%X, Ð½Ð¾ Ð´Ñ\80Ñ\83гой Ñ\83же Ñ\81Ñ\83Ñ\89еÑ\81Ñ\82вÑ\83еÑ\82 Ð½Ð° "
-"этой позиции.  Вам нужно проверить файловую ситему на ошибки!"
+"Ð\9fÑ\80и Ð¿Ð¾Ð¿Ñ\8bÑ\82ке Ð·Ð°Ñ\80егиÑ\81Ñ\82Ñ\80иÑ\80оваÑ\82Ñ\8c extent, Ð½Ð°Ñ\87инаÑ\8eÑ\89ийÑ\81Ñ\8f Ñ\81 Ð±Ð»Ð¾ÐºÐ° 0x%X, Ð¾Ð±Ð½Ð°Ñ\80Ñ\83жен "
+"другой блок в этой позиции.  Вам нужно проверить файловую систему на ошибки!"
 
 #: libparted/fs/r/hfs/cache.c:213
 #, c-format
@@ -2006,8 +2005,8 @@ msgid ""
 "Trying to move an extent from block Ox%X to block Ox%X, but another one "
 "already exists at this position.  This should not happen!"
 msgstr ""
-"Ð\9fÑ\8bÑ\82аÑ\8eÑ\81Ñ\8c Ð¿ÐµÑ\80емеÑ\81Ñ\82иÑ\82Ñ\8c Ñ\80аÑ\81Ñ\88иÑ\80ение Ð¸Ð· Ð±Ð»Ð¾ÐºÐ° Ox%X Ð² Ð±Ð»Ð¾Ðº Ox%X, Ð½Ð¾ Ð´Ñ\80Ñ\83гой Ñ\83же "
-"содержится на этой позиции.  Это не должно было случиться!"
+"Ð\9fÑ\80и Ð¿Ð¾Ð¿Ñ\8bÑ\82ке Ð¿ÐµÑ\80емеÑ\81Ñ\82иÑ\82Ñ\8c extent Ð¸Ð· Ð±Ð»Ð¾ÐºÐ° Ox%X Ð² Ð±Ð»Ð¾Ðº Ox%X, Ð¾Ð±Ð½Ð°Ñ\80Ñ\83жен Ð´Ñ\80Ñ\83гой "
+"блок в этой позиции. Это не должно было случиться!"
 
 #: libparted/fs/r/hfs/file.c:142
 #, c-format
@@ -2275,9 +2274,8 @@ msgid "displays the version"
 msgstr "отображает версию"
 
 #: parted/parted.c:130
-#, fuzzy
 msgid "alignment for new partitions"
-msgstr "Ð\9dевозможно Ñ\81оздаÑ\82Ñ\8c Ð±Ð¾Ð»Ñ\8cÑ\88е Ñ\80азделов."
+msgstr "вÑ\8bÑ\80авнивание Ð½Ð¾Ð²Ñ\8bÑ\85 Ñ\80азделов"
 
 #: parted/parted.c:142
 msgid ""
@@ -2291,48 +2289,58 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "ТИП_МЕТКИ один из: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "ФЛАГ один из: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
-msgstr "УСТР. Ð¾Ð´Ð¸Ð½ из: "
+msgstr "Ð\95Ð\94Ð\98Ð\9dÐ\98ЦÐ\90 Ð¾Ð´Ð½Ð° из: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
-msgstr ""
+msgstr "предпочитаемое выравнивание: минимальное или оптимальное"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "ТИП_РАЗД один из: основной, логический, расширенный\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "ТИП_ФС один из: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
-"НАЧАЛО и КОНЕЦ - это место диска, типа 4GB или 10%.  Отрицательные значения "
-"вычитаются от конца диска.  Например, -1s обозначает последний сектор.\n"
+"НАЧАЛО и КОНЕЦ — это местоположение на диске, например 4GB или 10%. "
+"Отрицательные значения отсчитываются от конца диска. Например, -1s "
+"обозначает последний сектор.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"КОНЕЦ — это местоположение на диске, например 4GB или 10%. Отрицательные "
+"значения отсчитываются от конца диска. Например, -1s обозначает последний "
+"сектор.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "СОСТ. один из: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "УСТРОЙСТВОМ обычно является /dev/hda или /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
-msgstr "ИМЯ - любое слово, какое захотите\n"
+msgstr "ИМЯ  любое слово, какое захотите\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2352,208 +2360,218 @@ msgstr ""
 "или ПРИГОДНОСТИ ДЛЯ КОНКРЕТНОЙ ЦЕЛИ.  Для получения более подробной "
 "информации смотрите Универсальную Общественную Лицензию GNU.\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(времени прошло %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
-"Раздел %s используется.  Вы должны отмонтировать его перед изменением  с "
-"помощью Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "Раздел %s используется. Действительно хотите продолжить?"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Разделы на %s используются."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 "Существующая метка диска на  %s будет уничтожена и все данные на этом диске "
-"будут утеряны. Вы хотите продолжить?"
+"будут потеряны. Действительно продолжить?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Новый тип метки диска?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Тип раздела?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Имя раздела?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Тип файловой системы?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Начало?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Конец?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Вы запросили раздел от %s до %s.\n"
-"Ближайшие точки с которыми мы можем работать от %s до %s.  Это подходит для "
-"вас?"
+"Вы запросили раздел от %s до %s (сектора %llu..%llu).\n"
+"Ближайшие точки, с которыми мы можем работать, от %s до %s (сектора %llu.."
+"%llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
+"\n"
+"Это вас устраивает?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
+"Полученный раздел не выровнен для обеспечения лучшей производительности."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Номер раздела?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
-"Геометрия цилиндров, головок, секторов BIOS: %d,%d,%d.  Каждый цилиндр %s.\n"
+"Геометрия цилиндров, головок, секторов BIOS: %d,%d,%d. Каждый цилиндр %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Модель: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Диск %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Размер сектора (логич./физич.): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Таблица разделов: %s\n"
 
-#: parted/parted.c:992
-#, fuzzy, c-format
+#: parted/parted.c:1017
+#, c-format
 msgid "Disk Flags: %s\n"
-msgstr "Ð\94иÑ\81к %s: %s\n"
+msgstr "Флаги Ð´Ð¸Ñ\81ка: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Номер"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Начало"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Конец"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Размер"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Тип"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Файловая система"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Имя"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Флаги"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Свободное место"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
-msgstr ""
-"Раздел %s %s найден на %s -> %s.  Вы хотите добавить его в таблицу разделов?"
+msgstr "Раздел %s %s найден на %s -> %s. Добавить его в таблицу разделов?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "поиск файловых систем"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "Команда resize была удалена в parted 3.0"
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+"Уменьшение раздела может привести к потере данных, вы действительно хотите "
+"продолжить?"
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Новое устройство?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
-msgstr ""
+msgstr "тип выравнивания (min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
-msgstr ""
+msgstr "%d выровнен\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
-msgstr ""
+msgstr "%d не выровнен\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Флаг для инвертации?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Новое состояние?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
-msgstr "УÑ\81Ñ\82Ñ\80ойÑ\81Ñ\82во?"
+msgstr "Ð\95диниÑ\86Ñ\8b?"
 
-#: parted/parted.c:1807
-#, fuzzy
+#: parted/parted.c:1913
 msgid "align-check"
-msgstr "check"
+msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
+"align-check ТИП N                проверить, что раздел N выровнен согласно "
+"ТИПУ(min|opt)"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2561,73 +2579,72 @@ msgstr ""
 "help [КОМАНДА]                   распечатать общую справку или справку по "
 "КОМАНДЕ"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
-"mklabel,mktable ТИП_МЕТКИ         создать новую метку диска (таблицу "
-"раздела) "
+"mklabel,mktable ТИП_МЕТКИ        создать новую метку диска (таблицу раздела)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart ТИП_РАЗД [ТИП_ФС] НАЧ КОН создать раздел"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
 msgstr ""
-"mkpart делает раздел без создания на нем новой файловой системы.  ТИП_ФС "
+"mkpart делает раздел без создания на нём новой файловой системы. ТИП_ФС "
 "должен быть указан для записи идентификатора раздела\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
-msgstr "name Ð\9dÐ\9eÐ\9cÐ\95Р Ð\98Ð\9cЯ                   Ð½Ð°Ð·Ð½Ð°Ñ\87аеÑ\82 имя разделу НОМЕР на ИМЯ"
+msgstr "name Ð\9dÐ\9eÐ\9cÐ\95Р Ð\98Ð\9cЯ                   Ð½Ð°Ð·Ð½Ð°Ñ\87иÑ\82Ñ\8c имя разделу НОМЕР на ИМЯ"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
-"print [devices|free|list,all|Ð\9dÐ\9eÐ\9cÐ\95Р]     Ð¾Ñ\82обÑ\80ажаеÑ\82 таблицу разделов, "
+"print [devices|free|list,all|Ð\9dÐ\9eÐ\9cÐ\95Р]     Ð¾Ñ\82обÑ\80азиÑ\82Ñ\8c таблицу разделов, "
 "доступные устройства, свободное место, все найденные разделы или "
 "определённый раздел"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
-"Без параметров, 'print' отображает всю таблицу разделов. Но с параметрами "
+"Без параметров, «print» отображает всю таблицу разделов. Но с параметрами "
 "могут выполняться и некоторые другие действия.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : отобразить все активные блочные устройства\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2635,33 +2652,33 @@ msgstr ""
 "  free      : отображает информацию о свободное не разбитом пространстве на "
 "текущем блочном устройстве\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : отображает таблицы разделов на всех активных блочных "
 "устройствах\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 "  НОМЕР    : отображает более детальную информацию о требуемом разделе\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                             выйти из программы"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "resize"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2669,80 +2686,93 @@ msgstr ""
 "rescue НАЧАЛО КОНЕЦ              восстановить потерянный раздел в промежутке "
 "от НАЧАЛА до КОНЦА"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "Команда resize была удалена в parted 3.0\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "resizepart"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "resizepart НОМЕР КОН             изменить размер раздела НОМЕР"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm НОМЕР                         удалить раздел НОМЕР"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select УСТРОЙСТВО                выбор устройства для редактирования"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
-msgstr ""
+msgstr "disk_set"
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set НОМЕР ФЛАГ СОСТОЯНИЯ         изменить ФЛАГ на разделе НОМЕР"
+msgstr "disk_set ФЛАГ СОСТОЯНИЕ          изменить ФЛАГ на выбранном устройстве"
 
-#: parted/parted.c:1918
-#, fuzzy
+#: parted/parted.c:2038
 msgid "disk_toggle"
-msgstr "toggle"
+msgstr "disk_toggle"
 
-#: parted/parted.c:1921
-#, fuzzy
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
-"toggle [НОМЕР [ФЛАГ]]            переключает состояния ФЛАГА на разделе НОМЕР"
+"disk_toggle [ФЛАГ]               переключить состояние ФЛАГА на выбранном "
+"устройстве"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
-msgstr "set Ð\9dÐ\9eÐ\9cÐ\95Р Ð¤Ð\9bÐ\90Ð\93 Ð¡Ð\9eСТÐ\9eЯÐ\9dÐ\98Я         изменить ФЛАГ на разделе НОМЕР"
+msgstr "set Ð\9dÐ\9eÐ\9cÐ\95Р Ð¤Ð\9bÐ\90Ð\93 Ð¡Ð\9eСТÐ\9eЯÐ\9dÐ\98Ð\95         изменить ФЛАГ на разделе НОМЕР"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
-"toggle [Ð\9dÐ\9eÐ\9cÐ\95Р [ФÐ\9bÐ\90Ð\93]]            Ð¿ÐµÑ\80еклÑ\8eÑ\87аеÑ\82 Ñ\81оÑ\81Ñ\82оÑ\8fниÑ\8f ФЛАГА на разделе НОМЕР"
+"toggle [Ð\9dÐ\9eÐ\9cÐ\95Р [ФÐ\9bÐ\90Ð\93]]            Ð¿ÐµÑ\80еклÑ\8eÑ\87иÑ\82Ñ\8c Ñ\81оÑ\81Ñ\82оÑ\8fние ФЛАГА на разделе НОМЕР"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
-"unit УСТРОЙСТВО                  установить устройство по умолчанию на "
-"УСТРОЙСТВО"
+"unit ЕДИНИЦА                     использовать для измерений данную ЕДИНИЦУ"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2750,28 +2780,28 @@ msgstr ""
 "version                                  отображает текущую версию GNU "
 "Parted и информацию о лицензии"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 "version отображает информацию о лицензии и версии этой копии GNU Parted\n"
 
-#: parted/parted.c:2028
-#, fuzzy, c-format
+#: parted/parted.c:2148
+#, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
-msgstr "Использование: %s [-hlmsv] [УСТРОЙСТВО [КОМАНДА [ПАРАМЕТРЫ]]...]\n"
+msgstr ""
+"Использование: %s [-hlmsv] [-a<align>] [УСТРОЙСТВО [КОМАНДА [ПАРАМЕТРЫ]]…]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Устройство не найдено"
 
-#: parted/parted.c:2109
-#, fuzzy
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
-msgstr "ВНИМАНИЕ: Вы не администратор.  Следите за правами."
+msgstr "ВНИМАНИЕ: у вас нет прав администратора. Могут возникнуть проблемы.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Не забудьте обновить /etc/fstab.\n"
 
@@ -2787,10 +2817,10 @@ msgid ""
 "in\n"
 "interactive mode.\n"
 msgstr ""
-"Ð\98Ñ\81полÑ\8cзование: parted [Ð\9eÐ\9fЦÐ\98Я]... [УСТРОЙСТВО [КОМАНДА [ПАРАМЕТРЫ]...]...]\n"
+"Ð\98Ñ\81полÑ\8cзование: parted [Ð\9aÐ\9bЮЧ]... [УСТРОЙСТВО [КОМАНДА [ПАРАМЕТРЫ]...]...]\n"
 "Применяет КОМАНДУ с ПАРАМЕТРАМИ к УСТРОЙСТВУ.  Если ни одной КОМАНДЫ не "
 "задано,\n"
-"вÑ\8bполнÑ\8fеÑ\82Ñ\81Ñ\8f в интерактивном режиме.\n"
+"пÑ\80огÑ\80амма Ñ\80абоÑ\82аеÑ\82 в интерактивном режиме.\n"
 
 #: parted/ui.c:170
 #, c-format
@@ -2870,7 +2900,7 @@ msgid ""
 "Error: SEGV_MAPERR (Address not mapped to object)\n"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: SEGV_MAPERR (Ð\90дрес не назначен объекту)\n"
+"Ð\9eÑ\88ибка: SEGV_MAPERR (адрес не назначен объекту)\n"
 
 #: parted/ui.c:360
 msgid ""
@@ -2878,7 +2908,7 @@ msgid ""
 "Error: SEGV_ACCERR (Invalid permissions for mapped object)\n"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: SEGV_ACCERR (Ð\9dе Ð¿Ñ\80авилÑ\8cные права для назначенного объекта)\n"
+"Ð\9eÑ\88ибка: SEGV_ACCERR (недопÑ\83Ñ\81Ñ\82имые права для назначенного объекта)\n"
 
 #: parted/ui.c:365
 msgid ""
@@ -2886,7 +2916,7 @@ msgid ""
 "Error: A general SIGSEGV signal was encountered.\n"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: Ð\9fолучен обычный сигнал SIGSEGV.\n"
+"Ð\9eÑ\88ибка: Ð¿олучен обычный сигнал SIGSEGV.\n"
 
 #: parted/ui.c:389
 msgid ""
@@ -2894,7 +2924,7 @@ msgid ""
 "Error: FPE_INTDIV (Integer: divide by zero)"
 msgstr ""
 "\n"
-"Ошибка: FPE_INTDIV (Целое: деление на ноль)"
+"Ошибка: FPE_INTDIV (Integer: деление на ноль)"
 
 #: parted/ui.c:394
 msgid ""
@@ -2902,7 +2932,7 @@ msgid ""
 "Error: FPE_INTOVF (Integer: overflow)"
 msgstr ""
 "\n"
-"Ошибка: FPE_INTOVF (Целое: переполнение)"
+"Ошибка: FPE_INTOVF (Integer: переполнение)"
 
 #: parted/ui.c:399
 msgid ""
@@ -2926,7 +2956,7 @@ msgid ""
 "Error: FPE_FLTUND (Float: underflow)"
 msgstr ""
 "\n"
-"Ошибка: FPE_FLTUND (Float: underflow)"
+"Ошибка: FPE_FLTUND (Float: потеря значимости)"
 
 #: parted/ui.c:414
 msgid ""
@@ -2958,7 +2988,7 @@ msgid ""
 "Error: A general SIGFPE signal was encountered."
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: Ð\9fолучен обычный сигнал SIGFPE."
+"Ð\9eÑ\88ибка: Ð¿олучен обычный сигнал SIGFPE."
 
 #: parted/ui.c:453
 msgid ""
@@ -2966,7 +2996,7 @@ msgid ""
 "Error: ILL_ILLOPC (Illegal Opcode)"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: ILL_ILLOPC (Ð\9dеправильный Opcode)"
+"Ð\9eÑ\88ибка: ILL_ILLOPC (неправильный Opcode)"
 
 #: parted/ui.c:458
 msgid ""
@@ -2974,7 +3004,7 @@ msgid ""
 "Error: ILL_ILLOPN (Illegal Operand)"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: ILL_ILLOPN (Ð\9dеправильный операнд)"
+"Ð\9eÑ\88ибка: ILL_ILLOPN (неправильный операнд)"
 
 #: parted/ui.c:463
 msgid ""
@@ -2982,7 +3012,7 @@ msgid ""
 "Error: ILL_ILLADR (Illegal addressing mode)"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка:  ILL_ILLADR (Ð\9dеправильный режим адресации)"
+"Ð\9eÑ\88ибка:  ILL_ILLADR (неправильный режим адресации)"
 
 #: parted/ui.c:468
 msgid ""
@@ -2998,7 +3028,7 @@ msgid ""
 "Error: ILL_PRVOPC (Privileged Opcode)"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: ILL_PRVOPC (Ð\9fривилегированный Opcode)"
+"Ð\9eÑ\88ибка: ILL_PRVOPC (привилегированный Opcode)"
 
 #: parted/ui.c:478
 msgid ""
@@ -3006,7 +3036,7 @@ msgid ""
 "Error: ILL_PRVREG (Privileged Register)"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: ILL_PRVREG (Ð\9fривилегированный регистр)"
+"Ð\9eÑ\88ибка: ILL_PRVREG (привилегированный регистр)"
 
 #: parted/ui.c:483
 msgid ""
@@ -3014,7 +3044,7 @@ msgid ""
 "Error: ILL_COPROC (Coprocessor Error)"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: ILL_COPROC (Ð\9eшибка сопроцессора)"
+"Ð\9eÑ\88ибка: ILL_COPROC (ошибка сопроцессора)"
 
 #: parted/ui.c:488
 msgid ""
@@ -3022,7 +3052,7 @@ msgid ""
 "Error: ILL_BADSTK (Internal Stack Error)"
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: ILL_BADSTK (Ð\9eшибка внутреннего стека)"
+"Ð\9eÑ\88ибка: ILL_BADSTK (ошибка внутреннего стека)"
 
 #: parted/ui.c:493
 msgid ""
@@ -3030,700 +3060,80 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 "\n"
-"Ð\9eÑ\88ибка: Ð\9fолучен обычный сигнал SIGILL."
+"Ð\9eÑ\88ибка: Ð¿олучен обычный сигнал SIGILL."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
-msgstr "Ð\9dе Ð¿Ñ\80авилÑ\8cный ключ: %s"
+msgstr "недопÑ\83Ñ\81Ñ\82имый ключ: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Ожидается номер раздела."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Раздел не существует."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Ожидается тип файловой системы."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
-msgstr "Неизвестный тип файловой системы \"%s\"."
+msgstr "Неизвестный тип файловой системы «%s»."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Ожидается тип подписи диска."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
-msgstr "Ð\9dевозможно Ñ\81оздаÑ\82Ñ\8c Ð±Ð¾Ð»Ñ\8cÑ\88е Ñ\80азделов."
+msgstr "Ð\9dелÑ\8cзÑ\8f Ñ\81оздаÑ\82Ñ\8c Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ\82елÑ\8cнÑ\8bе Ñ\80азделÑ\8b."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Ожидается тип раздела."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "вкл"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "выкл"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
-msgstr ""
+msgstr "оптимальный"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
-msgstr ""
+msgstr "минимальный"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "КЛЮЧИ:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "КОМАНДЫ:"
 
-#: parted/ui.c:1553
-#, fuzzy, c-format
+#: parted/ui.c:1549
+#, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 "\n"
-"СообÑ\89айÑ\82е Ð¾Ð± Ð¾Ñ\88ибкаÑ\85 Ð½Ð° <%s>.\n"
+"Ð\9eб Ð¾Ñ\88ибкаÑ\85 Ñ\81ообÑ\89айÑ\82е Ð¿Ð¾ Ð°Ð´Ñ\80еÑ\81Ñ\83: %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Используется %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Эта команда ничего не делает в не-интерактивном режиме.\n"
-
-#~ msgid ""
-#~ "Usage: %s [OPTION]\n"
-#~ "  or:  %s DEVICE MINOR\n"
-#~ msgstr ""
-#~ "Использование: %s [ПАРАМЕТР]\n"
-#~ "  или:  %s НОМЕР УСТРОЙСТВА\n"
-
-#~ msgid ""
-#~ "Clear unused space on a FAT partition (a GNU Parted testing tool).\n"
-#~ "\n"
-#~ msgstr ""
-#~ "Очистить неиспользуемое пространство на разделе FAT\n"
-#~ "(программа тестирования GNU Parted).\n"
-#~ "\n"
-
-#~ msgid "      --help     display this help and exit\n"
-#~ msgstr "      --help     отобразить эту справку и выйти\n"
-
-#~ msgid "      --version  output version information and exit\n"
-#~ msgstr "      --version  вывести информацию о версии и выйти\n"
-
-#~ msgid "too few arguments"
-#~ msgstr "слишком мало аргументов"
-
-#~ msgid "too many arguments"
-#~ msgstr "слишком много аргументов"
-
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "Не правильный ключ: %s"
-
-#~ msgid "Support for opening %s file systems is not implemented yet."
-#~ msgstr "Поддержка открытия файловой системы %s пока не реализована."
-
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr "Поддержка создания файловой системы %s пока не реализована."
-
-#~ msgid "Support for checking %s file systems is not implemented yet."
-#~ msgstr "Поддержка проверки файловой системы %s пока не реализована."
-
-#~ msgid "raw block copying"
-#~ msgstr "копирование блоков"
-
-#~ msgid "growing file system"
-#~ msgstr "наращивание файловой системы"
-
-#~ msgid "Can't copy onto an overlapping partition."
-#~ msgstr "Невозможно скопировать на перекрывающий раздел."
-
-#~ msgid ""
-#~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
-#~ "can be copied if the new partition is at least as big as the old one.  "
-#~ "So, either shrink the partition you are trying to copy, or copy to a "
-#~ "bigger partition."
-#~ msgstr ""
-#~ "Прямая поддержка копирования файловых систем ещё не реализована для %s.  "
-#~ "Но поддержка изменения размера реализована.  Поэтому, файловая система "
-#~ "может быть скопирована, если новый раздел такой-же большой как и старый.  "
-#~ "Поэтому уменьшите раздел, который вы пытаетесь скопировать или скопируйте "
-#~ "на больший раздел."
-
-#~ msgid "Support for copying %s file systems is not implemented yet."
-#~ msgstr "Поддержка копирования файловой системы %s пока не реализована."
-
-#~ msgid "creating"
-#~ msgstr "создание"
-
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr ""
-#~ "Файловая система в неправильном состоянии.  Возможно примонтирована?"
-
-#~ msgid "The file system is in old (unresizeable) format."
-#~ msgstr ""
-#~ "Файловая система в старом (не позволяющем изменение размера) формате."
-
-#~ msgid "Invalid free blocks count.  Run reiserfsck --check first."
-#~ msgstr ""
-#~ "Неправильное количество свободных блоков.  Запустите сначала reiserfsck --"
-#~ "check."
-
-#~ msgid "checking"
-#~ msgstr "проверка"
-
-#~ msgid "Reiserfs tree seems to be corrupted.  Run reiserfsck --check first."
-#~ msgstr ""
-#~ "Дерево reiserfs похоже повреждено.  Запустите сначала reiserfsck --check."
-
-#~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
-#~ msgstr ""
-#~ "Файловая система прошла базовую проверку.  Для более полной проверки, "
-#~ "используйте программу reiserfsck --check."
-
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr "К сожалению, перемещение начала разделов reiserfs пока невозможно."
-
-#~ msgid "Couldn't reopen device abstraction layer for read/write."
-#~ msgstr ""
-#~ "Не удалось переоткрыть уровень абстракции устройств для чтения/записи."
-
-#~ msgid "expanding"
-#~ msgstr "расширение"
-
-#~ msgid "Couldn't create reiserfs device abstraction handler."
-#~ msgstr "Не удалось создать инструктор абстракции устройства reiserfs."
-
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Устройство слишком маленькое для %lu блоков."
-
-#~ msgid "copying"
-#~ msgstr "копирование"
-
-#~ msgid "Couldn't resolve symbol %s.  Error: %s."
-#~ msgstr "Не удалось получить символ %s.  Ошибка: %s."
-
-#~ msgid "GNU Parted found an invalid libreiserfs library."
-#~ msgstr "GNU Parted обнаружил неправильную библиотеку libreiserfs."
-
-#~ msgid ""
-#~ "GNU Parted has detected libreiserfs interface version mismatch.  Found %d-"
-#~ "%d, required %d. ReiserFS support will be disabled."
-#~ msgstr ""
-#~ "GNU Parted обнаружил несоответствие версий интерфейса libreiserfs.  "
-#~ "Обнаружена %d-%d, требуется %d. Поддержка ReiserFS будет отключена."
-
-#~ msgid "Inconsistent group descriptors!"
-#~ msgstr "Противоречивая группа дескрипторов!"
-
-#~ msgid "File system full!"
-#~ msgstr "Файловая система заполнена!"
-
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
-#~ msgstr "Неверный суперблок.  Вы уверены, что это файловая система ext2?"
-
-#~ msgid "File system has errors!  You should run e2fsck."
-#~ msgstr "Файловая система содержит ошибки!  Запустите сначала e2fsck."
-
-#~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
-#~ msgstr ""
-#~ "Файловая система не была правильно размонтирована!  Запустите e2fsck. "
-#~ "Изменение неочищенной файловой системы может привести к её повреждению."
-
-#~ msgid "Error allocating buffer cache."
-#~ msgstr "Ошибка размещения буфера кэша."
-
-#~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Найден inode с неправильным числом ссылок.  Лучше запустите сначала "
-#~ "e2fsck!"
-
-#~ msgid "Not enough free inodes!"
-#~ msgstr "Недостаточно свободных inode!"
-
-#~ msgid "File system is too full to remove a group!"
-#~ msgstr "Файловая система слишком заполнена, чтобы удалить группу!"
-
-#~ msgid "File system has too many allocated inodes to remove a group!"
-#~ msgstr ""
-#~ "Файловая система имеет слишком много выделенных inode, чтобы удалить "
-#~ "группу!"
-
-#~ msgid "adding groups"
-#~ msgstr "добавление групп"
-
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
-#~ msgstr ""
-#~ "Файловая система слишком заполнена, чтобы изменить её размер до %i "
-#~ "блоков.  Простите."
-
-#~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
-#~ "Sorry."
-#~ msgstr ""
-#~ "Ваша файловая система имеет слишком много занятых inode, чтобы изменить "
-#~ "её размер до %i блоков.  Простите."
-
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
-#~ msgstr ""
-#~ "Файловая система не была правильно размонтирована!  Запустите сначала "
-#~ "e2fsck."
-
-#~ msgid ""
-#~ "The file system has the 'dir_index' feature enabled.  Parted can only "
-#~ "resize the file system if it disables this feature.  You can enable it "
-#~ "later by running 'tune2fs -O dir_index DEVICE' and then 'e2fsck -fD "
-#~ "DEVICE'."
-#~ msgstr ""
-#~ "Свойство файловой системы 'dir_index' включено.  Parted может изменять "
-#~ "размер таких файловых систем, если он отключит это свойство.  Чтобы "
-#~ "включить его после этого запустите 'tune2fs -O dir_index УСТРОЙСТВО' и "
-#~ "потом 'e2fsck -fD УСТРОЙСТВО'."
-
-#~ msgid ""
-#~ "A resize operation on this file system will use EXPERIMENTAL code\n"
-#~ "that MAY CORRUPT it (although no one has reported any such damage yet).\n"
-#~ "You should at least backup your data first, and run 'e2fsck -f' "
-#~ "afterwards."
-#~ msgstr ""
-#~ "Операция изменения размера на этой файловой системе использует\n"
-#~ "ЭКСПЕРИМЕНТАЛЬНЫЙ код, который МОЖЕТ ПОВРЕДИТЬ её (хотя и не\n"
-#~ "делал этого раньше).\n"
-#~ "Вы должны хотя бы сделать резервную копию данных и запустить\n"
-#~ "'e2fsck -f' после."
-
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
-#~ msgstr ""
-#~ "Найдены блоки с перекрестными ссылками!  Лучше сначала запустите e2fsck!"
-
-#~ msgid "Block %i has no reference?  Weird."
-#~ msgstr "Блок %i не имеет ссылки?  Странно."
-
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
-#~ msgstr "Блок %i не должен быть помеченным (%d, %d)!"
-
-#~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
-#~ "check, use the e2fsck program."
-#~ msgstr ""
-#~ "Файловая система ext2 прошла основную проверку.  Для более полной "
-#~ "проверки, используйте программу e2fsck."
-
-#~ msgid "Sorry, can't move the start of ext2 partitions yet!"
-#~ msgstr "К сожалению, перемещение начала разделов ext2 пока невозможно!"
-
-#~ msgid "Couldn't flush buffer cache!"
-#~ msgstr "Не удаётся очистить буфер кэша!"
-
-#~ msgid "writing per-group metadata"
-#~ msgstr "запись метаданных групп"
-
-#~ msgid "File system too small for ext2."
-#~ msgstr "Слишком маленькая файловая система для ext2."
-
-#~ msgid "Too many bad pages."
-#~ msgstr "Слишком много плохих страниц."
-
-#~ msgid "The partition must have one of the following FS-TYPEs: "
-#~ msgstr "Раздел должен быть одного из этих ТИП_ФС: "
-
-#~ msgid ""
-#~ "The existing file system will be destroyed and all data on the partition "
-#~ "will be lost. Do you want to continue?"
-#~ msgstr ""
-#~ "Существующая файловая система будет уничтожена и все данные на разделе "
-#~ "будут утеряны. Вы хотите продолжить?"
-
-#~ msgid "Source partition number?"
-#~ msgstr "Исходный номер раздела?"
-
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "Невозможно скопировать расширенный раздел."
-
-#~ msgid "Destination partition number?"
-#~ msgstr "Раздел назначения?"
-
-#~ msgid ""
-#~ "An extended partition cannot hold a file system.  Did you want mkpart?"
-#~ msgstr ""
-#~ "Расширенный раздел не может содержать файловую систему.  Запустить mkpart?"
-
-#~ msgid "Can't move an extended partition."
-#~ msgstr "Невозможно переместить расширенный раздел."
-
-#~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
-#~ msgstr ""
-#~ "Невозможно переместить раздел в самого себя.  Использовать вместо этого "
-#~ "изменение размера?"
-
-#~ msgid "Minor: %d\n"
-#~ msgstr "Вторичн.: %d\n"
-
-#~ msgid "Flags: %s\n"
-#~ msgstr "Флаги: %s\n"
-
-#~ msgid "File System: %s\n"
-#~ msgstr "Файловая система: %s\n"
-
-#~ msgid "Size:         "
-#~ msgstr "Размер:           "
-
-#~ msgid "Minimum size: "
-#~ msgstr "Минимальный размер: "
-
-#~ msgid "Maximum size: "
-#~ msgstr "Максимальный размер: "
-
-#~ msgid "check"
-#~ msgstr "check"
-
-#~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
-#~ msgstr ""
-#~ "check НОМЕР                      производит простую проверку файловой "
-#~ "системы"
-
-#~ msgid "cp"
-#~ msgstr "cp"
-
-#~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
-#~ "partition"
-#~ msgstr ""
-#~ "cp [ИЗ_УСТРОЙСТВА] ИЗ_НОМ В_НОМ скопировать файловую систему на другой "
-#~ "раздел"
-
-#~ msgid "mkfs"
-#~ msgstr "mkfs"
-
-#, fuzzy
-#~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
-#~ msgstr ""
-#~ "mkfs НОМЕР ТИП_ФС                создать файловую систему ТИП_ФС на "
-#~ "разделе НОМЕР"
-
-#~ msgid "mkpartfs"
-#~ msgstr "mkpartfs"
-
-#~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
-#~ msgstr "mkpartfs ТИП_РАЗД ТИП_ФС НАЧ КОН создать раздел с файловой системой"
-
-#~ msgid "move"
-#~ msgstr "move"
-
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move НОМЕР НАЧ КОН               переместить файловую систему НОМЕР"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "resize НОМЕР НАЧ КОН             изменить размер файловой системы на "
-#~ "разделе НОМЕР"
-
-#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
-#~ msgstr "Это не ECKD диск!  Этот тип диска не поддерживается!"
-
-#~ msgid ""
-#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
-#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
-#~ msgstr ""
-#~ "Устройство %s имеет логический размер сектора равный %lld.  Не все части "
-#~ "программы GNU Parted поддерживают это сейчас, и рабочий код ОЧЕНЬ "
-#~ "ЭКСПЕРИМЕНТАЛЬНЫЙ.\n"
-
-#, fuzzy
-#~ msgid ""
-#~ "Could not determine minimum io size for %s: %s.\n"
-#~ "Using the default size (%lld)."
-#~ msgstr ""
-#~ "Не удалось определить размер сектора для %s: %s.\n"
-#~ "Использую стандартный размер сектора (%lld)."
-
-#~ msgid "%s: illegal option -- %c\n"
-#~ msgstr "%s: неправильный параметр -- %c\n"
-
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Не удаётся определить размер блока для этого dasd"
-
-#~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr ""
-#~ "Ядро не смогло считать таблицу разделов на %s (%s).  Это значит, что "
-#~ "сделанные вами изменения недоступны для Linux.  Вы должны перезагрузить "
-#~ "ваш компьютер до того, как что-либо делать с %s."
-
-#~ msgid "File system has an incompatible feature enabled."
-#~ msgstr "Файловая система имеет включённое несовместимое свойство."
-
-#~ msgid "Device %s is neither a SCSI nor IDE drive."
-#~ msgstr "Устройство %s не является ни SCSI, ни IDE диском."
-
-#~ msgid "Device %s has dodgey geometry."
-#~ msgstr "Устройство %s имеет странную геометрию."
-
-#~ msgid ""
-#~ "There is no boot code on this disk.  Would you like to use GNU parted's "
-#~ "boot loader?"
-#~ msgstr ""
-#~ "На этом диске нет кода загрузки.  Вы хотите использовать загрузчик GNU "
-#~ "parted?"
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  However, the most likely reason is that Linux "
-#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
-#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
-#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
-#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO "
-#~ "documentation for more information.  If you think Parted's suggested "
-#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
-#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
-#~ msgstr ""
-#~ "Таблица разделов на %s является противоречивой.  Существует много причин, "
-#~ "в силу которых это может иметь место.  Однако, вероятнее всего, Linux "
-#~ "неправильно определил геометрию BIOS для %s.  GNU Parted подозревает, что "
-#~ "реальная геометрия должна быть %d/%d/%d (а не %d/%d/%d).  Сначала вы "
-#~ "должны проверить BIOS, так как это может быть неверно.  Вы можете явно "
-#~ "указать ее Linux, добавив в командной строке параметр %s=%d,%d,%d.  Для "
-#~ "дополнительной информации, см. документацию на LILO.  Если вы считаете, "
-#~ "что предложенная Parted геометрия верна, выберите Игнорировать для "
-#~ "продолжения (и скорректируйте Linux позже).  Иначе, выберите Отмену (и "
-#~ "скорректируйте Linux и/или BIOS сейчас)."
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  Often, the reason is that Linux detected the "
-#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
-#~ "here."
-#~ msgstr ""
-#~ "Противоречивая таблица разделов на %s.  Это может иметь место в силу "
-#~ "многих причин.  Часто это происходит потому, что Linux неправильно "
-#~ "определяет геометрию BIOS.  Однако, в данном случае причина, видимо, иная."
-
-#~ msgid "No get_min_size() for %s!"
-#~ msgstr "Нет get_min_size() для %s!"
-
-#~ msgid "No get_system() for %s!"
-#~ msgstr "Нет get_system() для %s!"
-
-#~ msgid "The code to write the partition table hasn't been written for %s yet"
-#~ msgstr "Программа для записи таблицы разделов для %s пока не написана"
-
-#~ msgid ""
-#~ "No filesystem found on partition.  Can't determine what partition system "
-#~ "to use."
-#~ msgstr ""
-#~ "На разделе не найдено ни одной файловой системы.  Невозможно определить, "
-#~ "какую систему разделов использовать."
-
-#~ msgid "Error reading %s (%s) to determine if partition is mounted."
-#~ msgstr ""
-#~ "Ошибка при чтении %s (%s) для определения, является ли раздел "
-#~ "замонтированным."
-
-#~ msgid ""
-#~ "This ext2 filesystem has a rather strange layout!  Please use dumpe2fs on "
-#~ "this filesystem and send it to <buytenh@gnu.org>. I won't resize it, "
-#~ "sorry."
-#~ msgstr ""
-#~ "Эта файловая система ext2 имеет довольно странную схему!  Пожалуйста, "
-#~ "используйте dumpe2fs для этой файловой системы и пошлите результат "
-#~ "<buytenh@gnu.org>. Размер не будет изменен, извините."
-
-#~ msgid "Insane!  %d clusters!"
-#~ msgstr "Странно!  %d кластеров!"
-
-#~ msgid ""
-#~ "The filesystem is going to be too big for FAT16, so FAT32 will be used.  "
-#~ "This is not compatible with MS-DOS, early versions of MS-Windows 95 and "
-#~ "Windows NT.  If you use these operating systems, then select cancel, and "
-#~ "create a smaller partition.  If you only use Linux, BSD, MS Windows 98 "
-#~ "and/or MS Windows 95 B, then select OK."
-#~ msgstr ""
-#~ "Файловая система становится слишком большой для FAT16, так что будет "
-#~ "использована FAT32.  Это не совместимо с MS-DOS, ранними версиями MS-"
-#~ "Windows 95 и Windows NT.  Если вы используете эти операционные системы, "
-#~ "выберите отмену и создайте меньший раздел.  Если вы используете только "
-#~ "Linux, BSD, MS Windows 98 и/или MS Widnows 95 B, выберите OK."
-
-#~ msgid "Weird: fat_calc_sizes() failed for FAT32!"
-#~ msgstr "Странно: ошибка в fat_calc_sizes() для FAT32!"
-
-#~ msgid ""
-#~ "Would you like to use FAT32 for this filesystem?  It is much more "
-#~ "efficient with your disk space, but is not compatible with early versions "
-#~ "of Windows 95 and Windows NT.  Only select yes if you only use Linux, "
-#~ "BSD, MS Windows 98 and/or MS Windows 95 B."
-#~ msgstr ""
-#~ "Хотите использовать FAT32 для этой файловой системы?  Она намного "
-#~ "эффективнее использует дисковое пространство, но несовместима с ранними "
-#~ "версиями Windows 95 и Windows NT.  Выберите `да' лишь в случае, если "
-#~ "используете только Linux, BSD, MS Windows 98 и/или MS Windows 95 B."
-
-#~ msgid "FAT filesystems don't have an id for non-msdos partition tables"
-#~ msgstr ""
-#~ "Файловые системы FAT не имеют идентификатора для не-msdos таблиц разделов"
-
-#~ msgid ""
-#~ "Would you like to use FAT32?  It is more efficient, but it is not "
-#~ "compatible with MS-DOS, early versions of MS-Windows 95 and Windows NT.  "
-#~ "If you use these operating systems, then select No.  If you only use "
-#~ "Linux, BSD, MS Windows 98 and/or MS Windows 95 B, then you may select Yes."
-#~ msgstr ""
-#~ "Вы хотите использовать FAT32?  Она более эффективна, но не совместима с "
-#~ "MS-DOS, ранними версиями MS-Windows 95 и Windows NT.  Если вы используете "
-#~ "эти операционные системы, выберите Нет.  Если вы используете только "
-#~ "Linux, BSD, MS Windows 98 и/или MS Widnows 95 B, тогда можете выбрать Да."
-
-#~ msgid ""
-#~ "The filesystem is going to be too big for FAT16, so FAT32 must be used.  "
-#~ "This is not compatible with MS-DOS, early versions of MS-Windows 95 and "
-#~ "Windows NT.  If you use these operating systems, then select Cancel, and "
-#~ "create a smaller partition.  If you only use Linux, BSD, MS Windows 98 "
-#~ "and/or MS Windows 95 B, then select OK."
-#~ msgstr ""
-#~ "Файловая система становится слишком большой для FAT16, так что будет "
-#~ "использована FAT32.  Это не совместимо с MS-DOS, ранними версиями MS-"
-#~ "Windows 95 и Windows NT.  Если вы используете эти операционные системы, "
-#~ "выберите Отменить и создайте меньший раздел.  Если вы используете только "
-#~ "Linux, BSD, MS Windows 98 и/или MS Widnows 95 B, выберите OK."
-
-#~ msgid ""
-#~ "Partition size (%ld sectors) and filesystem size (%d sectors) do not "
-#~ "match."
-#~ msgstr ""
-#~ "Размеры раздела (%ld секторов) и файловой системы (%d секторов) не "
-#~ "совпадают."
-
-#~ msgid ""
-#~ "This swap partition is not compatible with Linux version 2.1.117 or "
-#~ "earlier.  Use a smaller partition (maximum size 128mb) if you want to use "
-#~ "old versions of Linux."
-#~ msgstr ""
-#~ "Этот swap-раздел не совместим с Linux версии 2.1.117 или более ранней.  "
-#~ "Используйте меньший раздел (максимальный размер 128МБ), если вы хотите "
-#~ "использовать старые версии Linux."
-
-#~ msgid "START and END are in cylinders\n"
-#~ msgstr "START и END находятся в цилиндрах\n"
-
-#~ msgid "Disk geometry: 1-%d, %dk cylinders\n"
-#~ msgstr "Геометрия диска: 1-%d, %dk цилиндров\n"
-
-#~ msgid "Minor    Start    End      Type            Filesystem     Flags\n"
-#~ msgstr "Номер    Начало   Конец    Тип       Файловая система     Флаги\n"
-
-#~ msgid ""
-#~ "You found a bug in GNU Parted.  Please email a bug report to bug-"
-#~ "parted@gnu.org containing the version (%s), and the following message:\n"
-#~ msgstr ""
-#~ "Вы обнаружили ошибку в GNU parted.  Пожалуйста, пошлите отчет об ошибке\n"
-#~ "по адресу bug-parted@gnu.org, содержащий версию (%s) и\n"
-#~ "следующее сообщение:\n"
-
-#~ msgid ""
-#~ "The operating system thinks the geometry on %s is %d/%d/%d.  You should "
-#~ "check that this matches the BIOS geometry before using this program."
-#~ msgstr ""
-#~ "Операционная система определила геометрию на %s как %d/%d/%d.  Перед "
-#~ "использованием программы, вы должны проверить, что это соответствует "
-#~ "геометрии, указанной в BIOS."
-
-#, fuzzy
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than 512 bytes"
-#~ msgstr ""
-#~ "Эта файловая система имеет размер логического сектора %d.  Считается, что "
-#~ "GNU Parted работает неправильно с секторами, размер которых отличен от "
-#~ "512 байт."
-
-#, fuzzy
-#~ msgid "Unknown SCSI"
-#~ msgstr "Неизвестный"
-
-#, fuzzy
-#~ msgid "Can't create a partition with the start after the end."
-#~ msgstr "Невозможно создать раздел за пределами устройства!"
-
-#, fuzzy
-#~ msgid "Can't grow partition onto used space, or outside the disk."
-#~ msgstr "Невозможно создать раздел за пределами устройства!"
-
-#, fuzzy
-#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
-#~ msgstr "Попытка записи секторов %ld-%ld за пределы раздела на %s."
-
-#, fuzzy
-#~ msgid ""
-#~ "File system doesn't have expected sizes for Windows to like it.  Number "
-#~ "of clusters is %d (%d expected); size of FATs is %d sectors (%d expected)."
-#~ msgstr ""
-#~ "Windows не может работать с файловой системой, имеющей такие размеры.  "
-#~ "Размер кластера %dk (ожидаемый %dk); число кластеров %d (ожидаемое %d); "
-#~ "размер FAT %d секторов (ожидаемый %d)."
-
-#, fuzzy
-#~ msgid "Filesystem has an invalid signature for a FAT filesystems."
-#~ msgstr "Файловая система имеет неверную для FAT сигнатуру."
-
-#, fuzzy
-#~ msgid "Linux-swap partitions can not be hidden."
-#~ msgstr "Расширенные разделы не могут быть скрыты при msdos метках диска."
-
-#, fuzzy
-#~ msgid "where necessary, prompts for user intervention"
-#~ msgstr "никогда не запрашивает вмешательство пользователя"
-
-#, fuzzy
-#~ msgid "hide"
-#~ msgstr "скрытый"
-
-#, fuzzy
-#~ msgid "unhide"
-#~ msgstr "скрытый"
-
-#, fuzzy
-#~ msgid "hide MINOR                    hides partition MINOR"
-#~ msgstr "move НОМЕР НАЧ КОН               переместить файловую систему НОМЕР"
-
-#, fuzzy
-#~ msgid "unhide MINOR                  unhides partition MINOR"
-#~ msgstr "move НОМЕР НАЧ КОН               переместить файловую систему НОМЕР"
index 0be52214aa37a67ad9be5f406a35885d81150729..ec6c88505d646ded2bbca7e4e4d8c8b4d5b66b59 100644 (file)
Binary files a/po/rw.gmo and b/po/rw.gmo differ
index a6f11628739d8daef74e38769924dc56da2a1238..66fc7755b9836996036c388c10f73e59246e8e0c 100644 (file)
--- a/po/rw.po
+++ b/po/rw.po
@@ -15,7 +15,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 1.6.6\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2005-04-04 10:55-0700\n"
 "Last-Translator: Steven Michael Murphy <murf@e-tools.com>\n"
 "Language-Team: Kinyarwanda <translation-team-rw@lists.sourceforge.net>\n"
@@ -25,9 +25,9 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 
 #: lib/argmatch.c:133
-#, fuzzy, c-format
+#, c-format
 msgid "invalid argument %s for %s"
-msgstr "Kuri Gufungura"
+msgstr ""
 
 #: lib/argmatch.c:134
 #, c-format
@@ -35,11 +35,10 @@ msgid "ambiguous argument %s for %s"
 msgstr ""
 
 #: lib/argmatch.c:153
-#, fuzzy
 msgid "Valid arguments are:"
-msgstr "Kuri Gufungura"
+msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr ""
 
@@ -69,14 +68,14 @@ msgid "%s: option '--%s' requires an argument\n"
 msgstr ""
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "Kuri Gufungura Akarango"
+msgstr ""
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "Kuri Gufungura Akarango"
+msgstr ""
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
@@ -124,83 +123,83 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr ""
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr ""
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr ""
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr ""
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr ""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr ""
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr ""
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr ""
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr ""
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr ""
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr ""
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr ""
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr ""
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr ""
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr ""
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ""
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr ""
 
@@ -210,7 +209,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr ""
 
@@ -220,7 +219,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr ""
 
@@ -377,77 +376,77 @@ msgid "memory exhausted"
 msgstr ""
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "Kuri Gufungura"
+msgstr ""
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "Kuri Gufungura"
+msgstr ""
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "Kuri Gufungura"
+msgstr ""
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr ""
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, fuzzy, c-format
 msgid "Error opening %s: %s"
 msgstr "Hari ikibazo mu gufungura %s%S"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, fuzzy, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr "Kuri Gufungura Gusoma Kwandika Gusoma"
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, fuzzy, c-format
 msgid "%s during seek for read on %s"
 msgstr "%skugirango Gusoma ku"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, fuzzy, c-format
 msgid "%s during read on %s"
 msgstr "%sGusoma ku"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, fuzzy, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Kwandika Kuri ni Gusoma"
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, fuzzy, c-format
 msgid "%s during seek for write on %s"
 msgstr "%skugirango Kwandika ku"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, fuzzy, c-format
 msgid "%s during write on %s"
 msgstr "%sKwandika ku"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr ""
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -457,13 +456,13 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -502,7 +501,7 @@ msgid ""
 "before doing anything with %s."
 msgstr "imbonerahamwe# ku i Ibyerekeye Mbere Na:"
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 #, fuzzy
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
@@ -514,45 +513,45 @@ msgstr "Mbere Icyiciro 4. Bya i kugirango Birenzeho Ibisobanuro"
 msgid "%s trying to sync %s to disk"
 msgstr "%sKuri Kuri"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, fuzzy, c-format
 msgid "Could not stat device %s - %s."
 msgstr "OYA APAREYE"
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, fuzzy, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Kuri i Ingano Bya"
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, fuzzy, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Kuri i Ingano Bya"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, fuzzy, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "OYA Kubona Ikiranga Bya APAREYE"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr ""
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -561,12 +560,12 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, fuzzy, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "APAREYE"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, fuzzy, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -575,96 +574,96 @@ msgstr ""
 "APAREYE ni Zeru Uburebure Na a IDOSIYE Sisitemu Cyangwa imbonerahamwe# "
 "Byahiswemo i APAREYE"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, fuzzy, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
 "unless you REALLY know what you're doing!"
 msgstr "Kuri Iyigamashusho Bya IDOSIYE APAREYE OYA Gukoresha"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr ""
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr ""
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr ""
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "APAREYE"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr ""
 
 # filter/source\xsltdialog\xmlfilterdialogstrings.src:STR_UNKNOWN_APPLICATION.text
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Kitazwi"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 #, fuzzy
 msgid "ped_device_new()  Unsupported device type"
 msgstr "APAREYE Ubwoko"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Hari ikibazo mu gufungura %s%S"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, fuzzy, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -673,17 +672,12 @@ msgid ""
 msgstr ""
 "i Ibyerekeye Kuri Ibyerekeye Amahinduka Kuri Cyangwa Gukoresha in Mbere"
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Kuri i Ingano Bya"
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr ""
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -692,29 +686,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr "Kuri Gusoma i imbonerahamwe# ku Ibyerekeye i Mbere Na:"
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "i Impera Mbere i Gutangira"
 
-#: libparted/cs/geom.c:169
-#, fuzzy
-msgid "Can't have a partition outside the disk!"
-msgstr "a Hanze i"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, fuzzy, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Kuri Kwandika Hanze Bya ku"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 #, fuzzy
 msgid "checking for bad blocks"
 msgstr "kugirango"
@@ -729,95 +711,100 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, fuzzy, c-format
 msgid "%s: unrecognised disk label"
 msgstr "Kuri Gufungura Akarango"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, fuzzy, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
 msgstr "Kwandika Gushigikira kugirango Gusoma"
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, fuzzy, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "ni i IDOSIYE Sisitemu ni"
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr ""
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, fuzzy, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Ibendera Ibendera"
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, fuzzy, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%sUturango... OYA Gushigikira Byongerewe..."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, fuzzy, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "%sUturango... Gushigikira Bijyanye n'inyurabwenge Cyangwa Byongerewe..."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 #, fuzzy
 msgid "Too many primary partitions."
 msgstr "Amapaji"
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, fuzzy, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr "Kongeramo a Bijyanye n'inyurabwenge Kuri ni Oya Byongerewe..."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, fuzzy, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Birenzeho Byongerewe... ku"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 #, fuzzy
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Bijyanye n'inyurabwenge Hanze Bya i Byongerewe..."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, fuzzy, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "a Bijyanye n'inyurabwenge Hanze Bya i Byongerewe... ku"
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-#, fuzzy
-msgid "Can't have overlapping partitions."
-msgstr "iyorosa"
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 #, fuzzy
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "a Mo Imbere Byongerewe..."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+#, fuzzy
+msgid "Can't have a partition outside the disk!"
+msgstr "a Hanze i"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+#, fuzzy
+msgid "Can't have overlapping partitions."
+msgstr "iyorosa"
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr ""
 
 # svx/source\dialog\labdlg.src:RID_SVXPAGE_CAPTION.LB_WINKEL.1.text
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 #, fuzzy
 msgid "free"
 msgstr "Kigenga"
 
 # 2175
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 #, fuzzy
 msgid "extended"
 msgstr "cya/ byagutse"
@@ -826,80 +813,93 @@ msgstr "cya/ byagutse"
 # sc/source\ui\formdlg\dwfunctr.src:FID_FUNCTION_BOX.CB_CAT.7.text
 # #-#-#-#-#  sc.pot (PACKAGE VERSION)  #-#-#-#-#
 # sc/source\ui\formdlg\formdlgs.src:RID_SCTAB_FUNCTION.LB_CATEGORY.7.text
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 #, fuzzy
 msgid "logical"
 msgstr "Bijyanye n'inyurabwenge"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr ""
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr ""
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
 # 5214
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 #, fuzzy
 msgid "root"
 msgstr "Imizi"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr ""
 
 # sc/source\ui\navipi\navipi.src:RID_SCDLG_NAVIGATOR.STR_HIDDEN.text
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "gihishwe"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr ""
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr ""
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr ""
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 #, fuzzy
 msgid "hp-service"
 msgstr "Serivisi"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr ""
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr ""
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr ""
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr ""
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Yego"
+
+#: libparted/disk.c:2414
 #, fuzzy, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Ibendera Ibendera"
@@ -957,13 +957,13 @@ msgid "Cancel"
 msgstr "Kureka"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
-msgstr "A in imeli a Icyegeranyo Kuri org i Verisiyo Na i Ubutumwa"
+msgstr ""
 
 #: libparted/labels/aix.c:103
 #, fuzzy
@@ -999,10 +999,10 @@ msgstr "kugirango IDOSIYE ni OYA"
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "kugirango IDOSIYE ni OYA"
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 #, fuzzy
 msgid "Unable to satisfy all constraints on the partition."
@@ -1013,30 +1013,30 @@ msgstr "Kuri Byose ku i"
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Kuri a"
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 #, fuzzy
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Kuri a"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, fuzzy, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "imbonerahamwe# ku Isinya"
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, fuzzy, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "imbonerahamwe# ku"
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Kurema Birenzeho"
@@ -1076,124 +1076,116 @@ msgstr "Bijyanye n'inyurabwenge Idosiye a Izina:"
 msgid "Too many primary partitions"
 msgstr ""
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 #, fuzzy
 msgid "Unsupported disk type"
 msgstr "APAREYE Ubwoko"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr ""
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr ""
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr ""
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 #, fuzzy
 msgid "No room for partition info."
 msgstr "Byemewe Byabonetse"
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 #, fuzzy
 msgid "Could not retrieve disk geometry information."
 msgstr "OYA Gusoma Iyigamashusho Bya"
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, fuzzy, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%sKirimo a imbonerahamwe# OYA a Byemewe imbonerahamwe# Nka ku a Porogaramu "
-"Imbonerahamwe Cyasibwe i imbonerahamwe# Na NONEAHA ikoresha imbonerahamwe# "
-"iyi a imbonerahamwe#"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Idosiye Sisitemu Gitoya kugirango"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr "Imiterere Bya i imbonerahamwe# ni Verisiyo ni RW org"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1201,41 +1193,45 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 #, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Inyibutsa imbonerahamwe# ni OYA ku i Impera Bya i Nka Impuzandengo- Sisitemu "
 "i ni Gitoya ku i Inyibutsa Kuri i Impera Na i ki/ bishaje Inyibutsa"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 #, fuzzy
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
 msgstr "i Na Inyibutsa Imbonerahamwe a imbonerahamwe# Na ikoresha Kuri"
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 #, fuzzy
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr "imbonerahamwe# ni i Inyibutsa YEGO"
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 #, fuzzy
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr "imbonerahamwe# ni i Inyibutsa YEGO"
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Umubare"
+
 #: libparted/labels/mac.c:184
 #, fuzzy, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1251,62 +1247,62 @@ msgstr "Oya Icyinjijwe"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%sni Gitoya kugirango a Akarango"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, fuzzy, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Sibyo Isinya"
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, fuzzy, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Sibyo Uburebure Bya 0 Bayite"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 #, fuzzy
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Ibyatanzwe Gutangira ku i Gutangira Bya i"
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 #, fuzzy
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Gutangira ku i Gutangira Bya i"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 #, fuzzy
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "i"
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 #, fuzzy
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Ibyatanzwe i"
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, fuzzy, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr "Funga Ingano ku APAREYE Bayite ni OYA ku"
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, fuzzy, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
 "says it is %d bytes."
 msgstr "Musomyi: i Ifatika Funga Ingano ni Bayite ni Bayite"
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 #, fuzzy
 msgid "No valid partition map found."
 msgstr "Byemewe Byabonetse"
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, fuzzy, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr "Icyinjijwe 1. Icyinjijwe"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 #, fuzzy
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "2. Ibyinjijwe"
@@ -1318,7 +1314,7 @@ msgid ""
 "recognising it as such."
 msgstr "i Izina: Bya a Imizi Cyangwa Bivuye Nka"
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 #, fuzzy
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Kongeramo ni Gitoya"
@@ -1458,58 +1454,62 @@ msgstr ""
 msgid "reading from device failed"
 msgstr ""
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 #, fuzzy
 msgid "Could not read volume label."
 msgstr "OYA Gusoma Iyigamashusho Bya"
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 #, fuzzy
 msgid "Could not write volume label."
 msgstr "OYA IDOSIYE Sisitemu"
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr ""
+
+#: libparted/libparted.c:234
 #, fuzzy
 msgid "Out of memory."
 msgstr "Ububiko bwarenzwe"
@@ -1546,25 +1546,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr ""
@@ -1604,96 +1604,77 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr ""
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 #, fuzzy
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr "i Bayite Gushigikira Yahagaritswe"
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 #, fuzzy
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Idosiye Sisitemu Sibyo Isinya kugirango a IDOSIYE Sisitemu"
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 #, fuzzy
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "Idosiye Sisitemu Sibyo Ingano kugirango a IDOSIYE Sisitemu"
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 #, fuzzy
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "Idosiye Sisitemu Sibyo Ingano kugirango a IDOSIYE Sisitemu"
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 #, fuzzy
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr "Idosiye Sisitemu Sibyo Umubare Bya kugirango a"
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 #, fuzzy
 msgid "File system has an invalid number of FATs."
 msgstr "Idosiye Sisitemu Sibyo Umubare Bya"
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, fuzzy, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"IDOSIYE Sisitemu a Bijyanye n'inyurabwenge Ingano Bya ni OYA Kuri Akazi Na: "
-"Ikindi Bayite"
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 #, fuzzy
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr "Bijyanye n'inyurabwenge Ingano ni 0 ni"
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 #, fuzzy
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "Oya Imbonerahamwe ni"
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 #, fuzzy
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "0 ni"
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 #, fuzzy
 msgid "File system is FAT12, which is unsupported."
 msgstr "ni ni"
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, fuzzy, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Ibisobanuro i Isinya Kureka kugirango NONEAHA Na Kohereza in a Icyegeranyo "
-"Kuri Kwirengagiza"
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Isinya"
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, fuzzy, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Isinya"
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, fuzzy, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Isinya"
@@ -1705,7 +1686,16 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, fuzzy, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"IDOSIYE Sisitemu a Bijyanye n'inyurabwenge Ingano Bya ni OYA Kuri Akazi Na: "
+"Ikindi Bayite"
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1715,6 +1705,15 @@ msgid ""
 "geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, fuzzy, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Ibisobanuro i Isinya Kureka kugirango NONEAHA Na Kohereza in a Icyegeranyo "
+"Kuri Kwirengagiza"
+
 #: libparted/fs/r/fat/calc.c:134
 #, fuzzy, c-format
 msgid ""
@@ -1766,12 +1765,12 @@ msgid ""
 msgstr ""
 "IDOSIYE ni cy/ byagarajwe Nka a Sisitemu IDOSIYE Porogaramu Kuri Guhagarara"
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, fuzzy, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Gitoya kugirango a IDOSIYE Sisitemu"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 #, fuzzy
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
@@ -1780,12 +1779,12 @@ msgstr ""
 "BIHUYE iyi Hanyuma Guhitamo Kureka Gukoresha ku i IDOSIYE Sisitemu Na "
 "Hanyuma Inyuma"
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 #, fuzzy
 msgid "There are no possible configurations for this FAT type."
 msgstr "Oya Amaboneza kugirango iyi Ubwoko"
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, fuzzy, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1795,7 +1794,7 @@ msgstr ""
 "Idosiye Sisitemu Ikitezwe: kugirango Kuri nka Ingano ni Ikitezwe: Umubare "
 "Bya ni Ikitezwe: Ingano Bya ni Ikitezwe:"
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, fuzzy, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2033,9 +2032,8 @@ msgid "Error while writing the allocation file."
 msgstr "Kuri i Imizi bushyinguro"
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Kuri i Imizi bushyinguro"
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2205,7 +2203,7 @@ msgstr "i Verisiyo"
 #: parted/parted.c:130
 #, fuzzy
 msgid "alignment for new partitions"
-msgstr "Kurema Birenzeho"
+msgstr "Gukoporora Byongerewe..."
 
 #: parted/parted.c:142
 #, fuzzy
@@ -2221,31 +2219,31 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "ni Bya"
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 #, fuzzy
 msgid "FLAG is one of: "
 msgstr "ni Bya"
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 #, fuzzy
 msgid "UNIT is one of: "
 msgstr "ni Bya"
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 #, fuzzy
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "ni Bya Bijyanye n'inyurabwenge"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 #, fuzzy
 msgid "FS-TYPE is one of: "
 msgstr "ni Bya"
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 #, fuzzy
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
@@ -2253,22 +2251,28 @@ msgid ""
 "sector.\n"
 msgstr "Na in Uduciro IBARA Bivuye i Impera Bya i"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 #, fuzzy
 msgid "STATE is one of: on, off\n"
 msgstr "ni Bya ku"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 #, fuzzy
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "ni Cyangwa"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 #, fuzzy
 msgid "NAME is any word you want\n"
 msgstr "ni ijambo"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 #, fuzzy
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
@@ -2283,7 +2287,7 @@ msgstr ""
 "C Porogaramu ni Kigenga ku i Porogaramu ni in i ATARIIGIHARWE i Bya Cyangwa "
 "A i kugirango Birenzeho Birambuye"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, fuzzy, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr ""
@@ -2296,41 +2300,39 @@ msgstr ""
 "X- Generator: KBabel 1. 0\n"
 ". 2D."
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "ni ni in Gukoresha"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, fuzzy, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "S ku"
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 #, fuzzy
 msgid "New disk label type?"
 msgstr "Akarango Ubwoko"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 #, fuzzy
 msgid "Partition type?"
 msgstr "Ubwoko"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 #, fuzzy
 msgid "Partition name?"
 msgstr "Izina:"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 #, fuzzy
 msgid "File system type?"
 msgstr "Idosiye Sisitemu Ubwoko"
@@ -2343,73 +2345,71 @@ msgstr "Idosiye Sisitemu Ubwoko"
 # sc/source\ui\src\scfuncs.src:RID_SC_FUNCTION_DESCRIPTIONS2.SC_OPCODE_BETA_DIST.8.text
 # #-#-#-#-#  sc.pot (PACKAGE VERSION)  #-#-#-#-#
 # sc/source\ui\src\scfuncs.src:RID_SC_FUNCTION_DESCRIPTIONS2.SC_OPCODE_BETA_INV.8.text
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 #, fuzzy
 msgid "Start?"
 msgstr "Gutangira"
 
 # officecfg/registry\schema\org\openoffice\Office\DataAccess.xcs:....FormSearchOptions.SearchPosition..end-of-field.text
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 #, fuzzy
 msgid "End?"
 msgstr "Impera"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
-msgstr "Kuri Kurema a ku kuyobora ni"
+msgstr ""
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 #, fuzzy
 msgid "Partition number?"
 msgstr "Umubare"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr ""
 
-# desktop/source\app\ssodlg.src:DLG_SSOLOGIN.text
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, fuzzy, c-format
 msgid "Disk %s: %s\n"
-msgstr "%s%s%s"
+msgstr "Akarango Ubwoko"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, fuzzy, c-format
 msgid "Partition Table: %s\n"
 msgstr "Izina:"
 
-# desktop/source\app\ssodlg.src:DLG_SSOLOGIN.text
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
-msgstr "%s%s%s"
+msgstr "Akarango Ubwoko"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr ""
 
@@ -2421,169 +2421,175 @@ msgstr ""
 # sc/source\ui\src\scfuncs.src:RID_SC_FUNCTION_DESCRIPTIONS2.SC_OPCODE_BETA_DIST.8.text
 # #-#-#-#-#  sc.pot (PACKAGE VERSION)  #-#-#-#-#
 # sc/source\ui\src\scfuncs.src:RID_SC_FUNCTION_DESCRIPTIONS2.SC_OPCODE_BETA_INV.8.text
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 #, fuzzy
 msgid "Start"
 msgstr "Gutangira"
 
 # officecfg/registry\schema\org\openoffice\Office\DataAccess.xcs:....FormSearchOptions.SearchPosition..end-of-field.text
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 #, fuzzy
 msgid "End"
 msgstr "Impera"
 
-# starmath/source\smres.src:RID_TOOLBOXWINDOW.6.RID_SIZEXY.text
-#: parted/parted.c:1119
-#, fuzzy
+#: parted/parted.c:1143
 msgid "Size"
-msgstr "Kuringaniza"
+msgstr ""
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr ""
 
 # officecfg/registry\schema\org\openoffice\Office\Common.xcs:....Save.URL.FileSystem.text
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 #, fuzzy
 msgid "File system"
 msgstr "Idosiye ya sisitemu"
 
-#: parted/parted.c:1128
-#, fuzzy
+#: parted/parted.c:1152
 msgid "Name"
-msgstr "izina"
+msgstr ""
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Amabendera"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr ""
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, fuzzy, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
 msgstr "A Byabonetse ku Kuri Kongeramo Kuri i imbonerahamwe#"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 #, fuzzy
 msgid "searching for file systems"
 msgstr "Ishakisha kugirango IDOSIYE"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 #, fuzzy
 msgid "New device?"
 msgstr "APAREYE"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 #, fuzzy
 msgid "Flag to Invert?"
 msgstr "Kuri Guhindura>>"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 #, fuzzy
 msgid "New state?"
 msgstr "Leta"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr ""
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 #, fuzzy
 msgid "align-check"
 msgstr "genzura"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 #, fuzzy
 msgid "help"
 msgstr "Ifashayobora"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 #, fuzzy
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr "Ifashayobora Rusange Ifashayobora Cyangwa Ifashayobora ku"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr ""
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr ""
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 #, fuzzy
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr "Kurema a Gishya imbonerahamwe#"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr ""
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 #, fuzzy
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "Ubwoko a"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 #, fuzzy
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
 msgstr "a a Gishya IDOSIYE Sisitemu ku i Gicurasi Kuri Gushyiraho"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "izina"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 #, fuzzy
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "Izina: Izina:"
 
 # #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
 # #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 #, fuzzy
 msgid "print"
 msgstr "Gucapa"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 #, fuzzy
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
@@ -2591,148 +2597,167 @@ msgid ""
 msgstr ""
 "ingingo Gucapa i imbonerahamwe# Umubare ni Hanyuma Birenzeho Ibisobanuro ni"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 #, fuzzy
 msgid "quit"
 msgstr "Kuvamo"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 #, fuzzy
 msgid "quit                                     exit program"
 msgstr "Kuvamo Gusohoka Porogaramu"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr ""
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 #, fuzzy
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
 msgstr "a Na"
 
-#: parted/parted.c:1894
+# starmath/source\smres.src:RID_TOOLBOXWINDOW.6.RID_SIZEXY.text
+#: parted/parted.c:2000
+#, fuzzy
+msgid "resize"
+msgstr "Kuringaniza"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+# starmath/source\smres.src:RID_TOOLBOXWINDOW.6.RID_SIZEXY.text
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "Kuringaniza"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "Gusiba"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr ""
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 #, fuzzy
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "Gusiba"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "guhitamo"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 #, fuzzy
 msgid "select DEVICE                            choose the device to edit"
 msgstr "Guhitamo Guhitamo i APAREYE Kuri Guhindura"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "Gushyiraho Guhindura>> a Ibendera ku"
+msgstr ""
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr ""
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 #, fuzzy
 msgid "set"
 msgstr "Gushyiraho"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 #, fuzzy
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "Gushyiraho Guhindura>> a Ibendera ku"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr ""
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 
-#: parted/parted.c:1945
-#, fuzzy
+#: parted/parted.c:2065
 msgid "unit"
-msgstr "Kuvamo"
+msgstr ""
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 #, fuzzy
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "Kuvamo Gusohoka Porogaramu"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr ""
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 #, fuzzy
 msgid "No device found"
 msgstr "APAREYE Byabonetse"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 #, fuzzy
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Kuri Kuvugurura NIBA"
@@ -2916,46 +2941,46 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, fuzzy, c-format
 msgid "invalid token: %s"
-msgstr "Kuri Gufungura"
+msgstr "imbonerahamwe# ku"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 #, fuzzy
 msgid "Expecting a partition number."
 msgstr "a Umubare"
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr ""
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 #, fuzzy
 msgid "Expecting a file system type."
 msgstr "a IDOSIYE Sisitemu Ubwoko"
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, fuzzy, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "IDOSIYE Sisitemu Ubwoko"
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 #, fuzzy
 msgid "Expecting a disk label type."
 msgstr "a Akarango Ubwoko"
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 #, fuzzy
 msgid "Can't create any more partitions."
 msgstr "Kurema Birenzeho"
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 #, fuzzy
 msgid "Expecting a partition type."
 msgstr "a Ubwoko"
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "kuri"
 
@@ -2963,65 +2988,136 @@ msgstr "kuri"
 # svx/source\svdraw\svdstr.src:STR_ItemValOFF.text
 # #-#-#-#-#  svx.pot (PACKAGE VERSION)  #-#-#-#-#
 # svx/source\svdraw\svdstr.src:STR_ItemValTEXTANI_NONE.text
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "bidakora"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
 # crashrep/source\all\crashrep.lng:%OPTIONS_BUTTON%.text
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 #, fuzzy
 msgid "OPTIONs:"
 msgstr "Amahitamo..."
 
 # sfx2/source\doc\docvor.src:DLG_ORGANIZE.BTN_EDIT.text
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 #, fuzzy
 msgid "COMMANDs:"
 msgstr "Amabwiriza"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, fuzzy, c-format
 msgid "Using %s\n"
 msgstr "ikoresha"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr ""
 
 #, fuzzy
-#~ msgid "too few arguments"
-#~ msgstr "Amapaji"
+#~ msgid ""
+#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
+#~ "with drives with sector sizes other than %d bytes"
+#~ msgstr "Ingano ku ni Bayite ni OYA Kuri Akazi Na: Na: Ikindi Bayite"
 
 #, fuzzy
-#~ msgid "too many arguments"
-#~ msgstr "Amapaji"
+#~ msgid "Device %s has dodgey geometry."
+#~ msgstr "Iyigamashusho"
 
 #, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "Kuri Gufungura"
+#~ msgid "Device %s is neither a SCSI nor IDE drive."
+#~ msgstr "ni a Porogaramu- shoboza"
 
 #, fuzzy
-#~ msgid "Support for opening %s file systems is not implemented yet."
-#~ msgstr "kugirango Gufungura %s%S IDOSIYE ni OYA"
+#~ msgid "Error reading %s (%s) to determine if partition is mounted."
+#~ msgstr "Kuri NIBA ni"
 
 #, fuzzy
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr "kugirango IDOSIYE ni OYA"
+#~ msgid ""
+#~ "Unable to determine if partitions are mounted via /proc/mounts or /etc/"
+#~ "mtab.  Make sure you don't attempt to resize or modify mounted file "
+#~ "systems.  (Even read-only mounted)"
+#~ msgstr ""
+#~ "Kuri NIBA Biturutse Cyangwa Kuri Ihindurangero Cyangwa Guhindura IDOSIYE "
+#~ "Gusoma"
+
+#, fuzzy
+#~ msgid ""
+#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
+#~ "means Linux won't know anything nothing about the modifications you made "
+#~ "until you reboot.  You should reboot your computer before doing anything "
+#~ "with %s."
+#~ msgstr "Kuri Gusoma i imbonerahamwe# ku Ibyerekeye i Mbere Na:"
+
+#, fuzzy
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  However, the most likely reason is that Linux "
+#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
+#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
+#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
+#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
+#~ "GRUB documentation for more information.  If you think Parted's suggested "
+#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
+#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
+#~ msgstr ""
+#~ "imbonerahamwe# ku ni iyi i i ni i Iyigamashusho kugirango i Iyigamashusho "
+#~ "OYA Kugenzura... Na: Itangira Nka iyi Gicurasi OYA ku Wongera i Kuri i "
+#~ "Komandi: Umurongo i Cyangwa kugirango Birenzeho Ibisobanuro Iyigamashusho "
+#~ "ni Gicurasi Guhitamo Kuri urifuzagukomeza Na Guhitamo Na Na Cyangwa i "
+#~ "NONEAHA"
+
+#, fuzzy
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  Often, the reason is that Linux detected the "
+#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
+#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
+#~ "with some boot loaders, and may cause problems with FAT file systems.  "
+#~ "Using LBA is recommended."
+#~ msgstr ""
+#~ "imbonerahamwe# ku ni iyi i i ni i Iyigamashusho iyi OYA Kugaragara Kuri i "
+#~ "ni Kuri Kwirengagiza Gicurasi Na: Na Gicurasi Na: IDOSIYE ni"
+
+#, fuzzy
+#~ msgid ""
+#~ "Unable to align partition properly.  This probably means that another "
+#~ "partitioning tool generated an incorrect partition table, because it "
+#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
+#~ "may cause (fixable) problems with some boot loaders."
+#~ msgstr ""
+#~ "Kuri Gutondeka imbonerahamwe# i Iyigamashusho ni Kuri Kwirengagiza "
+#~ "Gicurasi Na:"
+
+#, fuzzy
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted - possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%sKirimo a imbonerahamwe# OYA a Byemewe imbonerahamwe# Nka ku a "
+#~ "Porogaramu Imbonerahamwe Cyasibwe i imbonerahamwe# Na NONEAHA ikoresha "
+#~ "imbonerahamwe# iyi a imbonerahamwe#"
+
+#, fuzzy
+#~ msgid "Support for opening %s file systems is not implemented yet."
+#~ msgstr "kugirango Gufungura %s%S IDOSIYE ni OYA"
 
 #, fuzzy
 #~ msgid "Support for checking %s file systems is not implemented yet."
@@ -3042,7 +3138,7 @@ msgstr ""
 #, fuzzy
 #~ msgid ""
 #~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
+#~ "However, support for resizing implemented.  Therefore, the file system "
 #~ "can be copied if the new partition is at least as big as the old one.  "
 #~ "So, either shrink the partition you are trying to copy, or copy to a "
 #~ "bigger partition."
@@ -3055,63 +3151,51 @@ msgstr ""
 #~ msgid "Support for copying %s file systems is not implemented yet."
 #~ msgstr "kugirango IDOSIYE ni OYA"
 
-#, fuzzy
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr "Idosiye Sisitemu Sibyo Isinya kugirango a IDOSIYE Sisitemu"
-
-#, fuzzy
-#~ msgid "checking"
-#~ msgstr "genzura"
-
 #, fuzzy
 #~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
-#~ msgstr ""
-#~ "a BASIC Kugenzura... a Birenzeho Kugenzura... Gukoresha i Porogaramu"
-
-#, fuzzy
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr "Kwimura i Gutangira Bya"
-
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "Iburira"
+#~ "A bug has been detected in GNU parted.  Please email a bug report to bug-"
+#~ "parted@gnu.org containing the version (%s) and the following message:"
+#~ msgstr "A in imeli a Icyegeranyo Kuri org i Verisiyo Na i Ubutumwa"
 
 #, fuzzy
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Idosiye Sisitemu Gitoya kugirango"
+#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
+#~ msgstr "Kuri Gusoma Hanze Bya ku"
 
 #, fuzzy
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "Itsinda"
 
-# officecfg/registry\schema\org\openoffice\Office\Common.xcs:....Save.URL.FileSystem.text
 #, fuzzy
-#~ msgid "File system full!"
-#~ msgstr "Idosiye ya sisitemu"
+#~ msgid ""
+#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
+#~ "this (yet)."
+#~ msgstr "a Imigaragarire Ihindurangero iyi"
 
 #, fuzzy
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
+#~ msgid "Invalid superblock.  Are you sure this is an ext2 filesystem?"
 #~ msgstr "iyi ni"
 
 #, fuzzy
-#~ msgid "File system has errors!  You should run e2fsck."
+#~ msgid "Filesystem has errors!  You should run e2fsck."
 #~ msgstr "Amakosa Gukoresha"
 
 #, fuzzy
 #~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
+#~ "Filesystem was not cleanly unmounted!  You should e2fsck.  Modifying an "
+#~ "unclean filesystem could cause severe corruption."
 #~ msgstr "OYA"
 
+#, fuzzy
+#~ msgid "Filesystem has incompatible feature enabled"
+#~ msgstr "Bikora"
+
 #, fuzzy
 #~ msgid "Error allocating buffer cache."
 #~ msgstr "Ubwihisho"
 
 #, fuzzy
 #~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
+#~ "Found an inode with a incorrect link count.  Better go run e2fsck first."
 #~ msgstr "Na: a Ihuza IBARA Gyayo Gukoresha Itangira"
 
 #, fuzzy
@@ -3119,11 +3203,11 @@ msgstr ""
 #~ msgstr "Kigenga"
 
 #, fuzzy
-#~ msgid "File system is too full to remove a group!"
+#~ msgid "Filesystem is too occupied to remove a group!"
 #~ msgstr "ni Kuri Gukuraho... a Itsinda"
 
 #, fuzzy
-#~ msgid "File system has too many allocated inodes to remove a group!"
+#~ msgid "Filesystem has too many allocated inodes to remove a group!"
 #~ msgstr "Kuri Gukuraho... a Itsinda"
 
 #, fuzzy
@@ -3131,17 +3215,17 @@ msgstr ""
 #~ msgstr "Wongera Amatsinda"
 
 #, fuzzy
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
+#~ msgid "Your filesystem is too occupied to resize it to %i blocks. Sorry."
 #~ msgstr "ni Kuri Ihindurangero Kuri"
 
 #, fuzzy
 #~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
+#~ "Your filesystem has too much occupied inodes to resize it to %i blocks. "
 #~ "Sorry."
 #~ msgstr "Kuri Ihindurangero Kuri"
 
 #, fuzzy
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
+#~ msgid "Filesystem was not cleanly unmounted!  You should e2fsck."
 #~ msgstr "OYA"
 
 #, fuzzy
@@ -3155,20 +3239,20 @@ msgstr ""
 #~ "Gushoboza ku Na Hanyuma"
 
 #, fuzzy
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
+#~ msgid "Cross-linked blocks found! better go run e2fsck first!"
 #~ msgstr "Byabonetse Gyayo Gukoresha Itangira"
 
 #, fuzzy
-#~ msgid "Block %i has no reference?  Weird."
+#~ msgid "Block %i has no reference?  Weird"
 #~ msgstr "Oya Indango"
 
 #, fuzzy
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
+#~ msgid "Block %i shouldn't have been marked!"
 #~ msgstr "cy/ byagarajwe"
 
 #, fuzzy
 #~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
+#~ "The ext2 filesystem passed a basic check.  For a more comprehensive "
 #~ "check, use the e2fsck program."
 #~ msgstr ""
 #~ "a BASIC Kugenzura... a Birenzeho Kugenzura... Gukoresha i Porogaramu"
@@ -3186,41 +3270,44 @@ msgstr ""
 #~ msgstr "Itsinda"
 
 #, fuzzy
-#~ msgid "File system too small for ext2."
-#~ msgstr "Idosiye Sisitemu Gitoya kugirango"
+#~ msgid "File system has an invalid signature for a FAT file systems."
+#~ msgstr "Idosiye Sisitemu Sibyo Isinya kugirango a IDOSIYE"
 
 #, fuzzy
-#~ msgid "Too many bad pages."
-#~ msgstr "Amapaji"
+#~ msgid "where necessary, prompts for user intervention"
+#~ msgstr "kugirango Ukoresha:"
 
 #, fuzzy
 #~ msgid "Source partition number?"
 #~ msgstr "Umubare"
 
 #, fuzzy
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "Gukoporora Byongerewe..."
-
-#, fuzzy
-#~ msgid "Destination partition number?"
-#~ msgstr "Umubare"
+#~ msgid ""
+#~ "You requested to create a partition at %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr "Kuri Kurema a ku kuyobora ni"
 
 #, fuzzy
-#~ msgid ""
-#~ "An extended partition cannot hold a file system.  Did you want mkpart?"
+#~ msgid "Extended partitions can't have file systems.  Did you want mkpart?"
 #~ msgstr "IDOSIYE"
 
 #, fuzzy
-#~ msgid "Can't move an extended partition."
+#~ msgid "Can't move extended partitions."
 #~ msgstr "Kwimura Byongerewe..."
 
 #, fuzzy
 #~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
 #~ msgstr "Kwimura a ikoresha Ihindurangero"
 
+#, fuzzy
+#~ msgid ""
+#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr "Kuri Kwimura i Kuri kuyobora ni"
+
 # svx/source\gallery2\galtheme.src:RID_GALLERYSTR_THEME_FLAGS.text
 #, fuzzy
-#~ msgid "Flags: %s\n"
+#~ msgid "Flags: "
 #~ msgstr "Amabendera"
 
 # officecfg/registry\schema\org\openoffice\Office\Common.xcs:....Save.URL.FileSystem.text
@@ -3229,200 +3316,67 @@ msgstr ""
 #~ msgstr "Idosiye ya sisitemu"
 
 #, fuzzy
-#~ msgid "Minimum size: "
+#~ msgid "Minimum size: %10.3fMb (%d%%)\n"
 #~ msgstr "Ingano"
 
 #, fuzzy
-#~ msgid "Maximum size: "
+#~ msgid "Maximum size: %10.3fMb (%d%%)\n"
 #~ msgstr "Ingano"
 
-#~ msgid "check"
-#~ msgstr "genzura"
-
-#, fuzzy
-#~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
-#~ msgstr "Kugenzura... a Byoroheje Kugenzura... ku i"
-
-#, fuzzy
-#~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
-#~ "partition"
-#~ msgstr "Gukoporora Kuri"
-
-#, fuzzy
-#~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
-#~ msgstr "Ubwoko a ku"
-
-#, fuzzy
-#~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
-#~ msgstr "Ubwoko a Na: a"
-
-# sc/source\ui\src\globstr.src:RID_GLOBSTR.STR_UNDO_MOVE.text
-#, fuzzy
-#~ msgid "move"
-#~ msgstr "Kwimura"
-
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "Kwimura Kwimura"
-
-# starmath/source\smres.src:RID_TOOLBOXWINDOW.6.RID_SIZEXY.text
-#, fuzzy
-#~ msgid "resize"
-#~ msgstr "Kuringaniza"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr "a Na"
-
-#, fuzzy
-#~ msgid "Unable to determine the block size of this dasd"
-#~ msgstr "Kuri i Ingano Bya"
-
-#, fuzzy
-#~ msgid ""
-#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
-#~ "means Linux won't know anything about the modifications you made until "
-#~ "you reboot.  You should reboot your computer before doing anything with "
-#~ "%s."
-#~ msgstr "Kuri Gusoma i imbonerahamwe# ku Ibyerekeye i Mbere Na:"
-
-#, fuzzy
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than %d bytes"
-#~ msgstr "Ingano ku ni Bayite ni OYA Kuri Akazi Na: Na: Ikindi Bayite"
-
-#, fuzzy
-#~ msgid "Device %s has dodgey geometry."
-#~ msgstr "Iyigamashusho"
-
-#, fuzzy
-#~ msgid "Device %s is neither a SCSI nor IDE drive."
-#~ msgstr "ni a Porogaramu- shoboza"
-
 #, fuzzy
-#~ msgid "Error reading %s (%s) to determine if partition is mounted."
-#~ msgstr "Kuri NIBA ni"
+#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
+#~ msgstr "000."
 
 #, fuzzy
-#~ msgid ""
-#~ "Unable to determine if partitions are mounted via /proc/mounts or /etc/"
-#~ "mtab.  Make sure you don't attempt to resize or modify mounted file "
-#~ "systems.  (Even read-only mounted)"
-#~ msgstr ""
-#~ "Kuri NIBA Biturutse Cyangwa Kuri Ihindurangero Cyangwa Guhindura IDOSIYE "
-#~ "Gusoma"
+#~ msgid "Minor    Start       End     "
+#~ msgstr "Gutangira Impera"
 
+# #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
+# #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
 #, fuzzy
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  However, the most likely reason is that Linux "
-#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
-#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
-#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
-#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
-#~ "GRUB documentation for more information.  If you think Parted's suggested "
-#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
-#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
-#~ msgstr ""
-#~ "imbonerahamwe# ku ni iyi i i ni i Iyigamashusho kugirango i Iyigamashusho "
-#~ "OYA Kugenzura... Na: Itangira Nka iyi Gicurasi OYA ku Wongera i Kuri i "
-#~ "Komandi: Umurongo i Cyangwa kugirango Birenzeho Ibisobanuro Iyigamashusho "
-#~ "ni Gicurasi Guhitamo Kuri urifuzagukomeza Na Guhitamo Na Na Cyangwa i "
-#~ "NONEAHA"
+#~ msgid "Type      "
+#~ msgstr "Ubwoko"
 
 #, fuzzy
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  Often, the reason is that Linux detected the "
-#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
-#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
-#~ "with some boot loaders, and may cause problems with FAT file systems.  "
-#~ "Using LBA is recommended."
-#~ msgstr ""
-#~ "imbonerahamwe# ku ni iyi i i ni i Iyigamashusho iyi OYA Kugaragara Kuri i "
-#~ "ni Kuri Kwirengagiza Gicurasi Na: Na Gicurasi Na: IDOSIYE ni"
+#~ msgid "Name                  "
+#~ msgstr "Izina"
 
 #, fuzzy
 #~ msgid ""
-#~ "Unable to align partition properly.  This probably means that another "
-#~ "partitioning tool generated an incorrect partition table, because it "
-#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
-#~ "may cause (fixable) problems with some boot loaders."
-#~ msgstr ""
-#~ "Kuri Gutondeka imbonerahamwe# i Iyigamashusho ni Kuri Kwirengagiza "
-#~ "Gicurasi Na:"
+#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr "Kuri Ihindurangero i Kuri kuyobora ni"
 
 #, fuzzy
-#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
-#~ msgstr "Kuri Gusoma Hanze Bya ku"
+#~ msgid "check MINOR                   do a simple check on the filesystem"
+#~ msgstr "Kugenzura... a Byoroheje Kugenzura... ku i"
 
 #, fuzzy
 #~ msgid ""
-#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
-#~ "this (yet)."
-#~ msgstr "a Imigaragarire Ihindurangero iyi"
-
-#, fuzzy
-#~ msgid "Filesystem has incompatible feature enabled"
-#~ msgstr "Bikora"
-
-#, fuzzy
-#~ msgid "File system has an invalid signature for a FAT file systems."
-#~ msgstr "Idosiye Sisitemu Sibyo Isinya kugirango a IDOSIYE"
-
-#, fuzzy
-#~ msgid "where necessary, prompts for user intervention"
-#~ msgstr "kugirango Ukoresha:"
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copy filesystem to another "
+#~ "partition"
+#~ msgstr "Gukoporora Kuri"
 
 #, fuzzy
 #~ msgid ""
-#~ "Partition %s is being used.  Modifying it while it is in use could cause "
-#~ "severe corruption."
-#~ msgstr "ni ni in Gukoresha"
+#~ "mkfs MINOR FS-TYPE            make a filesystem FS-TYPE on partititon "
+#~ "MINOR"
+#~ msgstr "Ubwoko a ku"
 
 #, fuzzy
 #~ msgid ""
-#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr "Kuri Kwimura i Kuri kuyobora ni"
-
-#, fuzzy
-#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
-#~ msgstr "000."
-
-#, fuzzy
-#~ msgid "Disk label type: %s\n"
-#~ msgstr "Akarango Ubwoko"
-
-#, fuzzy
-#~ msgid "Minor    Start       End     "
-#~ msgstr "Gutangira Impera"
-
-# #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
-# #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
-#, fuzzy
-#~ msgid "Type      "
-#~ msgstr "Ubwoko"
+#~ "mkpartfs PART-TYPE FS-TYPE START END      make a partition with a "
+#~ "filesystem"
+#~ msgstr "Ubwoko a Na: a"
 
+# sc/source\ui\src\globstr.src:RID_GLOBSTR.STR_UNDO_MOVE.text
 #, fuzzy
-#~ msgid "Name                  "
-#~ msgstr "Izina"
+#~ msgid "move"
+#~ msgstr "Kwimura"
 
 #, fuzzy
-#~ msgid ""
-#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr "Kuri Ihindurangero i Kuri kuyobora ni"
+#~ msgid "move MINOR START END          move partition MINOR"
+#~ msgstr "Kwimura Kwimura"
 
 #, fuzzy
 #~ msgid ""
index a9065339e3c8e1435834328309c65a82e50bf808..c88bd8309aaee35f3cd89f10d84d0bef28c21f10 100644 (file)
Binary files a/po/sk.gmo and b/po/sk.gmo differ
index 9f7a0879eb41be94018c45f0d9282c1fa1c40e1e..589d69b82235ec736d4c82f6fdf8c8bd137b866c 100644 (file)
--- a/po/sk.po
+++ b/po/sk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 3.0.136\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2012-02-19 16:31+0100\n"
 "Last-Translator: Ivan Masár <helix84@centrum.sk>\n"
 "Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
@@ -30,7 +30,7 @@ msgstr "nejednoznačný argument %s pre %s"
 msgid "Valid arguments are:"
 msgstr "Platné argumenty sú:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "chyba zápisu"
 
@@ -114,83 +114,83 @@ msgstr "%s: voľba „-W %s“ vyžaduje argument\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "„"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "“"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Úspešné"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Bez zhody"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Neplatný regulárny výraz"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Neplatný znak triedenia"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Neplatný názov triedy znakov"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Lomka na konci"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Neplatný spätný odkaz"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "[ alebo [^ bez náprotivku"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "( alebo \\( bez náprotivku"
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "\\{ bez náprotivku"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Neplatný obsah \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Neplatné ukončenie rozsahu"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Pamäť bola vyčerpaná"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Neplatný predchádzajúci regulárny výraz"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Predčasný koniec regulárneho výrazu"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Regulárny výraz je príliš veľký"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ") alebo \\) bez náprotivku"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Žiaden predchádzajúci regulárny výraz"
 
@@ -200,7 +200,7 @@ msgstr "Žiaden predchádzajúci regulárny výraz"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[aAáÁyY]"
 
@@ -210,7 +210,7 @@ msgstr "^[aAáÁyY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -412,59 +412,59 @@ msgid "Disk Image"
 msgstr "Obraz disku"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Chyba pri otváraní %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Nemôžem otvoriť %s na čítanie/zápis (%s). %s bol otvorený len na čítanie."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s pri vyhľadávaní pre čítanie na %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s pri čítaní %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Nemôžem zapisovať na %s, pretože je tvorený len na čítanie."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s pri pri vyhľadávaní pre zápis na %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s pri zápise na %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Viac informácií získate po napísaní „%s --help“.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Použitie: %s [VOĽBA] [ZARIADENIE]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -480,7 +480,7 @@ msgstr ""
 "  -h, --help       zobraziť tento návod a skončiť\n"
 "  -v, --version    vypísať info o verzii a skončiť\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -488,7 +488,7 @@ msgstr ""
 "\n"
 "Bez zadaného ZARIADENIA skúsi všetky oblasti.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -534,7 +534,7 @@ msgstr ""
 "nevie nič o zmenách, ktoré ste vykonali. Než budete čokoľvek robiť s %s, "
 "mali by ste reštartovať svoj počítač."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -547,17 +547,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s pri pokuse o sync %s na disk"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Nemôžem získať stat zariadenia %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Nepodarilo sa určiť typ dm %s"
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -566,7 +566,7 @@ msgstr ""
 "Nebolo možné určiť veľkosť sektora %s: %s.\n"
 "Používam štandardnú veľkosť sektora (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -575,21 +575,21 @@ msgstr ""
 "Nebolo možné určiť veľkosť sektora %s.\n"
 "Použije sa štandardná veľkosť sektora (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Nepodarilo sa určiť veľkosť %s (%s)"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Nemôžem získat identitu zariadenia %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Všeobecný IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -602,12 +602,12 @@ msgstr ""
 "zväzkov/súborových systémov, napr. GPT a ext2/3.\n"
 "Prosím, pozrite si aktuálne informácie na webe."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Chyba pri inicializácii zariadenia SCSI %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -616,7 +616,7 @@ msgstr ""
 "Zariadenie %s je také malé, že nemôže obsahovať systém súborov ani tabuľku "
 "oblastí. Možno ste vybrali chybné zariadenie?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -625,86 +625,86 @@ msgstr ""
 "Nemôžem určiť geometriu súboru/zariadenia %s. Nemali by ste používať Parted, "
 "ak NAOZAJ neviete, čo robíte!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Všeobecná úložná karta SD/MMC"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "radič RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Promise SX8 zariadenie SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "Zariadenie ATA over Ethernet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "jednotka IBM S390 DASD"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "radič ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "radič I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr "Zariadenie loopback"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "mapovač zariadení Linux (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Virtuálne blokové zariadenie Xen"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Neznámy"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Blokové zariadenie Vistio"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Linuxové softvérové pole RAID"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Nepodporovaný typ zariadenia"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Chyba pri fsync/zatváraní %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "%0.0send súboru počas čítania %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -716,17 +716,12 @@ msgstr ""
 "systém - takže by ste ho nemali pripájať ani ho pred reštartom akokoľvek "
 "používať."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Nepodarilo sa určiť začiatok a dĺžku %s"
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Nepodarilo sa pridať oblasť %d (%s)"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -739,30 +734,17 @@ msgstr ""
 "naďalej budú používať staré oblasti. Pred vykonaním ďalších zmien by ste "
 "mali reštartovať systém."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Jádro nedokázalo znovu načítať tabuľku oblastí na %s (%s). To znamená, že "
-"Linux vedieť o zmenách, ktoré ste vykonali."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Nemožno mať koniec pred začiatkom! (počiat. sektor=%jd dĺžka=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Nemožno mať oblasť mimo disku!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Pokus o zápis sektorov %ld-%ld mimo oblasti na %s"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "hľadám chybné bloky"
 
@@ -776,12 +758,12 @@ msgstr "Backtrace: %d volaní na zásobníku:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Zlyhal predpoklad (%s) v %s:%d vo funkcii %s()."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: nerozpoznaná menovka disku."
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -790,148 +772,166 @@ msgstr ""
 "Táto libparted nemá podporu pre zápis na %s. Možno bola skompilovaná len na "
 "čítanie."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Oblasť %d má %s, ale systém súborov má %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Neznámý príznak disku, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Menovky disku %s nepodporujú rozšírené oblasti."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "Menovky disku %s nepodporujú logické alebo rozšírené oblasti."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Príliš veľa primárnych oblastí."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr ""
 "Nemožno pridať logickú oblasť do %s, pretože neexistuje rozšírená oblasť."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Nie je možné mať na %s viac než jednu rozšírenú oblasť."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Logické oblasti nemôžu byť mimo rozšírenej oblasti."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "Logická oblasť nemôže byť mimo rozšírenej oblasti na %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Nie je možné mať prekrývajúce se oblasti."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Primárna oblasť nemôže byť vnútri rozšírenej oblasti."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Nemožno mať oblasť mimo disku!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Nie je možné mať prekrývajúce se oblasti."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadáta"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "voľné"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "rozšírený"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logický"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primárny"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "zavádzací"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "koreňový"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "odkladací"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "skrytý"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "RAID"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "LVM"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "LBA"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadáta"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "zastaralé_zavádzanie"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Áno"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Neznámy príznak oblasti, %d."
@@ -1035,10 +1035,10 @@ msgstr ""
 "Podpora nastavovania príznakov v menovkách disku AIX ešte nie je "
 "implementovaná."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Nemožno splniť všetky obmedzenia na oddiel."
@@ -1047,30 +1047,30 @@ msgstr "Nemožno splniť všetky obmedzenia na oddiel."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Nie je možné alokovať položku menovky disku BSD."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Nie je možné alokovať položku menovky disku dasd."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Neplatná tabuľka oblastí na %s - nesprávny podpis %x"
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Neplatná tabuľka oblastí - rekurzívna oblasť na %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Rozšírené oblasti nie je možné skryť na štítkoch diskov msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted nemôže zmeniť veľkosť oblastí, ktoré spravuje Windows Dynamic Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
 msgstr "nie je možné vytvoriť žiadne ďalšie oblasti"
 
@@ -1108,116 +1108,106 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Príliš veľa primárnych oblastí"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "chyba otvárania"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "chyba hľadania"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "chyba čítania"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "chyba ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "nezhoda verzií API"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Nepodporovaný typ disku"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Nepodporovaný formát disku"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disk sa používa"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Chyba syntaxe v konfiguračnom súbore"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Menovka zväzku je poškodená"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Názov dátovej množiny je poškodený"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Nepodarilo sa alokovať pamäť"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Nepodarilo sa overiť zariadenie"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Uvedené zariadenie nie je platné zariadenie DASD"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Osudová chyba"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Pre menovku oddielu nie je miesto."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Na informácie o oblastiach nie je dostatok miesta."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Neplatný VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Nebolo možné zistiť informácie o API."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr "Súčasná verzia API „%d“ nezodpovedá API verzii dasd ovládača „%d“!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Nebolo možné zistiť informácie o geometrii disku."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Nebolo možné zistiť informácie o veľkosti bloku."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Nebolo možné zistiť informácie o disku."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s obsahuje podpisy GPT, čo znamená, že obsahuje tabuľku GPT. Nemá ale "
-"platnú falošnú tabuľku oddielov DOS, ktorú by mal mať. Možno bola poškodená "
-"- napr. programom, ktorý nerozumie tabuľkám oblastí GPT. Alebo ste možno "
-"odstránili tabuľku oblastí GPT a teraz používate tabuľku oblastí DOS. Je "
-"toto tabuľka oblastí GPT?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Systém súborov je príliš malý na %lu blokov."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1226,7 +1216,7 @@ msgstr ""
 "Formát tabuľky oblastí GPT je verzie %x, čo je novší, než ktorý dokáže "
 "rozpoznať Parted. Prosím, pošlite nám o tom hlásenie!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1237,17 +1227,17 @@ msgstr ""
 "aby využívalo všetok dostupný priestor (ďalších %llu blokov) alebo "
 "pokračovať s aktuálnym nastavením? "
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Záložná tabuľka GPT nie je na konci disku, ako by mala byť. To možná "
 "znamená, že iný operačný systém si myslí, že disk je menší. Mám to opraviť "
 "presunutím zálohy na koniec (a odstránením starej zálohy)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1255,7 +1245,7 @@ msgstr ""
 "Primárna aj záložná tabuľka GPT je poškodená. Skúste vytvoriť novú tabuľku a "
 "obnoviť oblasti pomocou možnosti Partedu rescue."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1263,7 +1253,7 @@ msgstr ""
 "Záložná tabuľka GPT je poškodená, ale primárna sa zdá byť v poriadku, takže "
 "sa použije primárna."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1271,10 +1261,15 @@ msgstr ""
 "Primárna tabuľka GPT je poškodená, ale záloha sa zdá byť v poriadku, takže "
 "sa použije záloha."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "nezodpovedá CRC poľa primárnej tabuľky oblastí"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Nepodarilo sa alokovať číslo oblasti."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1289,40 +1284,40 @@ msgstr "Mapa oblastí nemá žiadnu položku mapy oblastí!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s je príliš malý pro menovku disku Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Oblasť %d má neplatný podpis %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Oblasť %d má neplatnú dĺžku 0 bajtov."
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Dátová časť nezačína na začiatku oblasti."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Štartovacia oblasť nezačína na začiatku oblasti."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Zavádzacia časť diskovej oblasti nezaberá celú oblasť."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Dátová časť oblasti nezaberá celú oblasť."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 "Čudná veľkosť bloku v deskriptore zariadenia: %d bajtov nie je deliteľné 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1331,11 +1326,11 @@ msgstr ""
 "Deskriptor ovládača vraví, že fyzická veľkosť bloku je %d bajtov, ale Linux "
 "vraví, že je to %d bajtov."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Nebola nájdená platná mapa oblastí."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1344,7 +1339,7 @@ msgstr ""
 "Kolidujúce veľkosti položek mapy oblastí! Položka 1 vraví, že je to %d, ale "
 "položka %d vraví, že je to %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Čudné! 2 položky mapy oblastí!"
 
@@ -1356,7 +1351,7 @@ msgstr ""
 "Zmena názvu koreňového alebo odkladacej oblasti zabráni Linuxu v jej "
 "rozpoznaní."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Nemôžem pridať ďalšiu oblasť - mapa oblastí je príliš malá!"
 
@@ -1499,56 +1494,61 @@ msgstr "zápis na zariadenie zlyhal"
 msgid "reading from device failed"
 msgstr "čítanie zo zariadenia zlyhalo"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Nebolo možné prečítať štítok zväzku."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Nebolo možné zapísať štítok zväzku."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Nebolo možné prečítať štítky VTOC."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Nebolo možné prečítať VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Nebolo možné prečítať VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Nebolo možné prečítať VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Nebolo možné prečítať VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Nebolo možné zapísať štítky VTOC."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Nebolo možné zapísať VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Nebolo možné zapísať VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Nebolo možné zapísať VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Nebolo možné zapísať VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Nebolo možné zapísať VTOC FMT1 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Nedostatok pamäte."
 
@@ -1584,25 +1584,25 @@ msgstr "Neplatné číslo."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr "Použiť menšiu jednotku namiesto hodnoty < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Nepodarilo sa alokovať blok oblasti\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Nepodarilo sa alokovať blok\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Nebolo možné prečítať štartovací blok %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Nebolo možné prečítať koreňový blok %llu\n"
@@ -1642,7 +1642,7 @@ msgstr "%s : Nebol nájdený rdb blok, to by sa nikdy nemalo stať\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Nepodarilo sa načítať blok oblasti %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1650,40 +1650,30 @@ msgstr ""
 "GNU parted bol nesprávne preložený; štartovací sektor FAT by mal mať 512 "
 "bajtov. Podpora FAT bude vypnutá."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Systém súborov nemá platný podpis systému súborov FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "Systém súborov má neplatnú veľkost sektora pre systém súborov FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "Systém súborov má neplatnú veľkost klastra pre systém súborov FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Systém súborov má neplatný počet rezervovaných sektorov pre systém súborov "
 "FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Súborový systém má má neplatný počet FAT."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Systém súborov má logickú veľkost sektora %d. Je známe, že GNU Parted "
-"nepracuje správne s veľkosťou sektora inou ako 512 bajtov."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1692,45 +1682,35 @@ msgstr ""
 "Geometria CHS súborového systému je (%d, %d, %d), čo nie je platná hodnota. "
 "Geometria CHS tabuľky oblastí je (%d, %d, %d)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "Štartovací sektor FAT vraví, že logická veľkosť sektoru je 0. To je divné. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "Štartovací sektor FAT vraví, že neexistuje žiadna tabuľka FAT. To je divné. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "Štartovací sektor FAT vraví, že klaster je 0 sektorov. To je divné. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Súborový systém je FAT12, ktorý nie je podporovaný."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Sektor informácií má nesprávný podpis (%x). Nateraz zvoľte Zrušiť a pošlite "
-"hlásenie o chybe. Ak ste v úzkych, môžete to pravdepodobne bez obáv "
-"ignorovať."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Nerozpoznaný podpis odkladacieho oddielu Linuxu v starom štýle „%10s“."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Nerozpoznaný podpis odkladacieho oddielu Linuxu v novom štýle „%10s“."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Nerozpoznaný podpis odkladacieho oddielu Linuxu swsusp „%10s“."
@@ -1744,7 +1724,16 @@ msgstr ""
 "Parted nedokáže používať súborové systémy HFS na diskoch s veľkosťou sektora "
 "inou ako %d bajtov."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Systém súborov má logickú veľkost sektora %d. Je známe, že GNU Parted "
+"nepracuje správne s veľkosťou sektora inou ako 512 bajtov."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1758,6 +1747,16 @@ msgstr ""
 "geometria systému sa nezmení. Ak zvolíte Opraviť, CHS geometria systému sa "
 "zmení na CHS geometriu tabuľky oblastí."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Sektor informácií má nesprávný podpis (%x). Nateraz zvoľte Zrušiť a pošlite "
+"hlásenie o chybe. Ak ste v úzkych, môžete to pravdepodobne bez obáv "
+"ignorovať."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1818,12 +1817,12 @@ msgstr ""
 "súbor %s je označený ako systémový súbor. To znamená, že jeho presun môže "
 "zpôsobiť, že niektoré programy prestanú fungovať."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Oblasť je príliš veľká/malá pre súborový systém %s"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1831,11 +1830,11 @@ msgstr ""
 "Tabuľky FAT si nezodpovedajú. Ak neviete, čo to znamená, zvoľte Zrušiť, "
 "spustite na systéme súborov scandisk a potom sa vráťte."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Pro tento typ FAT neexistuje možná konfigurácia."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1846,7 +1845,7 @@ msgstr ""
 "klastra je %dk (očakáva sa %dk); počet klastrov je %d (očakáva sa %d); "
 "veľkosť FAT je %d sektorov (očakáva sa %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2282,27 +2281,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "TYP-JMENOVKY je jeden z: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "PREPÍNAČ je jeden z: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "JEDNOTKA je jedno z: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "požadovan zarovnanie: minimálne alebo optimálne"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "TYP-ODDIELU je jeden z: primary, logical, extended\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "TYP-FS je jeden z: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2311,19 +2310,28 @@ msgstr ""
 "ZAČIATOK a KONIEC sú pozície na disku, napr 4 GB alebo 10%. Záporné hodnoty "
 "sa počítajú od konca disku. Napríklad -1s znamená presne posledný sektor.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"ZAČIATOK a KONIEC sú pozície na disku, napr 4 GB alebo 10%. Záporné hodnoty "
+"sa počítajú od konca disku. Napríklad -1s znamená presne posledný sektor.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "STAV je jeden z: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "zariadenie je obvykle /dev/hda alebo /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NÁZEV je ľubovoľné slovo\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2343,26 +2351,24 @@ msgstr ""
 "GNU General Public License.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(zostávajúci čas %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "Oblasť %s sa používa. Predtým, než vykonáte zmeny pomocou Parted ju musíte "
 "odpojiť."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Oblasti na %s sa používajú."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2371,31 +2377,31 @@ msgstr ""
 "Existujúca menovka disku na %s sa zničí a všetky dáta na oddiele sa stratia. "
 "Chcete pokračovať?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Typ novej menovky disku?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Typ oblasti?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Názov oblasti?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Typ súborového systému?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Začiatok?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Koniec?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2404,7 +2410,7 @@ msgstr ""
 "Vyžiadali ste oblasť od %s do %s (sektory %llu..%llu).\n"
 "Najbližšie možné miesto je od %s do %s (sektory %llu..%llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2412,84 +2418,84 @@ msgstr ""
 "\n"
 "Je to pre vás ešte prijateľné?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 "Výsledná oblasť nie je správne zarovnaná, čo sa prejaví zhoršeným výkonom."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Číslo oblasti?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "BIOS geometria cylinder,hlava,sektor: %d,%d,%d. Každý cylinder má %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Model: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Veľkosť sektora (logická/fyzická): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Tabuľka oblastí: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Príznaky disku: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Číslo"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Začiatok"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Koniec"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Veľkosť"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Typ"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Súborový systém"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Názov"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Prepínače"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Voľné miesto"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2497,45 +2503,54 @@ msgid ""
 msgstr ""
 "Bola nájdená oblasť %s %s na %s -> %s. Chcete ju pridať do tabuľky oblastí?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "hľadám systémy súborov"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Nové zariadenie?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "typ zarovnania(min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d zarovnané\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d nezarovnané\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Prepínač, který sa má zmeniť?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Nový stav?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Jednotka?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "kontrola-zarovnania"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2543,11 +2558,11 @@ msgstr ""
 "align-check TYP N                         skontrolovať zarovnanie TYP(min|"
 "opt) na oblasti N"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2555,15 +2570,15 @@ msgstr ""
 "help [PRÍKAZ]                            vypíše všeobecného pomocníka alebo "
 "pomocníka o PRÍKAZE"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2571,15 +2586,15 @@ msgstr ""
 "mklabel TYP-MENOVKY                      vytvorí novú menovku disku (tabuľku "
 "oblastí)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart TYP-ODDIELU [TYP-FS] ZAČIATOK KONIEC vytvorí oblasť"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2587,19 +2602,19 @@ msgstr ""
 "„mkpart“ vytvorí oblasť bez toho, aby vytvoril nový systém súborov na nej. "
 "TYP-FS môže špecifikovať zodpovedajúci ID oblasti.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name MINOR NÁZOV                         nazvať oblasť MINOR NÁZVOM"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2608,7 +2623,7 @@ msgstr ""
 "print [devices|free|list,all|ČÍSLO]      zobrazí tabuľku oblastí, dostupné "
 "zariadenia, voľné miesto, všetky nájdené oblasti alebo konkrétnu oblasť"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2616,11 +2631,11 @@ msgstr ""
 "„print“ bez argumentov zobrazí celú tabuľku oblastí. S nasledovnými "
 "argumentami však vykoná rôzne iné činnosti.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : zobrazí všetky aktívne blokové zariadenia\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2628,33 +2643,33 @@ msgstr ""
 "  free      : zobrazí informácie o voľnom mieste nerozdelenom medzi oblasti "
 "na aktuálnom blokovom zariadení\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : zobrazí tabuľky oblastí všetkých aktívnych blokových "
 "zariadení\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 "  ČÍSLO     : zobrazí podrobnejšie informácie o tejto konkrétnej oblasti\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     ukončiť program"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2662,79 +2677,97 @@ msgstr ""
 "rescue ZAČIATOK KONIEC                   zachrániť stratenú oblasť v "
 "blízkosti ZAČIATKU a KONCA"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "move ČÍSLO ZAČIATOK KONIEC               presunúť oblasť ČÍSLO"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm MINOR                                 odstrániť oblasť MINOR"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr ""
 "select zariadenie                        zvoliť zariadenie, ktoré sa má "
 "upravovať"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr "sada_diskov"
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr "sada_diskov PREPÍNAČ STAV           zmeniť voľbu na oblasti MINOR"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr "disk_toggle"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
 "disk_toggle [PRÍZNAK]                  prepnúť PRÍZNAK na vybranom zariadení"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set MINOR PREPÍNAČ STAV                  zmeniť voľbu na oblasti MINOR"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 "toggle [ČÍSLO [PRÍZNAK]]                 prepnúť PRÍZNAK na oblasti ČÍSLO"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit JEDNOTKA                            nastaviť predvolenú jednotku na "
 "JEDNOTKA"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2742,7 +2775,7 @@ msgstr ""
 "version                                  zobrazí verziu a informácie o "
 "autorských právach GNU Parted"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2750,21 +2783,21 @@ msgstr ""
 "„version“ zobrazí informácie o autorských právach a verzii tejto kópie GNU "
 "Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 "Použitie: %s [-hlmsv] [-a<zarovnanie>] [ZARIADENIE [PRÍKAZ [PARAMETRE]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Nebolo nájdené žiadne zariadenie"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr "UPOZORNENIE: Nie ste superpoužívateľ. Dávajte pozor na oprávnenia.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Môže byť potrebné aktualizovať /etc/fstab.\n"
 
@@ -3020,65 +3053,65 @@ msgstr ""
 "\n"
 "Chyba: Vyskytol sa všeobecný signál SIGILL."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "neplatný token: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Očakáva sa číslo oblasti."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Oblasť neexistuje."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Očakáva sa typ systému súborov."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Neznámy typ systému súborov „%s“."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Očakáva sa typ menovky disku."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Nie je možné vytvoriť ďalšie oblasti."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Očakáva sa typ oblasti."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "zap"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "vyp"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimálne"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimálne"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "VOĽBY:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "PRÍKAZy:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3087,15 +3120,38 @@ msgstr ""
 "\n"
 "Chyby hláste <%s>.\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Používa sa %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Príkaz nedáva zmysel v neinteraktívnom režime.\n"
 
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Nepodarilo sa pridať oblasť %d (%s)"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "Jádro nedokázalo znovu načítať tabuľku oblastí na %s (%s). To znamená, že "
+#~ "Linux vedieť o zmenách, ktoré ste vykonali."
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s obsahuje podpisy GPT, čo znamená, že obsahuje tabuľku GPT. Nemá ale "
+#~ "platnú falošnú tabuľku oddielov DOS, ktorú by mal mať. Možno bola "
+#~ "poškodená - napr. programom, ktorý nerozumie tabuľkám oblastí GPT. Alebo "
+#~ "ste možno odstránili tabuľku oblastí GPT a teraz používate tabuľku "
+#~ "oblastí DOS. Je toto tabuľka oblastí GPT?"
+
 #~ msgid ""
 #~ "Usage: %s [OPTION]\n"
 #~ "  or:  %s DEVICE MINOR\n"
@@ -3204,9 +3260,6 @@ msgstr "Príkaz nedáva zmysel v neinteraktívnom režime.\n"
 #~ msgid "Couldn't create reiserfs device abstraction handler."
 #~ msgstr "Nebolo možné vytvoriť abstrakčnú vrstvu reiserfs zariadenia."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Systém súborov je príliš malý na %lu blokov."
-
 #~ msgid "copying"
 #~ msgstr "kopíruje sa"
 
@@ -3453,12 +3506,6 @@ msgstr "Príkaz nedáva zmysel v neinteraktívnom režime.\n"
 #~ msgid "move"
 #~ msgstr "move"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move ČÍSLO ZAČIATOK KONIEC               presunúť oblasť ČÍSLO"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
index 89b1cb4f47778ca7a425e01820755c86c255327f..4dae79f733aaf65251438a4b544c5557078a73ab 100644 (file)
Binary files a/po/sl.gmo and b/po/sl.gmo differ
index dc47655a93a1c60457704b78d499512a62212dde..465889469b16a76b85db2d6d0b1841b9388bd941 100644 (file)
--- a/po/sl.po
+++ b/po/sl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 2.3\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2010-11-11 19:44+0000\n"
 "Last-Translator: Andrej Žnidaršič <andrej.znidarsic@gmail.com>\n"
 "Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
@@ -35,7 +35,7 @@ msgstr "dvoumen argument %s za %s"
 msgid "Valid arguments are:"
 msgstr "Veljavni argumenti so:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "napaka pisanja"
 
@@ -119,83 +119,83 @@ msgstr "%s: možnost '-W %s' zahteva argument\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "\""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "\""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Uspeh"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Ni zadetkov"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Neveljaven logični izraz"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Neveljaven znak za primerjavo"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Neveljavno ime razreda znakov"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Zaključna obratna poševnica"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Neveljaven povratni sklic"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Nezaključen [ ali [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Nezaključen ( ali \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Nezaključen \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Neveljavna vsebina \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Neveljaven konec razpona"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Pomnilnik je izčrpan"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Neveljaven predhodni logični izraz"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Prehiter konec logičnega izraza"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Logični izraz je prevelik"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Odvečni ) ali \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Manjkajoč predhodni logični izraz"
 
@@ -205,7 +205,7 @@ msgstr "Manjkajoč predhodni logični izraz"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[jJdD]"
 
@@ -215,7 +215,7 @@ msgstr "^[jJdD]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -417,59 +417,59 @@ msgid "Disk Image"
 msgstr "Odtis diska"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Napaka med odpiranjem %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "%s ni mogoče odpreti za branje in pisanje (%s). %s je odprt samo za branje."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s med iskanjem za branje na %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s med branjem na %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Pisanje v %s ni mogoče, ker je odprt samo za branje."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s med iskanjem za pisanje na %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s med pisanjem na %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Poskusite `%s --help' za več podrobnosti.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Uporaba: %s [MOŽNOSTI] [NAPRAVE] ...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -485,7 +485,7 @@ msgstr ""
 "  -h, --help       prikaže to pomoč in konča\n"
 "  -v, --version    prikaže podrobnosti o različici in konča\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -493,7 +493,7 @@ msgstr ""
 "\n"
 "Ko NAPRAVA ni podana, preišče vse razdelke.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -539,7 +539,7 @@ msgstr ""
 "Hurd ne ve nič o vaših spremembah. Računalnik morate pred nadaljnjim delom "
 "znova zagnati z %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -553,17 +553,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s poizkus usklajevanja %s z diskom"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Ni mogoče izvesti ukaza stat na napravi %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Vrste dm za %s ni mogoče določiti."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -572,7 +572,7 @@ msgstr ""
 "Velikosti sektorja %s ni mogoče določiti: %s.\n"
 "Uporabljena bo privzeta velikost sektorja (%lld):"
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -581,21 +581,21 @@ msgstr ""
 "Fizične velikosti sektorja za %s ni mogoče določiti.\n"
 "Uporabljena bo logična velikost sektorja (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Velikosti %s ni mogoče določiti (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Identitete naprave %s ni mogoče dobiti - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Izvorni IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -608,12 +608,12 @@ msgstr ""
 "sistemov. Naprimer GPT in ext2/3.\n"
 "Za trenutne podatke preverite spletno stran."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Napaka med začenjanjem SCSI naprave %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, fuzzy, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -622,7 +622,7 @@ msgstr ""
 "Naprava %s ima ničelno dolžino, zato ne more shraniti datotečnega sistema "
 "ali preglednice razdelkov. Morda ste izbrali napačno napravo?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -631,87 +631,87 @@ msgstr ""
 "Ni mogoče določiti geometrije datoteke/naprave %s. Parted uporabite le, če "
 "RESNIČNO veste kaj počnete!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Izvorna kartica shrambe SD/MMC"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID krmilnik"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Naprava Promise SX8 SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "Naprava ATA preko Eternet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "Pogon IBM S390 DASD"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Krmilnik ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Krmilnik I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "Uporabnišči način Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "Izvorna naprava?"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux preslikovalnik naprav (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Naprava Xen Virtual Block"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Neznano"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Naprava Virtio Block"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Polje Linux Software RAID"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new() Nepodprta vrsta naprave"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Napaka med opravilom fsyncing/zapiranjem %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, fuzzy, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "konec datoteke med branjem %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -722,17 +722,12 @@ msgstr ""
 "imel podatkov o spremembah %s do ponovnega zagona --  razdelka ne "
 "priklapljajte ali uporabljajte do ponovnega zagona."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Velikosti in dolžine %s ni mogoče določiti."
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Dodajanje razdelka %d ni uspelo (%s)"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -745,30 +740,17 @@ msgstr ""
 "je/so stari razdelek(ki) še vedno v uporabi. Pred nadaljnjimi spremembami "
 "priporočamo ponoven zagon."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Ponovno branje preglednice razdelkov na %s ni uspelo (%s). Linux ne ve "
-"ničesar o pravkar narejenih spremembah. "
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Konec ne more biti pred začetkom! (začetni sektor=%jd dolžina=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Razdelek izven diska ni mogoč!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Poskus zapisovanja sektorjev %ld-%ld zunaj razdelka na %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "preverjanje slabih blokov"
 
@@ -782,12 +764,12 @@ msgstr "Ukaz backtrace ima %d klicev na skladu:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Trditev (%s) na %s:%d v funkciji %s() ni uspela."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: neprepoznana oznaka diska"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -795,40 +777,40 @@ msgid ""
 msgstr ""
 "libparted ne podpira zapisovanja na %s. Morda je bil preveden samo za branje."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Razdelek %d je %s, vendar je datotečni sistem %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "poravnava_cilindrov"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "zagon"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Neznana zastavica diska, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "oznake diska %s ne podpirajo razširjenih razdelkov."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "oznake diska %s ne podpirajo logičnih ali razširjenih razdelkov."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Preveč osnovnih razdelkov."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -836,109 +818,127 @@ msgstr ""
 "Dodajanje logičnega razdelka na %s ni mogoče, ker razširjeni razdelek ne "
 "obstaja."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Ni mogoče imeti več kot enega razširjenega razdelka na %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Logični razdelek ne sme biti zunaj razširjenega razdelka."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "Logični razdelek ne sme biti zunaj razširjenega razdelka na %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Razdelki se ne smejo prekrivati."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Osnovni razdelek ne more biti znotraj razširjenega razdelka."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Razdelek izven diska ni mogoč!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Razdelki se ne smejo prekrivati."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metapodatki"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "prosto"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "razširjen"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logični"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "osnovni"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "zagon"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "korenski"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "izmenjalni razdelek"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "skrito"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metapodatki"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Da"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Neznana zastavica razdelka, %d."
@@ -1039,10 +1039,10 @@ msgstr ""
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "Podpora za nastavljanje zastavic diskov oznake AIX še ni dodana."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Vsem omejitvam razdelka ni mogoče zadostiti."
@@ -1051,31 +1051,31 @@ msgstr "Vsem omejitvam razdelka ni mogoče zadostiti."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Dodeljevanje reže bsd disklabel ni uspelo."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Dodeljevanje reže dasd disklabel ni uspelo."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Neveljavna preglednica razdelka na %s -- napačen podpis %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Neveljavna preglednica razdelka - rekurzivni razdelek na %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Razširjeni razdelki ne morejo biti skriti na msdos oznakah diska."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted ne more spremeniti velikosti razdelka, ki ga upravlja Windows Dynamic "
 "Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Novih razdelkov ni mogoče ustvariti."
@@ -1114,117 +1114,107 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Preveč osnovnih razdelkov"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "napaka med odpiranjem"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "napaka med iskanjem"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "napaka med branjem"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "napaka ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "Neujemanje različice API"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Nepodprta vrsta diska"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Nepodprta oblika diska"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disk je v uporabi"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Skladenjska napaka v nastevitveni datoteki"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Oznaka nosilca je pokvarjena"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Ime množice podatkov je pokvarjeno"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Dodeljevanje pomnilnika ni uspelo"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Preverjanje naprave ni uspelo"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Določena naprava ni veljavna naprava DASD"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Usodna napaka"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Ni prostora za oznako nosilca."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Ni prostora za podrobnosti o razdelku."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Neveljaven VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Različice API ni mogoče pridobiti."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 "Trenuten API različice '%d'  se ne ujema z API gonilnika dasd različica '%d'!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Podrobnosti o geometriji diska ni mogoče pridobiti."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Podrobnosti o velikosti bloka ni mogoče pridobiti."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Podrobnosti o disku ni mogoče pridobiti."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s vsebuje podpise GPT, kar nakazuje da ima GPT preglednico. Vendar ne "
-"vsebuje lažne msdos preglednice razdelkov, kot bi jo moral. Morda je prišlo "
-"do okvare -- najverjetneje s strani programa, ki ne razume GPT preglednic "
-"razdelkov. Morda ste izbrisali GPT preglednico in sedaj uporabljate msdos "
-"preglednico razdelkov. Ali je to GPT preglednica razdelkov?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Naprava je premajhna za %lu blokov."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1233,7 +1223,7 @@ msgstr ""
 "Oblika GTP preglednice razdelkov je različica %x, kar je novejše kot lahko "
 "Parted prepozna. Sporočite nam! bug-parted@gnu.org"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1244,10 +1234,10 @@ msgstr ""
 "uporabljal ves prostor (dodatnih %llu blokov) ali pa nadaljujte s trenutnimi "
 "nastavitvami. "
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Varnostna kopija preglednice GPT ni na koncu diska, kot bi morala biti. To "
@@ -1255,7 +1245,7 @@ msgstr ""
 "diska manjša. Ali želite to popraviti s premikom varnostne kopije na konec "
 "diska (in izbrisom stare varnostne kopije)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1264,7 +1254,7 @@ msgstr ""
 "narediti svežo preglednico in z reševalno možnostjo programa Parted obnoviti "
 "razdelke."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1272,7 +1262,7 @@ msgstr ""
 "Varnostna kopija preglednice GPT je pokvarjena, vendar je osnovna videti v "
 "redu, zato bo uporabljena."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1280,10 +1270,15 @@ msgstr ""
 "Osnovna preglednica GPT je pokvarjena, vendar je varnostna kopija v redu, "
 "zato bo uporabljena."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "polje osnovne preglednice razdelka ima nujemajoč CRC"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Dodeljevanje številke razdelka ni uspelo."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1298,40 +1293,40 @@ msgstr "Preslikava razdelkov ne vsebuje vnosov preslikave razdelkov!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s je premajhen za oznako diska Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Razdelek %d ima neveljaven podpis %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Razdelek %d ima neveljavno dolžino 0 bajtov!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Področje podatkov se ne začne na začetku razdelka."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Zagonsko področje se ne začne na začetku razdelka."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Zagonsko področje razdelka ne zaseda celotnega razdelka."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Podatkovno področje razdelka ne zaseda celotnega razdelka."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 "Čudna velikost bloka na opisovalniku naprave: %d bajtov ni deljivih z 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1340,11 +1335,11 @@ msgstr ""
 "Opisovalnik naprave pravi, da je fizični blok velik %d bajtov, vendar Linux "
 "pravi, da je %d bajtov."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Preslikave razdelka ni mogoče najti."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1353,7 +1348,7 @@ msgstr ""
 "Sporne velikosti vnosov preslikave razdelka! Vnos 1 pravi %d, vendar vnos %d "
 "pravi %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Čudno! Obstajata 2 vnosa preslikave particij!"
 
@@ -1365,7 +1360,7 @@ msgstr ""
 "Spreminjanje imena korenskega ali izmenjevalnega razdelka bo sistemu Linux "
 "preprečilo prepoznavo the razdelkov."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Dodatnega razdelka ni mogoče dodati - načrt razdelkov je premajhen!"
 
@@ -1506,56 +1501,61 @@ msgstr "zapisovanje na napravo ni uspelo"
 msgid "reading from device failed"
 msgstr "branje iz naprave ni uspelo"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Oznake nosilca ni mogoče prebrati."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Oznake nosilca ni mogoče zapisati."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Oznake VTOC ni mogoče prebrati."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "VTOC FMT1 DSCB ni mogoče prebrati."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "VTOC FMT4 DSCB ni mogoče prebrati."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "VTOC FMT5 DSCB ni mogoče prebrati."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "VTOC FMT7 DSCB ni mogoče prebrati."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Oznake VTOC ni mogoče zapisati."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "VTOC FMT1 DSCB ni mogoče zapisati."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "VTOC FMT4 DSCB ni mogoče zapisati."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "VTOC FMT5 DSCB ni mogoče napisati."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "VTOC FMT7 DSCB ni mogoče zapisati."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "VTOC FMT1 DSCB ni mogoče zapisati."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Zmanjkalo je pomnilnika."
 
@@ -1591,25 +1591,25 @@ msgstr "Neveljavno število."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Dodeljevanje bloka razdelka ni uspelo\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s: Dodeljevanje bloka ni uspelo\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s: Branje zagonskega bloka %llu ni uspelo\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s: Branje korenskega bloka %llu ni uspelo\n"
@@ -1649,7 +1649,7 @@ msgstr "%s : bloka rdb ni mogoče najti, kar se ne sme zgoditi\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s: Branje bloka razdelka %llu ni uspelo\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1657,90 +1657,70 @@ msgstr ""
 "GNU Parted ni bil pravilno preveden: FAT zaganjalni sektor bi moral biti 512 "
 "bajtov. Podpora FAT bo onemogočena."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Datotečni sistem ima neveljaven podpis za datotečni sistem FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Datotečni sistem ima neveljavno velikost sektorjev za datotečni sistem FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "Datotečni sistem ima neveljavno velikost gruč za datotečni sistem FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Datotečni sistem ima neveljavno število rezerviranih sektorjev za datotečni "
 "sistem FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Datotečni sistem ima neveljavno število FAT-ov."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Datotečni sistem ima logično velikost sektorja %d. Znano je, da GNU Parted "
-"ne deluje pravilno z velikostjo sektorjev drugačno od 512 bajtov."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "FAT zagonski sektor pravi, da je logična velikost sektorja 0. To je "
 "nenavadno. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "FAT zagonski sektor pravi, da preglednica FAT ne obstaja. To je nenavadno. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "FAT zagonski sektor pravi, da gruče vsebujejo 0 sektorjev. To je nenavadno. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Datotečni sistem je FAT12. Ta datotečni sistem ni podprt."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Podatkovni sektor ima napačen podpis (%x). Izberite prekliči in pošljite "
-"poročilo o hrošču. Če ste obupani, je to opozorilo najverjetneje varno "
-"prezreti."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr ""
 "Neprepoznaven podpis linux izmenjevalnega razdelka v starem slogu '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr ""
 "Neprepoznaven podpis linux izmenjevalnega razdelka v novem slogu '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Neprepoznaven podpis linux izmenjevalnega razdelka '%9s'."
@@ -1754,7 +1734,16 @@ msgstr ""
 "Parted ne more uporabiti datotečnega sistema HFS na disku z velikostjo "
 "sektorja različno od %d bajtov."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Datotečni sistem ima logično velikost sektorja %d. Znano je, da GNU Parted "
+"ne deluje pravilno z velikostjo sektorjev drugačno od 512 bajtov."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1768,6 +1757,16 @@ msgstr ""
 "datotečnega sistema ostala nespremenjena. Če izberete popravi, bo geometrija "
 "CHS datotečnega sistema nastavljena na vrednosti iz preglednice razdelkov."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Podatkovni sektor ima napačen podpis (%x). Izberite prekliči in pošljite "
+"poročilo o hrošču. Če ste obupani, je to opozorilo najverjetneje varno "
+"prezreti."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1827,12 +1826,12 @@ msgstr ""
 "Datoteka %s je označena kot sistemska datoteka. To pomeni, da bi njen premik "
 "lahko povzročil nedelovanje nekaterih programov."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Razdelek je prevelik/premajhen za datotečni sistem %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1840,11 +1839,11 @@ msgstr ""
 "FAT-i se ne ujemajo. Če ne veste kaj to pomeni, izberite prekliči, zaženite "
 "ukaz scandisk na datotečnem sistemu in nato poskusite znova."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Za to vrsto FAT ni veljavnih nastavitev."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1855,7 +1854,7 @@ msgstr ""
 "Velikost gruče je %dk (pričakovana %dk); število gruč je %d (pričakovano "
 "%d); velikost FAT je %d sektorjev (pričakovana %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2298,27 +2297,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "VRSTA_OZNAKA je ena od: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "ZASTAVICA je ena od: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "ENOTA je ena od: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "zaželjena poravnava: najmanjša ali optimalna"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "VRSTA-RAZDELKA je ena od: osnovna, logična, razširjena\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "VRSTA-DS je ena od: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2328,19 +2327,29 @@ msgstr ""
 "vrednosti se štejejo od konca diska. Na primer, -1s določa natanko zadnji "
 "sektor.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"ZAČETEK in KONEC sta mesti na disku, kot na-primer 4GB ali 10%. Negativne "
+"vrednosti se štejejo od konca diska. Na primer, -1s določa natanko zadnji "
+"sektor.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "Stanje je eno od: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "NAPRAVA je ponavadi /dev/hda ali /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "IME je katerakoli beseda, ki jo hočete\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2361,25 +2370,23 @@ msgstr ""
 "Oglejte si licenco GNU General Public License za podrobnosti.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(čas do konca %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "Razdelek %s je v uporabi. Pred spreminjanjem s Parted ga je treba odklopiti."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Razdel-ek(ki) na %s so v uporabi."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2388,31 +2395,31 @@ msgstr ""
 "Obstoječa oznaka diska na %s bo uničena in vsi podatki na disku bodo "
 "izgubljeni. Želite nadaljevati?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Nova vrsta oznake diska?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Vrsta razdelka?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Ime razdelka?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Vrsta datotečnega sistema?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Začetek?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Konec?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, fuzzy, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2421,7 +2428,7 @@ msgstr ""
 "Zahtevali ste razdelek od %s do %s.\n"
 "Najbližje mogoče mesto je od %s do %s.%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2429,83 +2436,83 @@ msgstr ""
 "\n"
 "Je to za vas sprejemljivo?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr "Ciljni razdelek ni pravilno poravnan za najboljšo zmogljivost."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Številka razdelka?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "cilinder BIOS,glava,geometrija sektorja: %d,%d,%d.  Vsak cilinder je %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Model: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Velikost sektorja (logična/fizična): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Preglednica razdelkov: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Število"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Začetek"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Konec"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Velikost"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Vrsta"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Datotečni sistem"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Ime"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Zastavice"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Nezaseden prostor"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2514,45 +2521,54 @@ msgstr ""
 "razdelek %s %s je bil najden na %s -> %s.  Ga želite dodati k preglednici "
 "razdelkov?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "iskanje datotečnega sistema"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Nova naprava?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "vrsta poravnave (min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d je poravnan\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d ni poravnan\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Označi za obrat?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Novo stanje?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Enota?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2560,11 +2576,11 @@ msgstr ""
 "align-check VRSTA ŠTEVILKA               preveri poravnanost vrste VRSTA "
 "(min|opt) razdelka ŠTEVILKA"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2572,15 +2588,15 @@ msgstr ""
 "help [UKAZ]                              izpiše splošno pomoč ali pomoč o "
 "ukazu UKAZ"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2588,15 +2604,15 @@ msgstr ""
 "mklabel,mktable OZNAKA-VRSTA             ustvari novo oznako diska "
 "(preglednica razdelkov)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart VRSTA-RAZDELKA [VRSTA-DS] ZAČETEK KONEC     naredi razdelek"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2605,20 +2621,20 @@ msgstr ""
 "razdelku. VRSTA-DS je lahko določena za nastavitev primernega ID-ja "
 "razdelka.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "name ŠTEVILKA IME                        razdelek ŠTEVILKA poimenuj z IME"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2628,7 +2644,7 @@ msgstr ""
 "naprave, ki so na voljo, nezaseden prostor, vse najdene razdelke ali določen "
 "razdelek"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2636,11 +2652,11 @@ msgstr ""
 "Brez argumentov, 'print' prikaže celotno preglednico razdelkov. Z "
 "naslednjimi argumenti pa izvede različna druga dejanja.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : prikaže vse dejavne blokovne naprave\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2648,31 +2664,31 @@ msgstr ""
 "  free      : prikaže podatke o nezasedenem nerazdeljenem prostoru na "
 "trenutni blokovni napravi\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : prikaže preglednico razdelkov vseh dejavnih blokovnih naprav\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr "  ŠTEVILKA  : prikaže podrobne podatke o določenem razdelku\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     konča program"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2680,27 +2696,45 @@ msgstr ""
 "rescue ZAČETEK KONEC                     reši izgubljen razdelek blizu "
 "ZAČETKA in KONCA"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "move ŠTEVILKA ZAČETEK KONEC              premakne razdelek ŠTEVILKA"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm ŠTEVILKA                              izbriše razdelek ŠTEVILKA"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select NAPRAVA                           izbere napravo za urejanje"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 #, fuzzy
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
@@ -2708,12 +2742,12 @@ msgstr ""
 "set ŠTEVILKA ZASTAVICA STANJE            spremeni ZASTAVICO na razdelku "
 "ŠTEVILKA"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 #, fuzzy
 msgid "disk_toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 #, fuzzy
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
@@ -2722,22 +2756,22 @@ msgstr ""
 "toggle [ŠTEVILKA [ZASTAVICA]]            preklopi stanje ZASTAVICE na "
 "razdelku ŠTEVILKA"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "set ŠTEVILKA ZASTAVICA STANJE            spremeni ZASTAVICO na razdelku "
 "ŠTEVILKA"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2745,20 +2779,20 @@ msgstr ""
 "toggle [ŠTEVILKA [ZASTAVICA]]            preklopi stanje ZASTAVICE na "
 "razdelku ŠTEVILKA"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit ENOTA                               nastavi privzeto enoto na ENOTA"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "različica"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2766,7 +2800,7 @@ msgstr ""
 "version                                  prikaže številko različice in "
 "podrobnosti o avtorskih pravicah programa GNU Parted"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2774,22 +2808,22 @@ msgstr ""
 "'version' prikaže avtorske pravice in podrobnosti o različici, ki ustrezajo "
 "tej kopiji programa GNU Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 "Uporaba: %s [-hlmsv] [-a<poravnava>] [NAPRAVA [UKAZ [PARAMETRI]] ...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Naprave ni mogoče najti"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 #, fuzzy
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr "OPOZORILO: Niste superuporabnik. Pazite na dovoljenja."
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Morda boste morali posodobiti /etc/fstab.\n"
 
@@ -3047,65 +3081,65 @@ msgstr ""
 "\n"
 "Napaka: Zaznan je bil splošni signal SIGILL."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "neveljaven žeton %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Pričakovana je številka razdelka."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Razdelek ne obstaja."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Pričakovana je vrsta datotečnega sistema."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Neznan datotečni sistem vrste \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Pričakuje se vrsta oznake diska."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Novih razdelkov ni mogoče ustvariti."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Pričakuje se vrsta razdelka."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "vključeno"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "izključeno"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimalno"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "najmanjše"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "MOŽNOSTI:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "UKAZI:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3114,12 +3148,12 @@ msgstr ""
 "\n"
 "Hrošče sporočite na %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Uporablja %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Ta ukaz nima smisla v ne-vzajemnem načinu.\n"
 
@@ -3153,6 +3187,16 @@ msgstr "Ta ukaz nima smisla v ne-vzajemnem načinu.\n"
 #~ msgid "invalid minor device number: %s"
 #~ msgstr "napačno manjše število naprave: %s"
 
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Dodajanje razdelka %d ni uspelo (%s)"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "Ponovno branje preglednice razdelkov na %s ni uspelo (%s). Linux ne ve "
+#~ "ničesar o pravkar narejenih spremembah. "
+
 #~ msgid "Support for opening %s file systems is not implemented yet."
 #~ msgstr "Podpora za odpiranje datotečnega sistem %s še ni dodana."
 
@@ -3229,9 +3273,6 @@ msgstr "Ta ukaz nima smisla v ne-vzajemnem načinu.\n"
 #~ msgid "Couldn't create reiserfs device abstraction handler."
 #~ msgstr "Ročnika abstrakcije naprave reiserfs ni mogoče ustvariti."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Naprava je premajhna za %lu blokov."
-
 #~ msgid "copying"
 #~ msgstr "kopiranje"
 
@@ -3248,6 +3289,23 @@ msgstr "Ta ukaz nima smisla v ne-vzajemnem načinu.\n"
 #~ "GNU Parted je zaznal neujemanje različic vmesnika libreiserfs. Najdeno %d-"
 #~ "%d, pričakovano %d. Podpora za ReiserFS bo onemogočena."
 
+#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
+#~ msgstr "To ni disk EKCD! Ta vrsta diska ni podprta!"
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s vsebuje podpise GPT, kar nakazuje da ima GPT preglednico. Vendar ne "
+#~ "vsebuje lažne msdos preglednice razdelkov, kot bi jo moral. Morda je "
+#~ "prišlo do okvare -- najverjetneje s strani programa, ki ne razume GPT "
+#~ "preglednic razdelkov. Morda ste izbrisali GPT preglednico in sedaj "
+#~ "uporabljate msdos preglednico razdelkov. Ali je to GPT preglednica "
+#~ "razdelkov?"
+
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "Nedosledni opisovalnik skupin!"
 
@@ -3484,18 +3542,9 @@ msgstr "Ta ukaz nima smisla v ne-vzajemnem načinu.\n"
 #~ msgid "move"
 #~ msgstr "move"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move ŠTEVILKA ZAČETEK KONEC              premakne razdelek ŠTEVILKA"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
 #~ msgstr ""
 #~ "resize ŠTEVILKA ZAČETEK KONEC            spremeni velikost razdelka "
 #~ "ŠTEVILKA in njegovega datotečnega sistema"
-
-#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
-#~ msgstr "To ni disk EKCD! Ta vrsta diska ni podprta!"
index e26b2375102184859f177e65709f9951c35c891d..3725ecfeb0da3451add5bffa8b50a40616545774 100644 (file)
Binary files a/po/sr.gmo and b/po/sr.gmo differ
index 7aab1c9fcd7bfe9368408fe1d45fa10a7cde5c5d..9fcb45f28c4f2f11f7ca4b14eaa15b64db3b6bb2 100644 (file)
--- a/po/sr.po
+++ b/po/sr.po
@@ -1,13 +1,13 @@
 # Language parted-3 translations for GNU parted package.
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2012 Free Software Foundation, Inc.
 # This file is distributed under the same license as the parted package.
 # Мирослав Николић <miroslavnikolic@rocketmail.com>, 2011, 2012.
 msgid ""
 msgstr ""
-"Project-Id-Version: parted-3.0\n"
+"Project-Id-Version: parted-3.1\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2012-01-15 01:14+0200\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2012-05-02 12:36+0200\n"
 "Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
 "Language-Team: Serbian <gnu@prevod.org>\n"
 "Language: sr\n"
@@ -31,7 +31,7 @@ msgstr "двосмислени аргумент %s за %s"
 msgid "Valid arguments are:"
 msgstr "Исправни аргументи су:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "грешка у писању"
 
@@ -115,83 +115,83 @@ msgstr "%s: опција „-W %s“ захтева аргумент\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "„"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "“"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Успешно"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Нема подударања"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Неисправан регуларни израз"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Неисправан знак поретка"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Неисправан назив класе знака"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Водећа контра коса црта"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Неисправна повратна референца"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Не одговара [ или [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Не одговара ( или \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Не одговара \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Неисправан садржај \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Неисправан крај опсега"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Меморија је потрошена"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Неисправан регуларни израз који претходи"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Прерани крај регуларног израза"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Регуларни израз је превелик"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Неодговара ) или \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Нема претходног регуларног израза"
 
@@ -201,7 +201,7 @@ msgstr "Нема претходног регуларног израза"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[yY]"
 
@@ -211,7 +211,7 @@ msgstr "^[yY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -393,17 +393,17 @@ msgid "memory exhausted"
 msgstr "меморија је потрошена"
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
 msgstr "неисправан %s%s аргумент „%s“"
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
 msgstr "неисправан суфикс у %s%s аргументу „%s“"
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
 msgstr "%s%s аргумент „%s“ је превелик"
 
@@ -412,59 +412,59 @@ msgid "Disk Image"
 msgstr "Слика диска"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Грешка у отварању %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Не могу да отворим %s само за читање (%s).  %s је отворен само за читање."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s за време претраге за читањем на %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s за време читања на %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Не могу да пишем у %s, зато што је отворен само за читање."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s за време претраге за писањем на %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s за време писања на %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Пробајте „%s --help“ за више информација.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Употреба: %s [ОПЦИЈА] [УРЕЂАЈ]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -480,7 +480,7 @@ msgstr ""
 "  -h, --help       приказује ову помоћ и излази\n"
 "  -v, --version    исписује податке о издању и излази\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -488,7 +488,7 @@ msgstr ""
 "\n"
 "Када није дат УРЕЂАЈ, испробава све партиције.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -534,7 +534,7 @@ msgstr ""
 "ништа о изменама које сте начинили. Треба да поново покренете ваш рачунар "
 "пре него што урадите било шта са %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -548,17 +548,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s покушава да усагласи %s са диском"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Не могу да добавим стање датотека уређаја %s — %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Не могу да одредим дм врсту %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -567,7 +567,7 @@ msgstr ""
 "Не могу да одредим величину сектора за %s: %s.\n"
 "Користим величину основног сектора (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -576,21 +576,21 @@ msgstr ""
 "Не могу да одредим величину физичког сектора за %s.\n"
 "Користим величину логичког сектора (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Не могу да одредим величину %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Не могу да добавим идентитет уређаја %s — %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Општи ИДЕ"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -603,12 +603,12 @@ msgstr ""
 "диска/система датотека, нпр. ГПТ и екст2/3.\n"
 "Молим потражите на веб сајту најсвежије податке."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Грешка при покретању СЦСИ уређаја %s — %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -617,7 +617,7 @@ msgstr ""
 "Уређај %s је премали тако да не може да садржи систем датотека или табелу "
 "партиција. Можда сте изабрали погрешан уређај?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -626,86 +626,86 @@ msgstr ""
 "Не могу да одредим геометрију датотеке/уређаја %s. Не бисте требали да "
 "користите Партед осим ако СТВАРНО знате шта радите."
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Општа СД/ММС меморијска картица"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "ДАЦ960 РАИД управљач"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Промисе СХ8 САТА уређај"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "АТА преко мрежног уређаја"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "ИБМ С390 ДАСД уређај"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "Виртуелни ДАСД ИБМ иСерије"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Компаков паметни низ"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "АТАРАИД управљач"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "И20 управљач"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "Корисничког режима УБД Линукс"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr ""
+msgstr "Уређај повратне петље"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Линуксов мапер уређаја (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Ксенов виртуелни блок уређај"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Непознато"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Виртио блок уређај"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "РАИД низ Линукс софтвера"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Неподржана врста уређаја"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Грешка при усклађивању датотека/затварању %s: %s"
 
-#: libparted/arch/linux.c:1767
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1846
+#, c-format
 msgid "%0.0send of file while reading %s"
-msgstr "крај датотеке за време читања %s"
+msgstr "%0.0sкрај датотеке за време читања %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -717,17 +717,12 @@ msgstr ""
 "поново не учитате —— зато не бисте требали да је монтирате или да је "
 "користите на било који начин пре него што поново учитате систем."
 
-#: libparted/arch/linux.c:2517
-#, fuzzy, c-format
-msgid "Unable to determine the start and length of %s."
-msgstr "Не могу да одредим величину и дужину %s."
-
-#: libparted/arch/linux.c:2632
+#: libparted/arch/linux.c:2683
 #, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Ð\9dиÑ\81ам Ñ\83Ñ\81пео Ð´Ð° Ð´Ð¾Ð´Ð°Ð¼ Ð¿Ð°Ñ\80Ñ\82иÑ\86иÑ\98Ñ\83 %d (%s)"
+msgid "Unable to determine the start and length of %s."
+msgstr "Ð\9dе Ð¼Ð¾Ð³Ñ\83 Ð´Ð° Ð¾Ð´Ñ\80едим Ð¿Ð¾Ñ\87еÑ\82ак Ð¸ Ð´Ñ\83жинÑ\83 %s."
 
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -740,30 +735,17 @@ msgstr ""
 "партиција ће остати у употреби. Требате поново да учитате пре него што "
 "начините додатне измене."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"партед није могао поново да прочита табелу партиција на %s (%s). Ово значи "
-"да Линукс неће знати ништа о изменама које сте начинили."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Не можете имати крај пре почетка! (почетни сектор=%jd дужина=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Не можете имати партицију изван диска!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Покушај уписивања сектора %ld-%ld изван партиције на %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "тражим лоше секторе"
 
@@ -777,12 +759,12 @@ msgstr "Повратни траг има %d позива на стеку:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Утврђивање (%s) на %s:%d у функцији %s() није успело."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: непрепознатљив натпис диска"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -791,40 +773,39 @@ msgstr ""
 "Овај либпартед нема подршку писања за %s. Вероватно је преведен само за "
 "читање."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Партиција %d је %s, али систем датотека је %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "поравнање_цилиндра"
 
-#: libparted/disk.c:840
-#, fuzzy
+#: libparted/disk.c:842
 msgid "pmbr_boot"
-msgstr "подизна"
+msgstr "пмбÑ\80_подизна"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Непозната заставица диска, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s натписи диска не подржавају проширене партиције."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "%s натписи диска не подржавају логичке или проширене партиције."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Превише примарних партиција."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -832,109 +813,127 @@ msgstr ""
 "Не могу да додам логичку партицију на %s, зато што не постоји проширена "
 "партиција."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Не можете имати више од једне проширене партиције на %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Не можете имати логичке партиције изван проширене партиције."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "Не можете имати логичку партицију изван проширене партиције на %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Не можете имати партицију преко партиције."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Не можете имати примарну партицију унутар проширене партиције."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Не можете имати партицију изван диска!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Не можете имати партицију преко партиције."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "метаподаци"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "слободно"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "проширена"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "логичка"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "примарна"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "подизна"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "биос_груб"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "корена"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "помоћна"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "скривена"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "раид"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "лвм"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "лба"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "хп-услуга"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "пало"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "преп"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "мсфтрес"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "метаподаци"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "атврецв"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "диаг"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "легаси_подизна"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Yes"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Непозната заставица партиције, %d."
@@ -1036,10 +1035,10 @@ msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
 "Подршка за подешавање заставица у натписима АИХ диска није још примењена."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Не могу да задовољим сва ограничења на партицији."
@@ -1048,34 +1047,33 @@ msgstr "Не могу да задовољим сва ограничења на 
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Не могу да доделим бсд прикључак натписа диска."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Не могу да доделим дасд прикључак натписа диска."
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Неисправна табела партиција на %s —— погрешан потпис %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Неисправна табела партиција — рекурзивна партиција на %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Проширене партиције не могу бити скривене на натписима мсдос диска."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Партед не може да промени величину партиција којима управља Виндоузов "
 "динамички диск."
 
-#: libparted/labels/dos.c:2414
-#, fuzzy
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
-msgstr "Ð\9dе Ð¼Ð¾Ð³Ñ\83 Ð´Ð° Ð½Ð°Ð¿Ñ\80авим Ð²Ð¸Ñ\88е Ð½Ð¸ Ñ\98еднÑ\83 Ð¿Ð°Ñ\80Ñ\82иÑ\86иÑ\98Ñ\83."
+msgstr "не Ð¼Ð¾Ð³Ñ\83 Ð´Ð° Ð½Ð°Ð¿Ñ\80авим Ð²Ð¸Ñ\88е Ð½Ð¸ Ñ\98еднÑ\83 Ð¿Ð°Ñ\80Ñ\82иÑ\86иÑ\98Ñ\83"
 
 #: libparted/labels/dvh.c:182
 #, c-format
@@ -1111,83 +1109,83 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Превише примарних партиција"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "грешка отварања"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "грешка премотавања"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "грешка читања"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "иоцтл() грешка"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "Издање АПИ-ја не одговара"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Неподржана врста диска"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Неподржани облик датотеке"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Диск је у употреби"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Синтаксичка грешка у датотеци подешавања"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Натпис диска је оштећен"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Назив подешавања података је оштећен"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Расподела меморије није успела"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Није успела провера уређаја"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Наведени уређај није исправан ДАСД уређај"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Кобна грешка"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Нема места за натпис волумена."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Нема места за податке о партицији."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Неисправан ВТОЦ."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Не могу да добавим издање АПИ-ја."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
@@ -1195,34 +1193,23 @@ msgstr ""
 "Тренутно издање АПИ-ја „%d“ се не подудара са издањем АПИ-ја „%d“ дасд "
 "управљачког програма!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Не могу да добавим податке о геометрији диска."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Не могу да добавим податке о величини диска."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Не могу да добавим податке о диску."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
 msgstr ""
-"%s садржи ГПТ потписе, који указују да има ГПТ табелу. Међутим, нема "
-"исправну лажну мсдос табелу партиција, као што би требало. Можда је оштећена "
-"—— вероватно програмом који не разуме ГПТ табеле партиција. Или сте можда ви "
-"обрисали ГПТ табелу, и сада користите мсдос табелу партиција. Да ли је ово "
-"ГПТ табела партиција?"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1231,7 +1218,7 @@ msgstr ""
 "Облик ГПТ табеле партиција је издања %x које је новије од оног које Партед "
 "може да препозна. Молим пријавите ово."
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1242,17 +1229,17 @@ msgstr ""
 "исправите ГПТ да користи сав простор (додатних %llu блокова) или да "
 "наставите са тренутним подешавањем?"
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Резервна ГПТ табела није на крају диска, као што би требало. Ово може да "
 "значи да неки други оперативни систем верује да је диск мањи. Да исправим, "
 "премештајући резерву на крај (у уклањајући стару резерву)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1261,7 +1248,7 @@ msgstr ""
 "свежу табелу, и користићу Партедову функцију спашавања да бих опоравио "
 "партиције."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1269,7 +1256,7 @@ msgstr ""
 "Резервна ГПТ табела је оштећена, али примарна изгледа у реду, тако да ће "
 "иста бити коришћена."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1277,10 +1264,15 @@ msgstr ""
 "Примарна ГПТ табела је оштећена, али резервна изгледа у реду, тако да ће "
 "иста бити коришћена."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "ЦРЦ низа табеле примарне партиције не одговара"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Не могу да доделим број партиције."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1295,40 +1287,40 @@ msgstr "Мапа партиције нема ставку мапе партиц
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s је премала за натпис Мак диска!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Партиција %d има неисправан потпис %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Партиција %d има неисправну дужину од 0 бајта!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Област података не почиње на почетку партиције."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Област учитавања не почиње на почетку партиције."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Област учитавања партиције не заузима целу партицију."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Област података партиције не заузима целу партицију."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 "Необична величина блока на описнику уређаја: %d бајта није дељиво са 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1337,11 +1329,11 @@ msgstr ""
 "Описник уређаја каже да је величина физичког блока %d бајта, али Линукс каже "
 "да је %d бајта."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Нисам пронашао исправну мапу партиције."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1350,7 +1342,7 @@ msgstr ""
 "Величине ставке мапе партиција су у сукобу! Ставка 1 каже да је %d, али "
 "ставка %d каже да је %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Необично! Постоје 2 ставке мапе партиција!"
 
@@ -1362,7 +1354,7 @@ msgstr ""
 "Измена назива корене или партиције помоћне меморије ће спречити Линукс да "
 "исту препозна као такву."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Не могу да додам још једну партицију —— мапа партиције је премала!"
 
@@ -1505,56 +1497,61 @@ msgstr "записивање на уређају није успело"
 msgid "reading from device failed"
 msgstr "читање са уређаја није успело"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Не могу да прочитам натпис волумена."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Не могу да запишем натпис волумена."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Не могу да прочитам натписе ВТОЦ-а."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Не могу да прочитам ВТОЦ ФМТ1 ДСЦБ."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Не могу да прочитам ВТОЦ ФМТ4 ДСЦБ."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Не могу да прочитам ВТОЦ ФМТ5 ДСЦБ."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Не могу да прочитам ВТОЦ ФМТ7 ДСЦБ."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Не могу да запишем натписе ВТОЦ-а."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Не могу да запишем ВТОЦ ФМТ1 ДСЦБ."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Не могу да запишем ВТОЦ ФМТ4 ДСЦБ."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Не могу да запишем ВТОЦ ФМТ5 ДСЦБ."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Не могу да запишем ВТОЦ ФМТ7 ДСЦБ."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Не могу да запишем ВТОЦ ФМТ1 ДСЦБ."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Понестало је меморије."
 
@@ -1588,27 +1585,27 @@ msgstr "Неисправан број."
 
 #: libparted/unit.c:538
 msgid "Use a smaller unit instead of a value < 1"
-msgstr ""
+msgstr "Користи мању јединицу уместо вредности < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Нисам успео да доделим блок партиције\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Нисам успео да доделим блок\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Не могу да прочитам блок учитавања %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Не могу да прочитам блок корена %llu\n"
@@ -1648,7 +1645,7 @@ msgstr "%s : Нисам пронашао рдб блок, ово није тре
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Нисам успео да прочитам блок партиције %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1656,86 +1653,68 @@ msgstr ""
 "ГНУ Паретд је лоше преведен: ФАТ сектор учитавања треба да буде 512 бајта. "
 "Подршка за ФАТ ће бити искључена."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Систем датотека има неисправан потпис за ФАТ систем датотека."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Систем датотека има неисправну величину сектора за ФАТ систем датотека."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "Систем датотека има неисправну величину кластера за ФАТ систем датотека."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Систем датотека има неисправан број резервисаних сектора за ФАТ систем "
 "датотека."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Систем датотека има неисправан број ФАТ-ова."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Овај систем датотека има величину логичког сектора од %d. Познато је да ГНУ "
-"Партед не ради исправно са величинама сектора које нису 512 бајта."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
+"ЦХС геометрија система датотека је (%d, %d, %d), што је неисправно.  ЦХС "
+"геометрија партиционе табеле је (%d, %d, %d)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "ФАТ сектор учитавања каже да је величина логичког сектора 0. То је чудно."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "ФАТ сектор каже да не постоје ФАТ табеле. То је чудно."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "ФАТ сектор учитавања каже да су кластери 0 сектора. То је необично."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Систем датотека је ФАТ12, који није подржан."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Сектор података има погрешан потпис (%x). Изаберите откажи за сада, и "
-"пошаљите у извештају о грешци. Ако сте очајни, највероватније да је најбоље "
-"да занемарите."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Непрепознатљиви стари стил потписа помоћне меморије линукса „%10s“."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Непрепознатљиви нови стил потписа помоћне меморије линукса „%10s“."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Непрепознатљиви свсусп потписа помоћне меморије линукса „%10s“."
@@ -1749,7 +1728,16 @@ msgstr ""
 "Партед не може да користи ХФС систем датотека на дисковима на којима "
 "величина сектора се разликује од %d бајта."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Овај систем датотека има величину логичког сектора од %d. Познато је да ГНУ "
+"Партед не ради исправно са величинама сектора које нису 512 бајта."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1764,29 +1752,44 @@ msgstr ""
 "„Поправи“, ЦХС геометрија система датотека ће бити подешена да одговара ЦХС "
 "геометрији табеле партиција."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Сектор података има погрешан потпис (%x). Изаберите откажи за сада, и "
+"пошаљите у извештају о грешци. Ако сте очајни, највероватније да је најбоље "
+"да занемарите."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
 "You need %s of free disk space to shrink this partition to this size.  "
 "Currently, only %s is free."
 msgstr ""
+"Потребно вам је %s слободног простора на диску да бисте скупили ову "
+"партицију на ову величину.  Тренутно, само %s је слободно."
 
 #: libparted/fs/r/fat/context.c:55
 #, c-format
 msgid ""
 "Cluster start delta = %d, which is not a multiple of the cluster size %d."
-msgstr ""
+msgstr "Делта почетка кластера = %d, што није умножак величине кластера %d."
 
 #: libparted/fs/r/fat/count.c:143
 #, c-format
 msgid "Bad directory entry for %s: first cluster is the end of file marker."
 msgstr ""
+"Лош унос директоријума за %s: први кластер јесте крај означивача датотеке."
 
 #: libparted/fs/r/fat/count.c:156
 #, c-format
 msgid ""
 "Bad FAT: unterminated chain for %s.  You should run dosfsck or scandisk."
 msgstr ""
+"Лош ФАТ: бесконачан ланац за %s.  Треба да покренете „dosfsck“ или "
+"„scandisk“."
 
 #: libparted/fs/r/fat/count.c:165
 #, c-format
@@ -1794,6 +1797,8 @@ msgid ""
 "Bad FAT: cluster %d outside file system in chain for %s.  You should run "
 "dosfsck or scandisk."
 msgstr ""
+"Лош ФАТ: кластер %d је изван система датотека у ланцу за %s.  Треба да "
+"покренете „dosfsck“ или „scandisk“."
 
 #: libparted/fs/r/fat/count.c:175
 #, c-format
@@ -1801,11 +1806,13 @@ msgid ""
 "Bad FAT: cluster %d is cross-linked for %s.  You should run dosfsck or "
 "scandisk."
 msgstr ""
+"Лош ФАТ: кластер %d је унакрсно повезан за %s.  Треба да покренете „dosfsck“ "
+"или „scandisk“."
 
 #: libparted/fs/r/fat/count.c:194
 #, c-format
 msgid "%s is %dk, but it has %d clusters (%dk)."
-msgstr ""
+msgstr "%s је %dk, али има %d кластера (%dk)."
 
 #: libparted/fs/r/fat/count.c:257
 #, c-format
@@ -1813,49 +1820,61 @@ msgid ""
 "The file %s is marked as a system file.  This means moving it could cause "
 "some programs to stop working."
 msgstr ""
+"Датотека „%s“ је означена као систем датотека.  Ово значи да њено премештање "
+"може да изазове престанак рада неких програма."
 
-#: libparted/fs/r/fat/fat.c:251
-#, fuzzy, c-format
+#: libparted/fs/r/fat/fat.c:243
+#, c-format
 msgid "Partition too big/small for a %s file system."
-msgstr "Партиција %d је %s, али систем датотека је %s."
+msgstr "Партиција је превелика/премала за „%s“ систем датотека."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
+"ФАТ-ови се не подударају.  Ако не знате шта значи ово, онда изаберите "
+"отказивање, покрените „scandisk“ на систему датотека, и након тога се "
+"вратите."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
-msgstr ""
+msgstr "Не постоје могућа подешавања за ову врсту ФАТ-а."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
 "size is %dk (%dk expected); number of clusters is %d (%d expected); size of "
 "FATs is %d sectors (%d expected)."
 msgstr ""
+"Систем датотека нема очекиване величине које би одговарале Виндоузу.  "
+"Величина кластера је %dk (очекивано је %dk); број кластера је %d (очекивано "
+"је %d); величина ФАТ-ова је %d сектора (очекивано је %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
 msgstr ""
+"Систем датотека обавештава о слободном простору од %d кластера, а не %d."
 
 #: libparted/fs/r/fat/resize.c:158
 msgid ""
 "There's not enough room in the root directory for all of the files.  Either "
 "cancel, or ignore to lose the files."
 msgstr ""
+"Нема довољно простора у кореном директоријуму за све датотеке.  Или "
+"откажите, или занемарите да бисте изгубили датотеке."
 
 #: libparted/fs/r/fat/resize.c:299
 msgid "Error writing to the root directory."
-msgstr ""
+msgstr "Грешка писања у корени директоријум."
 
 #: libparted/fs/r/fat/resize.c:488
 msgid "If you leave your file system as FAT16, then you will have no problems."
 msgstr ""
+"Ако оставите ваш систем датотека као ФАТ16, онда нећете имати проблема."
 
 #: libparted/fs/r/fat/resize.c:491
 msgid ""
@@ -1863,12 +1882,18 @@ msgid ""
 "you must re-install the MS Windows boot loader.  If you want to do this, you "
 "should consult the Parted manual (or your distribution's manual)."
 msgstr ""
+"Ако претворите у ФАТ16, а МС Виндоуз је инсталиран на тој партицији, онда "
+"ћете морати поново да инсталирате покретачки програм МС Виндоуза.  Ако "
+"желите ово да урадите, требало би да прочитате упутство Партеда (или "
+"упутство ваше дистрибуције)."
 
 #: libparted/fs/r/fat/resize.c:499
 msgid ""
 "If you leave your file system as FAT32, then you will not introduce any new "
 "problems."
 msgstr ""
+"Ако оставите ваш систем датотека као ФАТ32, онда нећете створити никаквих "
+"нових проблема."
 
 #: libparted/fs/r/fat/resize.c:503
 msgid ""
@@ -1878,35 +1903,46 @@ msgid ""
 "converting to FAT32 will make the file system unreadable by MS DOS, MS "
 "Windows 95a, and MS Windows NT."
 msgstr ""
+"Ако претворите у ФАТ16, а МС Виндоуз је инсталиран на тој партицији, онда "
+"ћете морати поново да инсталирате покретачки програм МС Виндоуза.  Ако "
+"желите ово да урадите, требало би да прочитате упутство Партеда (или "
+"упутство ваше дистрибуције).  Такође, претварање у ФАТ32 ће учинити систем "
+"датотека нечитљивим за МС ДОС, МС Виндоуз 95а, и МС Виндоуз НТ."
 
 #: libparted/fs/r/fat/resize.c:517
 #, c-format
 msgid "%s  %s  %s"
-msgstr ""
+msgstr "%s  %s  %s"
 
 #: libparted/fs/r/fat/resize.c:518
 msgid "Would you like to use FAT32?"
-msgstr ""
+msgstr "Да ли бисте желели да користите ФАТ32?"
 
 #: libparted/fs/r/fat/resize.c:549 libparted/fs/r/fat/resize.c:565
 #, c-format
 msgid "%s  %s"
-msgstr ""
+msgstr "%s  %s"
 
 #: libparted/fs/r/fat/resize.c:550
 msgid ""
 "The file system can only be resized to this size by converting to FAT16."
 msgstr ""
+"Систему датотека може бити промењена величина само на ову величину "
+"претварањем у ФАТ16."
 
 #: libparted/fs/r/fat/resize.c:566
 msgid ""
 "The file system can only be resized to this size by converting to FAT32."
 msgstr ""
+"Систему датотека може бити промењена величина само на ову величину "
+"претварањем у ФАТ32."
 
 #: libparted/fs/r/fat/resize.c:579
 msgid ""
 "GNU Parted cannot resize this partition to this size.  We're working on it!"
 msgstr ""
+"ГНУ Партед не може да промени величину ове партиције на ову величину.  "
+"Радимо на томе! *_*"
 
 #: libparted/fs/r/fat/table.c:136
 #, c-format
@@ -1914,46 +1950,46 @@ msgid ""
 "FAT %d media %x doesn't match the boot sector's media %x.  You should "
 "probably run scandisk."
 msgstr ""
+"ФАТ %d медиј %x не одговара медију сектора учитавања %x.  Вероватно треба да "
+"покренете „scandisk“."
 
 #: libparted/fs/r/fat/table.c:268
 #, c-format
 msgid "fat_table_set: cluster %ld outside file system"
-msgstr ""
+msgstr "fat_table_set: кластер %ld је изван система датотека"
 
 #: libparted/fs/r/fat/table.c:300
 #, c-format
 msgid "fat_table_get: cluster %ld outside file system"
-msgstr ""
+msgstr "fat_table_get: кластер %ld је изван система датотека"
 
 #: libparted/fs/r/fat/table.c:342
 msgid "fat_table_alloc_cluster: no free clusters"
-msgstr ""
+msgstr "fat_table_alloc_cluster: нема слободних кластера"
 
 #: libparted/fs/r/filesys.c:151
-#, fuzzy
 msgid "Could not detect file system."
-msgstr "Ð\9dе Ð¼Ð¾Ð³Ñ\83 Ð´Ð° Ð´Ð¾Ð±Ð°Ð²Ð¸Ð¼ Ñ\81Ñ\82аÑ\9aе Ð´Ð°Ñ\82оÑ\82ека Ñ\83Ñ\80еÑ\92аÑ\98а %s â\80\94 %s."
+msgstr "Ð\9dе Ð¼Ð¾Ð³Ñ\83 Ð´Ð° Ð¾Ñ\82кÑ\80иÑ\98ем Ñ\81иÑ\81Ñ\82ем Ð´Ð°Ñ\82оÑ\82ека."
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
-#, fuzzy, c-format
+#, c-format
 msgid "resizing %s file systems is not supported"
-msgstr "Ð\9eÑ\87екÑ\83Ñ\98ем Ð²Ñ\80Ñ\81Ñ\82Ñ\83 Ñ\81иÑ\81Ñ\82ема Ð´Ð°Ñ\82оÑ\82ека."
+msgstr "пÑ\80омена Ð²ÐµÐ»Ð¸Ñ\87ине â\80\9e%sâ\80\9c Ñ\81иÑ\81Ñ\82ема Ð´Ð°Ñ\82оÑ\82ека Ð½Ð¸Ñ\98е Ð¿Ð¾Ð´Ñ\80жана"
 
 #: libparted/fs/r/filesys.c:170
-#, fuzzy
 msgid "The file system is bigger than its volume!"
-msgstr "Ð\9dаÑ\82пиÑ\81 Ð´Ð¸Ñ\81ка Ð¾Ð¿Ð¸Ñ\81Ñ\83Ñ\98е Ð´Ð¸Ñ\81к Ð²ÐµÑ\9bи Ð¾Ð´ %s."
+msgstr "СиÑ\81Ñ\82ем Ð´Ð°Ñ\82оÑ\82ека Ñ\98е Ð²ÐµÑ\9bи Ð¾Ð´ Ñ\81вог Ð²Ð¾Ð»Ñ\83мена!"
 
 #: libparted/fs/r/hfs/advfs.c:120 libparted/fs/r/hfs/advfs_plus.c:120
 #: libparted/fs/r/hfs/reloc.c:412 libparted/fs/r/hfs/reloc.c:506
 #: libparted/fs/r/hfs/reloc_plus.c:537 libparted/fs/r/hfs/reloc_plus.c:655
 #: libparted/fs/r/hfs/reloc_plus.c:768
 msgid "The file system contains errors."
-msgstr ""
+msgstr "Систем датотека садржи грешке."
 
 #: libparted/fs/r/hfs/advfs_plus.c:284
 msgid "Bad blocks could not be read."
-msgstr ""
+msgstr "Лоши блокови не могу бити прочитани."
 
 #: libparted/fs/r/hfs/cache.c:136
 #, c-format
@@ -1961,6 +1997,8 @@ msgid ""
 "Trying to register an extent starting at block 0x%X, but another one already "
 "exists at this position.  You should check the file system!"
 msgstr ""
+"Покушавам да забележим опсег почевши од блока 0x%X, али већ постоји један на "
+"том положају.  Треба да проверите систем датотека!"
 
 #: libparted/fs/r/hfs/cache.c:213
 #, c-format
@@ -1968,127 +2006,132 @@ msgid ""
 "Trying to move an extent from block Ox%X to block Ox%X, but another one "
 "already exists at this position.  This should not happen!"
 msgstr ""
+"Покушавам да преместим опсег са блока Ox%X на блок Ox%X, али већ постоји "
+"један на том положају.  Ово није требало да се деси!"
 
 #: libparted/fs/r/hfs/file.c:142
 #, c-format
 msgid "Could not update the extent cache for HFS file with CNID %X."
-msgstr ""
+msgstr "Не могу да освежим оставу опсега за ХФС датотеку са ЦНИД-ом %X."
 
 #: libparted/fs/r/hfs/file.c:179
 #, c-format
 msgid "Trying to read HFS file with CNID %X behind EOF."
-msgstr ""
+msgstr "Покушавам да прочитам ХФС датотеку са ЦНИД-ом %X изван краја датотеке."
 
 #: libparted/fs/r/hfs/file.c:189 libparted/fs/r/hfs/file.c:219
 #, c-format
 msgid "Could not find sector %lli of HFS file with CNID %X."
-msgstr ""
+msgstr "Немогу да пронађем сектор %lli ХФС датотеке са ЦНИД-ом %X."
 
 #: libparted/fs/r/hfs/file.c:209
 #, c-format
 msgid "Trying to write HFS file with CNID %X behind EOF."
-msgstr ""
+msgstr "Покушавам да упишем ХФС датотеку са ЦНИД-ом %X изван краја датотеке."
 
 #: libparted/fs/r/hfs/file_plus.c:156
 #, c-format
 msgid "Could not update the extent cache for HFS+ file with CNID %X."
-msgstr ""
+msgstr "Не могу да освежим оставу опсега за ХФС+ датотеку са ЦНИД-ом %X."
 
 #: libparted/fs/r/hfs/file_plus.c:201
 #, c-format
 msgid "Trying to read HFS+ file with CNID %X behind EOF."
 msgstr ""
+"Покушавам да прочитам ХФС+ датотеку са ЦНИД-ом %X изван краја датотеке."
 
 #: libparted/fs/r/hfs/file_plus.c:212 libparted/fs/r/hfs/file_plus.c:255
 #, c-format
 msgid "Could not find sector %lli of HFS+ file with CNID %X."
-msgstr ""
+msgstr "Немогу да пронађем сектор %lli ХФС+ датотеке са ЦНИД-ом %X."
 
 #: libparted/fs/r/hfs/file_plus.c:244
 #, c-format
 msgid "Trying to write HFS+ file with CNID %X behind EOF."
-msgstr ""
+msgstr "Покушавам да упишем ХФС+ датотеку са ЦНИД-ом %X изван краја датотеке."
 
 #: libparted/fs/r/hfs/hfs.c:232
 msgid "Sorry, HFS cannot be resized that way yet."
-msgstr ""
+msgstr "Извините, ХФС-у не може бити промењена величина на тај начин још увек."
 
 #: libparted/fs/r/hfs/hfs.c:250 libparted/fs/r/hfs/hfs.c:629
 msgid "shrinking"
-msgstr ""
+msgstr "скупљам"
 
 #: libparted/fs/r/hfs/hfs.c:262 libparted/fs/r/hfs/hfs.c:641
-#, fuzzy
 msgid "Data relocation has failed."
-msgstr "РаÑ\81подела Ð¼ÐµÐ¼Ð¾Ñ\80иÑ\98е Ð½Ð¸Ñ\98е Ñ\83Ñ\81пела"
+msgstr "Ð\9fÑ\80емеÑ\88Ñ\82аÑ\98 Ð´Ð°Ñ\82оÑ\82ека Ð½Ð¸Ñ\98е Ñ\83Ñ\81пео."
 
 #: libparted/fs/r/hfs/hfs.c:281
 msgid "Data relocation left some data in the end of the volume."
-msgstr ""
+msgstr "Премештај датотека је оставио неке податке при крају волумена."
 
 #: libparted/fs/r/hfs/hfs.c:320
 msgid "writing HFS Master Directory Block"
-msgstr ""
+msgstr "записујем блок главног директоријума ХФС-а"
 
 #: libparted/fs/r/hfs/hfs.c:468
 msgid "No valid HFS[+X] signature has been found while opening."
-msgstr ""
+msgstr "Није пронађен исправан ХФС[+Икс] потпис приликом отварања."
 
 #: libparted/fs/r/hfs/hfs.c:478
 #, c-format
 msgid "Version %d of HFS+ isn't supported."
-msgstr ""
+msgstr "Издање ХФС+ %d није подржано."
 
 #: libparted/fs/r/hfs/hfs.c:489
 #, c-format
 msgid "Version %d of HFSX isn't supported."
-msgstr ""
+msgstr "Издање ХФСИкс %d није подржано."
 
 #: libparted/fs/r/hfs/hfs.c:672
 msgid "Data relocation left some data at the end of the volume."
-msgstr ""
+msgstr "Премештај датотека је оставио неке податке на крај волумена."
 
 #: libparted/fs/r/hfs/hfs.c:720
 msgid "Error while writing the allocation file."
-msgstr ""
+msgstr "Грешка приликом записивања датотеке расподеле."
 
 #: libparted/fs/r/hfs/hfs.c:735
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr ""
+msgstr "Грешка приликом записивања дела сагласности датотеке расподеле."
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
-msgstr ""
+msgstr "записујем заглавље ХФС+ волумена"
 
 #: libparted/fs/r/hfs/hfs.c:850
 msgid "An error occurred while looking for the mandatory bad blocks file."
-msgstr ""
+msgstr "Дошло је до грешке приликом тражења обавезне датотеке лоших блокова."
 
 #: libparted/fs/r/hfs/hfs.c:904
 msgid ""
 "It seems there is an error in the HFS wrapper: the bad blocks file doesn't "
 "contain the embedded HFS+ volume."
 msgstr ""
+"Изгледа да постоји грешка у ХФС омотачу: датотека лоших блокова не садржи "
+"угнежђен ХФС+ волумен."
 
 #: libparted/fs/r/hfs/hfs.c:940
 msgid "Sorry, HFS+ cannot be resized that way yet."
 msgstr ""
+"Извините, ХФС-у+ не може бити промењена величина на тај начин још увек."
 
 #: libparted/fs/r/hfs/hfs.c:975
 msgid "shrinking embedded HFS+ volume"
-msgstr ""
+msgstr "скупљам угнежђени ХФС+ волумен"
 
 #: libparted/fs/r/hfs/hfs.c:991
 msgid "Resizing the HFS+ volume has failed."
-msgstr ""
+msgstr "Промена величине ХФС+ волумена није успела."
 
 #: libparted/fs/r/hfs/hfs.c:998
 msgid "shrinking HFS wrapper"
-msgstr ""
+msgstr "скупљам ХФС омотач"
 
 #: libparted/fs/r/hfs/hfs.c:1007
 msgid "Updating the HFS wrapper has failed."
-msgstr ""
+msgstr "Освежавање ХФС омотача није успело."
 
 #: libparted/fs/r/hfs/hfs.c:1109 libparted/fs/r/hfs/hfs.c:1194
 #, c-format
@@ -2096,104 +2139,125 @@ msgid ""
 "This is not a real %s check.  This is going to extract special low level "
 "files for debugging purposes."
 msgstr ""
+"Ово није стварна „%s“ провера.  Ово ће извући посебне датотеке ниског нивоа "
+"за сврхе уклањања грешака."
 
 #: libparted/fs/r/hfs/journal.c:154
 msgid "Bad block list header checksum."
-msgstr ""
+msgstr "Лоша сума провере заглавља списка блока."
 
 #: libparted/fs/r/hfs/journal.c:167
 #, c-format
 msgid ""
 "Invalid size of a transaction block while replaying the journal (%i bytes)."
 msgstr ""
+"Неисправна величина блока преноса приликом одговарања журнала (%i бајта)."
 
 #: libparted/fs/r/hfs/journal.c:259
 msgid ""
 "Journal stored outside of the volume are not supported.  Try to desactivate "
 "the journal and run Parted again."
 msgstr ""
+"Журнал ускладиштен изван волумена није подржан.  Покушајте да искључите "
+"журнал и поново да покренете Партед."
 
 #: libparted/fs/r/hfs/journal.c:270
 msgid "Journal offset or size is not multiple of the sector size."
-msgstr ""
+msgstr "Померај журнала или величина није умножак величине сектора."
 
 #: libparted/fs/r/hfs/journal.c:291
 msgid "Incorrect magic values in the journal header."
-msgstr ""
+msgstr "Неисправне вредности магије у заглављу журнала."
 
 #: libparted/fs/r/hfs/journal.c:301
 msgid "Journal size mismatch between journal info block and journal header."
 msgstr ""
+"Величина журнала се не поклапа између блока података журнала и заглавља "
+"журнала."
 
 #: libparted/fs/r/hfs/journal.c:313
 msgid "Some header fields are not multiple of the sector size."
-msgstr ""
+msgstr "Нека поља заглавља нису умношци величине сектора."
 
 #: libparted/fs/r/hfs/journal.c:322
 msgid ""
 "The sector size stored in the journal is not 512 bytes.  Parted only "
 "supports 512 bytes length sectors."
 msgstr ""
+"Величина сектора смештена у журналу није 512 бајта.  Партед подржава само "
+"секторе дужине 512 бајта."
 
 #: libparted/fs/r/hfs/journal.c:334
 msgid "Bad journal checksum."
-msgstr ""
+msgstr "Лоша сума провере журнала."
 
 #: libparted/fs/r/hfs/journal.c:352
 msgid ""
 "The journal is not empty.  Parted must replay the transactions before "
 "opening the file system.  This will modify the file system."
 msgstr ""
+"Журнал није празан.  Партед мора да понови преносе пре отварања система "
+"датотека.  Ово ће изменити систем датотека."
 
 #: libparted/fs/r/hfs/journal.c:380
 msgid ""
 "The volume header or the master directory block has changed while replaying "
 "the journal.  You should restart Parted."
 msgstr ""
+"Заглавље волумена или блок главног директоријума се изменио приликом "
+"понављања журнала.  Треба поново да покренете Партед."
 
 #: libparted/fs/r/hfs/reloc.c:150 libparted/fs/r/hfs/reloc_plus.c:154
 msgid "An extent has not been relocated."
-msgstr ""
+msgstr "Један опсег није премештен."
 
 #: libparted/fs/r/hfs/reloc.c:249 libparted/fs/r/hfs/reloc_plus.c:306
 msgid ""
 "A reference to an extent comes from a place it should not.  You should check "
 "the file system!"
 msgstr ""
+"Указивање на опсег долази са места које то није.  Треба да проверите систем "
+"датотека!"
 
 #: libparted/fs/r/hfs/reloc.c:379
 msgid "This HFS volume has no catalog file.  This is very unusual!"
-msgstr ""
+msgstr "Овај ХФС волумен нема датотеку каталога.  Ово је врло необично!"
 
 #: libparted/fs/r/hfs/reloc.c:473
 msgid "This HFS volume has no extents overflow file.  This is quite unusual!"
 msgstr ""
+"Овај ХФС волумен нема датотеку прекорачења опсега.  Ово је поприлично "
+"необично!"
 
 #: libparted/fs/r/hfs/reloc.c:515 libparted/fs/r/hfs/reloc_plus.c:665
 msgid ""
 "The extents overflow file should not contain its own extents!  You should "
 "check the file system."
 msgstr ""
+"Датотека прекорачења опсега не треба да садржи сопствене опсеге! Треба да "
+"проверите систем датотека."
 
 #: libparted/fs/r/hfs/reloc.c:572 libparted/fs/r/hfs/reloc_plus.c:843
 msgid "Could not cache the file system in memory."
-msgstr ""
+msgstr "Не могу да сместим систем датотека у меморију."
 
 #: libparted/fs/r/hfs/reloc.c:633 libparted/fs/r/hfs/reloc_plus.c:904
 msgid "Bad blocks list could not be loaded."
-msgstr ""
+msgstr "Списак лоших блокова не може бити учитан."
 
 #: libparted/fs/r/hfs/reloc.c:647 libparted/fs/r/hfs/reloc_plus.c:920
 msgid "An error occurred during extent relocation."
-msgstr ""
+msgstr "Дошло је до грешке приликом премештања опсега."
 
 #: libparted/fs/r/hfs/reloc_plus.c:493
 msgid "This HFS+ volume has no catalog file.  This is very unusual!"
-msgstr ""
+msgstr "Овај ХФС+ волумен нема датотеку каталога.  Ово је врло необично!"
 
 #: libparted/fs/r/hfs/reloc_plus.c:616
 msgid "This HFS+ volume has no extents overflow file.  This is quite unusual!"
 msgstr ""
+"Овај ХФС+ волумен нема датотеку прекорачења опсега.  Ово је поприлично "
+"необично!"
 
 #: parted/parted.c:125
 msgid "displays this help message"
@@ -2232,27 +2296,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "ВРСТА—НАТПИСА може бити:"
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "ЗАСТАВИЦА може бити:"
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "ЈЕДИНИЦА може бити:"
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "жељено поравнање: најмање или одговарајуће"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "ВРСТА—ПАРТИЦИЈЕ може бити: примарна, логичка, проширена:\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "ВРСТА—С.ДАТ. може бити:"
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2262,19 +2326,29 @@ msgstr ""
 "вредности почињу од краја диска. На пример, -1 означава тачно последњи "
 "сектор.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"ПОЧЕТАК и КРАЈ су места на диску, као што је 4GB или 10%. Негативне "
+"вредности почињу од краја диска. На пример, -1 означава тачно последњи "
+"сектор.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "СТАЊЕ може бити: укљ., искљ.\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "УРЕЂАЈ је обично „/dev/hda“ или „/dev/sda“\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "НАЗИВ је било која реч коју изаберете\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2294,26 +2368,24 @@ msgstr ""
 "Погледајте ГНУ Општу јавну лиценцу за више детаља.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(преостало време %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "Партиција %s је била коришћена. Морате да је демонтирате пре него што је "
 "измените Партедом."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Партиције %s су биле коришћене."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2322,40 +2394,41 @@ msgstr ""
 "Постојећи натпис диска на %s ће бити уништен и сви подаци на диску ће бити "
 "изгубљени. Да ли желите да наставите?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Нова врста натписа диска?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Врста партиције?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Назив партиције?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Врста система датотека?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Почетак?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Крај?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Затражили сте партицију од %s до %s\n"
-"Најближе место којим можемо да управљамо је од %s до %s.%s"
+"Затражили сте партицију од %s до %s (сектори %llu..%llu).\n"
+"Најближе место којим можемо да управљамо је од %s до %s (сектори %llu..%llu)."
+"%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2363,83 +2436,83 @@ msgstr ""
 "\n"
 "Да ли вам је ово прихватљиво?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr "Резултирајућа партиција није исправно поравната за најбоље резултате."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Број партиције?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "БИОС цилиндар, глава, геометрија сектора: %d,%d,%d. Сваки цилиндар је %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Модел: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Диск %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Величина сектора (логички/физички): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Табела партиција: %s\n"
 
-#: parted/parted.c:992
-#, fuzzy, c-format
+#: parted/parted.c:1017
+#, c-format
 msgid "Disk Flags: %s\n"
-msgstr "Ð\94иÑ\81к %s: %s\n"
+msgstr "Ð\9eпÑ\86иÑ\98е Ð´Ð¸Ñ\81ка: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Број"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Почетак"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Крај"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Величина"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Врста"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Систем датотека"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Назив"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Заставице"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Слободан простор"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2448,45 +2521,54 @@ msgstr ""
 "%s %s партиција је пронађена на %s —> %s. Да ли желите да је додате у табелу "
 "партиција?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "тражим системе датотека"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Нови уређај?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "врста поравнања(најм./опц.)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d је поравната\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d није поравната\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Ознака за преокренути?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Ново стање?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Јединица?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2494,11 +2576,11 @@ msgstr ""
 "align-check ВРСТА N                 врши проверу партиције N за ВРСТОМ(min|"
 "opt) поравнања"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2506,15 +2588,15 @@ msgstr ""
 "help [НАРЕДБА]                          штампа општу помоћ, или помоћ при "
 "НАРЕДБИ"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2522,15 +2604,15 @@ msgstr ""
 "mklabel,mktable ВРСТА-НАТПИСА               ствара нови натпис диска (табелу "
 "партиција)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart ВРСТА-ПАРТИЦ [ВРСТА-СИС.ДАТ.] ПОЧЕТАК КРАЈ     ствара партицију"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2539,20 +2621,20 @@ msgstr ""
 "ВРСТА—СИС.ДАТ. може бити наведена за подешавање одговарајућег ИБ-а "
 "партиције.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "name БРОЈ НАЗИВ                          именује партицију БРОЈ као НАЗИВ"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2562,7 +2644,7 @@ msgstr ""
 "доступне уређаје, слободан простор, све пронађене партиције, или посебну "
 "партицију"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2570,11 +2652,11 @@ msgstr ""
 "Без аргумената, „print“ приказује читаву табелу партиција. Међутим са "
 "следећим аргументима обавља различите друге радње.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : приказује све активне блок уређаје\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2582,30 +2664,30 @@ msgstr ""
 "  free      : приказује податке о слободном непартиционисаном простору на "
 "текућем блок уређају\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr "  list, all : приказује табеле партиција свих активних блок уређаја\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr "  БРОЈ    : приказује детаљније податке о тој посебној партицији\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     излази из програма"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2613,62 +2695,76 @@ msgstr ""
 "rescue ПОЧЕТАК КРАЈ                         спашава изгубљену партицију "
 "близу ПОЧЕТКА и КРАЈА"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr ""
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr ""
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm БРОЈ                                брише партицију БРОЈ"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm БРОЈ                                брише партицију БРОЈ"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select УРЕЂАЈ                            бира уређај за уређивање"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
-msgstr ""
+msgstr "disk_set"
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
-"set БРОЈ ЗАСТАВИЦА СТАЊЕ                    мења ЗАСТАВИЦУ на партицији БРОЈ"
+"disk_set СТАЊЕ ОПЦИЈЕ                    мења ОПЦИЈУ на изабраном уређају"
 
-#: parted/parted.c:1918
-#, fuzzy
+#: parted/parted.c:2038
 msgid "disk_toggle"
-msgstr "toggle"
+msgstr "disk_toggle"
 
-#: parted/parted.c:1921
-#, fuzzy
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
-"toggle [БРОЈ [ЗАСТАВИЦА]]                   пребацује стање ЗАСТАВИЦЕ на "
-"партицији БРОЈ"
+"disk_toggle [ОПЦИЈА]                     пребацује стање ОПЦИЈЕ на изабраном "
+"уређају"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "set БРОЈ ЗАСТАВИЦА СТАЊЕ                    мења ЗАСТАВИЦУ на партицији БРОЈ"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2676,21 +2772,21 @@ msgstr ""
 "toggle [БРОЈ [ЗАСТАВИЦА]]                   пребацује стање ЗАСТАВИЦЕ на "
 "партицији БРОЈ"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit ЈЕДИНИЦА                                поставља основну јединицу на "
 "ЈЕДИНИЦУ"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2698,7 +2794,7 @@ msgstr ""
 "version                                  приказује број издања и податке о "
 "ауторским правима ГНУ Партеда"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2706,21 +2802,20 @@ msgstr ""
 "„version“ приказује ауторска права и податке о издању које одговара овом "
 "примерку ГНУ Партеда\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr "Коришћење: %s [-hlmsv] [-a<align>] [УРЕЂАЈ [НАРЕДБА [ПАРАМЕТРИ]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Нисам пронашао уређај"
 
-#: parted/parted.c:2109
-#, fuzzy
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
-msgstr "УПОЗОРЕЊЕ: Ви нисте администратор. Затражите овлашћења."
+msgstr "УПОЗОРЕЊЕ: Ви нисте администратор. Затражите овлашћења.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Мораћете да освежите /etc/fstab.\n"
 
@@ -2969,7 +3064,7 @@ msgid ""
 "Error: ILL_BADSTK (Internal Stack Error)"
 msgstr ""
 "\n"
-"Ð\93Ñ\80еÑ\88ка: ILL_BADSTK (Ð\93Ñ\80еÑ\88ка Ñ\83нÑ\83Ñ\82Ñ\80аÑ\88Ñ\9aег стека)"
+"Ð\93Ñ\80еÑ\88ка: ILL_BADSTK (УнÑ\83Ñ\82Ñ\80аÑ\88Ñ\9aа Ð³Ñ\80еÑ\88ка стека)"
 
 #: parted/ui.c:493
 msgid ""
@@ -2979,65 +3074,65 @@ msgstr ""
 "\n"
 "Грешка: Наиђох на општи SIGILL сигнал."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "неисправан чин: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Очекујем број партиције."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Партиција не постоји."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Очекујем врсту система датотека."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Непозната врста система датотека „%s“."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Очекујем врсту натписа диска."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Не могу да направим више ни једну партицију."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Очекујем врсту партиције."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "укљ"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "искљ"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "најбоље"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "најмање"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "ОПЦИЈА/е:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "НАРЕДБА/е:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3046,11 +3141,34 @@ msgstr ""
 "\n"
 "Грешке пријавите на %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Користим %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Ова наредба нема смиса у немеђудејственом режиму\n"
+
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Нисам успео да додам партицију %d (%s)"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "партед није могао поново да прочита табелу партиција на %s (%s). Ово "
+#~ "значи да Линукс неће знати ништа о изменама које сте начинили."
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s садржи ГПТ потписе, који указују да има ГПТ табелу. Међутим, нема "
+#~ "исправну лажну мсдос табелу партиција, као што би требало. Можда је "
+#~ "оштећена —— вероватно програмом који не разуме ГПТ табеле партиција. Или "
+#~ "сте можда ви обрисали ГПТ табелу, и сада користите мсдос табелу "
+#~ "партиција. Да ли је ово ГПТ табела партиција?"
index ae9a8c8558ca784837353cd8cbd6b2397a4bbf4f..983976d7ff0db4e55c598848cd34f376c2d85254 100644 (file)
Binary files a/po/sv.gmo and b/po/sv.gmo differ
index 0df49fbf91ee1432a3ad8b95e2c507fd59301c6b..600146e91a9d6d06c7b72b9f8c04dd649b03cea7 100644 (file)
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 2.2\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2010-03-21 15:25+0100\n"
 "Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
@@ -31,7 +31,7 @@ msgstr "tvetydigt argument %s för %s"
 msgid "Valid arguments are:"
 msgstr "Giltiga argument är:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "skrivfel"
 
@@ -115,83 +115,83 @@ msgstr "%s: flaggan \"%s\" kräver ett argument\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "\""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "\""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Lyckades"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Ingen träff"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Ogiltigt reguljärt uttryck"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Ogiltigt sorteringstecken"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Ogiltigt teckenklassnamn"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Efterföljande omvänt snedstreck"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Ogiltig bakåtreferens"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Omatchat [ eller [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Omatchat ( eller \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Omatchat \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Ogiltigt innehåll i \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Ogiltigt intervallslut"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Slut på minne"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Ogiltigt föregående reguljärt uttryck"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "För tidigt slut på reguljärt uttryck"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Reguljärt uttryck är för stort"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Omatchat ) eller \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Inga tidigare reguljära uttryck"
 
@@ -201,7 +201,7 @@ msgstr "Inga tidigare reguljära uttryck"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[jJyY]"
 
@@ -211,7 +211,7 @@ msgstr "^[jJyY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -415,60 +415,60 @@ msgid "Disk Image"
 msgstr "Diskavbildning"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Ett fel uppstod när %s öppnades: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Kunde inte öppna %s för både läsning och skrivning (%s). %s öppnades i "
 "läsläge."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s under positionering för att läsa på %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s under läsning på %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Kan inte skriva till %s eftersom den är öppnad som skrivskyddad."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s under positionering för att skriva på %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s under skrivning på %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Prova \"%s --help\" för mer information.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Användning: %s [FLAGGA] [ENHET]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -484,7 +484,7 @@ msgstr ""
 "  -h, --help       visa denna hjälp och avsluta\n"
 "  -v, --version    skriv ut versionsinformation och avsluta\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -492,7 +492,7 @@ msgstr ""
 "\n"
 "När ingen ENHET har angivits, undersök alla partitioner.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -539,7 +539,7 @@ msgstr ""
 "vet nånting om de ändringar du gjort. Du bör starta om datorn innan du gör "
 "nånting med %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -552,17 +552,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s försöker att synkronisera %s till disk"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Kunde inte ta status på enheten %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Kunde inte fastställa dm-typen på %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -571,7 +571,7 @@ msgstr ""
 "Kunde inte fastställa sektorstorlek för %s: %s.\n"
 "Använder standardsektorstorleken (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, fuzzy, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -580,21 +580,21 @@ msgstr ""
 "Kunde inte fastställa sektorstorlek för %s: %s.\n"
 "Använder standardsektorstorleken (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Kunde inte fastställa storleken på %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Kunde inte hitta identitet för enhet %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Allmän IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -607,12 +607,12 @@ msgstr ""
 "kombinationer av disketikett/filsystem, t.ex. GPT och ext2/3.\n"
 "Referera till webbsidan för uppdaterad information."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Ett fel uppstod vid initiering av SCSI-enheten %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, fuzzy, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -621,7 +621,7 @@ msgstr ""
 "Enheten %s har noll längd och kan omöjligt lagra ett filsystem eller "
 "partitionstabell.  Du kanske valde fel enhet?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -630,87 +630,87 @@ msgstr ""
 "Kunde inte fastställa geometrin på filen/enheten %s. Du bör inte använda "
 "Parted såvida inte du VERKLIGEN vet vad du gör!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Allmänt SD/MMC-lagringskort"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Styrkort för DAC960 RAID"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Promise SX8 SATA-enhet"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "IBM S390 DASD-enhet"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries virtuell DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Styrkort för ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Styrkort för I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "Källenhet?"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux device-mapper (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Xen virtuell blockenhet"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Okänd"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Virtio-blockenhet"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new() Stöd saknas för den här enhetstypen"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Ett fel uppstod när %s öppnades: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, fuzzy, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -721,17 +721,12 @@ msgstr ""
 "Linux inte vet nånting om de ändringar du gjort tills du har startar om "
 "datorn. Du bör starta om datorn innan du gör nånting med %s."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
-msgstr "Kunde inte fastställa storleken på %s (%s)."
-
-#: libparted/arch/linux.c:2632
-#, fuzzy, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "%s : Misslyckades med att läsa partitionsblock %llu\n"
+msgstr "Kunde inte fastställa dm-typen på %s."
 
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -740,30 +735,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted kunde inte läsa om partitionstabellen på %s (%s). Det betyder att "
-"Linux inte vet nånting om de ändringar du gjort."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Kan inte ha slutet före början!"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Kan inte ha en partition utanför hårddisken!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Försökte skriva sektorerna %ld-%ld utanför partitionen på %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "letar efter felaktiga block"
 
@@ -777,12 +759,12 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Försäkran (%s) på %s:%d i funktionen %s() misslyckades."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: okänt disketikett"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -791,40 +773,40 @@ msgstr ""
 "Denna libparted saknar skrivstöd för %s.  Kanske kompilerades den utan "
 "skrivstöd."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Partition %d är %s, men filsystemet är %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "startbar"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Okänd diskflagga, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s-disketiketter saknar stöd för utökade partitioner."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "%s-disketiketter saknar stöd för logiska eller utökade partitioner."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "För många primära partitioner."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
@@ -832,109 +814,127 @@ msgstr ""
 "Kan inte lägga till en logisk partition till %s, eftersom det saknas en "
 "utökad partition."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Kan inte ha fler än en utökad partition på %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Kan inte ha logiska partitioner utanför den utökade partitionen."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "Kan inte ha en logisk partition utanför den utökade partitionen på %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Kan inte ha överlappande partitioner."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Kan inte ha en primär partition inuti en utökad partition."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Kan inte ha en partition utanför hårddisken!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Kan inte ha överlappande partitioner."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metadata"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "ledigt"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "utökat"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "logiskt"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "primär"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "startbar"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "rot"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "växlingsutrymme"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "dold"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-service"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metadata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Ja"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Okänd partitionsflagga, %d."
@@ -1040,10 +1040,10 @@ msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr ""
 "Stöd för att ställa in flaggor i AIX-disketiketter är inte implementerat än."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Kunde inte uppfylla alla begränsningar på partitionen."
@@ -1052,31 +1052,31 @@ msgstr "Kunde inte uppfylla alla begränsningar på partitionen."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Kunde inte allokera en plats i bsd-disketiketten."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Kunde inte allokera en plats i dasd-disketiketten"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Ogiltig partitionstabell på %s -- felaktig signatur %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Ogiltig partitionstabell - rekursiv partition på %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Utökade partitioner kan inte gömmas i disketiketter av typen msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted kan inte ändra storlek på partitioner som hanteras av Windows Dynamic "
 "Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "Kan inte skapa några fler partitioner."
@@ -1117,83 +1117,83 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "För många primära partitioner"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "läsfel"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "ioctl()-fel"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "API-versionen stämmer inte"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Disktypen stöds inte"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Diskformatet stöds inte"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disken används"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Syntaxfel i konfigurationsfilen"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Volymetiketten är skadad"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Minnesallokeringen misslyckades"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Enhetsverifieringen misslyckades"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Den angivna enheten är inte en giltig DASD-enhet"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Ödesdigert fel"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Ingen plats för volymetikett."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Inget utrymme för partitionsinformation."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Ogiltig VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Kunde inte läsa av API-versionen."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
@@ -1201,36 +1201,31 @@ msgstr ""
 "Den aktuella API-versionen \"%d\" stämmer inte med API-versionen \"%d\" för "
 "dasd-drivrutinen!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Kunde inte läsa av information om diskgeometri."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Kunde inte läsa av information om blockstorlek."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Kunde inte läsa av diskinformationen."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "Enheten är för liten för %lu block."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1238,35 +1233,39 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
 msgstr ""
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr ""
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr ""
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Kunde inte allokera ett partitionsnummer."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1281,33 +1280,33 @@ msgstr "Partitionstabellen saknar uppgift om sig själv!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s är för liten för en Mac-disketikett!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Partition %d har en ogiltig signatur %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Partition %d har en ogiltig längd, 0 byte!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Dataområdet börjar inte vid partitionens början."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Startområdet börjar inte vid partitionens början."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Partitionens startområde tar inte upp hela partitionens utrymme."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Partitionens dataområde tar inte upp hela partitionens utrymme."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
@@ -1315,7 +1314,7 @@ msgstr ""
 "Konstig blockstorlek på enhetens handtag: %d byte är inte jämnt delbart med "
 "512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1324,11 +1323,11 @@ msgstr ""
 "Enhetens handtag påstår att den fysiska blockstorleken är %d byte, men Linux "
 "påstår att den är %d byte."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Ingen giltig partitionstabell kunde hittas."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, fuzzy, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1337,7 +1336,7 @@ msgstr ""
 "Motsägelsefulla storleksdata i partitionstabellen! Post ett påstår sig vara "
 "%d medan post %d påstår sig vara %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Konstigt! Det finns 2 poster i partitionstabellen!"
 
@@ -1349,7 +1348,7 @@ msgstr ""
 "Att ändra namnet på en rot- eller växlingspartition gör att Linux inte kan "
 "känna igen dem."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr ""
 "Kan inte lägga till ytterligare en partition -- partitionstabellen är för "
@@ -1489,56 +1488,61 @@ msgstr "skrivning till enheten misslyckades"
 msgid "reading from device failed"
 msgstr "läsning från enheten misslyckades"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Kunde inte läsa volymetikett."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Kunde inte skriva volymetikett."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Kunde inte läsa VTOC-etiketter."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Kunde inte läsa VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Kunde inte läsa VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Kunde inte läsa VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Kunde inte läsa VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Kunde inte skriva VTOC-etiketter."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Kunde inte skriva VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Kunde inte skriva VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Kunde inte skriva VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Kunde inte skriva VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Kunde inte skriva VTOC FMT1 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Slut på minne."
 
@@ -1574,25 +1578,25 @@ msgstr "Ogiltigt nummer."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Misslyckades med att allokera partitionsblock\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Misslyckades med att allokera block\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Kunde inte läsa startblock %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Kunde inte läsa rotblock %llu\n"
@@ -1632,7 +1636,7 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Misslyckades med att läsa partitionsblock %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1640,88 +1644,69 @@ msgstr ""
 "GNU Parted kompilerades felaktigt: FAT-startsektorn skall vara 512 byte. "
 "Stödet för FAT kommer att inaktiveras."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Filsystemet har en ogiltig signatur för filsystem av typen FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Filsystemet har en ogiltig sektorstorlek för ett filsystem av typen FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "Filsystemet har en ogiltig klusterstorlek för ett filsystem av typen FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Filsystemet har ett ogiltigt antal reserverade sektorer för ett filsystem av "
 "typen FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Filsystemet har ett ogiltigt antal filallokeringstabeller."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Filsystemet har en logisk sektorstorlek på %d. Det är känt att GNU Parted "
-"inte fungerar bra med andra sektorstorlekar 512 byte."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "FAT-startsektorn menar att den logiska sektorstorleken är 0. Detta är "
 "märkligt."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "FAT-startsektorn menar att det saknas FAT-tabeller. Detta är märkligt."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "FAT-startsektorn menar att ett kluster består av 0 sektorer. Detta är "
 "märkligt."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Filsystemet är FAT12, som inte stöds."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Informationssektorn har fel signatur (%x). Välj avbryt och skicka in en "
-"felrapport. Om du är desperat så är det troligen säkert att strunta i felet."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Okänd signatur för Linux växlingsutrymme \\\"%10s\\\"."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, fuzzy, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Okänd signatur för Linux växlingsutrymme \\\"%10s\\\"."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, fuzzy, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Okänd signatur för Linux växlingsutrymme \\\"%10s\\\"."
@@ -1733,7 +1718,16 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Filsystemet har en logisk sektorstorlek på %d. Det är känt att GNU Parted "
+"inte fungerar bra med andra sektorstorlekar 512 byte."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1748,6 +1742,15 @@ msgstr ""
 "kommer filsystemets CHS-geometri att ställas in för att matcha "
 "partitionstabellens CHS-geometri."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Informationssektorn har fel signatur (%x). Välj avbryt och skicka in en "
+"felrapport. Om du är desperat så är det troligen säkert att strunta i felet."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1810,12 +1813,12 @@ msgstr ""
 "Filen %s är markerad som en systemfil.  Det betyder att om den flyttas så "
 "kan det orsaka att vissa program slutar att fungera."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Partitionen för stor/liten för ett filsystem av typen %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1823,11 +1826,11 @@ msgstr ""
 "Filallokeringstabellerna stämmer inte överens. Om du inte vet vad detta "
 "betyder, välj avbryt, kör scandisk på filsystemet och försök igen."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Det finns inga möjliga kombinationer för den här sortens FAT."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1838,7 +1841,7 @@ msgstr ""
 "(%dk förväntas); antalet kluster är %d (%d förväntas); storleken på FAT:arna "
 "är %d sektorer (%d förväntas)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2040,9 +2043,8 @@ msgid "shrinking"
 msgstr "minskar"
 
 #: libparted/fs/r/hfs/hfs.c:262 libparted/fs/r/hfs/hfs.c:641
-#, fuzzy
 msgid "Data relocation has failed."
-msgstr "Minnesallokeringen misslyckades"
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:281
 msgid "Data relocation left some data in the end of the volume."
@@ -2076,9 +2078,8 @@ msgid "Error while writing the allocation file."
 msgstr "Fel vid skrivning av allokeringsfilen."
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "Fel vid skrivning av allokeringsfilen."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2107,14 +2108,12 @@ msgid "Resizing the HFS+ volume has failed."
 msgstr "Storleksändring av HFS+-volymen misslyckades."
 
 #: libparted/fs/r/hfs/hfs.c:998
-#, fuzzy
 msgid "shrinking HFS wrapper"
-msgstr "minskar"
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:1007
-#, fuzzy
 msgid "Updating the HFS wrapper has failed."
-msgstr "Storleksändring av HFS+-volymen misslyckades."
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:1109 libparted/fs/r/hfs/hfs.c:1194
 #, c-format
@@ -2265,27 +2264,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "PART-TYP är en av:"
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAGGA är en av: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "ENHET är en av: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "PART-TYP är en av: primär, logisk, utökad\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "FS-TYP är en av: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2295,19 +2294,29 @@ msgstr ""
 "räknas från slutet på disken.  Till exempel, -1s anger exakt den sista "
 "sektorn.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"BÖRJAN och SLUT är platser på disken, såsom 4GB eller 10%.  Negativa värden "
+"räknas från slutet på disken.  Till exempel, -1s anger exakt den sista "
+"sektorn.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "TILLSTÅND är ett av: på, av\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "ENHET är vanligen /dev/hda eller /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAMN är vilket ord du vill\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2334,26 +2343,24 @@ msgstr ""
 "ytterligare information.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(tid kvar %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "Partitionen %s används. Du måste avmontera den innan du kan ändra den med "
 "Parted."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Partitionen på %s är i bruk."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2362,31 +2369,31 @@ msgstr ""
 "Den befintliga disketiketten på %s kommer att förstöras och all data på "
 "denna disk kommer att gå förlorad. Vill du fortsätta?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Ny typ av disketikett?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Partitionstyp?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Partitionsnamn?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Filsystemstyp?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Början?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Slut?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, fuzzy, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2395,7 +2402,7 @@ msgstr ""
 "Du begärde en partition från %s till %s.\n"
 "Den närmsta platsen vi kan hantera är %s till %s.%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2403,83 +2410,83 @@ msgstr ""
 "\n"
 "Är detta fortfarande godtagbart för dig?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Partitionsnummer?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "BIOS-geometri för cylinder,huvud,sektor: %d,%d,%d.  Varje cylinder är %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Modell: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Sektorstorlek (logisk/fysisk): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Partitionstabell: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Disk %s: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Nummer"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Början"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Slut"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Storlek"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Typ"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Filsystem"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Namn"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Flaggor"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Ledigt utrymme"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2488,56 +2495,65 @@ msgstr ""
 "En %s %s-partition hittades på %s -> %s.  Vill du lägga till den till "
 "partitionstabellen?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "söker efter filsystem"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Ny enhet?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Flagga att invertera?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Nytt tillstånd?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Enhet?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 #, fuzzy
 msgid "align-check"
 msgstr "kontrollera"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "hjälp"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2545,15 +2561,15 @@ msgstr ""
 "hjälp [KOMMANDO]                         skriver ut allmän hjälp eller hjälp "
 "för KOMMANDO"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2561,15 +2577,15 @@ msgstr ""
 "mklabel,mktable ETIKETT-TYP              skapa en ny disketikett "
 "(partitionstabell)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart PART-TYP [FS-TYP] BÖRJAN SLUT     skapa en partition"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2578,20 +2594,20 @@ msgstr ""
 "partitionen. FS-TYP måste anges för att ställa in ett lämpligt partitions-"
 "id.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "namn"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "namn NUMMER NAMN                         ge namnet NAMN till partition NUMMER"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "visa"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2601,7 +2617,7 @@ msgstr ""
 "tillgängliga enheter, ledigt utrymme, alla partitioner som hittats, eller en "
 "specifik partition"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2609,11 +2625,11 @@ msgstr ""
 "Utan argument så skriver \"visa\" ut hela partitionstabellen. Dock kan "
 "diverse andra åtgärder genomföras med följande argument.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : visa alla aktiva blockenheter\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2621,31 +2637,31 @@ msgstr ""
 "  free      : visa information om ledigt, opartitionerat utrymme på den "
 "aktuella blockenheten\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr "  list, all : visa partitionstabellerna på alla aktiva blockenheter\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 "  NUMMER    : visa mer detaljerad information om denna specifika partition\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "avsluta"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "avsluta                                  avsluta programmet"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rädda"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2653,39 +2669,57 @@ msgstr ""
 "rädda BÖRJAN SLUT                        rädda en förlorad partition nära "
 "BÖRJAN och SLUT"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "ändra_storlek"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "ändra_storlek"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "flytta NUMMER BÖRJAN SLUT                flytta partition NUMMER"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "ta_bort"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "ta_bort NUMMER                           ta bort partition NUMMER"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "välj"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "välj ENHET                               välj enheten att redigera"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 #, fuzzy
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 "ställ_in NUMMER FLAGGA TILLSTÅND         ändra FLAGGAn på partition NUMMER"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 #, fuzzy
 msgid "disk_toggle"
 msgstr "växla"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 #, fuzzy
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
@@ -2694,21 +2728,21 @@ msgstr ""
 "växla [NUMMER [FLAGGA]]                  växla tillståndet för FLAGGA på "
 "partition NUMMER"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "ställ_in"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "ställ_in NUMMER FLAGGA TILLSTÅND         ändra FLAGGAn på partition NUMMER"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "växla"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2716,20 +2750,20 @@ msgstr ""
 "växla [NUMMER [FLAGGA]]                  växla tillståndet för FLAGGA på "
 "partition NUMMER"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "enhet"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "enhet ENHET                              ställ in standardenheten till ENHET"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2737,7 +2771,7 @@ msgstr ""
 "version                                  visa versionsnumret och "
 "upphovsrättslig information om GNU Parted"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2745,21 +2779,21 @@ msgstr ""
 "\"version\" visar information om version och upphovsrätt för denna kopia av "
 "GNU Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, fuzzy, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr "Användning: %s [-hlmsv] [ENHET [KOMMANDO [PARAMETRAR]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Ingen enhet hittades"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 #, fuzzy
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr "VARNING: Du är inte superanvändare.  Se upp för rättighetsproblem."
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Du kan behöva att uppdatera /etc/fstab.\n"
 
@@ -3019,65 +3053,65 @@ msgstr ""
 "\n"
 "Fel: En allmän SIGILL-signal påträffades."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "ogiltigt token: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Förväntade ett partitionsnummer."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Partitionen finns inte."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Förväntade en filsystemstyp."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Okänd filsystemstyp \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Förväntade en typ av disketikett."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Kan inte skapa några fler partitioner."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Förväntade en partitionstyp."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "på"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "av"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimal"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "FLAGGOR:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "KOMMANDON:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, fuzzy, c-format
 msgid ""
 "\n"
@@ -3087,12 +3121,12 @@ msgstr ""
 "Rapportera fel till: %s\n"
 "Skicka synpunkter på översättningen till <tp-sv@listor.tp-sv.se>\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Använder %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Detta kommando är meningslöst i icke-interaktivt läge.\n"
 
@@ -3126,6 +3160,21 @@ msgstr "Detta kommando är meningslöst i icke-interaktivt läge.\n"
 #~ msgid "invalid minor device number: %s"
 #~ msgstr "ogiltigt undre enhetsnummer: %s"
 
+#~ msgid ""
+#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
+#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
+#~ msgstr ""
+#~ "Enheten %s har en logisk sektor-storlek på %lld.  Inte alla delar av GNU "
+#~ "Parted har stöd för detta för stunden, och den fungerande programkoden "
+#~ "för detta är MYCKET EXPERIMENTIELL.\n"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "parted kunde inte läsa om partitionstabellen på %s (%s). Det betyder att "
+#~ "Linux inte vet nånting om de ändringar du gjort."
+
 #~ msgid "Support for opening %s file systems is not implemented yet."
 #~ msgstr "Stöd för att öppna filsystem av typ %s är inte implementerat än."
 
@@ -3192,9 +3241,6 @@ msgstr "Detta kommando är meningslöst i icke-interaktivt läge.\n"
 #~ msgid "expanding"
 #~ msgstr "expanderar"
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Enheten är för liten för %lu block."
-
 #~ msgid "copying"
 #~ msgstr "kopierar"
 
@@ -3211,6 +3257,9 @@ msgstr "Detta kommando är meningslöst i icke-interaktivt läge.\n"
 #~ "GNU Parted har upptäckt ett versionsfel i gränssnittet mot libreiserfs.  "
 #~ "Hittade %d-%d, men kräver %d. ReiserFS-stödet kommer att vara inaktiverat."
 
+#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
+#~ msgstr "Detta är inte en ECKD-disk!  Denna disktyp stöds inte!"
+
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "Inkonsistenta grupphandtag!"
 
@@ -3409,12 +3458,6 @@ msgstr "Detta kommando är meningslöst i icke-interaktivt läge.\n"
 #~ msgid "move"
 #~ msgstr "flytta"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "flytta NUMMER BÖRJAN SLUT                flytta partition NUMMER"
-
-#~ msgid "resize"
-#~ msgstr "ändra_storlek"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
@@ -3422,17 +3465,6 @@ msgstr "Detta kommando är meningslöst i icke-interaktivt läge.\n"
 #~ "ändra_storlek NUMMER BÖRJAN SLUT         ändra storlek på partition "
 #~ "NUMMER och dess filsystem"
 
-#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
-#~ msgstr "Detta är inte en ECKD-disk!  Denna disktyp stöds inte!"
-
-#~ msgid ""
-#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
-#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
-#~ msgstr ""
-#~ "Enheten %s har en logisk sektor-storlek på %lld.  Inte alla delar av GNU "
-#~ "Parted har stöd för detta för stunden, och den fungerande programkoden "
-#~ "för detta är MYCKET EXPERIMENTIELL.\n"
-
 #~ msgid "%s: illegal option -- %c\n"
 #~ msgstr "%s: otillåten flagga -- %c\n"
 
index 53480d27769894fab61a4c36e3a198cdab63511f..00311e378b1a1b2ce3bfb75fa303ddf49118848c 100644 (file)
Binary files a/po/tr.gmo and b/po/tr.gmo differ
index 264c6429afb73c19e41b76c5691c87119f9db279..602e79f1b9d1860ec03fb14632d03d5ab637a87b 100644 (file)
--- a/po/tr.po
+++ b/po/tr.po
@@ -1,14 +1,14 @@
-# translation of parted-3.0.136.po to Turkish
+# translation of parted-3.1.po to Turkish
 # This file is distributed under the same license as the parted package.
 # Copyright (C) 2011 Free Software Foundation, Inc.
-# parted-3.0.136.po'nun Türkçe çevirisi
+# parted-3.1.po'nun Türkçe çevirisi
 # Eyüp Hakan Duran <hakan_duran@hotmail.com>, 2010, 2011, 2012.
 msgid ""
 msgstr ""
-"Project-Id-Version: parted-3.0.136\n"
+"Project-Id-Version: parted-3.1\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2012-02-19 13:41-0600\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2012-03-06 13:41-0600\n"
 "Last-Translator: Eyüp Hakan Duran <hakan_duran@hotmail.com>\n"
 "Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
 "Language: tr\n"
@@ -32,7 +32,7 @@ msgstr "%2$s için belirsiz argüman %1$s"
 msgid "Valid arguments are:"
 msgstr "Geçerli argümanlar şunlardır:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "yazma hatası"
 
@@ -116,83 +116,83 @@ msgstr "%s: '-W %s' seçeneği için bir argüman gerekli\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "`"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "'"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Başarılı"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Eşleşme yok"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Geçersiz düzenli ifade"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Geçersiz harmanlama karakteri"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Geçersiz karakter sınıfı ismi"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "İzleyen tersbölü"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Geçersiz geriye başvuru"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "[ ya da [^ eşleşmiyor"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "( ya da \\( eşleşmiyor"
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "\\{ eşleşmiyor"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "\\{\\} in içeriği geçersiz"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Geçersiz kapsam sonu"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Bellek tükendi"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Geçersiz önceki düzenli ifade"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Düzenli ifadenin sonu eksik"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Düzenli ifade çok büyük"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ") ya da  \\) eşleşmiyor"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Daha önce düzenli ifade yok"
 
@@ -202,7 +202,7 @@ msgstr "Daha önce düzenli ifade yok"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[eE]"
 
@@ -212,7 +212,7 @@ msgstr "^[eE]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[hH]"
 
@@ -413,59 +413,59 @@ msgid "Disk Image"
 msgstr "Disk Görüntüsü"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "%1$s açarken hata: %2$s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "%1$s oku-yaz şeklinde açılamıyor (%2$s).  %3$s salt-okunur olarak açıldı."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%2$s'te okuma için arama sırasında %1$s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%2$s'i okuma sırasında %1$s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "%s'e yazılamıyor, çünkü salt-okunur olarak açılmış."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%2$s'e yazma için arama sırasında %1$s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%2$s'e yazma sırasında %1$s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Daha fazla bilgi için `%s --help' yazın.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Kullanım: %s [SEÇENEK] [AYGIT]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -481,7 +481,7 @@ msgstr ""
 "  -h, --help       bu yardımı görüntüler ve çıkar\n"
 "  -v, --version    sürüm bilgisini çıkartır ve çıkar\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -489,7 +489,7 @@ msgstr ""
 "\n"
 "AYGIT verilmediğinde, tüm disk bölümlerini yokla.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -535,7 +535,7 @@ msgstr ""
 "değişiklikleri Hurd bilmiyor anlamına gelir.  %3$s ile ilgili hiçbir şey "
 "yapmadan önce bilgisayarınızı yeniden açmalısınız."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -548,17 +548,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%1$s %2$s diske eşzamanlanmaya çalışılıyor"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Dosya durum bilgisi alınamayan aygıt %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "%s'in dm türü belirlenemedi."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -567,7 +567,7 @@ msgstr ""
 "%1$s: %2$s için sektör boyutu belirlenemiyor.\n"
 "Öntanımlı sektör boyutu (%3$lld) kullanılacak."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -576,21 +576,21 @@ msgstr ""
 "%s için fiziksel sektör boyutu belirlenemiyor.\n"
 "Mantıksal sektör boyutu (%lld) kullanılacak."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "%1$s (%2$s)'in boyutu belirlenemedi"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "%s - %s aygıtının kimliği alınamadı "
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Genel IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -603,12 +603,12 @@ msgstr ""
 "kombinasyonları için destekliyor, örneğin GPT ve ext2/3.\n"
 "Lütfen güncel bilgi için web sitesine başvurun."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "%s - %s SCSI aygıtını ilklendirmede hata"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -617,7 +617,7 @@ msgstr ""
 "%s aygıtı.çok küçük olduğundan muhtemelen bir dosya sistemi ya da bölümleme "
 "tablosu depolayamıyor.  Yanlış aygıtı seçmiş olmayasınız?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -626,86 +626,86 @@ msgstr ""
 "%s Dosya/aygıtının geometrisi belirlenemedi.  CİDDEN ne yaptığınızı "
 "bilmiyorsanız Parted kullanmamalısınız!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Genel SD/MMC Bellek Kartı"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID denetleyici"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Promise SX8 SATA Aygıtı"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "Ethernet Aygıtı üzerinde ATA"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "IBM S390 DASD sürücüsü"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Akıllı Dizi"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATARAID Denetleyici"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I20 Denetleyici"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "Kullanıcı Kipi Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr "Geri dönüşlü aygıt"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux aygıt-eşlemleyicisi (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Xen Sanal Blok Aygıtı"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Bilinmeyen"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Virtio Blok Aygıtı"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Linux Yazılımı RAID Dizisi"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Desteklenmeyen aygıt türü"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "%s fsyncleme/kapamada hata: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "%s okunurken %0.0s dosya sonu"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -717,17 +717,12 @@ msgstr ""
 "Linux'un bilmemesi demek -- dolayısıyla bilgisayarınızı yeniden açmadan "
 "diski bağlamak dahil hiçbir şekilde kullanmamalısınız."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "%s'nin başlangıç ve uzunluğu belirlenemedi."
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "%d (%s) disk bölümü eklenemedi"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -736,37 +731,23 @@ msgid ""
 "making further changes."
 msgstr ""
 "%2$s üzerindeki %1$s bölüm(ler)ü yazıldı, fakat muhtemelen kullanılmakta "
-"olduğundan kernel değişiklikten haberdar edilemedi. Sonuç olarak, eski bölüm"
-"(ler) kullanımda kalacak. Daha fazla değişiklik yapmadan bilgisayarınızı "
-"şimdi yeniden başlatmalısınız."
+"olduğundan kernel değişiklikten haberdar edilemedi. Sonuç olarak, eski "
+"bölüm(ler) kullanımda kalacak. Daha fazla değişiklik yapmadan "
+"bilgisayarınızı şimdi yeniden başlatmalısınız."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted, %1$s (%2$s) üzerindeki disk bölümleme tablosunu yeniden okuyamadı.  "
-"Bu, siz (bilgisayarı) yeniden açana dek yaptığınız değişiklikleri Linux'un "
-"bilmemesi demek. "
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "Başlangıçtan önce son gelemez! (başlangıç sektörü=%jd uzunluk=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Disk bölümü disk dışında bulunamaz!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr ""
 "%3$s üzerindeki disk bölümünün dışında yeralan %1$ld-%2$ld sektörlere "
 "yazmaya çalışılıyor."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "hatalı blok aranıyor"
 
@@ -780,12 +761,12 @@ msgstr "Geriye doğru iz sürme yığınında %d çağrı var:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "%2$s'deki iddia (%1$s):%4$s() işlevindeki %3$d başarısız."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: tanınmayan disk etiketi"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -794,147 +775,165 @@ msgstr ""
 "Bu libparted'in %s için yazma desteği yok.  Belki de salt-okunur olarak "
 "derlenmiştir."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "%1$d disk bölümü %2$s, fakat dosya sistemi %3$s'dir."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "silindir_hizalaması"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Bilinmeyen disk bayrağı, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s disk etiketleri ek disk bölümlerini desteklemiyor."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "%s disk etiketleri mantıksal ya da ek disk bölümlerini desteklemiyor."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Çok fazla birincil disk bölümü"
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr "%s'e mantıksal disk bölümü eklenemez, çünkü ek disk bölümü yok."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "%s üzerinde birden fazla ek disk bölümü olamaz"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Ek disk bölümü dışında mantıksal disk bölümleri olamaz."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "%s üzerinde ek disk bölümü dışında mantıksal disk bölümleri olamaz."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Örtüşen disk bölümleri olamaz"
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Bir ek disk bölümü içinde birincil disk bölümü bulunamaz."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Disk bölümü disk dışında bulunamaz!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Örtüşen disk bölümleri olamaz"
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "metaverisi"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "kullanılmamış"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "ek"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "mantıksal"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "birincil"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "önyükleme"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "kök"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "takas"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "gizli"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-servisi"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "metaverisi"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "kalıtılmış yeniden başlatma"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "Evet"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Bilinmeyen.disk bölümü bayrağı, %d."
@@ -1035,10 +1034,10 @@ msgstr ""
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "AIX disk etiketlerinde bayrak kurma desteği henüz sağlanmamıştır."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Disk bölümü üzerindeki tüm koşullar karşılanamadı."
@@ -1047,32 +1046,32 @@ msgstr "Disk bölümü üzerindeki tüm koşullar karşılanamadı."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Bir bsd disk etiketi yuvası tahsis edilemedi"
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Bir dasd disk etiketi yuvası tahsis edilemedi"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "%1$s üzerinde geçersiz disk bölümleme tablosu - yanlış imza %2$x"
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr ""
 "Geçersiz disk bölümleme tablosu - %s üzerinde özyinelemeli disk bölümü."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Msdos disk etiketlerinde ek disk bölümleri gizli olamaz."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted, Windows Dinamik Disk tarafından yönetilen bölümleri yeniden "
 "boyutlayamaz."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
 msgstr "Başka disk bölümü oluşturulamıyor"
 
@@ -1112,116 +1111,106 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Çok fazla birincil disk bölümü"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "açma hatası"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "arama hatası"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "okuma hatası"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "ioctl() hatası"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "API sürüm uyuşmazlığı"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Desteklenmeyen disk türü"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Desteklenmeyen disk biçemi"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Disk kullanımda"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Config dosyasında sözdizim hatası"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Oylum etiketi bozuk"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Bir veri küme adı bozuk"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Bellek tahsisi başarısız"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Aygıt doğrulaması başarısız"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Belirtilen aygıt geçerli bir DASD aygıtı değil"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Ölümcül hata"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Oylum etiketi için yer yok"
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Disk bölümü bilgisi için yer yok"
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Geçersiz VTOC."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "API sürümü belirlenemiyor."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr "Mevcut API sürümü '%d' dasd sürücüsü API sürümüyle '%d' uyuşmuyor!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Disk geometrisi bilgisi alınamıyor."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Blok boyutu bilgisi alınamıyor."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Disk bilgisi alınamıyor."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s, GPT tablosu içerdiğini belirten GPT imzalarına sahip.  Ayrıca, olması "
-"gerekenin aksine, geçerli sahte msdos disk bölümleme tablosu yok.  Belki GPT "
-"disk bölümleme tablolarından anlamayan bir program tarafından bozulmuştur.  "
-"Ya da belki siz GPT tablosunu sildiniz ve şimdi bir msdos disk bölümleme "
-"tablosu kullanmaktasınız.  Bu bir GPT disk bölümleme tablosu mu?"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "%lu blok için aygıt çok küçük."
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1230,7 +1219,7 @@ msgstr ""
 "GPT disk bölümleme tablosu biçemi sürüm %x olup, Parted'ın "
 "tanıyabileceğinden daha yenidir.  Lütfen bize bildirin!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1241,17 +1230,17 @@ msgstr ""
 "ayarlayıp tüm mevcut boşluğu (%llu ek blok) kullanabilir ya da mevcut ayarla "
 "devam edebilirsiniz?"
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "GPT tablosunun yedeği, olması gerektiği gibi diskin sonunda değil.  Bu, bir "
 "başka işletim sisteminin diski olduğundan küçük sanması anlamına gelebilir.  "
 "Yedeği sona taşıyarak (ve eski yedeği silerek) onarınız?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1259,7 +1248,7 @@ msgstr ""
 "Hem birincil, hem de yedek GPT tablosu bozuk.  Yeni bir tablo oluşturmayı ve "
 "Parted'ın kurtarma özelliğini kullanarak disk bölümlerini kurtarmayı deneyin."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1267,7 +1256,7 @@ msgstr ""
 "Yedek GPT tablosu bozuk, ama birincil tamam görünüyor, dolayısıyla o "
 "kullanılacak."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1275,10 +1264,15 @@ msgstr ""
 "Birincil GPT tablosu bozuk, ama yedek tamam görünüyor, dolayısıyla yedek "
 "kullanılacak."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "birincil bölümleme tablosu dizisi CRC uyumsuzluğu"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Bir disk bölümü numarası atanamadı."
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1293,39 +1287,39 @@ msgstr "Disk bölümü eşleminin disk bölümü eşlem girdisi yok!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s, bir Mac disk etiketi için çok küçük!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "%d disk bölümü geçersiz imzaya sahip %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "%d disk bölümü 0 baytlık geçersiz uzunluğa sahip!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Veri bölgesi, disk bölümünün başından başlamıyor"
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Önyükleme bölgesi, disk bölümünün başından başlamıyor"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Disk bölümünün önyükleme bölgesi tüm disk bölümünü kaplamıyor."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Disk bölümünün veri bölgesi tüm disk bölümünü kaplamıyor."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr "Aygıt tanımlayıcısında tuhaf blok boyutu: %d bayt, 512'ye bölünemiyor."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1334,11 +1328,11 @@ msgstr ""
 "Sürücü tanımlayıcısı fiziksel blok boyutunun %d bayt olduğunu, Linux %d bayt "
 "olduğunu bildiriyor.."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Geçerli disk bölümü eşlemi bulunamadı."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1347,7 +1341,7 @@ msgstr ""
 "Çelişen disk bölümü eşlem girdi boyutları!  1. Girdi %1$d olduğunu, ancak "
 "%2$d. girdi %3$d olduğunu bildiriyor!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Tuhaf!-  2 disk bölümü eşlem girdisi mevcut!"
 
@@ -1359,7 +1353,7 @@ msgstr ""
 "Bir kök ya da takas disk bölümünün adını değiştirmek, Linux'un onu olduğu "
 "gibi tanımasını engelleyecek."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Bir başka disk bölümü eklenemiyor -- disk bölüm eşlemi çok küçük!"
 
@@ -1501,56 +1495,61 @@ msgstr "aygıta yazma başarısız"
 msgid "reading from device failed"
 msgstr "aygıttan okuma başarısız"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Oylum etiketi okunamıyor."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Oylum etiketi yazılamıyor."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "VTOC etiketleri okunamıyor."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "VTOC FMT1 DSCB okunamıyor."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "VTOC FMT4 DSCB okunamıyor."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "VTOC FMT5 DSCB okunamıyor."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "VTOC FMT7 DSCB okunamıyor."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "VTOC etiketleri yazılamıyor."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "VTOC FMT1 DSCB yazılamıyor."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "VTOC FMT4 DSCB yazılamıyor."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "VTOC FMT5 DSCB yazılamıyor."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "VTOC FMT7 DSCB yazılamıyor."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "VTOC FMT1 DSCB yazılamıyor."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Yetersiz bellek"
 
@@ -1586,25 +1585,25 @@ msgstr "Geçersiz numara."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr "< 1 bir değer yerine daha küçük bir birim kullanın"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Bölümleme bloğunu atama başarısız\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Boluğu atama başarısız\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s: Önyükleme bloğu %llu okunamıyor\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s: Kök bloğu %llu okunamıyor\n"
@@ -1644,7 +1643,7 @@ msgstr "%s : rdb bloğu bulunamadı, asla olmamalı(ydı)\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : %llu bölümleme bloğunu okuma başarısız\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1652,42 +1651,32 @@ msgstr ""
 "GNU parted yanlış derlenmiş: FAT önyükleme sektörü 512 bayt olmalı.  FAT "
 "desteği devre dışı bırakılacak."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Dosya sistemi, FAT dosya sistemi için geçersiz bir imzaya sahip.."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Dosya sistemi, FAT dosya sistemi için geçersiz bir sektör boyutuna sahip."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr ""
 "Dosya sistemi, FAT dosya sistemi için geçersiz bir küme boyutuna sahip."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Dosya sistemi, FAT dosya sistemi için geçersiz bir ayrılmış sektör sayısına "
 "sahip."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Dosya sistemi, geçersiz FATS sayısına sahip."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Bu dosya sistemi %d mantıksal sektör boyutuna sahip.  GNU Parted'in 512 "
-"bayttan farklı sektör boyutlarıyla düzgün çalışmadığı bilinmektedir."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1696,45 +1685,36 @@ msgstr ""
 "Dosya sisteminin CHS geometrisi (%d, %d, %d) olup, bu geçersizdir. Bölümleme "
 "tablosunun CHS geometrisi (%d, %d, %d)'dir."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "FAT önyükleme sektörü mantıksal sektör boyutunun 0 olduğunu söylüyor.  Bu "
 "tuhaf. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "FAT önyükleme sektörü FAT tablosunun olmadığını söylüyor.  Bu tuhaf. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "FAT önyükleme sektörü kümelerin 0 sektör olduğunu söylüyor.  Bu tuhaf. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Dosya sistemi FAT12, ki desteklenmiyor."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Bilgi sektörü yanlış imzaya sahip. (%x).  Şimdilik vazgeçi seçin ve bir "
-"yazılım hatası raporu gönderin.  Çaresizseniz, yoksaymak muhtemelen güvenli."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Tanınmayan ezki tarz linux takas imzası '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Tanınmayan yeni tarz linux takas imzası '%10s'."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Tanınmayan swsusp linux takas imzası '%9s'."
@@ -1748,7 +1728,16 @@ msgstr ""
 "Parted sektör boyutu %d bayta eşit olmayan disklerde HFS dosya sistemi "
 "kullanamaz."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Bu dosya sistemi %d mantıksal sektör boyutuna sahip.  GNU Parted'in 512 "
+"bayttan farklı sektör boyutlarıyla düzgün çalışmadığı bilinmektedir."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1763,6 +1752,15 @@ msgstr ""
 "sisteminin CHS geometrisi, bölümleme tablosunun CHS geometrisiyle uyuşacak "
 "şekilde ayarlanacak."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Bilgi sektörü yanlış imzaya sahip. (%x).  Şimdilik vazgeçi seçin ve bir "
+"yazılım hatası raporu gönderin.  Çaresizseniz, yoksaymak muhtemelen güvenli."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1823,12 +1821,12 @@ msgstr ""
 "%s dosyası bir sistem dosyası olarak işaretlenmiş.  Bu, onu taşımanın bazı "
 "programların çalışmasını durdurmaya yolaçacağı anlamına gelir."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Disk bölümü, bir %s dosya sistemi için çok büyük/küçük"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1836,11 +1834,11 @@ msgstr ""
 "FAT'lar uyuşmuyor.  Eğer bunun ne demek olduğunu bilmiyorsanız, Vazgeç'i "
 "seçin, dosya sisteminde scandisk'i yürütün, ve buraya dönün."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Bu FAT türü için olası yapılandırma yok."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1851,7 +1849,7 @@ msgstr ""
 "boyutu %dk (%dk beklenirdi); küme sayısı %d (%d beklenirdi); FAT boyutları "
 "%d sektördür (%d beklenirdi)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2284,27 +2282,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "LABEL-TYPE şunlardan biridir: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAG şunlardan biridir: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "UNIT şunlardan biridir: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "arzulanan hizalama: minimum ya da optimal"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "PART-TYPE şunlardan biridir: birincil, mantıksal, ek\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "FS-TYPE şunlardan biridir: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2313,19 +2311,28 @@ msgstr ""
 "START ve END disk konumlarıdır, 4GB ya da %10 gibi.  Eksi değerler, diskin "
 "sonuna uzaklığı belirtir.  Örneğin -1s tam olarak son sektörü belirtir.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"START ve END disk konumlarıdır, 4GB ya da %10 gibi.  Eksi değerler, diskin "
+"sonuna uzaklığı belirtir.  Örneğin -1s tam olarak son sektörü belirtir.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "STATE şunlardan biridir: açık, kapalı\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "DEVICE sıklıkla /dev/hda ya da /dev/sda'dır\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAME istediğiniz herhangi bir sözcüktür\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2345,25 +2352,23 @@ msgstr ""
 "GNU Genel Kamu Lisansı'na bakınız.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(kalan süre %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr ""
 "%s disk bölümü kullanılıyor.  Parted'la değiştirmeden önce ayırmalısınız."
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "%s üzerindeki disk bölümü(leri) kullanılıyor."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2372,31 +2377,31 @@ msgstr ""
 "%s üzerindeki mevcut disk etiketi silinecek ve bu disk üzerindeki tüm veri "
 "kaybolacak. Devam etmek istiyor musunuz?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Yeni disk etiketi türü?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Disk bölümü türü?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Disk bölümü adı?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Dosya sistemi türü?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Başlangıç?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Bitiş?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2406,7 +2411,7 @@ msgstr ""
 "Becerebildiğimiz buna en yakın konum %5$s'den %6$s'e (sektör %7$llu..%8$llu)."
 "%9$s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2414,84 +2419,84 @@ msgstr ""
 "\n"
 "Bu sizin için hala kabul edilebilir mi?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 "Ortaya çıkan disk bölümü en iyi performansı elde etmek için ayarlanmamış."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Disk bölümü numarası?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 "BIOS silindiri, kafa, sektör geometrisi: %d,%d,%d.  Herbir silindir %s'tir.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Model: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Disk %1$s: %2$s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Sektör boyutu (mantıksal/fiziksel): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Disk bölümü Tablosu: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Disk Bayrakları: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Numara"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Başlangıç"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Son"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Boyut"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Tür"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Dosya sistemi"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "İsim"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Bayraklar"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Boş Alan"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2500,45 +2505,54 @@ msgstr ""
 "%3$s -> %4$s'de bir %1$s %2$s disk bölümü bulundu.  Bunu disk bölümü "
 "tablosuna eklemeyi ister misiniz?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "dosya"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Yeni aygıt?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "hizalama türü(min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d hizalandı\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d hizalanmadı\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Tersine çevirmek üzere bayrakla?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Yeni durum?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Birim?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2546,11 +2560,11 @@ msgstr ""
 "align-check TÜR N                        disk bölümü N'yi hiza TÜRü(min|opt) "
 "için kontrol et"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2558,15 +2572,15 @@ msgstr ""
 "help [COMMAND]                           genel yardımı ya da KOMUT yardımını "
 "yazdırır"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
@@ -2574,15 +2588,15 @@ msgstr ""
 "mklabel,mktable LABEL-TYPE             yeni bir disk etiketi (disk bölümü "
 "tablosu) oluştur"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart PART-TYPE [FS-TYPE] START END          bir disk bölümü yap"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2592,20 +2606,20 @@ msgstr ""
 "belirtilebilir.\n"
 "\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "name NUMBER NAME                     NUMBER. disk bölümünü NAME'le adlandır"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2614,7 +2628,7 @@ msgstr ""
 "print [aygıtlar|boşluk|liste,tümü|NUMARA]     bölümleme tablosu, mevcut "
 "aygıtlar, boşluk, tüm bulunan bölümler ya da belli bir bölümü gösterir"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2622,11 +2636,11 @@ msgstr ""
 "Argümansız olduğunda print tüm bölümleme tablosunnu gösterir. Aşağıdaki "
 "argümanlarla kullanıldığında diğer çeşitli eylemleri uygular.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : tüm aktif blok aygıtları gösterir\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2634,32 +2648,32 @@ msgstr ""
 "  free      : mevcut blok aygıt üzerindeki boş bölümlenmemiş alan bilgisini "
 "gösterir\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : tüm aktif blok aygıtların bölümleme tablolarını gösterir\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 "  NUMBER    : bu belirtilmiş bölüm hakkında daha ayrıntılı bilgi gösterir\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     programdan çık"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2667,38 +2681,56 @@ msgstr ""
 "rescue START END                 START ve END arasındaki kayıp disk "
 "bölümlerini kurtar"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "move NUMBER START END           NUMBER. disk bölümünü taşı"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm NUMBER                        NUMBER. disk bölümünü sil"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select DEVICE                  düzenlenecek aygıtı seç"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr "disk_set"
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 "disk_set FLAG STATE                     seçili aygıt üzerindeki bayrağı "
 "değiştir"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr "disk_toggle"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
@@ -2706,22 +2738,22 @@ msgstr ""
 "disk_toggle [FLAG]                       seçili aygıt üzerindeki BAYRAK "
 "durumunu değiştir"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr ""
 "set NUMBER FLAG STATE             NUMBER. disk bölümü üzerindeki bayrağı "
 "değiştir"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "seçmece / değiştir"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2729,19 +2761,19 @@ msgstr ""
 "toggle [NUMBER [FLAG]                       NUMBER. disk bölümü üzerindeki "
 "BAYRAK durumunu değiştir"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "birim"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "birim UNIT                        öntanımlı birimi UNIT'e ayarla"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "sürüm"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2749,7 +2781,7 @@ msgstr ""
 "version                               GNU Parted'in sürüm numarasını ve "
 "telif hakkı bilgisini görüntüler"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
@@ -2757,20 +2789,20 @@ msgstr ""
 "sürüm, GNU Parted'in bu kopyasının telif hakkı ve sürüm bilgisini "
 "görüntüler\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr "Kullanım: %s [-hlmsv] [-a<align>] [AYGIT [KOMUT [PARAMETRELER]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Aygıt bulunamadı"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr "UYARI: Süper kullanıcı değilsiniz.  İzinlere dikkat edin.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "/etc/fstab'i güncellemeniz gerekebilir.\n"
 
@@ -3028,65 +3060,65 @@ msgstr ""
 "\n"
 "Hata: Genel bir SIGILL sinyaliyle karşılaşıldı."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "geçersiz andaç: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Bir disk bölümü numarası bekleniyor."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Disk bölümü yok."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Bir dosya sistemi türü bekleniyor."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Bilinmeyen dosya sistemi türü \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Bir disk etiketi türü bekleniyor."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Başka disk bölümü oluşturulamıyor."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Bir disk bölümü türü bekleniyor."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "açık"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "kapalı"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimal"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "SEÇENEKler:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "KOMUTlar:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3095,15 +3127,40 @@ msgstr ""
 "\n"
 "Yazılım hatalarını %s'e bildirin\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "%s kullanılıyor\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Bu komut etkileşimsiz kipte anlamsız.\n"
 
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "%d (%s) disk bölümü eklenemedi"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "parted, %1$s (%2$s) üzerindeki disk bölümleme tablosunu yeniden "
+#~ "okuyamadı.  Bu, siz (bilgisayarı) yeniden açana dek yaptığınız "
+#~ "değişiklikleri Linux'un bilmemesi demek. "
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s, GPT tablosu içerdiğini belirten GPT imzalarına sahip.  Ayrıca, olması "
+#~ "gerekenin aksine, geçerli sahte msdos disk bölümleme tablosu yok.  Belki "
+#~ "GPT disk bölümleme tablolarından anlamayan bir program tarafından "
+#~ "bozulmuştur.  Ya da belki siz GPT tablosunu sildiniz ve şimdi bir msdos "
+#~ "disk bölümleme tablosu kullanmaktasınız.  Bu bir GPT disk bölümleme "
+#~ "tablosu mu?"
+
 #~ msgid ""
 #~ "Usage: %s [OPTION]\n"
 #~ "  or:  %s DEVICE MINOR\n"
@@ -3206,9 +3263,6 @@ msgstr "Bu komut etkileşimsiz kipte anlamsız.\n"
 #~ msgid "Couldn't create reiserfs device abstraction handler."
 #~ msgstr "Reiserfs aygıt özetleme işleyici oluşturulamıyor."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "%lu blok için aygıt çok küçük."
-
 #~ msgid "copying"
 #~ msgstr "kopyalıyor"
 
@@ -3455,12 +3509,6 @@ msgstr "Bu komut etkileşimsiz kipte anlamsız.\n"
 #~ msgid "move"
 #~ msgstr "move"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move NUMBER START END           NUMBER. disk bölümünü taşı"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
index db0093a14df8fe75891e3cbcb2be33e3558f7601..830f6a62e50c21435e9111870e8588deb6e70399 100644 (file)
Binary files a/po/uk.gmo and b/po/uk.gmo differ
index 1580e083826b2362b5195cca1ffde52745139d4d..4f84033f70af48765b05c6ff0a29c0cfc37f30a6 100644 (file)
--- a/po/uk.po
+++ b/po/uk.po
@@ -3,20 +3,20 @@
 # This file is distributed under the same license as the parted package.
 #
 # Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
-# Yuri Chornoivan <yurchor@ukr.net>, 2012.
+# Yuri Chornoivan <yurchor@ukr.net>, 2012, 2014.
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 3.0.136\n"
+"Project-Id-Version: parted 3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2012-02-19 16:32+0200\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-04 08:03+0300\n"
 "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
 "Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
 "Language: uk\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.2\n"
+"X-Generator: Lokalize 1.5\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
 #: lib/argmatch.c:133
@@ -33,7 +33,7 @@ msgstr "неоднозначний аргумент %s для %s"
 msgid "Valid arguments are:"
 msgstr "Список коректних аргументів:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "помилка запису"
 
@@ -117,83 +117,83 @@ msgstr "%s: до параметра «-W %s» слід додати аргуме
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "`"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "'"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Виконано"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Немає збігів"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Неправильний регулярний вираз"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Неправильне порівняння символів"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "Назва логічного тому містить неправильний символ \"%s\""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Завершальний backslash"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Неприпустиме зворотне посилання"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "Невідповідні дужки [ чи [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "Невідповідні дужки ( чи \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "Невідповідні дужки \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "Неприпустимий вміст \\{\\}"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Неправильний кінець діапазону"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Пам'ять вичерпано"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Неправильний попередній регулярний вираз"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Передчасно закінчений регулярний вираз"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Регулярний вираз надто великий"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "Невідповідні дужки ) чи \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Відсутній попередній регулярний вираз"
 
@@ -203,7 +203,7 @@ msgstr "Відсутній попередній регулярний вираз"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[yYТт]"
 
@@ -213,7 +213,7 @@ msgstr "^[yYТт]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nNНн]"
 
@@ -415,60 +415,60 @@ msgid "Disk Image"
 msgstr "Образ диска"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Помилка відкривання %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr ""
 "Не вдається відкрити %s для читання-запису (%s). %s відкрито у режимі лише-"
 "читання."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s при встановленні позиції для читання на %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s при читанні з %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Не вдається записати на %s, тому що він відкритий лише для читання."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s при встановленні позиції для запису на %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s при записі на %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Спробуйте `%s --help' для одержання додаткової інформації.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "Використання: %s [КЛЮЧ] [ПРИСТРІЙ]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -484,7 +484,7 @@ msgstr ""
 "  -h, --help       показати це довідкове повідомлення і вийти\n"
 "  -v, --version    показати дані щодо версії і вийти\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -492,7 +492,7 @@ msgstr ""
 "\n"
 "Якщо не вказано ПРИСТРІЙ, виконується зондування всіх розділів.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -537,7 +537,7 @@ msgstr ""
 "нічого не знає про внесені вами зміни. Необхідно перезавантажити ваш "
 "комп'ютер перед виконанням будь-яких дій з %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -550,17 +550,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s при спробі синхронізації %s на диск"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "Не вдається отримати статус пристрою %s - %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Не вдалося визначити тип dm %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -569,7 +569,7 @@ msgstr ""
 "Не вдається визначити розмір сектора для %s: %s.\n"
 "Використовується типовий розмір сектора (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -578,21 +578,21 @@ msgstr ""
 "Не вдається визначити розмір фізичного сектора для %s.\n"
 "Використовується розмір логічного сектора (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Не вдається визначити розмір %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Не вдається отримати ідентифікатор пристрою %s - %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "Загальний IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -605,12 +605,12 @@ msgstr ""
 "комбінацій  позначка диска/файлова система, наприклад. GPT та ext2/3.\n"
 "Додаткову інформацію шукайте на веб-сайті."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Помилка ініціалізації SCSI пристрою %s - %s"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -619,7 +619,7 @@ msgstr ""
 "Пристрій %s є замалим для зберігання файлової системи або таблиці розділів. "
 "Можливо, ви вибрали неправильний пристрій?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -628,86 +628,86 @@ msgstr ""
 "Не вдається визначити геометрію файлу/пристрою %s. Не слід використовувати "
 "Parted, хіба що ви ДІЙСНО знаєте, що ви робите!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Типова картка зберігання даних SD/MMC"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID контролер"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Пристрій Promise SX8 SATA"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "Пристрій ATA на основі Ethernet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "Пристрій IBM S390 DASD"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries Virtual DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq Smart Array"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATARAID контролер"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O контролер"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "User-Mode Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
 msgstr "Пристрій зворотної петлі (loopback)"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "device-mapper Linux (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Віртуальний блоковий пристрій xen"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Невідомий"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Блоковий пристрій віртуального введення-виведення"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Програмний масив RAID Linux"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new() тип пристрою не підтримується"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Помилка під час синхронізації або закриття %s: %s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr "%0.0sкінець файла під час читання %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -719,17 +719,12 @@ msgstr ""
 "перезавантаження не слід підключати розділ чи використовувати будь-яким "
 "іншим чином."
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "Не вдалося визначити початок і довжину %s."
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Не вдалося додати розділ %d (%s)"
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -742,32 +737,19 @@ msgstr ""
 "система продовжуватиме використовувати застарілі дані щодо розділів. Перш "
 "ніж вносити подальші зміни, вам слід перезавантажити операційну систему."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted не може перечитати таблицю розділів на %s (%s). Це означає, що Linux "
-"не враховуватиме внесені зміни. "
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr ""
 "Неприпустимо, щоб кінець розділу був перед початком! (початковий сектор=%jd, "
 "довжина=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Неприпустимо, щоб розділ виходив за межі диска!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Спроба записати сектори %ld-%ld за межами розділу на %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "пошук пошкоджених блоків"
 
@@ -781,12 +763,12 @@ msgstr "У розгортці стеку є %d викликів:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Помилка у твердженні (%s) у точці %s:%d функції %s()."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: непридатна до розпізнавання мітка диска"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -795,150 +777,166 @@ msgstr ""
 "Ця версія libparted не підтримує запис на %s. Можливо програму зібрано з "
 "підтримкою лише для читання."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Розмір %d %s, але файлова система %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "вирівнювання_циліндрів"
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 msgid "pmbr_boot"
 msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Невідомий прапорець диска, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s етикетки дисків для розширених розділів не підтримуються."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr ""
 "%s етикетки дисків для логічних або розширених розділів не підтримуються."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Занадто багато основних розділів."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr ""
 "Не вдається додати логічний розділ до %s, тому що немає розширеного розділу."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Не можна мати більше одного розширеного розділу на %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Не вдається розширити логічний розділ за межі розширеного розділу."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr ""
 "Не вдається розширити логічний розділ за межі розширеного розділу на %s."
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Не можна мати розділи, які перекриваються."
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Не можна додавати основний розділ у розширений розділ."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Неприпустимо, щоб розділ виходив за межі диска!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Не можна мати розділи, які перекриваються."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "метадані"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "вільно"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "розширений"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "логічний"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "основний"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "boot"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "кореневий"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "swap"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "схований"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-сервіс"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "застарілий_завантажувальний"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
+
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Невідома ознака розділу, %d."
@@ -1045,10 +1043,10 @@ msgstr ""
 "Підтримка встановлення ознак для позначок дисків у стилі AIX ще не "
 "реалізована."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Не вдається задовольнити всі обмеження на розділ."
@@ -1057,29 +1055,29 @@ msgstr "Не вдається задовольнити всі обмеження
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Не вдається розподілити слот bsd етикетки диска."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Не вдається розподілити слот етикетки диска dasd"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Неправильна таблиця розділів на %s - неправильна сигнатура %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Неправильна таблиця розділів - рекурсивні розділи на %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Розширені розділи не можуть бути на дискових етикетках msdos."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr "Parted не може змінювати розділи, які створені Windows Dynamic Disk."
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
 msgstr "створити додаткові розділи неможливо"
 
@@ -1118,83 +1116,83 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Занадто багато основних розділів"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "помилка відкриття"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "помилка позиціювання"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "помилка читання"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "помилка ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "невідповідність версій API"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Непідтримуваний тип диска"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Непідтримуваний формат диска"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Диск зайнятий"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Синтаксична помилку у файлі налаштувань"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Мітку тому пошкоджено"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Назва набору даних пошкоджено"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Не вдалося отримати місце у пам'яті"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Помилка під час спроби перевірити пристрій"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Вказаний пристрій не є коректним пристроєм DASD"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Критична помилка"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Немає місця для мітки тому."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "Недостатньо місця для даних щодо розділу."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "Некоректна таблиця розділів тому (VTOC)."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Не вдалося отримати дані щодо версії програмного інтерфейсу"
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
@@ -1202,35 +1200,23 @@ msgstr ""
 "Поточна версія програмного інтерфейсу, «%d», не збігається з версією "
 "програмного інтерфейсу драйвера dasd, «%d»!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Не вдалося отримати дані щодо геометрії диска."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Не вдалося отримати дані щодо розміру блоків."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Не вдалося отримати дані щодо диска."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s містить GPT сигнатуру, це означає, що він містить GPT-таблицю. Але, він "
-"не містить правильної імітації msdos-сумісної таблиці розділів, хоча і "
-"повинен містити. Можливо він пошкоджений програмою яка не розуміє GPT-"
-"таблиці розділів. Або, можливо, ви видалили GPT-таблицю, а тепер "
-"використовуєте msdos-сумісну таблицю розділів. На цьому розділі є GPT-"
-"таблиця?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "пристрій є замалим для GPT"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1240,7 +1226,7 @@ msgstr ""
 "підтримку якої передбачено у Parted. Будь ласка, повідомте нам про цю "
 "помилку!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1251,18 +1237,16 @@ msgstr ""
 "використовувався весь простір (додатково %llu блоків) або продовжити з "
 "вказаними параметрами?."
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "Резервна GPT-таблиця не знаходиться наприкінці диска, хоча повинна там "
-"знаходитись. Можливо, це означає, що інша операційна система вважає, що "
-"розмір диска менший. Виправити це шляхом переміщення копії таблиці у кінець "
-"(та видалити стару копію)?"
+"знаходитись. Виправити це шляхом переміщення копії таблиці у кінець (та "
+"видалити стару копію)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1271,7 +1255,7 @@ msgstr ""
 "таблицю, та використовуйте функцію відновлення програми Parted, щоб "
 "повернути розділи."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1279,7 +1263,7 @@ msgstr ""
 "Резервну таблицю GPT пошкоджено, основна, здається є правильною, тому буде "
 "використано основну таблицю."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1287,10 +1271,14 @@ msgstr ""
 "Основна GPT-таблиця пошкоджена, але резервна виглядає правильною, тому буде "
 "використовуватись саме вона."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "невідповідність контрольних сум (CRC) масивів основної таблиці"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "не вдалося перенести назву розділу"
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1305,40 +1293,40 @@ msgstr "Карта розділів не містить елементу кар
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s занадто мале для Macintosh-етикетки диска!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Розділ %d має неправильну сигнатуру %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "Розділ %d має неправильну довжину 0 байт!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Область даних не починається з початку розділу."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Область завантаження не починається з початку розділу."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Область завантаження розділу не займає весь розділ."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Область даних розділу не займає весь розділ."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 "Дивний розмір блоку у дескрипторі пристрою: %d байт не ділиться на 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1347,11 +1335,11 @@ msgstr ""
 "У дескрипторі драйвера зазначено, що розмір фізичного блоку дорівнює %d "
 "байтів, але Linux вважає, що він %d байтів."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Не знайдено правильної карти розділів."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
@@ -1360,7 +1348,7 @@ msgstr ""
 "Конфлікт розмірів у елементах карти розділів! У елементі 1 вказано %d, але у "
 "елементі %d вказано %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Фатально! Дивна помилка - 2 елементи карти розділів!"
 
@@ -1372,7 +1360,7 @@ msgstr ""
 "Зміна назви кореневого розділу чи розділу підкачки заважатиме Linux "
 "розпізнати їх."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "Не вдається додати інший розділ - карта розділів надто маленька!"
 
@@ -1515,56 +1503,60 @@ msgstr "помилка під час запису на пристрій"
 msgid "reading from device failed"
 msgstr "помилка при читанні з пристрою"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Не вдалося прочитати мітку тому."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Не вдалося записати мітку тому."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Не вдається прочитати позначки VTOC."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Не вдається прочитати VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Не вдається прочитати VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Не вдається прочитати VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Не вдається прочитати VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Не вдається записати VTOC labels."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Не вдається записати VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Не вдається записати VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Не вдається записати VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Не вдається записати VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Не вдалося записати VTOC FMT9 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Недостатньо пам'яті."
 
@@ -1600,25 +1592,25 @@ msgstr "Неправильне число."
 msgid "Use a smaller unit instead of a value < 1"
 msgstr "Скористайтеся меншою одиницею виміру замість значень < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s : Помилка при виділенні блоку розділу\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s : Помилка при виділенні блоку\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s : Не вдається прочитати завантажувальний блок %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s : Не вдається прочитати кореневий блок %llu\n"
@@ -1658,7 +1650,7 @@ msgstr "%s : Не вдається знайти блок rdb, цього не п
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s : Не вдається прочитати блок розділу %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1666,38 +1658,28 @@ msgstr ""
 "GNU parted зібрано неправильно: завантажувальний сектор FAT повинен мати "
 "розмір 512 байтів. Підтримка FAT вимкнена."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Файлова система містить неправильну сигнатуру файлової системи FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "Файлова система має неправильний розмір сектора файлової системи FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "Файлова система має неправильний розмір кластера файлової системи FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr "У файловій системі неправильна кількість резервних секторів FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "У файловій системі неправильне число копій FAT."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Файлова система має логічний розмір сектора %d. Вважається, що GNU Parted "
-"працює неправильно з секторами, розмір яких не дорівнює 512 байт."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1707,49 +1689,39 @@ msgstr ""
 "Геометрія CHS таблиці розділів становить (%d, %d, %d).  Якщо ви виберете "
 "Ігнорувати, геометрію CHS файлової системи буде залишено без змін."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr ""
 "Завантажувальний сектор FAT містить розмір логічного сектора, що дорівнює 0. "
 "Це дивно."
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr ""
 "У завантажувальному секторі FAT не міститься інформація про таблиці FAT. Це "
 "дивно."
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr ""
 "У відповідності до завантажувального сектора FAT, кластер містить 0 "
 "секторів. Це дивно."
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Файлові системи типу FAT12 не підтримуються."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Інформаційний сектор містить неправильну сигнатуру (%x). Виберіть \"Скасувати"
-"\" та відправте повідомлення про помилку. Якщо ви втратили надію, тоді можна "
-"проігнорувати цю проблему."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "Невідома стара сигнатура '%10s' розділу підкачки linux."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "Невідома нова сигнатура '%10s' розділу підкачки linux."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "Невідома сигнатура '%10s' розділу swsusp підкачки linux."
@@ -1763,7 +1735,16 @@ msgstr ""
 "Parted не може використовувати файлові системи HFS на дисках з розміром "
 "сектора, що некратний %d байтів."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Файлова система має логічний розмір сектора %d. Вважається, що GNU Parted "
+"працює неправильно з секторами, розмір яких не дорівнює 512 байт."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1778,6 +1759,16 @@ msgstr ""
 "виберете «Виправити» (Fix), геометрію CHS файлової системи буде приведено у "
 "відповідність до геометрії таблиці розділів CHS."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Інформаційний сектор містить неправильну сигнатуру (%x). Виберіть \"Скасувати"
+"\" та відправте повідомлення про помилку. Якщо ви втратили надію, тоді можна "
+"проігнорувати цю проблему."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1840,12 +1831,12 @@ msgstr ""
 "Файл %s позначений як системний файл. Це означає, що його переміщення може "
 "призвести до припинення роботи деяких програм."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Розділ надто великий/малий для файлової системи типу %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1854,11 +1845,11 @@ msgstr ""
 "\"Скасувати\", запустіть scandisk для файлової системи, а потім повторіть цю "
 "команду."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Для цього типу FAT немає допустимих конфігурацій."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1869,7 +1860,7 @@ msgstr ""
 "%dk (очікувалось %dk); кількість кластерів %d (очікувалось %d); розмір FAT "
 "%d секторів (очікувалось %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -2307,49 +2298,58 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "ТИП-ЕТИКЕТКИ один з: "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "ОЗНАКА одне з: "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "БЛОК одне з: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "бажане вирівнювання: minimum або optimal"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "ТИП-РОЗДІЛУ один з: основний, логічний, розширений\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "ТИП-ФС один з: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
 "ПОЧАТОК та КІНЕЦЬ - це місця на диску, наприклад 4GB чи 10%.  Від'ємні "
-"значення відраховуються від кінця диска. Наприклад, -1s вказує останній "
+"знаÑ\87еннÑ\8f Ð²Ñ\96дÑ\80аÑ\85овÑ\83Ñ\8eÑ\82Ñ\8cÑ\81Ñ\8f Ð²Ñ\96д ÐºÑ\96нÑ\86Ñ\8f Ð´Ð¸Ñ\81ка. Ð\9dапÑ\80иклад, -1s Ð²ÐºÐ°Ð·Ñ\83Ñ\94 Ð½Ð° Ð¾Ñ\81Ñ\82аннÑ\96й "
 "сектор диска.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"КІНЕЦЬ - це місце на диску, наприклад 4GB чи 10%.  Від'ємні значення "
+"відраховуються від кінця диска. Наприклад, -1s вказує на останній сектор "
+"диска.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "СТАН один з: on, off\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "ПРИСТРІЙ - зазвичай /dev/hda чи /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "НАЗВА - будь-яке слово на ваш вибір\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2368,26 +2368,22 @@ msgstr ""
 "ЦІННОСТІ чи ПРИДАТНОСТІ ДЛЯ ПЕВНОЇ МЕТИ. Докладнішу інформацію про це\n"
 "дивіться у Універсальній Публічній Ліцензії GNU.\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(залишилось часу %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
-"Розділ %s наразі зайнятий. Слід відключити його, перш ніж змінювати його "
-"програмою Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "Розділ %s наразі використовується. Ви справді хочете виконати цю дію?"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Розділи на %s наразі зайняті."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2396,31 +2392,31 @@ msgstr ""
 "Існуюча позначка диска на %s буде знищена разом з усіма даними на ній. "
 "Продовжити?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "Нова етикетка диска?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "Тип розділу?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "Назва розділу?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "Тип файлової системи?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Початок?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "Кінець?"
 
-#: parted/parted.c:732
+#: parted/parted.c:764
 #, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
@@ -2430,7 +2426,7 @@ msgstr ""
 "Найближчим придатним відповідником вказаних значень можуть бути межі від %s "
 "до %s (сектори від %llu до %llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2438,83 +2434,83 @@ msgstr ""
 "\n"
 "Чи є це для вас прийнятним?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 "Отриманий у результаті розділ не буде вирівняно з метою підвищення швидкодії."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "Номер розділу?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr "BIOS циліндр,головка,сектор геометрія: %d,%d,%d.  Кожен циліндр %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Модель: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Диск %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "Розмір сектора (логічний/фізичний): %lldБ/%lldБ\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "таблиця розділів: %s\n"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, c-format
 msgid "Disk Flags: %s\n"
 msgstr "Прапорці диска: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Номер"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Початок"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Кінець"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Розмір"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Тип"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Файлова система"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Назва"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Ознаки"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Вільний простір"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2523,45 +2519,56 @@ msgstr ""
 "Знайдено розділ %s %s у межах від %s -> %s. Бажаєте додати його до таблиці "
 "розділів?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "пошук файлових систем"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "Команду resize було усунуто починаючи з версії parted 3.0"
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+"Зменшення розмірів розділу може призвести до втрат даних. Ви справді хочете "
+"виконати цю дію?"
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "Новий пристрій?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "тип вирівнювання type(min/opt)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d вирівняно\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d не вирівняно\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
 msgstr "Ознака, яку інвертувати?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "Нове значення?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "Блок?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2569,11 +2576,11 @@ msgstr ""
 "align-check ТИП N                         перевірити розділ N щодо ТИПу(min|"
 "opt) вирівнювання"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2581,30 +2588,30 @@ msgstr ""
 "help [КОМАНДА]                вивести загальну довідку, або довідку про "
 "КОМАНДА"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
 "mklabel,mktable ТИП_ЕТИКЕТКИ  створити нову позначку диска (таблицю розділів)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart ТИП-РОЗДІЛУ [ТИП-ФС] ПОЧАТОК КІНЕЦЬ    створити розділ"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2612,19 +2619,19 @@ msgstr ""
 "'mkpart' створити розділ без створення нової файлової системи у ньому. Можна "
 "вказати ТИП-ФС для встановлення відповідного ідентифікатора розділу.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name НОМЕР НАЗВА              призначити назву НАЗВА розділу НОМЕР"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2633,7 +2640,7 @@ msgstr ""
 "print [devices|free|list,all|ЧИСЛО]     відображає таблицю розділів, наявні "
 "пристрої, вільний простір, всі знайдені розділи, або певний розділ"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
@@ -2641,11 +2648,11 @@ msgstr ""
 "Без аргументів, 'print' відображає всю таблицю розділів. Проте, з наступними "
 "аргументами виконуються інші дії.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : відображаються всі активні блочні пристрої\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
@@ -2653,14 +2660,14 @@ msgstr ""
 "  free      : відображається інформація про нерозподілений простір на "
 "поточному блочному пристрої\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : відображаються таблиці розділів на всіх активних блочних "
 "пристроях\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
@@ -2668,57 +2675,75 @@ msgstr ""
 "  ЧИСЛО     : відображається докладна інформація про розділ з вказаним "
 "номером\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                          вихід з програми"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
 msgstr ""
 "rescue ПОЧАТОК КІНЕЦЬ         знайти втрачені розділи між ПОЧАТОК та КІНЕЦЬ"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "Команду resize було усунуто починаючи з версії parted 3.0\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "resizepart"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr ""
+"resizepart НОМЕР КІНЕЦЬ                  змінити розмір розділу з номером "
+"НОМЕР"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm НОМЕР                      видалити розділ з номером НОМЕР"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select ПРИСТРІЙ               вибирати пристрій для роботи"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr "набір_дисків"
 
-#: parted/parted.c:1913
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
 msgstr ""
 "disk_set ПРАПОРЕЦЬ СТАН                  змінити значення ПРАПОРЦЯ для "
 "вибраного пристрою"
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr "disk_toggle"
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
@@ -2726,20 +2751,20 @@ msgstr ""
 "disk_toggle [ПРАПОРЕЦЬ]                  перемкнути стан ПРАПОРЦЯ на "
 "вибраному пристрої"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set НОМЕР ОЗНАКА СТАН         змінити ознаку розділу з номером НОМЕР"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
@@ -2747,20 +2772,20 @@ msgstr ""
 "toggle [НОМЕР [ОЗНАКА]]       перемикнути ознаку ОЗНАКА розділу з номером "
 "НОМЕР"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr ""
 "unit БЛОК                     встановити для типового блоку значення БЛОК"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2768,31 +2793,31 @@ msgstr ""
 "version                       вивести поточну версію GNU Parted та "
 "інформацію про авторське право"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 "команда version виводить інформацію про версію цієї програми GNU Parted\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 "Користування: %s [-hlmsv] [-a<вирівнювання>] [ПРИСТРІЙ [КОМАНДА "
 "[ПАРАМЕТРИ]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Пристрій не знайдено"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 "ПОПЕРЕДЖЕННЯ: у вас немає адміністративних прав доступу. Спочатку вам слід "
 "отримати ці права.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Не забудьте оновити /etc/fstab, якщо це необхідно.\n"
 
@@ -3048,65 +3073,65 @@ msgstr ""
 "\n"
 "Помилка: Виявлено загальний сигнал SIGILL."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "некоректний елемент: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Очікується номер розділу."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Розділ не існує."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "Очікується тип файлова система."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "Невідомий тип файлової системи \"%s\"."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Очікується тип дискової етикетки."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Не вдається додатково створити розділи."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "Очікується тип розділу."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "on"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "off"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "optimal"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "minimal"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "КЛЮЧІ:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "КОМАНДИ:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3115,15 +3140,39 @@ msgstr ""
 "\n"
 "Про вади повідомляйте на цю адресу: %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Використовується %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Ця команда не має сенсу у неінтерактивному режимі.\n"
 
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Не вдалося додати розділ %d (%s)"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "parted не може перечитати таблицю розділів на %s (%s). Це означає, що "
+#~ "Linux не враховуватиме внесені зміни. "
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s містить GPT сигнатуру, це означає, що він містить GPT-таблицю. Але, "
+#~ "він не містить правильної імітації msdos-сумісної таблиці розділів, хоча "
+#~ "і повинен містити. Можливо він пошкоджений програмою яка не розуміє GPT-"
+#~ "таблиці розділів. Або, можливо, ви видалили GPT-таблицю, а тепер "
+#~ "використовуєте msdos-сумісну таблицю розділів. На цьому розділі є GPT-"
+#~ "таблиця?"
+
 #~ msgid "%s: illegal option -- %c\n"
 #~ msgstr "%s: неправильний ключ -- %c\n"
 
@@ -3247,9 +3296,6 @@ msgstr "Ця команда не має сенсу у неінтерактивн
 #~ msgid "Couldn't create reiserfs device abstraction handler."
 #~ msgstr "Не вдається створити обробник абстрактних пристроїв reiserfs."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Пристрій система занадто маленький для %lu блоків."
-
 #~ msgid "copying"
 #~ msgstr "копіювання"
 
@@ -3516,12 +3562,6 @@ msgstr "Ця команда не має сенсу у неінтерактивн
 #~ msgid "move"
 #~ msgstr "move"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move НОМЕР ПОЧАТОК КІНЕЦЬ     перемістити розділ з номером НОМЕР"
-
-#~ msgid "resize"
-#~ msgstr "resize"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
index e85cff0f0b88657d66c6f3ce1a929c2d2b6a26db..a7898f8ab55cd34471976a29315911688b22e7af 100644 (file)
Binary files a/po/vi.gmo and b/po/vi.gmo differ
index acefd353e8af44c72ba2385cc50c7075c37c874e..1940251569ae9a44fffc822b684532b24d664d73 100644 (file)
--- a/po/vi.po
+++ b/po/vi.po
@@ -1,39 +1,42 @@
 # Vietnamese translation for Parted.
-# Copyright © 2010 Free Software Foundation, Inc.
+# Bản dịch tiếng Việt dành cho parted.
+# Copyright © 2014 Free Software Foundation, Inc.
 # This file is distributed under the same license as the parted package.
 # Trần Thị Hoàng Quyền <banhdauxanhhaiduong@gmail.com>, 2005.
 # Clytie Siddall <clytie@riverland.net.au>, 2009, 2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012-2014.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 2.3\n"
+"Project-Id-Version: parted 3.1.90\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2010-10-04 17:45+1030\n"
-"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
-"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2014-07-04 14:20+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
 "Language: vi\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: LocFactoryEditor 1.8\n"
+"X-Generator: Poedit 1.5.5\n"
+"X-Poedit-SourceCharset: utf-8\n"
 
 #: lib/argmatch.c:133
 #, c-format
 msgid "invalid argument %s for %s"
-msgstr "sai đặt đối số %s cho %s"
+msgstr "đối số không hợp lệ %s cho %s"
 
 #: lib/argmatch.c:134
 #, c-format
 msgid "ambiguous argument %s for %s"
-msgstr "gặp đối số vẫn mơ hồ %s cho %s"
+msgstr "đối số không rõ ràng %s cho %s"
 
 #: lib/argmatch.c:153
 msgid "Valid arguments are:"
-msgstr "Đối số hợp lệ:"
+msgstr "Các đối số hợp lệ là:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "lỗi ghi nhớ"
 
@@ -42,59 +45,59 @@ msgid "Unknown system error"
 msgstr "Gặp lỗi hệ thống không rõ"
 
 #: lib/getopt.c:547 lib/getopt.c:576
-#, fuzzy, c-format
+#, c-format
 msgid "%s: option '%s' is ambiguous; possibilities:"
-msgstr "%s: tùy chọn « %s » vẫn mơ hồ\n"
+msgstr "%s: tùy chọn “%s” chưa rõ ràng; khả năng là:"
 
 #: lib/getopt.c:624 lib/getopt.c:628
 #, c-format
 msgid "%s: option '--%s' doesn't allow an argument\n"
-msgstr "%s: tùy chọn « --%s » không cho phép đối số\n"
+msgstr "%s: tùy chọn “--%s” không cho phép đối số\n"
 
 #: lib/getopt.c:637 lib/getopt.c:642
 #, c-format
 msgid "%s: option '%c%s' doesn't allow an argument\n"
-msgstr "%s: tùy chọn « %c%s » không cho phép đối số\n"
+msgstr "%s: tùy chọn “%c%s” không cho phép đối số\n"
 
 #: lib/getopt.c:685 lib/getopt.c:704
 #, c-format
 msgid "%s: option '--%s' requires an argument\n"
-msgstr "%s: tùy chọn « --%s » yêu cầu một đối số\n"
+msgstr "%s: tùy chọn “--%s” yêu cầu một đối số\n"
 
 #: lib/getopt.c:742 lib/getopt.c:745
 #, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "%s: không nhận ra tùy chọn « --%s »\n"
+msgstr "%s: không nhận ra tùy chọn “--%s”\n"
 
 #: lib/getopt.c:753 lib/getopt.c:756
 #, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "%s: không nhận ra tùy chọn « %c%s »\n"
+msgstr "%s: không nhận ra tùy chọn “%c%s”\n"
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
 msgid "%s: invalid option -- '%c'\n"
-msgstr "%s: tùy chọn không hợp lệ -- « %c »\n"
+msgstr "%s: tùy chọn không hợp lệ -- “%c”\n"
 
 #: lib/getopt.c:861 lib/getopt.c:878 lib/getopt.c:1088 lib/getopt.c:1106
 #, c-format
 msgid "%s: option requires an argument -- '%c'\n"
-msgstr "%s: tùy chọn yêu cầu một đối số -- « %c »\n"
+msgstr "%s: tùy chọn yêu cầu một đối số -- “%c”\n"
 
 #: lib/getopt.c:934 lib/getopt.c:950
 #, c-format
 msgid "%s: option '-W %s' is ambiguous\n"
-msgstr "%s: tùy chọn « -W %s » vẫn mơ hồ\n"
+msgstr "%s: tùy chọn “-W %s” chưa rõ ràng\n"
 
 #: lib/getopt.c:974 lib/getopt.c:992
 #, c-format
 msgid "%s: option '-W %s' doesn't allow an argument\n"
-msgstr "%s: tùy chọn « -W %s » không cho phép đối số\n"
+msgstr "%s: tùy chọn “-W %s” không cho phép đối số\n"
 
 #: lib/getopt.c:1013 lib/getopt.c:1031
 #, c-format
 msgid "%s: option '-W %s' requires an argument\n"
-msgstr "%s: tùy chọn « -W %s » yêu cầu một đối số\n"
+msgstr "%s: tùy chọn “-W %s” yêu cầu một đối số\n"
 
 #. TRANSLATORS:
 #. Get translations for open and closing quotation marks.
@@ -117,83 +120,83 @@ msgstr "%s: tùy chọn « -W %s » yêu cầu một đối số\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
-msgstr "« "
+msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
-msgstr " »"
+msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "Thành công"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "Không tìm thấy"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "Biểu thức chính quy không hợp lệ"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "Ký tự đối chiếu không hợp lệ"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
-msgstr "Sai đặt tên hạng ký tự"
+msgstr "Sai đặt tên lớp ký tự"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "Có dấu chéo ngược theo sau"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "Sai đặt tham chiếu ngược"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
-msgstr "Có một ký tự « [ » hay « [^ » riêng lẻ"
+msgstr "Có một ký tự “[” hay “[^” lẻ đôi"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
-msgstr "Có một ký tự « ( » hay « \\( » riêng lẻ"
+msgstr "Có một ký tự “(” hay “\\(” lẻ đôi"
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
-msgstr "Có một ký tự « \\{ » riêng lẻ"
+msgstr "Có ký tự “\\{” lẻ đôi"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
-msgstr "Nội dụng « \\{\\} » không hợp lệ"
+msgstr "Nội dung của “\\{\\}” không hợp lệ"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "Sai kết thúc phạm vi"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "Cạn bộ nhớ"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "Sai đặt biểu thức chính quy đi trước"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "Kết thúc sớm biểu thức chính quy"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "Biểu thức chính quy quá lớn"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
-msgstr "Có một ký tự « ) » hay « \\) » riêng lẻ"
+msgstr "Có một ký tự “)” hay “\\)” lẻ đôi"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "Không có biểu thức chính quy đi trước"
 
@@ -203,7 +206,7 @@ msgstr "Không có biểu thức chính quy đi trước"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[cCyY]"
 
@@ -213,7 +216,7 @@ msgstr "^[cCyY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[kKnN]"
 
@@ -244,9 +247,9 @@ msgid ""
 "\n"
 msgstr ""
 "\n"
-"Giấy phép GPL pb3+ : Giấy phép Công cộng GNU phiên bản 3 hay sau\n"
+"Giấy phép GPL pb3+: Giấy phép Công cộng GNU phiên bản 3 hay sau\n"
 "<http://gnu.org/licenses/gpl.html>\n"
-"Đây là phần mềm tự do : bạn có quyền sửa đổi và phát hành lại nó.\n"
+"Đây là phần mềm tự do: bạn có quyền sửa đổi và phát hành lại nó.\n"
 "KHÔNG CÓ BẢO HÀNH GÌ CẢ, với điều khiển được pháp luật cho phép.\n"
 "\n"
 
@@ -370,7 +373,7 @@ msgid ""
 msgstr ""
 "\n"
 "Gửi báo cáo lỗi tới: <%s>\n"
-"Gửi báo cáo lỗi dịch tới Clytie: <clytie@riverland.net.au>\n"
+"Thông báo lỗi dịch cho: <http://translationproject.org/team/vi.html>.\n"
 
 #: lib/version-etc.c:247
 #, c-format
@@ -394,80 +397,80 @@ msgstr ""
 
 #: lib/xalloc-die.c:34
 msgid "memory exhausted"
-msgstr "cạn bộ nhớ"
+msgstr "hết bộ nhớ"
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "đối số %s%s không hợp lệ « %s »"
+msgstr "đối số %s%s không hợp lệ “%s”"
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "gặp hậu tố không hợp lệ trong đối số %s%s « %s »"
+msgstr "gặp hậu tố không hợp lệ trong %s%s đối số “%s”"
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "đối số %s%s « %s » quá lớn"
+msgstr "%s%s đối số  “%s” quá lớn"
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr "Ảnh Đĩa"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "Lỗi mở %s: %s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr "Không mở được %s đọc-ghi (%s).  %s đã được mở ở tình trạng chỉ đọc."
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "%s trong khi tìm nơi để đọc trên %s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "%s trong khi đọc trên %s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "Không thể ghi nhớ vào %s, vì nó đã được mở ở tình trạng chỉ đọc."
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "%s trong khi tìm nơi để ghi trên %s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "%s trong khi ghi trên %s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
-msgstr "Hãy thử chạy câu lệnh trợ giúp « %s --help » để biết thêm thông tin.\n"
+msgstr "Hãy thử chạy câu lệnh trợ giúp “%s --help” để biết thêm thông tin.\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
-msgstr "Sử dụng: %s [TÙY_CHỌN] [THIẾT_BỊ]...\n"
+msgstr "Cách dùng: %s [TÙY_CHỌN] [THIẾT_BỊ]...\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -478,20 +481,20 @@ msgid ""
 msgstr ""
 "Báo hệ điều hành biết về thay đổi trong bảng phân vùng.\n"
 "\n"
-"  -d, --dry-run    chạy thá»±c hành (không báo gì)\n"
+"  -d, --dry-run    chạy thá»­ (không thá»±c sá»± báo)\n"
 "  -s, --summary    in ra bản tóm tắt nội dung\n"
 "  -h, --help       hiển thị trợ giúp này, sau đó thoát\n"
 "  -v, --version    xuất thông tin về phiên bản, sau đó thoát\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 "\n"
-"Không đưa ra THIẾT_BỊ thì thăm dò mọi phiên bản.\n"
+"Không đưa ra THIẾT_BỊ thì thăm dò mọi phân vùng.\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -499,6 +502,7 @@ msgid ""
 msgstr ""
 "\n"
 "Gửi báo cáo lỗi tới <%s>.\n"
+"Thông báo lỗi dịch cho: <http://translationproject.org/team/vi.html>.\n"
 
 #: libparted/arch/gnu.c:110
 #, c-format
@@ -521,7 +525,7 @@ msgstr ""
 "Không đọc lại được bảng phân vùng, vì thế, cần khởi động lại trước khi gắn "
 "bất ký phân vùng đã sửa đổi nào.  Người dùng cũng cần cài đặt lại trình khởi "
 "động của mình trước khi khởi động lại (thao tác này có thể yêu cầu gắn phân "
-"vùng đã sửa đổi).  Không thể thực hiện cả hai thao tác !  Vì thế người dùng "
+"vùng đã sửa đổi).  Không thể thực hiện cả hai thao tác!  Vì thế người dùng "
 "sẽ cần khởi động bẳng đĩa dự phòng, và cài đặt lại trình khởi động từ đó. "
 "Hãy đọc phần 4 của tài liệu hướng dẫn Người dùng Parted để biết thêm chi "
 "tiết."
@@ -537,7 +541,7 @@ msgstr ""
 "gì về những thay đổi đã tạo ra.  Người dùng cần khởi động lại máy tính trước "
 "khi thực hiện bất kỳ thao tác nào với %s."
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -550,17 +554,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s đang thử đồng bộ hoá %s với đĩa"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
-msgstr "Không thể lấy trạng thái về thiết bị %s — %s"
+msgstr "Không thể lấy trạng thái về thiết bị %s — %s."
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "Không thể xác định kiểu dm của %s."
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -569,30 +573,30 @@ msgstr ""
 "Không thể quyết định kích cỡ rãnh ghi đối với %s: %s\n"
 "nên dùng kích cỡ rãnh ghi mặc định (%lld)."
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 "Không thể quyết định kích cỡ rãnh ghi vật lý đối với %s\n"
-"nên dùng kích cỡ rãnh ghi hợp lý (%lld)."
+"nên dùng kích cỡ rãnh ghi lô-gíc (%lld)."
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "Không thể quyết định kích cỡ của %s (%s)."
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "Không thể nhận diện thiết bị %s — %s"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "IDE giống loài"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -600,26 +604,26 @@ msgid ""
 "system combinations, e.g. GPT and ext2/3.\n"
 "Please consult the web site for up-to-date information."
 msgstr ""
-"Thiết bị %s có nhiều (%d) rãnh ghi hợp lý trên mỗi rãnh ghi vật lý.\n"
+"Thiết bị %s có nhiều (%d) rãnh ghi lô-gíc trên mỗi rãnh ghi vật lý.\n"
 "Chương trình GNU Parted hỗ trợ trường hợp này một cách VẪN THỰC NGHIỆM\n"
 "đối với một số tổ hợp nhãn đĩa/hệ thống tập tin, v.d. GPT và ext2/3.\n"
 "Hãy thăm trang chủ Web để tìm thông tin đã cập nhật."
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "Gặp lỗi khi sơ khởi thiết bị SCSI %s — %s"
 
-#: libparted/arch/linux.c:1111
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1191
+#, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
 "partition table.  Perhaps you selected the wrong device?"
 msgstr ""
-"Thiết bị %s có chiều dài số không, và không thể cất giữ một hệ thống tập tin "
-"hay bảng phiên bản. Có thể bạn đã chọn nhầm thiết bị."
+"Thiết bị %s quá nhỏ, và không thể dùng để cất giữ một hệ thống tập tin hay "
+"bảng phân vùng. Có thể bạn đã chọn nhầm thiết bị?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -628,87 +632,86 @@ msgstr ""
 "Không nhận ra cấu trúc hình học của tập tin/thiết bị %s.  Không được sử dụng "
 "Parted trừ khi THỰC SỰ biết mình đang làm gì!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "Bo mạch lưu trữ SD/MMC giống loài"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "Bộ điều khiển RAID DAC960"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Thiết bị SATA SX8 Promise"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "ATA qua thiết bị Ethernet"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "Ổ đĩa DASD S390 IBM"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "DASD Ảo iSeries IBM"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Mảng Khéo Compaq"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "Bộ điều khiển ATARAID"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "Bộ điều khiển I2O"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "UBD Linux Chế độ Người dùng"
 
-#: libparted/arch/linux.c:1389
-#, fuzzy
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr "Thiết bị nguồn ?"
+msgstr "Thiết bị vòng lặp"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Bộ ánh xạ thiết bị Linux (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Thiết bị Khối Ảo Xen"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "Không rõ"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Thiết bị khối Virtio"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Mảng RAID phần mềm Linux"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  Kiểu thiết bị không được hỗ trợ"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "Lỗi fsync hay đóng %s: %s"
 
-#: libparted/arch/linux.c:1767
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1846
+#, c-format
 msgid "%0.0send of file while reading %s"
-msgstr "gặp kết thúc tập tin trong khi đọc %s"
+msgstr "% 0.0scuối của tệp tin trong khi đọc %s"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -720,17 +723,12 @@ msgstr ""
 "khởi động lại, thì bạn không nên gắn kết nó hoặc sử dụng nó bằng cách nào cả "
 "trước khi khởi động lại."
 
-#: libparted/arch/linux.c:2517
-#, fuzzy, c-format
-msgid "Unable to determine the start and length of %s."
-msgstr "Không thể quyết định kích cỡ và chiều dài của %s."
-
-#: libparted/arch/linux.c:2632
+#: libparted/arch/linux.c:2683
 #, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "Không thêm được phân vùng %d (%s)"
+msgid "Unable to determine the start and length of %s."
+msgstr "Không thể xác định điểm bắt đầu và độ dài của %s."
 
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -743,32 +741,19 @@ msgstr ""
 "là (các) phiên bản cũ còn lại được sử dụng. Bạn nên khởi động lại ngay bây "
 "giờ mà không làm thay đổi thêm nào."
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"Parted không đọc lại được bảng phân vùng trên %s (%s).  Có nghĩa là Linux sẽ "
-"không biết về những thay đổi đã tạo ra."
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr ""
-"Không thể có kết thúc đứng trước bắt đầu ! (bắt đầu rãnh_ghi=%jd chiều_dài="
+"Không thể có kết thúc đứng trước bắt đầu! (bắt đầu rãnh_ghi=%jd chiều_dài="
 "%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "Không thể có phân vùng nằm ngoài đĩa !"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "Cố ghi các rãnh ghi %ld-%ld nằm ngoài phân vùng trên %s."
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "đang kiểm tra tìm khối hỏng"
 
@@ -782,12 +767,12 @@ msgstr "Truy ngược có %d lời gọi trên đống:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "Khẳng định (%s) tại %s:%d trong hàm %s() bị lỗi."
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: không nhận ra nhãn đĩa"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
@@ -796,149 +781,164 @@ msgstr ""
 "Thư viện libparted này không hỗ trợ ghi vào %s.  Có thể đã biên dịch nó chỉ "
 "đọc."
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "Phân vùng %d là %s, nhưng hệ thống tập tin là %s."
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
-#, fuzzy
+#: libparted/disk.c:842
 msgid "pmbr_boot"
-msgstr "khởi động"
+msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "Không nhận ra cờ đĩa, %d."
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "Nhãn đĩa %s không hỗ trợ phiên bản mở rộng."
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
-msgstr "Nhãn đĩa %s không hỗ trợ phiên bản kiểu mở rộng hay hợp lý."
+msgstr "Nhãn đĩa %s không hỗ trợ phiên bản kiểu mở rộng hay lô-gíc."
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "Quá nhiều phân vùng chính."
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr ""
-"Không thể thêm vào %s một phân vùng hợp lý, vì không có phân vùng mở rộng."
+"Không thể thêm vào %s một phân vùng lô-gíc, vì không có phân vùng mở rộng."
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "Không cho phép nhiều hơn một phân vùng mở rộng trên %s."
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
-msgstr "Không cho phép phân vùng hợp lý nằm ngoài phân vùng mở rộng."
+msgstr "Không cho phép phân vùng lô-gíc nằm ngoài phân vùng mở rộng."
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
-msgstr "Không cho phép phân vùng hợp lý nằm ngoài phân vùng mở rộng trên %s."
-
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "Không cho phép các phân vùng chồng chéo lên nhau."
+msgstr "Không cho phép phân vùng lô-gíc nằm ngoài phân vùng mở rộng trên %s."
 
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "Không cho phép phân vùng chính nằm trong phân vùng mở rộng."
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "Không thể có phân vùng nằm ngoài đĩa!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "Không cho phép các phân vùng chồng chéo lên nhau."
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "siêu dữ liệu"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "trống"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "mở rộng"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
-msgstr "hợp lý"
+msgstr "lô-g"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "chính"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "khởi động"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "gốc"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "trao đổi"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "ẩn"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "dịch vụ HP"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "chuẩn bị"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+msgid "msftdata"
+msgstr "msftdata"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
-msgstr "chéo"
+msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
-msgstr ""
+msgstr "legacy_boot"
+
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr "irst"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2408
+msgid "esp"
+msgstr "esp"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "Không nhận ra cờ phân vùng, %d."
@@ -996,7 +996,7 @@ msgid "Cancel"
 msgstr "Thôi"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
@@ -1005,8 +1005,8 @@ msgid ""
 msgstr ""
 "Phát hiện ra một lỗi trong GNU parted. Hãy thăm trang chủ Web của parted "
 "(http://www.gnu.org/software/parted/parted.html) để biết thêm về thông tin "
-"thích hợp với báo cáo lỗi. Xin hãy gửi thư thông báo tới <bug-parted@gnu."
-"org> kèm theo ít nhất phiên bản (%s) và thông tin sau :"
+"thích hợp với báo cáo lỗi! Xin hãy gửi thư thông báo tới  %s kèm theo ít "
+"nhất là số phiên bản (%s) và thông tin sau đây:"
 
 #: libparted/labels/aix.c:103
 msgid "Support for reading AIX disk labels is is not implemented yet."
@@ -1037,10 +1037,10 @@ msgstr ""
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "Chưa thực hiện hỗ trợ đặt cờ trong nhãn đĩa AIX."
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "Không thể thoả mọi ràng buộc trên phân vùng."
@@ -1049,34 +1049,33 @@ msgstr "Không thể thoả mọi ràng buộc trên phân vùng."
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "Không thể cấp phát một khe nhãn đĩa sai."
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "Không thể cấp phát một khe nhãn đĩa DASD"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "Gặp bảng phân vùng sai trên %s -- chữ ký không đúng %x."
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "Bảng phân vùng sai -- phiên bản đệ quy trên %s."
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "Phân vùng mở rộng không thể bị ẩn trên nhãn đĩa MSDOS."
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 "Parted không thể thay đổi kích cỡ của phân vùng bị Windows Dynamic Disk quản "
 "lý."
 
-#: libparted/labels/dos.c:2414
-#, fuzzy
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
-msgstr "Không thể tạo phân vùng thêm nữa."
+msgstr "không thể tạo phân vùng thêm nữa."
 
 #: libparted/labels/dvh.c:182
 #, c-format
@@ -1097,7 +1096,7 @@ msgstr "Chỉ phân vùng chính có thể là phân vùng trao đổi."
 
 #: libparted/labels/dvh.c:641
 msgid "Only logical partitions can be a boot file."
-msgstr "Chỉ phân vùng hợp lý có thể là một tập tin khởi động."
+msgstr "Chỉ phân vùng lô-gíc có thể là một tập tin khởi động."
 
 #: libparted/labels/dvh.c:718
 #, c-format
@@ -1112,127 +1111,116 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "Quá nhiều phân vùng chính"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "lỗi mở"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
-msgstr "lỗi tìm nơi"
+msgstr "lỗi di chuyển vị trí đọc"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "lỗi đọc"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "lỗi ioctl()"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "Phiên bản API không tương ứng"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "Loại đĩa không được hỗ trợ"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "Định dạng đĩa không được hỗ trợ"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "Đĩa đang được sử dụng"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "Gặp lỗi cú pháp trong tập tin cấu hình"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "Nhãn khối tin bị hỏng"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "Một tên tập hợp dữ liệu bị hỏng"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "Lỗi cấp phát bộ nhớ"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "Lỗi thẩm tra thiết bị"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "Thiết bị đã ghi rõ không phải là một thiết bị DASD hợp lệ"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "Lỗi nghiêm trọng"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "Không còn chỗ trống cho nhãn khối tin."
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "không có chỗ trống cho thông tin về phiên bản."
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "VTOC không hợp lệ."
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "Không thể lấy phiên bản API."
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
-"Phiên bản API hiện thời « %d » không tương ứng với phiên bản API trình điều "
-"khiển DASD « %d » !"
+"Phiên bản API hiện thời “%d” không tương ứng với phiên bản API trình điều "
+"khiển DASD “%d”!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "Không thể lấy thông tin về cấu trúc hình học của đĩa."
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "Không thể lấy thông tin về kích cỡ khối."
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "Không thể lấy thông tin về đĩa."
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s chứa chữ ký GPT, chỉ ra nó có bảng GPT.  Tuy nhiên, nó không có một bảng "
-"phân vùng giả msdos cần thiết.  Có thể nó đã bị làm hỏng bởi một chương "
-"trình không hiểu bảng phân vùng GPT.  Hoặc có thể người dùng đã xoá bảng "
-"GPT, và bây giờ đang sử dụng một bảng phân vùng msdos.  Đây có phải là một "
-"bảng phân vùng GPT?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
+msgstr "thiết bị quá nhỏ cho GPT"
 
-#: libparted/labels/gpt.c:700
-#, fuzzy, c-format
+#: libparted/labels/gpt.c:734
+#, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
 "what Parted can recognise.  Please report this!"
 msgstr ""
 "Định dạng của bảng phân vùng GPT có phiên bản %x, mới hơn so với phiên bản "
-"Parted có thể nhận ra.  Xin hãy cho chúng tôi biết!  <bug-parted@gnu.org>"
+"Parted có thể nhận ra.  Xin hãy báo cáo điều này cho chúng tôi biết!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1243,17 +1231,15 @@ msgstr ""
 "dùng có thể sửa GPT để sử dụng toàn bộ sức chứa (%llu khối bổ sung) hoặc "
 "tiếp tục với thiết lập hiện thời."
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
-"Bảng GPT sao lưu không nằm tại cuối đĩa như yêu cầu.  Có nghĩa là hệ điều "
-"hành khác sẽ thấy đĩa nhỏ hơn thông thường.  Sửa bằng cách di chuyển sao lưu "
-"tới cuối (và xóa bỏ sao lưu cũ)?"
+"Bảng GPT sao lưu không nằm tại cuối đĩa như yêu cầu. Sửa bằng cách di chuyển "
+"phần sao lưu tới cuối (và xóa bỏ sao lưu cũ)?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1261,7 +1247,7 @@ msgstr ""
 "Cả bảng GPT chính và sao lưu đều hỏng.  Hãy thử tạo một bảng mới, và sử dụng "
 "tính năng cứu nguy của Parted để phục hồi các phân vùng."
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
@@ -1269,7 +1255,7 @@ msgstr ""
 "Bảng GPT sao lưu bị hỏng, nhưng bảng chính hình như vẫn tốt, vì thế sẽ sử "
 "dụng bảng chính."
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
@@ -1277,10 +1263,14 @@ msgstr ""
 "Bảng GPT chính bị hỏng, nhưng sao lưu hình như vẫn tốt, vì thế sẽ sử dụng "
 "sao lưu."
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "sai khớp CRC mảng bảng phân vùng chính"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+msgid "failed to translate partition name"
+msgstr "gặp lỗi khi dịch tên phân vùng"
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1288,47 +1278,47 @@ msgstr "Chữ ký sai %x đối với nhãn đĩa Mac."
 
 #: libparted/labels/mac.c:231
 msgid "Partition map has no partition map entry!"
-msgstr "Sơ đồ phân vùng không có mục nhập sơ đồ phân vùng !"
+msgstr "Sơ đồ phân vùng không có mục nhập sơ đồ phân vùng!"
 
 #: libparted/labels/mac.c:279
 #, c-format
 msgid "%s is too small for a Mac disk label!"
-msgstr "%s quá nhỏ cho một nhãn đĩa Mac !"
+msgstr "%s quá nhỏ cho một nhãn đĩa Mac!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "Phân vùng %d có một chữ ký sai %x."
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
-msgstr "Phân vùng %d có chiều dài sai 0 byte !"
+msgstr "Phân vùng %d có chiều dài sai 0 byte!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Vùng dữ liệu không bắt đầu ở đầu của phân vùng."
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Vùng khởi động không bắt đầu ở đầu của phân vùng."
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "Vùng khởi động của phân vùng không chiếm toàn bộ phân vùng."
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "Vùng dữ liệu của phân vùng không chiếm toàn bộ phân vùng."
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr ""
 "Kích thước khối kỳ lạ trên mô tả thiết bị: %d byte không chia hết cho 512."
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
@@ -1337,22 +1327,22 @@ msgstr ""
 "Mô tả của trình điều khiển cho biết kích thước khối là %d byte, nhưng Linux "
 "nói nó %d byte."
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "Không tìm thấy sơ đồ phân vùng hợp lệ."
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr ""
-"Xung đột kích thước mục sơ đồ phân vùng !  Mục 1 nói là %d, nhưng mục %d nói "
-"là %d !"
+"Xung đột kích thước mục sơ đồ phân vùng!  Mục 1 nói là %d, nhưng mục %d nói "
+"là %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
-msgstr "Kỳ lạ - có hai mục sơ đồ phân vùng !"
+msgstr "Kỳ lạ - có hai mục sơ đồ phân vùng!"
 
 #: libparted/labels/mac.c:1356
 msgid ""
@@ -1362,9 +1352,9 @@ msgstr ""
 "Thay đổi tên của một phân vùng gốc hay trao đổi sẽ khiến Linux không nhận ra "
 "chúng như trước."
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
-msgstr "Không thêm được phân vùng bổ sung - sơ đồ phân vùng quá nhỏ !"
+msgstr "Không thêm được phân vùng bổ sung - sơ đồ phân vùng quá nhỏ!"
 
 #: libparted/labels/pc98.c:284
 #, c-format
@@ -1410,37 +1400,37 @@ msgstr "%s: Sai kiểm tổng (checksum) trên khối %llu có loại %s."
 #: libparted/labels/rdb.c:484
 #, c-format
 msgid "%s : Didn't find rdb block, should never happen."
-msgstr "%s: Không tìm thấy khối rdb, không bao giờ nên xảy ra."
+msgstr "%s : Không tìm thấy khối rdb, không bao giờ nên xảy ra."
 
 #: libparted/labels/rdb.c:573
 #, c-format
 msgid "%s : Loop detected at block %d."
-msgstr "%s: Phát hiện vòng lặp tại khối %d."
+msgstr "%s : Phát hiện vòng lặp tại khối %d."
 
 #: libparted/labels/rdb.c:592
 #, c-format
 msgid "%s : The %s list seems bad at block %s."
-msgstr "%s: Danh sách %s hình như sai tại khối %s."
+msgstr "%s : Danh sách %s hình như sai tại khối %s."
 
 #: libparted/labels/rdb.c:691
 #, c-format
 msgid "%s : Failed to list bad blocks."
-msgstr "%s: Lỗi liệt kê các khối sai."
+msgstr "%s : Lỗi liệt kê các khối sai."
 
 #: libparted/labels/rdb.c:699
 #, c-format
 msgid "%s : Failed to list partition blocks."
-msgstr "%s: Lỗi liệt kê các khối phân vùng."
+msgstr "%s : Lỗi liệt kê các khối phân vùng."
 
 #: libparted/labels/rdb.c:707
 #, c-format
 msgid "%s : Failed to list file system blocks."
-msgstr "%s: Lỗi liệt kê các khối hệ thống tập tin."
+msgstr "%s : Lỗi liệt kê các khối hệ thống tập tin."
 
 #: libparted/labels/rdb.c:715
 #, c-format
 msgid "%s : Failed to list boot blocks."
-msgstr "%s: Lỗi liệt kê các khối khởi động."
+msgstr "%s : Lỗi liệt kê các khối khởi động."
 
 #: libparted/labels/rdb.c:742
 #, c-format
@@ -1506,67 +1496,71 @@ msgstr "lỗi ghi vào thiết bị"
 msgid "reading from device failed"
 msgstr "lỗi đọc từ thiết bị"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "Không thể đọc nhãn khối tin."
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "Không thể ghi nhãn khối tin."
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "Không thể đọc các nhãn VTOC."
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "Không thể đọc VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "Không thể đọc VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "Không thể đọc VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "Không thể đọc VTOC FMT7 DSCB."
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "Không thể ghi nhãn VTOC."
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "Không thể ghi VTOC FMT1 DSCB."
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "Không thể ghi VTOC FMT4 DSCB."
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "Không thể ghi VTOC FMT5 DSCB."
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "Không thể ghi VTOC FMT7 DSCB."
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "Không thể ghi VTOC FMT9 DSCB."
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "Không đủ bộ nhớ."
 
 #: libparted/unit.c:139
 msgid "Cannot get unit size for special unit 'COMPACT'."
-msgstr "Không thể lấy kích cỡ đơn vị cho đơn vị đặc biệt « COMPACT »."
+msgstr "Không thể lấy kích cỡ đơn vị cho đơn vị đặc biệt “COMPACT”."
 
 #: libparted/unit.c:385
 #, c-format
 msgid "\"%s\" has invalid syntax for locations."
-msgstr "« %s » sai cú pháp đối với vị trí."
+msgstr "“%s” sai cú pháp đối với vị trí."
 
 #: libparted/unit.c:393
 #, c-format
@@ -1589,27 +1583,27 @@ msgstr "Con số không hợp lệ."
 
 #: libparted/unit.c:538
 msgid "Use a smaller unit instead of a value < 1"
-msgstr ""
+msgstr "Sử dụng một đơn vị nhỏ hơn thay vì giá trị < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s: Lỗi cấp phát khối phân vùng\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
-msgstr "%s: Lỗi cấp phát khối.\n"
+msgstr "%s: Lỗi cấp phát khối\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s: Không thể đọc khối khởi động %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s: Không thể đọc khối khởi động %llu\n"
@@ -1649,7 +1643,7 @@ msgstr "%s: Không tìm thấy khối rdb, không bao giờ nên xảy ra\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s: Lỗi đọc khối phân vùng %llu\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
@@ -1657,85 +1651,69 @@ msgstr ""
 "GNU Parted bị biên dịch sai: rãnh ghi khởi động FAT nên là 512 byte. Vì thế "
 "tắt hỗ trợ FAT."
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Hệ thống tập tin có chữ ký sai cho hệ thống tập tin kiểu FAT."
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr ""
 "Hệ thống tập tin có kích thước rãnh ghi sai cho hệ thống tập tin kiểu FAT."
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
-msgstr "Hệ thống tập tin có kích thước chùm sai cho hệ thống tập tin kiểu FAT."
+msgstr ""
+"Hệ thống tập tin có kích thước liên cung sai cho hệ thống tập tin kiểu FAT."
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr ""
 "Hệ thống tập tin có số rãnh ghi dự trữ sai cho hệ thống tập tin kiểu FAT."
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "Hệ thống tập tin có số FAT sai."
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"Hệ thống tập tin có kích thước rãnh ghi hợp lý là %d.  GNU Parted không làm "
-"việc chính xác với kích thước rãnh ghi khác 512 byte."
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
+"Hình thái học (CHS) hệ thống tệp tin là (%d, %d, %d), mà nó thì không hợp "
+"lệ.  Hình thái học CHS của bảng phân vùng lại là (%d, %d, %d)."
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
-msgstr "Rãnh ghi khởi động FAT nói kích thước rãnh ghi hợp lý là 0.  Kỳ lạ. "
+msgstr "Rãnh ghi khởi động FAT nói kích thước rãnh ghi lô-gíc là 0.  Kỳ lạ. "
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "Rãnh ghi khởi động FAT nói không có bảng FAT.  Kỳ lạ. "
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
-msgstr "Rãnh ghi khởi động FAT nói chùm là 0 rãnh ghi.  Kỳ lạ. "
+msgstr "Rãnh ghi khởi động FAT nói liên cung là 0 rãnh ghi.  Kỳ lạ. "
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "Hệ thống tập tin là FAT12, mà không được hỗ trợ."
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"Rãnh ghi thông tin có chữ ký sai (%x).  Hãy chọn « Thôi », và gửi một báo "
-"cáo lỗi.  Nếu liều lĩnh, thì có thể lờ đi."
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
-msgstr "Chữ ký trao đổi linux kiểu cũ không nhận ra « %10s »."
+msgstr "Chữ ký trao đổi linux kiểu cũ không nhận ra “%10s”."
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
-msgstr "Chữ ký trao đổi linux kiểu mới không nhận ra « %10s »."
+msgstr "Chữ ký trao đổi linux kiểu mới không nhận ra “%10s”."
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
-msgstr "Chữ ký trao đổi linux swsusp không nhận ra « %9s »."
+msgstr "Chữ ký trao đổi linux swsusp không nhận ra “%9s”."
 
 #: libparted/fs/hfs/probe.c:50 libparted/fs/r/hfs/probe.c:50
 #, c-format
@@ -1746,7 +1724,16 @@ msgstr ""
 "Parted không dùng được hệ thống tập tin HFS trên đĩa có kích cỡ rãnh ghi "
 "khác %d byte."
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"Hệ thống tập tin có kích thước rãnh ghi lô-gíc là %d.  GNU Parted không làm "
+"việc chính xác với kích thước rãnh ghi khác 512 byte."
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1756,11 +1743,20 @@ msgid ""
 "geometry."
 msgstr ""
 "Cấu trúc hình học CHS của hệ thống tập tin là (%d, %d, %d) mà sai. Cấu trúc "
-"hình học CHS của bảng phân vùng là (%d, %d, %d). Nếu người dùng chọn « Bỏ "
-"qua » thì không thay đổi cấu trúc hình học CHS của hệ thống tập tin. Chọn « "
-"Sửa » thì cấu trúc hình học CHS của hệ thống tập tin được đặt để tương ứng "
+"hình học CHS của bảng phân vùng là (%d, %d, %d). Nếu người dùng chọn Bỏ "
+"qua” thì không thay đổi cấu trúc hình học CHS của hệ thống tập tin. Chọn "
+"“Sửa” thì cấu trúc hình học CHS của hệ thống tập tin được đặt để tương ứng "
 "với cấu trúc hình học CHS của bảng phân vùng."
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"Rãnh ghi thông tin có chữ ký sai (%x).  Hãy chọn “Thôi”, và gửi một báo cáo "
+"lỗi.  Nếu liều lĩnh, thì có thể lờ đi."
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
@@ -1775,12 +1771,14 @@ msgstr ""
 msgid ""
 "Cluster start delta = %d, which is not a multiple of the cluster size %d."
 msgstr ""
-"Delta bắt đầu chùm = %d, mà không phải là bội số của kích thước chùm %d."
+"Delta bắt đầu liên cung = %d, mà không phải là bội số của kích thước liên "
+"cung %d."
 
 #: libparted/fs/r/fat/count.c:143
 #, c-format
 msgid "Bad directory entry for %s: first cluster is the end of file marker."
-msgstr "Mục thư mục xấu cho %s: chùm đầu tiên là cuối của đánh dấu tập tin."
+msgstr ""
+"Mục thư mục xấu cho %s: liên cung đầu tiên là cuối của đánh dấu tập tin."
 
 #: libparted/fs/r/fat/count.c:156
 #, c-format
@@ -1794,7 +1792,7 @@ msgid ""
 "Bad FAT: cluster %d outside file system in chain for %s.  You should run "
 "dosfsck or scandisk."
 msgstr ""
-"FAT xấu: chùm %d ngoài hệ thống tập tin trong chuỗi cho %s.  Cần chạy "
+"FAT xấu: liên cung %d ngoài hệ thống tập tin trong chuỗi cho %s.  Cần chạy "
 "dosfsck hoặc scandisk."
 
 #: libparted/fs/r/fat/count.c:175
@@ -1803,13 +1801,13 @@ msgid ""
 "Bad FAT: cluster %d is cross-linked for %s.  You should run dosfsck or "
 "scandisk."
 msgstr ""
-"FAT xấu: chùm %d là liên kết chồng chéo cho %s.  Cần chạy dosfsck hoặc "
+"FAT xấu: liên cung %d là liên kết chồng chéo cho %s.  Cần chạy dosfsck hoặc "
 "scandisk."
 
 #: libparted/fs/r/fat/count.c:194
 #, c-format
 msgid "%s is %dk, but it has %d clusters (%dk)."
-msgstr "%s là %dk, nhưng nó có %d chùm (%dk)."
+msgstr "%s là %dk, nhưng nó có %d liên cung (%dk)."
 
 #: libparted/fs/r/fat/count.c:257
 #, c-format
@@ -1820,12 +1818,12 @@ msgstr ""
 "Tập tin %s có dấu hiệu của tập tin hệ thống.  Có nghĩa di chuyển tập tin này "
 "có thể khiến một số chương trình dừng làm việc."
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "Phân vùng quá lớn/nhỏ đối với hệ thống tập tin %s."
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1833,26 +1831,27 @@ msgstr ""
 "Các FAT không tương ứng.  Nếu không biết ý nghĩa của nó, thì hãy chọn cancel "
 "(Thôi), chạy scandisk trên hệ thống tập tin, sau đó quay lại."
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "Không có cấu hình có thể làm cho kiểu FAT này."
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
 "size is %dk (%dk expected); number of clusters is %d (%d expected); size of "
 "FATs is %d sectors (%d expected)."
 msgstr ""
-"Hệ thống tập tin không có kích thước Windows mong đợi.  Kích thước chùm là "
-"%dk (mong đợi %dk); số chùm là %d (mong đợi %d); kích thước FAT là %d rãnh "
-"ghi (mong đợi %d)."
+"Hệ thống tập tin không có kích thước Windows mong đợi.  Kích thước liên cung "
+"là %dk (mong đợi %dk); số liên cung là %d (mong đợi %d); kích thước FAT là "
+"%d rãnh ghi (mong đợi %d)."
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
-msgstr "Hệ thống tập tin cho biết không gian trống là %d chùm, không phải %d."
+msgstr ""
+"Hệ thống tập tin cho biết không gian trống là %d liên cung, không phải %d."
 
 #: libparted/fs/r/fat/resize.c:158
 msgid ""
@@ -1907,7 +1906,7 @@ msgstr "%s  %s  %s"
 
 #: libparted/fs/r/fat/resize.c:518
 msgid "Would you like to use FAT32?"
-msgstr "Bạn có muốn dùng FAT32 ?"
+msgstr "Bạn có muốn dùng FAT32?"
 
 #: libparted/fs/r/fat/resize.c:549 libparted/fs/r/fat/resize.c:565
 #, c-format
@@ -1947,29 +1946,30 @@ msgstr ""
 #: libparted/fs/r/fat/table.c:268
 #, c-format
 msgid "fat_table_set: cluster %ld outside file system"
-msgstr "fat_table_set: chùm %ld ngoài hệ thống tập tin"
+msgstr "fat_table_set: liên cung %ld ngoài hệ thống tập tin"
 
 #: libparted/fs/r/fat/table.c:300
 #, c-format
 msgid "fat_table_get: cluster %ld outside file system"
-msgstr "fat_table_get: cluster %ld ngoài hệ thống tập tin"
+msgstr "fat_table_get: liên cung %ld nằm ở ngoài hệ thống tập tin"
 
 #: libparted/fs/r/fat/table.c:342
 msgid "fat_table_alloc_cluster: no free clusters"
-msgstr "fat_table_alloc_cluster: không còn chùm trống"
+msgstr "fat_table_alloc_cluster: không còn liên cung trống"
 
 #: libparted/fs/r/filesys.c:151
 msgid "Could not detect file system."
 msgstr "Không thể phát hiện hệ thống tập tin."
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
-#, fuzzy, c-format
+#, c-format
 msgid "resizing %s file systems is not supported"
-msgstr "Chưa thực hiện hỗ trợ thay đổi kích cỡ hệ thống tập tin %s."
+msgstr ""
+"đưa trở lại kích thước yêu cầu %s hệ thống tệp tin là không được hỗ trợ"
 
 #: libparted/fs/r/filesys.c:170
 msgid "The file system is bigger than its volume!"
-msgstr "Hệ thống tập tin lớn hơn khối tin !"
+msgstr "Hệ thống tập tin lớn hơn khối tin!"
 
 #: libparted/fs/r/hfs/advfs.c:120 libparted/fs/r/hfs/advfs_plus.c:120
 #: libparted/fs/r/hfs/reloc.c:412 libparted/fs/r/hfs/reloc.c:506
@@ -2209,11 +2209,11 @@ msgid ""
 "the file system!"
 msgstr ""
 "Tham chiếu đến một tầm đến từ vị trí không đúng. Cần kiểm tra hệ thống tập "
-"tin !"
+"tin!"
 
 #: libparted/fs/r/hfs/reloc.c:379
 msgid "This HFS volume has no catalog file.  This is very unusual!"
-msgstr "Khối tin HFS không có tập tin phân loại. Rất lạ !"
+msgstr "Khối tin HFS không có tập tin phân loại. Rất lạ!"
 
 #: libparted/fs/r/hfs/reloc.c:473
 msgid "This HFS volume has no extents overflow file.  This is quite unusual!"
@@ -2241,7 +2241,7 @@ msgstr "Gặp lỗi trong khi định vị lại tầm."
 
 #: libparted/fs/r/hfs/reloc_plus.c:493
 msgid "This HFS+ volume has no catalog file.  This is very unusual!"
-msgstr "Khối tin HFS+ không có tập tin phần loại. Rất lạ !"
+msgstr "Khối tin HFS+ không có tập tin phần loại. Rất lạ!"
 
 #: libparted/fs/r/hfs/reloc_plus.c:616
 msgid "This HFS+ volume has no extents overflow file.  This is quite unusual!"
@@ -2277,61 +2277,69 @@ msgid ""
 "primary partitions number from 1 to 4, logical partitions from 5 onwards.\n"
 msgstr ""
 "SỐ là số thứ tự phân vùng sử dụng bởi Linux.  Trên nhãn đĩa MS-DOS, các phân "
-"vùng chính có số từ 1 đến 4, và phân vùng hợp lý từ 5 trở đi.\n"
+"vùng chính có số từ 1 đến 4, và phân vùng lô-gíc từ 5 trở đi.\n"
 
 #: parted/parted.c:145
 msgid "LABEL-TYPE is one of: "
 msgstr "KIỂU_NHÃN là một trong số : "
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "CỜ là một trong số : "
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
-msgstr "ĐƠN_VỊ là một trong số : "
+msgstr "ĐƠN_VỊ là một trong số: "
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "sắp hàng đã muốn: tối thiểu hay quang"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr ""
-"KIỂU_PHẦN là một trong số :\n"
+"KIỂU_PHẦN là một trong số:\n"
 " • primary\t\tchính\n"
-" • logical\t\thợp lý\n"
+" • logical\t\tlô-gíc\n"
 " • extended\tmở rộng\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
-msgstr "KIỂU_HTTT là một trong số : "
+msgstr "KIỂU_HTTT là một trong số: "
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
 "sector.\n"
 msgstr ""
 "ĐẦU và CUỐI là vị trí trên đĩa, v.d. 4GB hay 10%.  Giá trị âm đếm từ cuối "
-"đĩa. Ví dụ, « -1s » chỉ ra chính xác rãnh ghi cuối cùng.\n"
+"đĩa. Ví dụ, “-1s” chỉ ra chính xác rãnh ghi cuối cùng.\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"CUỐI là vị trí trên đĩa, v.d. 4GB hay 10%.  Giá trị âm đếm từ cuối đĩa. Ví "
+"dụ, “-1s” chỉ ra chính xác rãnh ghi cuối cùng.\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr ""
 "TÌNH_TRẠNG là một trong số:\n"
 " • on\t\tbật\n"
 " • off\t\ttắt\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "THIẾT_BỊ thường là /dev/hda hoặc /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "TÊN là bất kỳ từ gì theo ý muốn\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2352,26 +2360,22 @@ msgstr ""
 "Xem Giấy Phép Công Cộng GNU để biết thêm chi tiết.\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(còn lại %.2d:%.2d)"
 
-#: parted/parted.c:225
+#: parted/parted.c:230
 #, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
-"Phân vùng %s đang được dùng. Người dùng cần bỏ gắn nó trước khi sửa đổi bằng "
-"Parted."
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "Phân vùng %s đang được dùng. Bạn có thực sự muốn tiếp tục không?"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "Phân vùng trên %s đang được dùng."
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2380,369 +2384,398 @@ msgstr ""
 "Nhãn đĩa đã tồn tại trên %s sẽ bị hủy và tắt cả các dữ liệu trên đĩa này sẽ "
 "bị mất hoàn toàn. Bạn vẫn còn muốn tiếp tục không?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
-msgstr "Kiểu nhãn đĩa mới ?"
+msgstr "Kiểu nhãn đĩa mới?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
-msgstr "Kiểu phân vùng ?"
+msgstr "Kiểu phân vùng?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
-msgstr "Tên phân vùng ?"
+msgstr "Tên phân vùng?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
-msgstr "Kiểu hệ thống tập tin ?"
+msgstr "Kiểu hệ thống tập tin?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
-msgstr "Đầu ?"
+msgstr "Đầu?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
-msgstr "Cuối ?"
+msgstr "Cuối?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"Người dùng đã yêu cầu tạo một phân vùng từ %s đến %s.\n"
-"Vùng gần nhất có thể quản lý là %s đến %s.%s"
+"Người dùng đã yêu cầu một phân vùng từ %s đến %s (rãnh ghi %llu..%llu).\n"
+"Vùng gần nhất có thể quản lý là %s đến %s (rãnh ghi %llu..%llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 "\n"
-"Vẫn tốt ?"
+"Vẫn tốt?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr "Phân vùng kết quả chưa được sắp hàng cho hiệu suất tốt nhất."
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
-msgstr "Số thứ tự phân vùng ?"
+msgstr "Số thứ tự phân vùng?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr "Dạng hình trụ,đầu,rãnh ghi BIOS: %d,%d,%d. Mỗi trụ là %s.\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "Mô hình: %s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "Đĩa %s: %s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
-msgstr "Kích cỡ rãnh ghi (hợp lý/vật lý): %lldB/%lldB\n"
+msgstr "Kích cỡ rãnh ghi (lô-gíc/vật lý): %lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "Bảng Phân Vùng: %s\n"
 
-#: parted/parted.c:992
-#, fuzzy, c-format
+#: parted/parted.c:1017
+#, c-format
 msgid "Disk Flags: %s\n"
-msgstr "Đĩa %s: %s\n"
+msgstr "Các cờ của đĩa: %s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "Số"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "Đầu"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "Cuối"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "Kích cỡ"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "Kiểu"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "Hê thống tập tin"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "Tên"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "Cờ"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "Chỗ trống"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
 "partition table?"
 msgstr ""
-"Tìm thấy một phân vùng %s %s tại %s -> %s.  Thêm nó vào bảng phân vùng ?"
+"Tìm thấy một phân vùng %s %s tại %s -> %s.  Thêm nó vào bảng phân vùng?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "đang tìm kiếm hệ thống tập tin"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr "Lệnh resize đã bị gỡ bỏ trong parted 3.0"
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+"Co nhỏ một phân vùng có thể làm dữ liệu bị mất, bạn có thực sự muốn tiếp tục "
+"không?"
+
+#: parted/parted.c:1609
 msgid "New device?"
-msgstr "Thiết bị mới ?"
+msgstr "Thiết bị mới?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "cách sắp hàng (tiểu/quang)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d đã xếp hàng\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d chưa xếp hàng\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
-msgstr "Cờ cần đảo ngược ?"
+msgstr "Cờ cần đảo ngược?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
-msgstr "Tình trạng mới ?"
+msgstr "Tình trạng mới?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
-msgstr "Đơn vị ?"
+msgstr "Đơn vị?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "align-check"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
-"align-check KIỂU SỐ                        kiểm tra phân vùng SỐ có sắp hàng "
+"align-check KIỂU N                       kiểm tra phân vùng SỐ có sắp hàng "
 "KIỂU (min|opt)"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "trợ giúp"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr ""
-"help [LỆNH]                in trợ giúp chung, hoặc trợ giúp trên câu LỆNH"
+"help [LỆNH]                              in trợ giúp chung, hoặc trợ giúp "
+"trên câu LỆNH"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "tạo nhãn"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "tạo bảng"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr ""
-"mklabel,mktable KIỂU_NHÃN            tạo một nhãn đĩa mới (bảng phân vùng)"
+"mklabel,mktable KIỂU_NHÃN                tạo một nhãn đĩa mới (bảng phân "
+"vùng)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "tạo phân vùng"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart KIỂU_PV [KIỂU_HTTT] ĐẦU CUỐI      tạo một phân vùng"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
 msgstr ""
-"« mkpart » tạo một phân vùng mà không tạo một hệ thống tập tin mới trên phân "
+"“mkpart” tạo một phân vùng mà không tạo một hệ thống tập tin mới trên phân "
 "vùng đó.  Có thể chỉ ra KIỂU_HTTT (kiểu hệ thống tập tin) để đặt một mã số "
 "phân vùng thích hợp.\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "tên"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
-msgstr "name SỐ TÊN                         đặt tên phân vùng SỐ là TÊN"
+msgstr "name SỐ TÊN                              đặt tên phân vùng SỐ là TÊN"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "in"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
-"print [devices|free|list,all|SỐ]     hiển thị phân vùng và:\n"
-" • devices\t\tcác thiết bị sẵn sàng\n"
-" • free\t\tsức chứa còn trống\n"
-" • list,all\t\ttất cả các phân vùng đã tìm\n"
-" • SỐ\t\t\tmột phân vùng nào đó"
+"print [devices|free|list,all|SỐ]         hiển thị phân vùng và:\n"
+" • devices   các thiết bị sẵn sàng\n"
+" • free      chỗ còn trống\n"
+" • list,all  tất cả các phân vùng tìm thấy\n"
+" • SỐ        một phân vùng cụ thể"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
-"Khi không có đối số, « print » hiển thị toàn bộ bảng phân vùng.  Nếu đưa\n"
-"ra các đối số theo sau, thì nó làm một số hành vi khác.\n"
+"Khi không có đối số, “print” hiển thị toàn bộ bảng phân vùng.  Nếu đưa ra "
+"các đối số theo sau, thì nó làm một số hành vi khác.\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices   : hiển thị tất cả các thiết bị khối vẫn hoạt động\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
-"  free      : hiển thị thông tin về sức chứa còn trống chưa phân vùng trên "
-"thiết bị khối hiện thời\n"
+"  free      : hiển thị thông tin về chỗ còn trống chưa phân vùng trên thiết "
+"bị khối hiện thời\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 "  list, all : hiển thị các bảng phân vùng của mọi thiết bị khối vẫn hoạt "
 "động\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
-msgstr "  SỐ    : hiển thị thông tin chi tiết hơn về phân vùng này\n"
+msgstr "  SỐ             : hiển thị nhiều thông tin hơn nữa về phân vùng này\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "thoát"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     thoát khỏi chương trình"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "cứu"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
 msgstr ""
-"rescue ĐẦU CUỐI              phục hồi một phân vùng đã mất cạnh ĐẦU và CUỐI"
+"rescue ĐẦU CUỐI                          phục hồi một phân vùng đã mất cạnh "
+"ĐẦU và CUỐI"
+
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "đổi cỡ"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr "Lệnh resize đã bị gỡ bỏ trong parted 3.0\n"
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr "resizepart"
+
+#: parted/parted.c:2009
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "resizepart SỐ CUỐI                       đổi cỡ phân vùng SỐ"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "bỏ"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
-msgstr "rm SỐ                      xóa bỏ phân vùng SỐ"
+msgstr "rm SỐ                                    xóa bỏ phân vùng SỐ"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "chọn"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
-msgstr "select THIẾT_BỊ                 chọn thiết bị cần sửa"
+msgstr "select THIẾT_BỊ                          chọn thiết bị cần sửa"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
-msgstr ""
+msgstr "disk_set"
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set SỐ CỜ TÌNH_TRẠNG                    thay đổi CỜ trên phân vùng SỐ"
+msgstr ""
+"disk_set  TRẠNG_THÁI_CỜ                  thay đổi CỜ trên thiết bị đã chọn"
 
-#: parted/parted.c:1918
-#, fuzzy
+#: parted/parted.c:2038
 msgid "disk_toggle"
-msgstr "bật/tắt"
+msgstr "disk_toggle"
 
-#: parted/parted.c:1921
-#, fuzzy
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
-"toggle [SỐ [CỜ]]                   bật/tắt tình trạng của CỜ trên phân vùng "
-"SỐ"
+"disk_toggle [CỜ]                         bật/tắt tình trạng của CỜ trên "
+"thiết bị đã chọn"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "đặt"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
-msgstr "set SỐ CỜ TÌNH_TRẠNG                    thay đổi CỜ trên phân vùng SỐ"
+msgstr "set SỐ CỜ TÌNH TRẠNG                     thay đổi CỜ trên phân vùng SỐ"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "bật/tắt"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
-"toggle [SỐ [CỜ]]                   bật/tắt tình trạng của CỜ trên phân vùng "
-"SỐ"
+"toggle [SỐ [CỜ]]                         bật/tắt tình trạng của CỜ trên phân "
+"vùng SỐ"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "đơn vị"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
-msgstr "unit ĐƠN_VỊ                                đặt đơn vị mặc định"
+msgstr ""
+"unit ĐƠN_VỊ                              đặt đơn vị mặc định thành ĐƠN_VỊ"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "phiên bản"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
@@ -2750,38 +2783,37 @@ msgstr ""
 "version                                  hiển thị số thứ tự phiên bản và "
 "thông tin tác quyền về GNU Parted"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
-"« version » hiển thị thông tin về tác quyền và phiên bản tương ứng với bản "
-"sao GNU Parted này\n"
+"“version” hiển thị thông tin về tác quyền và phiên bản tương ứng với bản sao "
+"GNU Parted này\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
-msgstr "Sử dụng: %s [-hlmsv] [-a<sắp_hàng>] [THIẾT_BỊ [LỆNH [THAM_SỐ]]...]\n"
+msgstr "Cách dùng: %s [-hlmsv] [-a<sắp_hàng>] [THIẾT_BỊ [LỆNH [THAM_SỐ]]...]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "Không tìm thấy thiết bị"
 
-#: parted/parted.c:2109
-#, fuzzy
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
-"CẢNH BÁO : bạn không phải là siêu người dùng nên bạn không thể thay đổi các "
-"quyền truy cập."
+"CẢNH BÁO: bạn không phải là siêu người dùng. Hãy để ý đến các quyền truy "
+"cập.\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
-msgstr "Có thể cần cập nhật tập tin « /etc/fstab ».\n"
+msgstr "Có thể cần cập nhật tập tin “/etc/fstab”.\n"
 
 #: parted/ui.c:162
 msgid "Welcome to GNU Parted! Type 'help' to view a list of commands.\n"
 msgstr ""
-"Chào mừng bạn đến với GNU Parted ! Hãy gõ « help » để xem danh sách các câu "
+"Chào mừng bạn đến với GNU Parted! Hãy gõ “help” để xem danh sách các câu "
 "lệnh.\n"
 
 #: parted/ui.c:165
@@ -2791,9 +2823,9 @@ msgid ""
 "in\n"
 "interactive mode.\n"
 msgstr ""
-"Sử dụng: parted [TÙY_CHỌN]... [THIẾT_BỊ [LỆNH [THAM_SỐ]...]...]\n"
-"Áp dụng các câu LỆNH với các THAM_SỐ tới THIẾT_BỊ.  Nếu\n"
-"không có câu LỆNH nào chạy trong chế độ hỏi đáp.\n"
+"Cách dùng: parted [TÙY_CHỌN]... [THIẾT_BỊ [LỆNH [THAM_SỐ]...]...]\n"
+"Áp dụng các câu LỆNH với các THAM_SỐ cho THIẾT_BỊ.  Nếu\n"
+"không có câu LỆNH nào thì chạy trong chế độ hỏi đáp.\n"
 
 #: parted/ui.c:170
 #, c-format
@@ -2830,7 +2862,7 @@ msgid ""
 msgstr ""
 "\n"
 "\n"
-"Bạn đã tìm một lỗi trong phần mềm GNU Parted ! Hãy bình tĩnh, rất có thể là "
+"Bạn đã tìm một lỗi trong phần mềm GNU Parted! Hãy bình tĩnh, rất có thể là "
 "lỗi này không có tác động dữ liệu của bạn.\n"
 "\n"
 "Xin hãy giúp chúng tôi sửa chữa lỗi này bằng cách theo những bước theo đây:\n"
@@ -2856,7 +2888,7 @@ msgstr ""
 "là quan trọng.\n"
 "\n"
 "Một khi bạn làm những bước trên, cám ơn bạn giúp phát triển phần mềm GNU "
-"Parted tốt hơn ! :)\n"
+"Parted tốt hơn! :)\n"
 
 #: parted/ui.c:291
 msgid ""
@@ -2864,7 +2896,7 @@ msgid ""
 "Command History:\n"
 msgstr ""
 "\n"
-"Lược sử Câu lệnh:\n"
+"Lịch sử các lệnh:\n"
 
 #: parted/ui.c:354
 msgid ""
@@ -2912,7 +2944,7 @@ msgid ""
 "Error: FPE_FLTDIV (Float: divide by zero)"
 msgstr ""
 "\n"
-"Lỗi: FPE_FLTDIV (Phù động: chia cho không)"
+"Lỗi: FPE_FLTDIV (Số thực dấu chấm động: chia cho không)"
 
 #: parted/ui.c:404
 msgid ""
@@ -2920,7 +2952,7 @@ msgid ""
 "Error: FPE_FLTOVF (Float: overflow)"
 msgstr ""
 "\n"
-"Lỗi: FPE_FLTOVF (Phù động: tràn)"
+"Lỗi: FPE_FLTOVF (Số thực dấu chấm động: tràn)"
 
 #: parted/ui.c:409
 msgid ""
@@ -2928,7 +2960,7 @@ msgid ""
 "Error: FPE_FLTUND (Float: underflow)"
 msgstr ""
 "\n"
-"Lỗi: FPE_FLTUND (Phù động: tràn ngược)"
+"Lỗi: FPE_FLTUND (Số thực dấu chấm động: tràn ngược)"
 
 #: parted/ui.c:414
 msgid ""
@@ -2936,7 +2968,7 @@ msgid ""
 "Error: FPE_FLTRES (Float: inexact result)"
 msgstr ""
 "\n"
-"Lỗi: FPE_FLTRES (Phù động: kết quả không chính xác)"
+"Lỗi: FPE_FLTRES (Số thực dấu chấm động: kết quả không chính xác)"
 
 #: parted/ui.c:419
 msgid ""
@@ -2944,7 +2976,7 @@ msgid ""
 "Error: FPE_FLTINV (Float: invalid operation)"
 msgstr ""
 "\n"
-"Lỗi: FPE_FLTINV (Phù động: thao tác sai)"
+"Lỗi: FPE_FLTINV (Số thực dấu chấm động: thao tác sai)"
 
 #: parted/ui.c:424
 msgid ""
@@ -2952,7 +2984,7 @@ msgid ""
 "Error: FPE_FLTSUB (Float: subscript out of range)"
 msgstr ""
 "\n"
-"Lỗi: FPE_FLTSUB (Phù động: chữ thấp ở ngoại phạm vi)"
+"Lỗi: FPE_FLTSUB (Số thực dấu chấm động: chữ thấp ở ngoại phạm vi)"
 
 #: parted/ui.c:429
 msgid ""
@@ -2992,7 +3024,7 @@ msgid ""
 "Error: ILL_ILLTRP (Illegal Trap)"
 msgstr ""
 "\n"
-"Lỗi : ILL_ILLTRP (Bẫy cấm)"
+"Lỗi: ILL_ILLTRP (Bẫy cấm)"
 
 #: parted/ui.c:473
 msgid ""
@@ -3034,65 +3066,65 @@ msgstr ""
 "\n"
 "Lỗi: gặp một tín hiệu SIGILL chung."
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "hiệu bài sai: %s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "Mong đợi số thứ tự phân vùng."
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "Phân vùng không tồn tại."
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
-msgstr "Mong đợi kiểu hệ thống tập tin."
+msgstr "Cần kiểu hệ thống tập tin."
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
-msgstr "Không rõ kiểu hệ thống tập tin « %s »."
+msgstr "Không rõ kiểu hệ thống tập tin “%s”."
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "Mong đợi kiểu nhãn đĩa."
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "Không thể tạo phân vùng thêm nữa."
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
-msgstr "Mong đợi kiểu phân vùng."
+msgstr "Cần một kiểu phân vùng."
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "bật"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "tắt"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "tối ưu"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "tối thiểu"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "TÙY CHỌN:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "LỆNH:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -3100,21 +3132,45 @@ msgid ""
 msgstr ""
 "\n"
 "Gửi báo cáo lỗi tới %s\n"
+"Thông báo lỗi dịch cho: <http://translationproject.org/team/vi.html>.\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "Dùng %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương tác.\n"
 
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "Không thêm được phân vùng %d (%s)"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "Parted không đọc lại được bảng phân vùng trên %s (%s).  Có nghĩa là Linux "
+#~ "sẽ không biết về những thay đổi đã tạo ra."
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s chứa chữ ký GPT, chỉ ra nó có bảng GPT.  Tuy nhiên, nó không có một "
+#~ "bảng phân vùng giả msdos cần thiết.  Có thể nó đã bị làm hỏng bởi một "
+#~ "chương trình không hiểu bảng phân vùng GPT.  Hoặc có thể người dùng đã "
+#~ "xoá bảng GPT, và bây giờ đang sử dụng một bảng phân vùng msdos.  Đây có "
+#~ "phải là một bảng phân vùng GPT?"
+
 #~ msgid ""
 #~ "Usage: %s [OPTION]\n"
 #~ "  or:  %s DEVICE MINOR\n"
 #~ msgstr ""
-#~ "Sử dụng: %s [TÙY_CHỌN]\n"
+#~ "Cách dùng: %s [TÙY_CHỌN]\n"
 #~ "  hoặc:  %s THIẾT_BỊ PHỤ\n"
 
 #~ msgid ""
@@ -3178,7 +3234,7 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ msgstr "đang tạo"
 
 #~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr "Hệ thống tập tin có tình trạng không hợp lệ. Có thể là nó bị gắn ?"
+#~ msgstr "Hệ thống tập tin có tình trạng không hợp lệ. Có thể là nó bị gắn?"
 
 #~ msgid "The file system is in old (unresizeable) format."
 #~ msgstr ""
@@ -3186,23 +3242,23 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 
 #~ msgid "Invalid free blocks count.  Run reiserfsck --check first."
 #~ msgstr ""
-#~ "Đếm sai số các khối trống. Trước tiên hãy chạy câu lệnh kiểm tra « "
-#~ "reiserfsck --check »."
+#~ "Đếm sai số các khối trống. Trước tiên hãy chạy câu lệnh kiểm tra "
+#~ "“reiserfsck --check”."
 
 #~ msgid "checking"
 #~ msgstr "đang kiểm tra"
 
 #~ msgid "Reiserfs tree seems to be corrupted.  Run reiserfsck --check first."
 #~ msgstr ""
-#~ "Có vẻ là cây reiserfs bị hỏng. Trước tiên hãy chạy câu lệnh kiểm tra « "
-#~ "reiserfsck --check »."
+#~ "Có vẻ là cây reiserfs bị hỏng. Trước tiên hãy chạy câu lệnh kiểm tra "
+#~ "“reiserfsck --check”."
 
 #~ msgid ""
 #~ "The reiserfs file system passed a basic check.  For a more comprehensive "
 #~ "check, run reiserfsck --check."
 #~ msgstr ""
 #~ "Hệ thống tập tin reiserfs đã qua kiểm tra cơ bản.  Để kiểm tra kỹ hơn, "
-#~ "hãy chạy câu lệnh kiểm tra « reiserfsck --check »."
+#~ "hãy chạy câu lệnh kiểm tra “reiserfsck --check”."
 
 #~ msgid "Sorry, can't move the start of reiserfs partitions yet."
 #~ msgstr "Tiếc là chưa có thể di chuyển đầu của phân vùng reiserfs."
@@ -3216,9 +3272,6 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ msgid "Couldn't create reiserfs device abstraction handler."
 #~ msgstr "Không thể tạo bộ quản lý sự nhìn trừu tượng thiết bị reiserfs."
 
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "Thiết bị quá nhỏ để chứa %lu khối."
-
 #~ msgid "copying"
 #~ msgstr "đang sao chép"
 
@@ -3235,8 +3288,12 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "GNU Parted phát hiện được phiên bản giao diện libreiserfs không tương "
 #~ "ứng. Tìm %d-%d, cần %d. Vì thế phải tắt hỗ trợ ReiserFS."
 
+#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
+#~ msgstr ""
+#~ "Đây không phải là một đĩa ECKD! Loại đĩa này không phải được hỗ trợ!"
+
 #~ msgid "Inconsistent group descriptors!"
-#~ msgstr "Các mô tả nhóm không đồng nhất !"
+#~ msgstr "Các mô tả nhóm không đồng nhất!"
 
 #~ msgid "File system full!"
 #~ msgstr "Hê thống tập tin đầy"
@@ -3247,7 +3304,7 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "không?"
 
 #~ msgid "File system has errors!  You should run e2fsck."
-#~ msgstr "Hệ thống tập tin có lỗi !  Cần chạy e2fsck."
+#~ msgstr "Hệ thống tập tin có lỗi!  Cần chạy e2fsck."
 
 #~ msgid ""
 #~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
@@ -3279,13 +3336,13 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "trước."
 
 #~ msgid "Not enough free inodes!"
-#~ msgstr "Không đủ inode còn rảnh !"
+#~ msgstr "Không đủ inode còn rảnh!"
 
 #~ msgid "File system is too full to remove a group!"
-#~ msgstr "Hệ thống tập tin quá đầy để gỡ bỏ một nhóm !"
+#~ msgstr "Hệ thống tập tin quá đầy để gỡ bỏ một nhóm!"
 
 #~ msgid "File system has too many allocated inodes to remove a group!"
-#~ msgstr "Hệ thống tập tin có quá nhiều inode phân phối để xóa một nhóm !"
+#~ msgstr "Hệ thống tập tin có quá nhiều inode phân phối để xóa một nhóm!"
 
 #~ msgid "adding groups"
 #~ msgstr "đang thêm nhóm"
@@ -3302,7 +3359,7 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "%i khối. Rất tiếc."
 
 #~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
-#~ msgstr "Hệ thống tập tin chưa được bỏ gắn đúng !  Cần chạy e2fsck."
+#~ msgstr "Hệ thống tập tin chưa được bỏ gắn đúng!  Cần chạy e2fsck."
 
 #~ msgid ""
 #~ "The file system has the 'dir_index' feature enabled.  Parted can only "
@@ -3310,10 +3367,10 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "later by running 'tune2fs -O dir_index DEVICE' and then 'e2fsck -fD "
 #~ "DEVICE'."
 #~ msgstr ""
-#~ "Hệ thống tập tin có tính năng « dir_index » bật dùng.  Parted chỉ có thể "
+#~ "Hệ thống tập tin có tính năng “dir_index” bật dùng.  Parted chỉ có thể "
 #~ "thay đổi kích thước của hệ thống tập tin nếu tắt bỏ tính năng này.  Có "
-#~ "thể bật dùng lại tính năng sau này bằng « tune2fs -O dir_index THIẾT_BỊ » "
-#~ "và sau đó « e2fsck -fD THIẾT_BỊ »."
+#~ "thể bật dùng lại tính năng sau này bằng “tune2fs -O dir_index THIẾT_BỊ” "
+#~ "và sau đó “e2fsck -fD THIẾT_BỊ”."
 
 #~ msgid ""
 #~ "A resize operation on this file system will use EXPERIMENTAL code\n"
@@ -3324,17 +3381,17 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "Thao tác thay đổi kích cỡ trên hệ thống tập tin này thì dùng mã nguồn VẪN "
 #~ "THỰC NGHIỆM mà CÓ THỂ LÀM HỎNG nó (dù chưa có người dùng thông báo trường "
 #~ "hợp này).\n"
-#~ "ít nhất người dùng nên sao lưu dữ liệu trước, và chạy « e2fsck -f » sau."
+#~ "ít nhất người dùng nên sao lưu dữ liệu trước, và chạy “e2fsck -f” sau."
 
 #~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
 #~ msgstr ""
-#~ "Tìm thấy các khối liên kết chồng chéo ! Tốt nhất hãy chạy e2fsck trước !"
+#~ "Tìm thấy các khối liên kết chồng chéo! Tốt nhất hãy chạy e2fsck trước!"
 
 #~ msgid "Block %i has no reference?  Weird."
-#~ msgstr "Khối %i không có tham chiếu ? Kỳ lạ."
+#~ msgstr "Khối %i không có tham chiếu? Kỳ lạ."
 
 #~ msgid "Block %i shouldn't have been marked (%d, %d)!"
-#~ msgstr "Khối %i không nên bị đánh dấu (%d, %d) !"
+#~ msgstr "Khối %i không nên bị đánh dấu (%d, %d)!"
 
 #~ msgid ""
 #~ "The ext2 file system passed a basic check.  For a more comprehensive "
@@ -3344,10 +3401,10 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "dùng chương trình e2fsck."
 
 #~ msgid "Sorry, can't move the start of ext2 partitions yet!"
-#~ msgstr "Tiếc là chưa có thể di chuyển đầu của phân vùng ext2 !"
+#~ msgstr "Tiếc là chưa có thể di chuyển đầu của phân vùng ext2!"
 
 #~ msgid "Couldn't flush buffer cache!"
-#~ msgstr "Không thể chuyển hết ra ngoài vùng nhớ tạm bộ đệm !"
+#~ msgstr "Không thể chuyển hết ra ngoài vùng nhớ tạm bộ đệm!"
 
 #~ msgid "writing per-group metadata"
 #~ msgstr "đang ghi siêu dữ liệu từng nhóm"
@@ -3379,8 +3436,7 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "Support for performing most operations on most types of file systems\n"
 #~ "will be removed in an upcoming release.\n"
 #~ msgstr ""
-#~ "CẢNH BÁO : bạn đang thử sử dụng %s để thao tác một hệ thống tập tin "
-#~ "(%s).\n"
+#~ "CẢNH BÁO: bạn đang thử sử dụng %s để thao tác một hệ thống tập tin (%s).\n"
 #~ "Mã nguồn thao tác hệ thống tập tin của %s không phải cùng mạnh\n"
 #~ "với gói dành cho hệ thống tập tin như e2fsprogs.\n"
 #~ "Khuyên bạn chỉ sử dụng %s để thao tác bảng phân vùng, khi nào có thể.\n"
@@ -3388,17 +3444,17 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "đối với gần tất cả các kiểu hệ thống tập tin.\n"
 
 #~ msgid "Source partition number?"
-#~ msgstr "Số thứ tự phân vùng nguồn ?"
+#~ msgstr "Số thứ tự phân vùng nguồn?"
 
 #~ msgid "Can't copy an extended partition."
 #~ msgstr "Không thể sao chép phân vùng mở rộng."
 
 #~ msgid "Destination partition number?"
-#~ msgstr "Số thứ tự phân vùng đích ?"
+#~ msgstr "Số thứ tự phân vùng đích?"
 
 #~ msgid ""
 #~ "An extended partition cannot hold a file system.  Did you want mkpart?"
-#~ msgstr "Phân vùng mở rộng không thể có hệ thống tập tin.  Bạn muốn mkpart ?"
+#~ msgstr "Phân vùng mở rộng không thể có hệ thống tập tin.  Bạn muốn mkpart?"
 
 #~ msgid "Can't move an extended partition."
 #~ msgstr "Không thể di chuyển phân vùng mở rộng."
@@ -3406,22 +3462,22 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
 #~ msgstr ""
 #~ "Không thể di chuyển một phân vùng lên chính nó.  Có thể, hãy thử thay đổi "
-#~ "kích thước ?"
+#~ "kích thước?"
 
 #~ msgid "Minor: %d\n"
-#~ msgstr "Phụ : %d\n"
+#~ msgstr "Phụ: %d\n"
 
 #~ msgid "Flags: %s\n"
-#~ msgstr "Cờ : %s\n"
+#~ msgstr "Cờ: %s\n"
 
 #~ msgid "File System: %s\n"
 #~ msgstr "Hệ thống Tập tin: %s\n"
 
 #~ msgid "Size:         "
-#~ msgstr "Cỡ :         "
+#~ msgstr "Cỡ:         "
 
 #~ msgid "Minimum size: "
-#~ msgstr "Kích cỡ tối thiểu : "
+#~ msgstr "Kích cỡ tối thiểu: "
 
 #~ msgid "Maximum size: "
 #~ msgstr "Kích cỡ tối đa: "
@@ -3469,12 +3525,6 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ msgid "move"
 #~ msgstr "dời"
 
-#~ msgid "move NUMBER START END                    move partition NUMBER"
-#~ msgstr "move SỐ ĐẦU CUỐI          di chuyển phân vùng SỐ"
-
-#~ msgid "resize"
-#~ msgstr "đổi cỡ"
-
 #~ msgid ""
 #~ "resize NUMBER START END                  resize partition NUMBER and its "
 #~ "file system"
@@ -3482,15 +3532,11 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "resize SỐ ĐẦU CUỐI              thay đổi kích cỡ của phân vùng số và hệ "
 #~ "thống tập tin của nó"
 
-#~ msgid "This is not an ECKD disk!  This disk type is not supported!"
-#~ msgstr ""
-#~ "Đây không phải là một đĩa ECKD ! Loại đĩa này không phải được hỗ trợ !"
-
 #~ msgid ""
 #~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
 #~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
 #~ msgstr ""
-#~ "Thiết bị %s có kích cỡ rãnh ghi hợp lý %lld. Vẫn còn có phần của chương "
+#~ "Thiết bị %s có kích cỡ rãnh ghi lô-gíc %lld. Vẫn còn có phần của chương "
 #~ "trình GNU Parted mà không hỗ trợ tính năng này, và mã nguồn làm việc vẫn "
 #~ "RẤT THỰC NGHIỆM.\n"
 
@@ -3498,5 +3544,5 @@ msgstr "Câu lệnh này không có ý nghĩa trong chế độ không tương t
 #~ "WARNING: the kernel failed to re-read the partition table on %s (%s).  As "
 #~ "a result, it may not reflect all of your changes until after reboot."
 #~ msgstr ""
-#~ "CẢNH BÁO : hạt nhân không đọc lại được bảng phân vùng trên %s (%s). Kết "
+#~ "CẢNH BÁO: hạt nhân không đọc lại được bảng phân vùng trên %s (%s). Kết "
 #~ "quả là bạn có thể cần phải khởi động lại để mọi thay đổi có tác dụng."
index 4f3db69e7f8d5be98eccdedcf60f16f7d8266952..dd8cdc4f7b628ad2d4d281dc995cbc53924b82fb 100644 (file)
Binary files a/po/zh_CN.gmo and b/po/zh_CN.gmo differ
index f185a781a6f07ab4c1fe97b6eb81930cbee6613c..ae17c3206503572ec037c089fa1c9a10643a3aaf 100644 (file)
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: parted 1.6.6\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
 "PO-Revision-Date: 2003-08-01 11:27+0800\n"
 "Last-Translator: Wang Li <charles@linux.net.cn>\n"
 "Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
@@ -29,7 +29,7 @@ msgstr ""
 msgid "Valid arguments are:"
 msgstr ""
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr ""
 
@@ -59,14 +59,14 @@ msgid "%s: option '--%s' requires an argument\n"
 msgstr ""
 
 #: lib/getopt.c:742 lib/getopt.c:745
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '--%s'\n"
-msgstr "ÎÞ·¨´ò¿ª %s - ÎÞ·¨Ê¶±ðµÄ´ÅÅ̱êÇ©¡£"
+msgstr ""
 
 #: lib/getopt.c:753 lib/getopt.c:756
-#, fuzzy, c-format
+#, c-format
 msgid "%s: unrecognized option '%c%s'\n"
-msgstr "ÎÞ·¨´ò¿ª %s - ÎÞ·¨Ê¶±ðµÄ´ÅÅ̱êÇ©¡£"
+msgstr ""
 
 #: lib/getopt.c:805 lib/getopt.c:808
 #, c-format
@@ -114,83 +114,83 @@ msgstr ""
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr ""
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr ""
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr ""
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr ""
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr ""
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr ""
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr ""
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr ""
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr ""
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr ""
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr ""
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr ""
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr ""
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr ""
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr ""
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr ""
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr ""
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr ""
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr ""
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr ""
 
@@ -200,7 +200,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr ""
 
@@ -210,7 +210,7 @@ msgstr ""
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr ""
 
@@ -367,9 +367,9 @@ msgid "memory exhausted"
 msgstr ""
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "ÎÞ·¨´ò¿ª %s¡£"
+msgstr ""
 
 #: lib/xstrtol-error.c:68
 #, c-format
@@ -386,58 +386,58 @@ msgid "Disk Image"
 msgstr ""
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "´ò¿ª %s ³ö´í£º%s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr "ÎÞ·¨ÒÔ¶Áд·½Ê½´ò¿ª %s (%s)¡£%s ÒѰ´ÕÕÖ»¶Á·½Ê½´ò¿ª¡£"
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "ÔÚΪ¶ÁÈ¡ %2$s ¶øµ÷Óàseek Ê± %1$s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "ÔÚ¶ÁÈ¡ %2$s ÆÚ¼ä %1$s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "ÓÉÓÚ %s ÊÇÒÔÖ»¶Á·½Ê½´ò¿ªµÄ£¬Òò´ËÎÞ·¨Ð´Èë¡£"
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "ÔÚΪдÈë %2$s µ÷Óàseek Ê± %1$s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "ÔÚдÈë %2$s Ê± %1$s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr ""
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -447,13 +447,13 @@ msgid ""
 "  -v, --version    output version information and exit\n"
 msgstr ""
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
 msgstr ""
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -494,7 +494,7 @@ msgstr ""
 "%s (%s) ÉϵķÖÇø±í¡£ÕâÒâζ×Å Hurd ²»ÖªµÀÈκÎÄúËù×÷µÄÐ޸ġ£ÄúÓ¦¸ÃÔÚ¶Ô %s ×öÈÎ"
 "ºÎ²Ù×÷Ö®Ç°ÖØÐÂÆô¶¯ÄúµÄ¼ÆËã»ú¡£"
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -507,45 +507,45 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s ÊÔͼ½« %s Í¬²½µ½´ÅÅÌÉÏ"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "ÎÞ·¨¶ÔÉ豸 %s - %s ×ö stat ²Ù×÷¡£"
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, fuzzy, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "ÎÞ·¨È·¶¨ %s (%s) µÄ´óС"
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
 "Using the default sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
 "Using the logical sector size (%lld)."
 msgstr ""
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, fuzzy, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "ÎÞ·¨È·¶¨ %s (%s) µÄ´óС"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "ÎÞ·¨»ñÈ¡É豸 %s - %s µÄ±êʶ"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr ""
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -554,12 +554,12 @@ msgid ""
 "Please consult the web site for up-to-date information."
 msgstr ""
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "³õʼ»¯ SCSI É豸 %s - %s ³ö´í"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, fuzzy, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -567,7 +567,7 @@ msgid ""
 msgstr ""
 "É豸 %s µÄ³¤¶ÈΪÁ㣬Òò´ËÎÞ·¨±£´æÎļþϵͳ»ò·ÖÇø±í¡£¿ÉÄÜÄúÑ¡ÔñÁË´íÎóµÄÉ豸£¿"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, fuzzy, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -576,87 +576,87 @@ msgstr ""
 "ÎÞ·¨È·¶¨Îļþ/É豸µÄ¼¸ºÎ½á¹¹¡£³ý·ÇÄúȷʵ֪µÀÄúÔÚ×öʲô£¬·ñÔòÄú²»¸ÃʹÓà"
 "Parted£¡"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr ""
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID ¿ØÖÆÆ÷"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr ""
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr ""
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq ÖÇÄÜÕóÁÐ"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATARAID ¿ØÖÆÆ÷"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O ¿ØÖÆÆ÷"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr ""
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 #, fuzzy
 msgid "Loopback device"
 msgstr "Ô´É豸£¿"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr ""
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "δ֪"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr ""
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr ""
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  ²»Ö§³ÖµÄÉ豸ÀàÐÍ"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, fuzzy, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "´ò¿ª %s ³ö´í£º%s"
 
-#: libparted/arch/linux.c:1767
+#: libparted/arch/linux.c:1846
 #, c-format
 msgid "%0.0send of file while reading %s"
 msgstr ""
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, fuzzy, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -666,17 +666,12 @@ msgstr ""
 "֪ͨÄں˹ØÓÚ·ÖÇø %s - %s µÄÐÞ¸Äʱ³ö´í¡£ÕâÒâζ×Å Linux ÔÚÖØÐÂÆô¶¯Ö®Ç°ÎÞ·¨ÖªµÀ"
 "ÄúÕë¶Ô %s Ëù×÷µÄÈκÎÐ޸Ġ- ËùÒÔÄúÒ²²»ÄÜÔÚÖØÐÂÆô¶¯Ö®Ç°¼ÓÔØ»òÒÔÈκη½Ê½Ê¹ÓÃËü¡£"
 
-#: libparted/arch/linux.c:2517
+#: libparted/arch/linux.c:2683
 #, fuzzy, c-format
 msgid "Unable to determine the start and length of %s."
 msgstr "ÎÞ·¨È·¶¨ %s (%s) µÄ´óС"
 
-#: libparted/arch/linux.c:2632
-#, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr ""
-
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -685,30 +680,17 @@ msgid ""
 "making further changes."
 msgstr ""
 
-#: libparted/arch/linux.c:2785
-#, fuzzy, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"ÄÚºËÎÞ·¨ÖØÐ¶ÁÈ¡ %s (%s) ÉϵķÖÇø±í¡£ÕâÒâζÕâ Linux ÔÚÄúÖØÐÂÆô¶¯Ö®Ç°ÎÞ·¨ÖªµÀ"
-"ÈκÎÐ޸ġ£ÄúÓ¦¸ÃÔÚ¶Ô %s ×öÈκβÙ×÷  Ö®Ç°ÖØÐÂÆô¶¯ÄúµÄ¼ÆËã»ú¡£"
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, fuzzy, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "ÎÞ·¨ÔÚ¿ªÊ¼Ö®Ç°½áÊø£¡"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "ÎÞ·¨È÷ÖÇø³¬³ö´ÅÅÌ£¡"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, fuzzy, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "ÊÔͼдÈë %3$s ÉÏ·ÖÇøÖ®ÍâµÄÉÈÇø %1$ld-%2$ld"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "¼ì²é»µ¿é"
 
@@ -722,162 +704,180 @@ msgstr ""
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr ""
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, fuzzy, c-format
 msgid "%s: unrecognised disk label"
 msgstr "ÎÞ·¨´ò¿ª %s - ÎÞ·¨Ê¶±ðµÄ´ÅÅ̱êÇ©¡£"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
 msgstr "Õâ¸ö libparted ²»Ö§³Ö¶Ô %s µÄд²Ù×÷¡£¿ÉÄÜËüÊǰ´Ö»¶Á·½Ê½±àÒëµÄ¡£"
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, fuzzy, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "·ÖÇø %d Îª %.3fMb£¬µ«ÎļþϵͳΪ %.3fMb¡£"
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr ""
 
-#: libparted/disk.c:840
+#: libparted/disk.c:842
 #, fuzzy
 msgid "pmbr_boot"
 msgstr "Æô¶¯"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr ""
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s ´ÅÅ̱êÇ©²»Ö§³ÖÀ©Õ¹·ÖÇø¡£"
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "%s ´ÅÅ̱êÇ©²»Ö§³ÖÂß¼­»òÀ©Õ¹·ÖÇø¡£"
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 #, fuzzy
 msgid "Too many primary partitions."
 msgstr "¹ý¶àµÄÖ÷·ÖÇø"
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr "ÓÉÓÚûÓÐÀ©Õ¹·ÖÇø£¬ÎÞ·¨½«Âß¼­·ÖÇøÌí¼Óµ½ %s¡£"
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, fuzzy, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "%s Éϲ»Äܺ¬ÓжàÓÚÒ»¸öÀ©Õ¹·ÖÇø"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "Âß¼­·ÖÇø²»ÄÜ´¦ÓÚÀ©Õ¹·ÖÇøÖ®Íâ¡£"
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "%s ÉϵÄÂß¼­·ÖÇø²»ÄÜ´¦ÓÚÀ©Õ¹·ÖÇøÖ®Íâ¡£"
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
+#: libparted/disk.c:1911
+msgid "Can't have a primary partition inside an extended partition."
+msgstr "À©Õ¹·ÖÇøÖв»Äܺ¬ÓÐÖ÷·ÖÇø¡£"
+
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "ÎÞ·¨È÷ÖÇø³¬³ö´ÅÅÌ£¡"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
 #, fuzzy
 msgid "Can't have overlapping partitions."
 msgstr "·ÖÇø²»ÄÜÖØµþ"
 
-#: libparted/disk.c:1958
-msgid "Can't have a primary partition inside an extended partition."
-msgstr "À©Õ¹·ÖÇøÖв»Äܺ¬ÓÐÖ÷·ÖÇø¡£"
-
-#: libparted/disk.c:2389
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "ÔªÊý¾Ý"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "¿ÕÏпռä"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "À©Õ¹·ÖÇø"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "Âß¼­·ÖÇø"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "Ö÷·ÖÇø"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "Æô¶¯"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr ""
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "¸ù"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "¶Ô»»·ÖÇø"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "Òþ²Ø·ÖÇø"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr ""
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr ""
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr ""
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr ""
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "ÔªÊý¾Ý"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr ""
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr ""
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr ""
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "ÊÇ"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr ""
@@ -935,15 +935,13 @@ msgid "Cancel"
 msgstr "·ÅÆú"
 
 #: libparted/exception.c:133
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "A bug has been detected in GNU Parted.  Refer to the web site of parted "
 "http://www.gnu.org/software/parted/parted.html for more information of what "
 "could be useful for bug submitting!  Please email a bug report to %s "
 "containing at least the version (%s) and the following message:  "
 msgstr ""
-"·¢ÏÖ GNU Parted ÖеĠbug¡£Ç뽫º¬Óа汾 (%s) ºÍÒÔÏÂÐÅÏ¢µÄ bug ±¨¸æ·¢Ë͵½ bug-"
-"parted@gnu.org£º"
 
 #: libparted/labels/aix.c:103
 #, fuzzy
@@ -979,10 +977,10 @@ msgstr "
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "¹ØÓÚ´´½¨ %s ÎļþϵͳµÄÖ§³ÖÉÐδʵÏÖ¡£"
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "ÎÞ·¨Âú×ã·ÖÇøµÄËùÓÐÏÞÖÆ¡£"
@@ -992,30 +990,30 @@ msgstr "
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "È¡·¨¶¨Î» bsd ´ÅÅ̱êÇ©²Û"
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 #, fuzzy
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "È¡·¨¶¨Î» bsd ´ÅÅ̱êÇ©²Û"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, fuzzy, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "%s ÉϵķÖÇø±íÎÞЧ - ´íÎóµÄÇ©Ãû %x"
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "ÎÞЧµÄ·ÖÇø±í - %s ³öÏֵݹé·ÖÇø¡£"
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr ""
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr ""
 
-#: libparted/labels/dos.c:2414
+#: libparted/labels/dos.c:2475
 #, fuzzy
 msgid "cannot create any more partitions"
 msgstr "ÎÞ·¨´´½¨¸ü¶à·ÖÇø¡£"
@@ -1052,118 +1050,110 @@ msgstr "ֻ
 msgid "Too many primary partitions"
 msgstr "¹ý¶àµÄÖ÷·ÖÇø"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr ""
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr ""
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 #, fuzzy
 msgid "Unsupported disk type"
 msgstr "ped_device_new()  ²»Ö§³ÖµÄÉ豸ÀàÐÍ"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr ""
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr ""
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr ""
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr ""
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr ""
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr ""
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 #, fuzzy
 msgid "Fatal error"
 msgstr "ÖÂÃü´íÎó"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr ""
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 #, fuzzy
 msgid "No room for partition info."
 msgstr "ÕÒ²»µ½ÓÐЧµÄ·ÖÇøÓ³Éä¡£"
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr ""
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr ""
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr ""
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 #, fuzzy
 msgid "Could not retrieve disk geometry information."
 msgstr "ÎÞ·¨¶ÁÈ¡ %s - %s µÄ¼¸ºÎ½á¹¹¡£"
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr ""
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr ""
 
-#: libparted/labels/gpt.c:494
-#, fuzzy, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
-msgstr ""
-"%s º¬ÓРGPT Ç©Ãû£¬±êÃ÷Ëüº¬ÓРGPT ±í¡£È»¶ø£¬Ëü²¢²»ÏñÓ¦¸ÃµÄÄÇÑùº¬ÓÐÓÐЧµÄα "
-"msdos ·ÖÇø±í¡£¿ÉÄÜËüÒѾ­Ë𻵠- ¿ÉÄÜÊDz»Àí½â GPT ·ÖÇø±íµÄ³ÌÐòµ¼Öµġ£»òÕßÄúɾ"
-"³ýÁË GPT ±í£¬ÏÖÔÚʹÓàmsdos ·ÖÇø±í¡£ÕâÊÇ GPT ·ÖÇø±íÂð£¿"
+#: libparted/labels/gpt.c:532
+#, fuzzy
+msgid "device is too small for GPT"
+msgstr "¶Ô ext2 À´ËµÎļþϵͳ¹ýС¡£"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, fuzzy, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1172,7 +1162,7 @@ msgstr ""
 "GPT ·ÖÇø±íµÄ¸ñʽ°æ±¾Îª %x£¬Ëü±È Parted ËùÄÜʶ±ðµÄ°æ±¾ÒªÐ¡£Çë¸æËßÎÒÃÇ£¡bug-"
 "parted@gnu.org"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1180,16 +1170,16 @@ msgid ""
 "setting? "
 msgstr ""
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "±¸·Ý GPT ±í²»ÏñÓ¦¸ÃµÄÄÇÑù³öÏÖÔÚ´ÅÅ̵Äĩβ¡£Õâ¿ÉÄÜÒâζÕâÆäËü²Ù×÷ϵͳÏàÐÅ´ÅÅÌС"
 "һЩ¡£Í¨¹ý½«±¸·ÝÒÆ¶¯µ½Ä©Î² (²¢É¾³ý¾É±¸·Ý) À´ÐÞÕý£¿"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 #, fuzzy
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
@@ -1198,24 +1188,29 @@ msgstr ""
 "Ö÷ GPT ºÍ±¸·Ý GPT ¶¼Ëð»µÁË¡£ÊÔͼ´´½¨ÐÂ±í²¢Ê¹ÓàParted µÄ¼±¾È¹¦ÄÜÒÔÐÞ¸´·ÖÇø"
 "±í¡£"
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 #, fuzzy
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr "Ö÷ GPT ±íË𻵣¬µ«±¸·ÝËÆºõÊÇÕýÈ·µÄ£¬ËùÒÔʹÓñ¸·Ý¡£"
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 #, fuzzy
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr "Ö÷ GPT ±íË𻵣¬µ«±¸·ÝËÆºõÊÇÕýÈ·µÄ£¬ËùÒÔʹÓñ¸·Ý¡£"
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr ""
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "Ä¿±ê·ÖÇø±àºÅ£¿"
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1230,59 +1225,59 @@ msgstr "
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s ¶Ô Mac ´ÅÅ̱êÇ©À´ËµÌ«Ð¡ÁË£¡"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "·ÖÇø %d º¬ÓÐÎÞЧµÄÇ©Ãû %x¡£"
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "·ÖÇø %d º¬ÓÐÎÞЧµÄ³¤¶È 0 ×Ö½Ú£¡"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 #, fuzzy
 msgid "The data region doesn't start at the start of the partition."
 msgstr "Êý¾ÝÇø²¢Î´´Ó·ÖÇøµÄÆðµã¿ªÊ¼"
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 #, fuzzy
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "Æô¶¯ÇøÓò²¢Î´´Ó·ÖÇøµÄÆðµã¿ªÊ¼"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "·ÖÇøµÄÆô¶¯ÇøÓò²¢Î´Õ¼ÓÃÕû¸ö·ÖÇø¡£"
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "·ÖÇøµÄÊý¾ÝÇøÓò²¢Î´Õ¼ÓÃÕû¸ö·ÖÇø¡£"
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr "É豸ÃèÊöÖгöÏֹŹֵĿé´óС£º%d ×Ö½Ú²»Äܱ» 512 Õû³ý¡£"
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
 "says it is %d bytes."
 msgstr "´ÅÅÌÃèÊö±íÃ÷ÎïÀí¿é´óСΪ %d ×Ö½Ú£¬µ« Linux ÈÏΪËüÊÇ %d ×Ö½Ú¡£"
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "ÕÒ²»µ½ÓÐЧµÄ·ÖÇøÓ³Éä¡£"
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, fuzzy, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr "·ÖÇøÓ³ÉäÌõÄ¿´óС³åÍ»£¡ÌõÄ¿ 1 ËµËüÊÇ %d£¬µ«ÌõÄ¿ %d ËµËüÊÇ %d£¡"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 #, fuzzy
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "Ææ¹Ö - Á½¸ö·ÖÇøÓ³ÉäÌõÄ¿£¡"
@@ -1293,7 +1288,7 @@ msgid ""
 "recognising it as such."
 msgstr "¸Ä±ä¸ù·ÖÇø»ò¶Ô»»·ÖÇøµÄÃû³Æ½«µ¼Ö Linux ÎÞ·¨Ê¶±ðËü¡£"
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 #, fuzzy
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "ÎÞ·¨Ìí¼ÓÁíÒ»¸ö·ÖÇø - ·ÖÇøÓ³Éä¹ýС£¡"
@@ -1428,58 +1423,62 @@ msgstr ""
 msgid "reading from device failed"
 msgstr ""
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 #, fuzzy
 msgid "Could not read volume label."
 msgstr "ÎÞ·¨¶ÁÈ¡ %s - %s µÄ¼¸ºÎ½á¹¹¡£"
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 #, fuzzy
 msgid "Could not write volume label."
 msgstr "ÎÞ·¨¼ì²âÎļþϵͳ¡£"
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr ""
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr ""
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr ""
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr ""
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "ÄÚ´æºÄ¾¡¡£"
 
@@ -1515,25 +1514,25 @@ msgstr ""
 msgid "Use a smaller unit instead of a value < 1"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr ""
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr ""
@@ -1573,90 +1572,71 @@ msgstr ""
 msgid "%s : Failed to read partition block %llu\n"
 msgstr ""
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 #, fuzzy
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr "GNU parted ±àÒë´íÎó£ºFAT Æô¶¯ÉÈÇøÓ¦Îª 512 ×Ö½Ú¡£FAT Ö§³Ö½«±»¹Ø±Õ¡£"
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "Îļþϵͳº¬ÓÐÎÞЧµÄ FAT ÎļþϵͳǩÃû¡£"
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "ÎļþϵͳµÄÉÈÇø´óС¶Ô FAT ÎļþϵͳÀ´ËµÎÞЧ¡£"
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "ÎļþϵͳµÄ´Ø´óС¶Ô FAT ÎļþϵͳÀ´ËµÎÞЧ¡£"
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 #, fuzzy
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr "ÎļþϵͳµÄ±£ÁôÉÈÇøÊý¶Ô FAT ÎļþϵͳÀ´ËµÎÞЧ¡£"
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 #, fuzzy
 msgid "File system has an invalid number of FATs."
 msgstr "ÎļþϵͳµÄ FATS ÊýÁ¿ÎÞЧ¡£"
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"´ËÎļþϵͳµÄÂß¼­ÉÈÇø´óСΪ %d¡£GNU Parted ²»ÄÜÔÚÉÈÇø´óС²»ÊÇ 512 ×Ö½ÚµÄÇé¿öÏÂ"
-"ÕýÈ·¹¤×÷¡£"
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr "FAT Æô¶¯ÉÈÇøÉù³ÆÂß¼­ÉÈÇøµÄ´óСΪÁã¡£ÕâºÜÆæ¹Ö¡£"
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "FAT Æô¶¯ÉÈÇøÉù³ÆÃ»ÓРFAT ±í¡£ÕâºÜÆæ¹Ö¡£"
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "FAT Æô¶¯ÉÈÇøÉù³Æ×äÊÇÁãÉÈÇø¡£ÕâºÜÆæ¹Ö¡£"
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 #, fuzzy
 msgid "File system is FAT12, which is unsupported."
 msgstr "ÎļþϵͳΪ FAT12£¬²»Ö§³Ö¡£"
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"ÐÅÏ¢ÉÈÇøµÄÇ©Ãû´íÎó (%x)¡£ÏÖÔÚÑ¡Ôñ·ÅÆú£¬²¢·¢ËÍ bug ±¨¸æ¡£Èç¹ûÄú²»¹ËÒ»ÇУ¬Ñ¡Ôñ"
-"ºöÂÔÓпÉÄÜÊÇ¡°°²È«¡±µÄ¡£"
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, fuzzy, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "ÎÞ·¨Ê¶±ðµÄ linux ¶Ô»»Ç©Ãû¡°%10s¡±¡£"
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, fuzzy, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "ÎÞ·¨Ê¶±ðµÄ linux ¶Ô»»Ç©Ãû¡°%10s¡±¡£"
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, fuzzy, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "ÎÞ·¨Ê¶±ðµÄ linux ¶Ô»»Ç©Ãû¡°%10s¡±¡£"
@@ -1668,7 +1648,16 @@ msgid ""
 "%d bytes."
 msgstr ""
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"´ËÎļþϵͳµÄÂß¼­ÉÈÇø´óСΪ %d¡£GNU Parted ²»ÄÜÔÚÉÈÇø´óС²»ÊÇ 512 ×Ö½ÚµÄÇé¿öÏÂ"
+"ÕýÈ·¹¤×÷¡£"
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1678,6 +1667,15 @@ msgid ""
 "geometry."
 msgstr ""
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"ÐÅÏ¢ÉÈÇøµÄÇ©Ãû´íÎó (%x)¡£ÏÖÔÚÑ¡Ôñ·ÅÆú£¬²¢·¢ËÍ bug ±¨¸æ¡£Èç¹ûÄú²»¹ËÒ»ÇУ¬Ñ¡Ôñ"
+"ºöÂÔÓпÉÄÜÊÇ¡°°²È«¡±µÄ¡£"
+
 #: libparted/fs/r/fat/calc.c:134
 #, fuzzy, c-format
 msgid ""
@@ -1731,12 +1729,12 @@ msgid ""
 "some programs to stop working."
 msgstr "Îļþ %s ±»±ê¼ÇΪϵͳÎļþ¡£ÕâÒâζ×ÅÒÆ¶¯Ëü¿ÉÄܵ¼ÖÂijЩ³ÌÐòÍ£Ö¹¹¤×÷¡£"
 
-#: libparted/fs/r/fat/fat.c:251
+#: libparted/fs/r/fat/fat.c:243
 #, fuzzy, c-format
 msgid "Partition too big/small for a %s file system."
 msgstr "¶ÔÓÚ %s ÎļþϵͳÀ´Ëµ£¬·ÖÇø¹ý´ó»ò¹ýС"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
@@ -1744,11 +1742,11 @@ msgstr ""
 "FAT ²»Æ¥Åä¡£Èç¹ûÄã²»ÖªµÀËüµÄº¬Ò壬ÇëÑ¡Ôñ·ÅÆú£¬²¢¶ÔÎļþϵͳÔËÐРscandisk£¬¶øºó"
 "Ôڻص½ÕâÀïÀ´¡£"
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
 msgstr "¶ÔÓÚ´Ë FAT ÀàÐÍûÓпÉÄܵÄÅäÖá£"
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
@@ -1758,7 +1756,7 @@ msgstr ""
 "ÎļþϵͳµÄ´óС²»ÊÇ Windows ËùÏ£ÍûµÄ¡£´Ø´óСΪ %dk (ÆÚÍû %dk)£»´ØÊýÁ¿Îª %d (ÆÚ"
 "Íû %d)£»FAT µÄ´óСΪ %d ÉÈÇø (ÆÚÍû %d)¡£"
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
@@ -1985,9 +1983,8 @@ msgid "Error while writing the allocation file."
 msgstr "дÈë¸ùĿ¼´íÎó¡£"
 
 #: libparted/fs/r/hfs/hfs.c:735
-#, fuzzy
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr "дÈë¸ùĿ¼´íÎó¡£"
+msgstr ""
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
@@ -2170,28 +2167,28 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "¡°±êÇ©ÀàÐÍ¡±ÊÇÒÔÏÂÈÎÒâÒ»Ï"
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "¡°±êÖ¾¡±ÊÇÒÔÏÂÈÎÒâÒ»Ï"
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 #, fuzzy
 msgid "UNIT is one of: "
 msgstr "¡°±êÖ¾¡±ÊÇÒÔÏÂÈÎÒâÒ»Ï"
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr ""
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "¡°·ÖÇøÀàÐÍ¡±ÊÇÖ÷·ÖÇø¡¢Âß¼­·ÖÇø¡¢À©Õ¹·ÖÇøÖ®Ò»\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "¡°ÎļþϵͳÀàÐÍ¡±ÊÇÒÔÏÂÈÎÒâÒ»Ï"
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 #, fuzzy
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
@@ -2199,19 +2196,25 @@ msgid ""
 "sector.\n"
 msgstr "¡°Æðʼµã¡±ºÍ¡°ÖÕÖ¹µã¡±ÒÔÕ×Ϊµ¥Î»¡£¸ºÖµ±íʾ´Ó´ÅÅÌÄ©¶Î¿ªÊ¼¼ÆÊý¡£\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "״̬Ϊ£º¿ª¡¢¹Ø\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "DEVICE Í¨³£Îª /dev/hda »ò /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAME ÊÇÄúÐèÒªµÄÈκε¥´Ê\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 #, fuzzy
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
@@ -2229,149 +2232,144 @@ msgstr ""
 "·¢Ðб¾³ÌÐòÊÇÏ£ÍûËüÄܹ»ÓÐÓ㬵«Ã»ÓÐÈκε£±££»ÉõÖÁ²»°üÀ¨Òþº¬µÄÊÊÏúºÍÊʺÏÌØ¶¨ÓÃ"
 ";µÄ±£Ö¤¡£ÏêÇéÇë²Î¼û GNU Í¨Óù«¹²Ðí¿ÉÖ¤¡£\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(Ê£Óàʱ¼ä %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
-msgstr ""
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
+msgstr "ÕýÔÚʹÓ÷ÖÇø %s¡£ÔÚʹÓÃʱÐÞ¸ÄËû½«µ¼ÖÂÑÏÖØµÄÆÆ»µ¡£"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "ÕýÔÚʹÓà%s ÉϵķÖÇø¡£"
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
 "will be lost. Do you want to continue?"
 msgstr ""
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "еĴÅÅ̱êÇ©ÀàÐÍ£¿"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "·ÖÇøÀàÐÍ£¿"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "·ÖÇøÃû³Æ£¿"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "ÎļþϵͳÀàÐÍ£¿"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "Æðʼµã£¿"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "½áÊøµã£¿"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"ÄúÒªÇóÔÚ %.3f - %.3fMb µÄλÖô´½¨·ÖÇø¡£¿É¹ÜÀíµÄ×îÏà½ü·ÖÇøÎª %.3f-%.3fMb¡£"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
 msgstr ""
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr ""
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "·ÖÇø±àºÅ£¿"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr ""
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr ""
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, fuzzy, c-format
 msgid "Disk %s: %s\n"
-msgstr "%s  %s  %s"
+msgstr "´ÅÅ̱êÇ©ÀàÐÍ£º%s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr ""
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, fuzzy, c-format
 msgid "Partition Table: %s\n"
 msgstr "·ÖÇøÃû³Æ£¿"
 
-#: parted/parted.c:992
+#: parted/parted.c:1017
 #, fuzzy, c-format
 msgid "Disk Flags: %s\n"
-msgstr "%s  %s  %s"
+msgstr "´ÅÅ̱êÇ©ÀàÐÍ£º%s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr ""
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 #, fuzzy
 msgid "Start"
 msgstr "Æðʼµã£¿"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 #, fuzzy
 msgid "End"
 msgstr "½áÊøµã£¿"
 
-#: parted/parted.c:1119
-#, fuzzy
+#: parted/parted.c:1143
 msgid "Size"
-msgstr "resize"
+msgstr ""
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr ""
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 #, fuzzy
 msgid "File system"
 msgstr "Îļþϵͳ£¿"
 
-#: parted/parted.c:1128
-#, fuzzy
+#: parted/parted.c:1152
 msgid "Name"
-msgstr "name"
+msgstr ""
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "±êÖ¾"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr ""
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, fuzzy, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2380,89 +2378,97 @@ msgstr ""
 "ÔÚ %3$.3fMb -> %4$.3fMb ´¦ÕÒµ½Ò»¸ö %1$s %2$s ·ÖÇø¡£ÄúÏ£Íû½«ÆäÌí¼Óµ½·ÖÇø±íÖÐ"
 "Âð£¿"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "ÕýÔÚËÑË÷Îļþϵͳ"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "ÐÂÉ豸£¿"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr ""
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr ""
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 #, fuzzy
 msgid "Flag to Invert?"
 msgstr "ÒªÐ޸ĵıêÖ¾£¿"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "ÐÂ״̬£¿"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr ""
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 #, fuzzy
 msgid "align-check"
 msgstr "¼ì²é"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
 msgstr ""
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 #, fuzzy
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
 msgstr "help [COMMAND]                ´òӡͨÓÃÇóÖúÐÅÏ¢£¬»ò¹ØÓÚ COMMAND µÄÐÅÏ¢"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
-#, fuzzy
+#: parted/parted.c:1933
 msgid "mktable"
-msgstr "mklabel"
+msgstr ""
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 #, fuzzy
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr "mklabel ±êÇ©ÀàÐÍ              ´´½¨ÐµĴÅÅ̱êÇ© (·ÖÇø±í)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 #, fuzzy
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart ·ÖÇøÀàÐÍ [ÎļþϵͳÀàÐÍ] Æðʼµã ÖÕÖ¹µã      ´´½¨Ò»¸ö·ÖÇø"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 #, fuzzy
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
@@ -2471,27 +2477,27 @@ msgstr ""
 "mkpart ´´½¨·ÖÇø¶ø²»ÔÚ·ÖÇøÉÏ´´½¨ÐÂÎļþϵͳ¡£¡°ÎļþϵͳÀàÐÍ¡±¿ÉÒÔÓÃÓÚÉèÖÃÊʵ±µÄ"
 "·ÖÇø±êʶ¡£\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 #, fuzzy
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr "name MINOR Ãû³Æ               ½«±àºÅΪ MINOR µÄ·ÖÇøÃüÃûΪ¡°Ãû³Æ¡±"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
 "partition"
 msgstr ""
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 #, fuzzy
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
@@ -2501,41 +2507,41 @@ msgstr ""
 "Èç¹û¸ø³öÁË·ÖÇø±í£¬¾ÍÏÔʾ¸ü¶à\n"
 "¹ØÓÚ·ÖÇøµÄÏêϸÐÅÏ¢¡£\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr ""
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr ""
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr ""
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 #, fuzzy
 msgid "quit                                     exit program"
 msgstr "quit                          Í˳ö³ÌÐò"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 #, fuzzy
 msgid ""
 "rescue START END                         rescue a lost partition near START "
@@ -2543,104 +2549,120 @@ msgid ""
 msgstr ""
 "rescue Æðʼµã ÖÕÖ¹µã          Íì¾ÈÁÙ½ü¡°Æðʼµã¡±¡¢¡°ÖÕÖ¹µã¡±µÄÒÅʧµÄ·ÖÇø"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr "resize"
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+#, fuzzy
+msgid "resizepart"
+msgstr "resize"
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm MINOR                      É¾³ý±àºÅΪ MINOR µÄ·ÖÇø"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 #, fuzzy
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm MINOR                      É¾³ý±àºÅΪ MINOR µÄ·ÖÇø"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 #, fuzzy
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select É豸                 Ñ¡ÔñÒª±à¼­µÄÉ豸"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
 msgstr ""
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set MINOR ±êÖ¾ ×´Ì¬           ¸Ä±ä±àºÅΪ MINOR µÄ·ÖÇøµÄ±êÖ¾"
+msgstr ""
 
-#: parted/parted.c:1918
+#: parted/parted.c:2038
 msgid "disk_toggle"
 msgstr ""
 
-#: parted/parted.c:1921
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
 msgstr ""
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 #, fuzzy
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set MINOR ±êÖ¾ ×´Ì¬           ¸Ä±ä±àºÅΪ MINOR µÄ·ÖÇøµÄ±êÖ¾"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr ""
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 
-#: parted/parted.c:1945
-#, fuzzy
+#: parted/parted.c:2065
 msgid "unit"
-msgstr "quit"
+msgstr ""
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 #, fuzzy
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "quit                          Í˳ö³ÌÐò"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr ""
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr ""
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
 msgstr ""
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "ûÓÐÕÒµ½É豸"
 
-#: parted/parted.c:2109
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
 msgstr ""
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 #, fuzzy
 msgid "You may need to update /etc/fstab.\n"
 msgstr "Èç¹û±ØÒª£¬²»ÒªÍü¼Ç¸üР/etc/fstab¡£\n"
@@ -2827,98 +2849,174 @@ msgid ""
 "Error: A general SIGILL signal was encountered."
 msgstr ""
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, fuzzy, c-format
 msgid "invalid token: %s"
-msgstr "ÎÞ·¨´ò¿ª %s¡£"
+msgstr "%s µÄ·ÖÇø±íÎÞЧ"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "ÐèÒª·ÖÇø±àºÅ¡£"
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "·ÖÇø²»´æÔÚ¡£"
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "ÐèÒªÎļþϵͳÀàÐÍ¡£"
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "δ֪µÄÎļþϵͳÀàÐÍ¡°%s¡±¡£"
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "ÐèÒª´ÅÅ̱êÇ©ÀàÐÍ¡£"
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "ÎÞ·¨´´½¨¸ü¶à·ÖÇø¡£"
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "ÐèÒª·ÖÇøÀàÐÍ¡£"
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "¿ª"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "¹Ø"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr ""
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr ""
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "Ñ¡Ï"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "ÃüÁ"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
 "Report bugs to %s\n"
 msgstr ""
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "ʹÓà%s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr ""
 
-#, fuzzy
-#~ msgid "too few arguments"
-#~ msgstr "¹ý¶àµÄ»µÒ³¡£"
+#~ msgid ""
+#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
+#~ "with drives with sector sizes other than %d bytes"
+#~ msgstr ""
+#~ "%s ÉϵÄÉÈÇø´óСΪ %d ×Ö½Ú¡£Ä¿Ç° Parted ²»ÄÜÔÚÉÈÇø´óС²»ÊÇ %d ×ֽڵĴÅÅÌÉÏ"
+#~ "ÕýÈ·¹¤×÷¡£"
 
-#, fuzzy
-#~ msgid "too many arguments"
-#~ msgstr "¹ý¶àµÄ»µÒ³¡£"
+#~ msgid "Device %s has dodgey geometry."
+#~ msgstr "É豸 %s µÄ¼¸ºÎ½á¹¹ºÜÆæ¹Ö¡£"
 
-#, fuzzy
-#~ msgid "invalid minor device number: %s"
-#~ msgstr "ÎÞ·¨´ò¿ª %s¡£"
+#~ msgid "IDE"
+#~ msgstr "IDE"
+
+#~ msgid "SCSI"
+#~ msgstr "SCSI"
+
+#~ msgid "Device %s is neither a SCSI nor IDE drive."
+#~ msgstr "É豸 %s ¼´²»ÊÇ SCSI ´ÅÅÌÒ²²»ÊÇ IDE ´ÅÅÌ¡£"
+
+#~ msgid "Error reading %s (%s) to determine if partition is mounted."
+#~ msgstr "Ϊȷ¶¨·ÖÇøÊÇ·ñ¼ÓÔØ¶ø¶ÁÈ¡ %s (%s) Ê±³ö´í¡£"
+
+#~ msgid ""
+#~ "Unable to determine if partitions are mounted via /proc/mounts or /etc/"
+#~ "mtab.  Make sure you don't attempt to resize or modify mounted file "
+#~ "systems.  (Even read-only mounted)"
+#~ msgstr ""
+#~ "ÎÞ·¨È·¶¨·ÖÇøÊÇ·ñÊÇͨ¹ý /proc/mounts »ò /etc/mtab ¼ÓÔØµÄ¡£ÇëÈ·ÈÏÄú²»»áÊÔͼ"
+#~ "¸Ä±äÎļþϵͳµÄ´óС»òÕßÐ޸ļÓÔØµÄÎļþϵͳ¡£(¼´Ê¹°´Ö»¶Á·½Ê½¼ÓÔØÒ²²»ÐÐ)"
+
+#~ msgid ""
+#~ "The kernel was unable to re-read the partition table on %s (%s).  This "
+#~ "means Linux won't know anything nothing about the modifications you made "
+#~ "until you reboot.  You should reboot your computer before doing anything "
+#~ "with %s."
+#~ msgstr ""
+#~ "ÄÚºËÎÞ·¨ÖØÐ¶ÁÈ¡ %s (%s) ÉϵķÖÇø±í¡£ÕâÒâζÕâ Linux ÔÚÄúÖØÐÂÆô¶¯Ö®Ç°ÎÞ·¨Öª"
+#~ "µÀÈκÎÐ޸ġ£ÄúÓ¦¸ÃÔÚ¶Ô %s ×öÈκβÙ×÷  Ö®Ç°ÖØÐÂÆô¶¯ÄúµÄ¼ÆËã»ú¡£"
+
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  However, the most likely reason is that Linux "
+#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
+#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
+#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
+#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
+#~ "GRUB documentation for more information.  If you think Parted's suggested "
+#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
+#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
+#~ msgstr ""
+#~ "%s ÉϵķÖÇø²»Ð­µ÷¡£²úÉúÕâÖÖÇé¿öµÄÔ­ÒòºÜ¶à¡£È»¶ø£¬×î¿ÉÄܵÄÔ­ÒòÊÇ Linux ¼ì²â"
+#~ "µ½µÄ BIOS ¹ØÓÚ %s µÄ¼¸ºÎ½á¹¹ÊÇ´íÎóµÄ¡£GNU Parted »³ÒÉʵ¼ÊµÄ¼¸ºÎ½á¹¹Îª %d/"
+#~ "%d/%d (¶ø²»ÊÇ %d/%d/%d)¡£ÒòΪ BIOS ¿ÉÄܲ»ÕýÈ·£¬ÄúÓ¦¸ÃÊ×Ïȼì²éÄúµÄ BIOS¡£Äú"
+#~ "¿ÉÒÔͨ¹ýÔÚÃüÁîÐÐÖÐÌí¼Ó²ÎÊý %s=%d,%d,%d À´Í¨Öª Linux¡£ÏêÇéÇë²Î¼û LILO »ò "
+#~ "GRUB µÄÎĵµ¡£Èç¹ûÄúÈÏΪ Parted Ëù½¨ÒéµÄ¼¸ºÎ½á¹¹ÊÇÕýÈ·µÄ£¬Äú¿ÉÒÔºöÂÔ²¢¼ÌÐø "
+#~ "(²¢ÔÚÒÔºóÐÞÕý Linux)¡£·ñÔò£¬Ñ¡Ôñ·ÅÆú (²¢ÂíÉÏÐÞÕý Linux ²¢ÇÒ/»òÕß BIOS)¡£"
+
+#~ msgid ""
+#~ "The partition table on %s is inconsistent.  There are many reasons why "
+#~ "this might be the case.  Often, the reason is that Linux detected the "
+#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
+#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
+#~ "with some boot loaders, and may cause problems with FAT file systems.  "
+#~ "Using LBA is recommended."
+#~ msgstr ""
+#~ "%s ÉϵķÖÇø±í²»Ð­µ÷¡£¿ÉÄܵ¼ÖÂÕâÖÖÇé¿öµÄÔ­ÒòÓкܶࡣͨ³££¬Ô­ÒòÊÇ Linux ¼ì²â"
+#~ "µ½µÄ BIOS ¼¸ºÎ½á¹¹ÊÇ´íÎóµÄ¡£È»¶ø£¬ÏÖÔÚËÆºõ²¢²»ÊÇÕâÖÖÇé¿ö¡£ºöÂÔÊǰ²È«µÄ£¬µ«"
+#~ "ÊǺöÂÔ¿ÉÄܵ¼ÖÂijЩÆô¶¯¹ÜÀíÆ÷µÄÎÊÌâ (¿ÉÐÞ¸´µÄ)£¬»¹¿ÉÄܵ¼Ö FAT Îļþϵͳ³öÏÖ"
+#~ "ÎÊÌâ¡£½¨ÒéʹÓàLBA¡£"
+
+#~ msgid ""
+#~ "Unable to align partition properly.  This probably means that another "
+#~ "partitioning tool generated an incorrect partition table, because it "
+#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
+#~ "may cause (fixable) problems with some boot loaders."
+#~ msgstr ""
+#~ "ÎÞ·¨ÕýÈ·µØ¶ÔÆë·ÖÇø¡£Õâ¿ÉÄÜÒâζ×ÅÆäËü·ÖÇø¹¤¾ßÓÉÓÚûÓеõ½ÕýÈ·µÄ BIOS ¼¸ºÎ½á"
+#~ "¹¹¶øÉú³ÉÁË´íÎóµÄ·ÖÇø±í¡£ºöÂÔÊǰ²È«µÄ£¬µ«ºöÂÔ¿ÉÄܵ¼ÖÂijЩÆô¶¯¹ÜÀíÆ÷³öÏÖ¿ÉÐÞ"
+#~ "¸´µÄÎÊÌâ¡£"
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted - possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s º¬ÓРGPT Ç©Ãû£¬±êÃ÷Ëüº¬ÓРGPT ±í¡£È»¶ø£¬Ëü²¢²»ÏñÓ¦¸ÃµÄÄÇÑùº¬ÓÐÓÐЧµÄα "
+#~ "msdos ·ÖÇø±í¡£¿ÉÄÜËüÒѾ­Ë𻵠- ¿ÉÄÜÊDz»Àí½â GPT ·ÖÇø±íµÄ³ÌÐòµ¼Öµġ£»òÕßÄú"
+#~ "ɾ³ýÁË GPT ±í£¬ÏÖÔÚʹÓàmsdos ·ÖÇø±í¡£ÕâÊÇ GPT ·ÖÇø±íÂð£¿"
 
 #~ msgid "Support for opening %s file systems is not implemented yet."
 #~ msgstr "¹ØÓÚ´ò¿ª %s ÎļþϵͳµÄÖ§³ÖÉÐδʵÏÖ¡£"
 
-#~ msgid "Support for creating %s file systems is not implemented yet."
-#~ msgstr "¹ØÓÚ´´½¨ %s ÎļþϵͳµÄÖ§³ÖÉÐδʵÏÖ¡£"
-
 #~ msgid "Support for checking %s file systems is not implemented yet."
 #~ msgstr "¹ØÓÚ¼ì²é %s ÎļþϵͳµÄÖ§³ÖÉÐδʵÏÖ¡£"
 
@@ -2931,10 +3029,9 @@ msgstr ""
 #~ msgid "Can't copy onto an overlapping partition."
 #~ msgstr "ÎÞ·¨¸´ÖƵ½ÖصþµÄ·ÖÇø¡£"
 
-#, fuzzy
 #~ msgid ""
 #~ "Direct support for copying file systems is not yet implemented for %s.  "
-#~ "However, support for resizing is implemented.  Therefore, the file system "
+#~ "However, support for resizing implemented.  Therefore, the file system "
 #~ "can be copied if the new partition is at least as big as the old one.  "
 #~ "So, either shrink the partition you are trying to copy, or copy to a "
 #~ "bigger partition."
@@ -2946,107 +3043,85 @@ msgstr ""
 #~ msgid "Support for copying %s file systems is not implemented yet."
 #~ msgstr "¹ØÓÚ¸´ÖÆ %s ÎļþϵͳµÄÖ§³ÖÉÐδʵÏÖ¡£"
 
-#, fuzzy
-#~ msgid "The file system is in an invalid state.  Perhaps it is mounted?"
-#~ msgstr "Îļþϵͳº¬ÓÐÎÞЧµÄ FAT ÎļþϵͳǩÃû¡£"
-
-#, fuzzy
-#~ msgid "checking"
-#~ msgstr "¼ì²é"
-
-#, fuzzy
 #~ msgid ""
-#~ "The reiserfs file system passed a basic check.  For a more comprehensive "
-#~ "check, run reiserfsck --check."
-#~ msgstr "ext2 Îļþϵͳͨ¹ý»ù±¾¼ì²é¡£ÖÁÓÚ¸ü¸ºÔصļì²é£¬Ê¹Óàe2fsck ³ÌÐò¡£"
-
-#, fuzzy
-#~ msgid "Sorry, can't move the start of reiserfs partitions yet."
-#~ msgstr "´íÎó£¬ÉÐÎÞ·¨Òƶ¯ ext2 ·ÖÇøµÄÆðµã£¡"
-
-#, fuzzy
-#~ msgid "expanding"
-#~ msgstr "¾¯¸æ"
+#~ "A bug has been detected in GNU parted.  Please email a bug report to bug-"
+#~ "parted@gnu.org containing the version (%s) and the following message:"
+#~ msgstr ""
+#~ "·¢ÏÖ GNU Parted ÖеĠbug¡£Ç뽫º¬Óа汾 (%s) ºÍÒÔÏÂÐÅÏ¢µÄ bug ±¨¸æ·¢Ë͵½ "
+#~ "bug-parted@gnu.org£º"
 
-#, fuzzy
-#~ msgid "Device is too small for %lu blocks."
-#~ msgstr "¶Ô ext2 À´ËµÎļþϵͳ¹ýС¡£"
+#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
+#~ msgstr "ÊÔͼ¶ÁÈ¡ %3$s ÉÏ·ÖÇøÖ®ÍâµÄÉÈÇø %1$ld-%2$ld"
 
 #~ msgid "Inconsistent group descriptors!"
 #~ msgstr "²»Ò»ÖµÄ×éÃèÊö·û£¡"
 
-#, fuzzy
-#~ msgid "File system full!"
+#~ msgid "Filesystem full!"
 #~ msgstr "ÎļþϵͳÒÑÂú£¡"
 
-#, fuzzy
-#~ msgid "Invalid superblock.  Are you sure this is an ext2 file system?"
+#~ msgid ""
+#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
+#~ "this (yet)."
+#~ msgstr "¸Ã ext2 ÎļþϵͳµÄ²¼¾ÖÏàµ±Ææ¹Ö£¡Parted ÉÐÇÒÎÞ·¨¸Ä±äËüµÄ´óС¡£"
+
+#~ msgid "Invalid superblock.  Are you sure this is an ext2 filesystem?"
 #~ msgstr "ÎÞЧµÄ³¬¿é¡£ÄúÈ·ÈÏËüÊÇÒ»¸ö ext2 Îļþϵͳ£¿"
 
-#, fuzzy
-#~ msgid "File system has errors!  You should run e2fsck."
+#~ msgid "Filesystem has errors!  You should run e2fsck."
 #~ msgstr "Îļþϵͳ´íÎó£¡ÄúÓ¦¸ÃÔËÐРe2fsck¡£"
 
-#, fuzzy
 #~ msgid ""
-#~ "File system was not cleanly unmounted!  You should run e2fsck.  Modifying "
-#~ "an unclean file system could cause severe corruption."
+#~ "Filesystem was not cleanly unmounted!  You should e2fsck.  Modifying an "
+#~ "unclean filesystem could cause severe corruption."
 #~ msgstr ""
 #~ "ÎļþϵͳûÓб»¸É¾»µØÐ¶ÔØ£¡ÄúÓ¦¸ÃÔËÐРe2fsck¡£Ð޸IJ»¸É¾»µÄÎļþϵͳ½«µ¼ÖÂÑÏ"
 #~ "ÖØµÄË𻵡£"
 
+#~ msgid "Filesystem has incompatible feature enabled"
+#~ msgstr "ÎļþϵͳÆôÓÃÁ˲»¼æÈݵŦÄÜ"
+
 #~ msgid "Error allocating buffer cache."
 #~ msgstr "·ÖÅ仺³åÇø cache ´íÎó¡£"
 
-#, fuzzy
 #~ msgid ""
-#~ "Found an inode with a incorrect link count.  Better go run e2fsck first!"
+#~ "Found an inode with a incorrect link count.  Better go run e2fsck first."
 #~ msgstr "ÕÒµ½´øÓдíÎóÁ¬½Ó¼ÆÊýµÄ inode¡£×îºÃÏÈÔËÐРe2fsck¡£"
 
 #~ msgid "Not enough free inodes!"
 #~ msgstr "ûÓÐ×ã¹»µÄ¿ÕÏРinodes£¡"
 
-#, fuzzy
-#~ msgid "File system is too full to remove a group!"
+#~ msgid "Filesystem is too occupied to remove a group!"
 #~ msgstr "Îļþϵͳ±»¹ý¶ÉÕ¼ÓÃÒÔÖÂÎÞ·¨É¾³ý×飡"
 
-#, fuzzy
-#~ msgid "File system has too many allocated inodes to remove a group!"
+#~ msgid "Filesystem has too many allocated inodes to remove a group!"
 #~ msgstr "ÎļþϵͳÖÐÒÑʹÓõĠinode ¹ý¶àÒÔÖÂÎÞ·¨É¾³ý×飡"
 
 #~ msgid "adding groups"
 #~ msgstr "Ìí¼Ó×é"
 
-#, fuzzy
-#~ msgid "Your file system is too full to resize it to %i blocks.  Sorry."
+#~ msgid "Your filesystem is too occupied to resize it to %i blocks. Sorry."
 #~ msgstr "ÄúµÄÎļþϵͳ±»¹ý¶ÉÕ¼ÓÃÒÔÖÂÎÞ·¨½«ËüµÄ´óС¸Ä±äΪ %i ¸ö¿é¡£±§Ç¸¡£"
 
-#, fuzzy
 #~ msgid ""
-#~ "Your file system has too many occupied inodes to resize it to %i blocks.  "
+#~ "Your filesystem has too much occupied inodes to resize it to %i blocks. "
 #~ "Sorry."
 #~ msgstr ""
 #~ "ÄúµÄÎļþϵͳÖÐÒÑʹÓõĠinode ¹ý¶àÒÔÖÂÎÞ·¨½«Æä´óС¸Ä±äΪ %i ¸ö¿é¡£±§Ç¸¡£"
 
-#, fuzzy
-#~ msgid "File system was not cleanly unmounted!  You should run e2fsck."
+#~ msgid "Filesystem was not cleanly unmounted!  You should e2fsck."
 #~ msgstr "ÎļþϵͳûÓиɾ»µØÐ¶ÔØ£¡ÄúÓ¦¸ÃÔËÐРe2fsck¡£"
 
-#, fuzzy
-#~ msgid "Cross-linked blocks found!  Better go run e2fsck first!"
+#~ msgid "Cross-linked blocks found! better go run e2fsck first!"
 #~ msgstr "·¢ÏÖ½»²æÁ¬½Ó¿é£¡×îºÃÏÈÔËÐРe2fsck£¡"
 
-#, fuzzy
-#~ msgid "Block %i has no reference?  Weird."
+#~ msgid "Block %i has no reference?  Weird"
 #~ msgstr "¿é %i Ã»ÓÐÒýÓã¿Ææ¹Ö"
 
-#, fuzzy
-#~ msgid "Block %i shouldn't have been marked (%d, %d)!"
+#~ msgid "Block %i shouldn't have been marked!"
 #~ msgstr "¿é %i ²»Ó¦¸ÃÒѱ»±ê¼Ç£¡"
 
-#, fuzzy
 #~ msgid ""
-#~ "The ext2 file system passed a basic check.  For a more comprehensive "
+#~ "The ext2 filesystem passed a basic check.  For a more comprehensive "
 #~ "check, use the e2fsck program."
 #~ msgstr "ext2 Îļþϵͳͨ¹ý»ù±¾¼ì²é¡£ÖÁÓÚ¸ü¸ºÔصļì²é£¬Ê¹Óàe2fsck ³ÌÐò¡£"
 
@@ -3059,71 +3134,87 @@ msgstr ""
 #~ msgid "writing per-group metadata"
 #~ msgstr "дÈëÿ¸ö×é¶¼ÓеÄÔªÊý¾Ý"
 
-#~ msgid "File system too small for ext2."
-#~ msgstr "¶Ô ext2 À´ËµÎļþϵͳ¹ýС¡£"
+#~ msgid "File system has an invalid signature for a FAT file systems."
+#~ msgstr "Îļþϵͳº¬ÓÐÎÞЧµÄ FAT ÎļþϵͳǩÃû¡£"
 
 #~ msgid "Too many bad pages."
 #~ msgstr "¹ý¶àµÄ»µÒ³¡£"
 
+#~ msgid "where necessary, prompts for user intervention"
+#~ msgstr "ÔÚ±ØÒªÊ±£¬ÌáʾÓû§"
+
 #~ msgid "Source partition number?"
 #~ msgstr "Ô´·ÖÇø±àºÅ£¿"
 
-#, fuzzy
-#~ msgid "Can't copy an extended partition."
-#~ msgstr "²»ÄÜÖ»¸´ÖÆÀ©Õ¹·ÖÇø¡£"
-
-#~ msgid "Destination partition number?"
-#~ msgstr "Ä¿±ê·ÖÇø±àºÅ£¿"
-
-#, fuzzy
 #~ msgid ""
-#~ "An extended partition cannot hold a file system.  Did you want mkpart?"
+#~ "You requested to create a partition at %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "ÄúÒªÇóÔÚ %.3f - %.3fMb µÄλÖô´½¨·ÖÇø¡£¿É¹ÜÀíµÄ×îÏà½ü·ÖÇøÎª %.3f-%.3fMb¡£"
+
+#~ msgid "Extended partitions can't have file systems.  Did you want mkpart?"
 #~ msgstr "À©Õ¹·ÖÇø²»Äܺ¬ÓÐÎļþϵͳ¡£ÄúÊÇÒªÓàmkpart °É£¿"
 
-#, fuzzy
-#~ msgid "Can't move an extended partition."
+#~ msgid "Can't move extended partitions."
 #~ msgstr "ÎÞ·¨Òƶ¯À©Õ¹·ÖÇø¡£"
 
 #~ msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
 #~ msgstr "ÎÞ·¨½«·ÖÇøÒÆ¶¯µ½Ëü×ÔÉí¡£ÊÔÓøıä´óС£¬¿ÉÄÜ£¿"
 
+#~ msgid ""
+#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "ÄúÇëÇ󽫷ÖÇøÒÆ¶¯µ½ %.3f - %.3fMb¡£¿É¹ÜÀí×îÌù½üµÄ·ÖÇøÎª %.3f - %.3fMB¡£"
+
 #~ msgid "Minor: %d\n"
 #~ msgstr "Minor£º%d\n"
 
-#, fuzzy
-#~ msgid "Flags: %s\n"
+#~ msgid "Flags: "
 #~ msgstr "±êÖ¾£º"
 
 #~ msgid "File System: %s\n"
 #~ msgstr "Îļþϵͳ£º%s\n"
 
-#, fuzzy
-#~ msgid "Size:         "
+#~ msgid "Size:         %10.3fMb (%d%%)\n"
 #~ msgstr "´óС£º         %10.3fMb (%d%%)\n"
 
-#, fuzzy
-#~ msgid "Minimum size: "
+#~ msgid "Minimum size: %10.3fMb (%d%%)\n"
 #~ msgstr "×îС³ß´ç£º     %10.3fMb (%d%%)\n"
 
-#, fuzzy
-#~ msgid "Maximum size: "
+#~ msgid "Maximum size: %10.3fMb (%d%%)\n"
 #~ msgstr "×î´ó³ß´ç£º     %10.3fMb (%d%%)\n"
 
-#~ msgid "check"
-#~ msgstr "¼ì²é"
+#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
+#~ msgstr "%s µÄ´ÅÅ̼¸ºÎ½á¹¹£º0.000-%.3f Õ××Ö½Ú\n"
+
+#~ msgid "Minor    Start       End     "
+#~ msgstr "Minor    Æðʼµã        ÖÕÖ¹µã  "
+
+#~ msgid "Type      "
+#~ msgstr "ÀàÐÍ      "
+
+#~ msgid "Filesystem  "
+#~ msgstr "Îļþϵͳ    "
+
+#~ msgid "Name                  "
+#~ msgstr "Ãû³Æ                  "
 
-#, fuzzy
 #~ msgid ""
-#~ "check NUMBER                             do a simple check on the file "
-#~ "system"
+#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
+#~ "can manage is %.3f-%.3fMb."
+#~ msgstr ""
+#~ "ÄúÒªÇ󽫷ÖÇø¸Ä±ä´óС²¢±£´æµ½ %.3f - %.3fMb¡£¿É¹ÜÀí×î½Ó½üµÄ·ÖÇøÎª %.3f - "
+#~ "%.3fMb¡£"
+
+#~ msgid "check MINOR                   do a simple check on the filesystem"
 #~ msgstr "¼ì²é  MINOR                   ¶ÔÎļþϵͳ½øÐÐÒ»¸ö¼òµ¥µÄ¼ì²é"
 
 #~ msgid "cp"
 #~ msgstr "cp"
 
-#, fuzzy
 #~ msgid ""
-#~ "cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another "
+#~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      copy filesystem to another "
 #~ "partition"
 #~ msgstr ""
 #~ "cp [FROM-DEVICE] FROM-MINOR TO-MINOR      ½«Îļþϵͳ¸´ÖƵ½ÁíÒ»¸ö·ÖÇø"
@@ -3131,10 +3222,9 @@ msgstr ""
 #~ msgid "mkfs"
 #~ msgstr "mkfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on "
-#~ "partition NUMBER"
+#~ "mkfs MINOR FS-TYPE            make a filesystem FS-TYPE on partititon "
+#~ "MINOR"
 #~ msgstr ""
 #~ "mkfs MINOR ÎļþϵͳÀàÐÍ       ÔÚ MINOR ´´½¨ÀàÐÍΪ¡°ÎļþϵͳÀàÐÍ¡±µÄÎļþϵ"
 #~ "ͳ"
@@ -3142,154 +3232,18 @@ msgstr ""
 #~ msgid "mkpartfs"
 #~ msgstr "mkpartfs"
 
-#, fuzzy
 #~ msgid ""
-#~ "mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file "
-#~ "system"
+#~ "mkpartfs PART-TYPE FS-TYPE START END      make a partition with a "
+#~ "filesystem"
 #~ msgstr ""
 #~ "mkpartfs ·ÖÇøÀàÐÍ ÎļþϵͳÀàÐÍ Æðʼµã ÖÕÖ¹µã  ´´½¨Ò»¸ö´øÓÐÎļþϵͳµÄ·ÖÇø"
 
 #~ msgid "move"
 #~ msgstr "move"
 
-#, fuzzy
-#~ msgid "move NUMBER START END                    move partition NUMBER"
+#~ msgid "move MINOR START END          move partition MINOR"
 #~ msgstr "move MINOR Æðʼµã ÖÕÖ¹µã      Òƶ¯±àºÅΪ MINOR µÄ·ÖÇø"
 
-#~ msgid "resize"
-#~ msgstr "resize"
-
-#, fuzzy
-#~ msgid ""
-#~ "resize NUMBER START END                  resize partition NUMBER and its "
-#~ "file system"
-#~ msgstr ""
-#~ "rescue Æðʼµã ÖÕÖ¹µã          Íì¾ÈÁÙ½ü¡°Æðʼµã¡±¡¢¡°ÖÕÖ¹µã¡±µÄÒÅʧµÄ·ÖÇø"
-
-#~ msgid ""
-#~ "The sector size on %s is %d bytes.  Parted is known not to work properly "
-#~ "with drives with sector sizes other than %d bytes"
-#~ msgstr ""
-#~ "%s ÉϵÄÉÈÇø´óСΪ %d ×Ö½Ú¡£Ä¿Ç° Parted ²»ÄÜÔÚÉÈÇø´óС²»ÊÇ %d ×ֽڵĴÅÅÌÉÏ"
-#~ "ÕýÈ·¹¤×÷¡£"
-
-#~ msgid "Device %s has dodgey geometry."
-#~ msgstr "É豸 %s µÄ¼¸ºÎ½á¹¹ºÜÆæ¹Ö¡£"
-
-#~ msgid "IDE"
-#~ msgstr "IDE"
-
-#~ msgid "SCSI"
-#~ msgstr "SCSI"
-
-#~ msgid "Device %s is neither a SCSI nor IDE drive."
-#~ msgstr "É豸 %s ¼´²»ÊÇ SCSI ´ÅÅÌÒ²²»ÊÇ IDE ´ÅÅÌ¡£"
-
-#~ msgid "Error reading %s (%s) to determine if partition is mounted."
-#~ msgstr "Ϊȷ¶¨·ÖÇøÊÇ·ñ¼ÓÔØ¶ø¶ÁÈ¡ %s (%s) Ê±³ö´í¡£"
-
-#~ msgid ""
-#~ "Unable to determine if partitions are mounted via /proc/mounts or /etc/"
-#~ "mtab.  Make sure you don't attempt to resize or modify mounted file "
-#~ "systems.  (Even read-only mounted)"
-#~ msgstr ""
-#~ "ÎÞ·¨È·¶¨·ÖÇøÊÇ·ñÊÇͨ¹ý /proc/mounts »ò /etc/mtab ¼ÓÔØµÄ¡£ÇëÈ·ÈÏÄú²»»áÊÔͼ"
-#~ "¸Ä±äÎļþϵͳµÄ´óС»òÕßÐ޸ļÓÔØµÄÎļþϵͳ¡£(¼´Ê¹°´Ö»¶Á·½Ê½¼ÓÔØÒ²²»ÐÐ)"
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  However, the most likely reason is that Linux "
-#~ "detected the BIOS geometry for %s incorrectly.  GNU Parted suspects the "
-#~ "real geometry should be %d/%d/%d (not %d/%d/%d).  You should check with "
-#~ "your BIOS first, as this may not be correct.  You can inform Linux by "
-#~ "adding the parameter %s=%d,%d,%d to the command line.  See the LILO or "
-#~ "GRUB documentation for more information.  If you think Parted's suggested "
-#~ "geometry is correct, you may select Ignore to continue (and fix Linux "
-#~ "later).  Otherwise, select Cancel (and fix Linux and/or the BIOS now)."
-#~ msgstr ""
-#~ "%s ÉϵķÖÇø²»Ð­µ÷¡£²úÉúÕâÖÖÇé¿öµÄÔ­ÒòºÜ¶à¡£È»¶ø£¬×î¿ÉÄܵÄÔ­ÒòÊÇ Linux ¼ì²â"
-#~ "µ½µÄ BIOS ¹ØÓÚ %s µÄ¼¸ºÎ½á¹¹ÊÇ´íÎóµÄ¡£GNU Parted »³ÒÉʵ¼ÊµÄ¼¸ºÎ½á¹¹Îª %d/"
-#~ "%d/%d (¶ø²»ÊÇ %d/%d/%d)¡£ÒòΪ BIOS ¿ÉÄܲ»ÕýÈ·£¬ÄúÓ¦¸ÃÊ×Ïȼì²éÄúµÄ BIOS¡£Äú"
-#~ "¿ÉÒÔͨ¹ýÔÚÃüÁîÐÐÖÐÌí¼Ó²ÎÊý %s=%d,%d,%d À´Í¨Öª Linux¡£ÏêÇéÇë²Î¼û LILO »ò "
-#~ "GRUB µÄÎĵµ¡£Èç¹ûÄúÈÏΪ Parted Ëù½¨ÒéµÄ¼¸ºÎ½á¹¹ÊÇÕýÈ·µÄ£¬Äú¿ÉÒÔºöÂÔ²¢¼ÌÐø "
-#~ "(²¢ÔÚÒÔºóÐÞÕý Linux)¡£·ñÔò£¬Ñ¡Ôñ·ÅÆú (²¢ÂíÉÏÐÞÕý Linux ²¢ÇÒ/»òÕß BIOS)¡£"
-
-#~ msgid ""
-#~ "The partition table on %s is inconsistent.  There are many reasons why "
-#~ "this might be the case.  Often, the reason is that Linux detected the "
-#~ "BIOS geometry incorrectly.  However, this does not appear to be the case "
-#~ "here.  It is safe to ignore,but ignoring may cause (fixable) problems "
-#~ "with some boot loaders, and may cause problems with FAT file systems.  "
-#~ "Using LBA is recommended."
-#~ msgstr ""
-#~ "%s ÉϵķÖÇø±í²»Ð­µ÷¡£¿ÉÄܵ¼ÖÂÕâÖÖÇé¿öµÄÔ­ÒòÓкܶࡣͨ³££¬Ô­ÒòÊÇ Linux ¼ì²â"
-#~ "µ½µÄ BIOS ¼¸ºÎ½á¹¹ÊÇ´íÎóµÄ¡£È»¶ø£¬ÏÖÔÚËÆºõ²¢²»ÊÇÕâÖÖÇé¿ö¡£ºöÂÔÊǰ²È«µÄ£¬µ«"
-#~ "ÊǺöÂÔ¿ÉÄܵ¼ÖÂijЩÆô¶¯¹ÜÀíÆ÷µÄÎÊÌâ (¿ÉÐÞ¸´µÄ)£¬»¹¿ÉÄܵ¼Ö FAT Îļþϵͳ³öÏÖ"
-#~ "ÎÊÌâ¡£½¨ÒéʹÓàLBA¡£"
-
-#~ msgid ""
-#~ "Unable to align partition properly.  This probably means that another "
-#~ "partitioning tool generated an incorrect partition table, because it "
-#~ "didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring "
-#~ "may cause (fixable) problems with some boot loaders."
-#~ msgstr ""
-#~ "ÎÞ·¨ÕýÈ·µØ¶ÔÆë·ÖÇø¡£Õâ¿ÉÄÜÒâζ×ÅÆäËü·ÖÇø¹¤¾ßÓÉÓÚûÓеõ½ÕýÈ·µÄ BIOS ¼¸ºÎ½á"
-#~ "¹¹¶øÉú³ÉÁË´íÎóµÄ·ÖÇø±í¡£ºöÂÔÊǰ²È«µÄ£¬µ«ºöÂÔ¿ÉÄܵ¼ÖÂijЩÆô¶¯¹ÜÀíÆ÷³öÏÖ¿ÉÐÞ"
-#~ "¸´µÄÎÊÌâ¡£"
-
-#~ msgid "Attempt to read sectors %ld-%ld outside of partition on %s"
-#~ msgstr "ÊÔͼ¶ÁÈ¡ %3$s ÉÏ·ÖÇøÖ®ÍâµÄÉÈÇø %1$ld-%2$ld"
-
-#~ msgid ""
-#~ "This ext2 filesystem has a rather strange layout!  Parted can't resize "
-#~ "this (yet)."
-#~ msgstr "¸Ã ext2 ÎļþϵͳµÄ²¼¾ÖÏàµ±Ææ¹Ö£¡Parted ÉÐÇÒÎÞ·¨¸Ä±äËüµÄ´óС¡£"
-
-#~ msgid "Filesystem has incompatible feature enabled"
-#~ msgstr "ÎļþϵͳÆôÓÃÁ˲»¼æÈݵŦÄÜ"
-
-#~ msgid "File system has an invalid signature for a FAT file systems."
-#~ msgstr "Îļþϵͳº¬ÓÐÎÞЧµÄ FAT ÎļþϵͳǩÃû¡£"
-
-#~ msgid "where necessary, prompts for user intervention"
-#~ msgstr "ÔÚ±ØÒªÊ±£¬ÌáʾÓû§"
-
-#~ msgid ""
-#~ "Partition %s is being used.  Modifying it while it is in use could cause "
-#~ "severe corruption."
-#~ msgstr "ÕýÔÚʹÓ÷ÖÇø %s¡£ÔÚʹÓÃʱÐÞ¸ÄËû½«µ¼ÖÂÑÏÖØµÄÆÆ»µ¡£"
-
-#~ msgid ""
-#~ "You requested to move the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr ""
-#~ "ÄúÇëÇ󽫷ÖÇøÒÆ¶¯µ½ %.3f - %.3fMb¡£¿É¹ÜÀí×îÌù½üµÄ·ÖÇøÎª %.3f - %.3fMB¡£"
-
-#~ msgid "Disk geometry for %s: 0.000-%.3f megabytes\n"
-#~ msgstr "%s µÄ´ÅÅ̼¸ºÎ½á¹¹£º0.000-%.3f Õ××Ö½Ú\n"
-
-#~ msgid "Disk label type: %s\n"
-#~ msgstr "´ÅÅ̱êÇ©ÀàÐÍ£º%s\n"
-
-#~ msgid "Minor    Start       End     "
-#~ msgstr "Minor    Æðʼµã        ÖÕÖ¹µã  "
-
-#~ msgid "Type      "
-#~ msgstr "ÀàÐÍ      "
-
-#~ msgid "Filesystem  "
-#~ msgstr "Îļþϵͳ    "
-
-#~ msgid "Name                  "
-#~ msgstr "Ãû³Æ                  "
-
-#~ msgid ""
-#~ "You requested to resize the partition to %.3f-%.3fMb. The closest Parted "
-#~ "can manage is %.3f-%.3fMb."
-#~ msgstr ""
-#~ "ÄúÒªÇ󽫷ÖÇø¸Ä±ä´óС²¢±£´æµ½ %.3f - %.3fMb¡£¿É¹ÜÀí×î½Ó½üµÄ·ÖÇøÎª %.3f - "
-#~ "%.3fMb¡£"
-
 #~ msgid ""
 #~ "print [MINOR]                 display the partition table, or a partition"
 #~ msgstr "print [MINOR]                 ´òÓ¡·ÖÇø±í£¬»òÕß·ÖÇø"
index 1b66f66a86a4c003a336a204c02b6f6c7fa71d36..f8c9599ced2b507850b9a129b883c1cb3a96d174 100644 (file)
Binary files a/po/zh_TW.gmo and b/po/zh_TW.gmo differ
index a924c824a8e3523e49b90ee3d0fa1e13f1e6fbde..d799e3eefd299e3e83b5ee6c5350c9c75ee010d7 100644 (file)
@@ -3,15 +3,15 @@
 # This file is distributed under the same license as the parted package.
 # Wang Li <charles@linux.net.cn>, 2003.
 # Wei-Lun Chao <william.chao@ossii.com.tw>, 2011.
-# Wei-Lun Chao <chaoweilun@gmail.com>, 2012.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2012, 2013.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: parted 3.0\n"
+"Project-Id-Version: parted 3.1\n"
 "Report-Msgid-Bugs-To: bug-parted@gnu.org\n"
-"POT-Creation-Date: 2012-03-02 17:52+0100\n"
-"PO-Revision-Date: 2012-02-02 10:07+0800\n"
-"Last-Translator: Wei-Lun Chao <chaoweilun@gmail.com>\n"
+"POT-Creation-Date: 2014-07-28 23:04-0400\n"
+"PO-Revision-Date: 2013-05-31 23:39+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
 "Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
 "Language: zh_TW\n"
 "MIME-Version: 1.0\n"
@@ -33,7 +33,7 @@ msgstr "模稜兩可的引數 %s 用於 %s"
 msgid "Valid arguments are:"
 msgstr "有效的引數是:"
 
-#: lib/closeout.c:112 libparted/labels/fdasd.c:107
+#: lib/closeout.c:112 libparted/labels/fdasd.c:151
 msgid "write error"
 msgstr "寫入錯誤"
 
@@ -117,83 +117,83 @@ msgstr "%s:選項「-W %s」需要一個引數\n"
 #. If you don't know what to put here, please see
 #. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
 #. and use glyphs suitable for your language.
-#: lib/quotearg.c:311
+#: lib/quotearg.c:312
 msgid "`"
 msgstr "「"
 
-#: lib/quotearg.c:312
+#: lib/quotearg.c:313
 msgid "'"
 msgstr "」"
 
-#: lib/regcomp.c:130
+#: lib/regcomp.c:131
 msgid "Success"
 msgstr "成功"
 
-#: lib/regcomp.c:133
+#: lib/regcomp.c:134
 msgid "No match"
 msgstr "無吻合"
 
-#: lib/regcomp.c:136
+#: lib/regcomp.c:137
 msgid "Invalid regular expression"
 msgstr "無效的正規表示式"
 
-#: lib/regcomp.c:139
+#: lib/regcomp.c:140
 msgid "Invalid collation character"
 msgstr "無效的定序字元"
 
-#: lib/regcomp.c:142
+#: lib/regcomp.c:143
 msgid "Invalid character class name"
 msgstr "無效字元類別名稱"
 
-#: lib/regcomp.c:145
+#: lib/regcomp.c:146
 msgid "Trailing backslash"
 msgstr "尾隨反斜線"
 
-#: lib/regcomp.c:148
+#: lib/regcomp.c:149
 msgid "Invalid back reference"
 msgstr "無效的回溯參考"
 
-#: lib/regcomp.c:151
+#: lib/regcomp.c:152
 msgid "Unmatched [ or [^"
 msgstr "不符合的 [ 或 [^"
 
-#: lib/regcomp.c:154
+#: lib/regcomp.c:155
 msgid "Unmatched ( or \\("
 msgstr "不符合的 ( 或 \\("
 
-#: lib/regcomp.c:157
+#: lib/regcomp.c:158
 msgid "Unmatched \\{"
 msgstr "不符合的 \\{"
 
-#: lib/regcomp.c:160
+#: lib/regcomp.c:161
 msgid "Invalid content of \\{\\}"
 msgstr "無效的 \\{\\} 內容"
 
-#: lib/regcomp.c:163
+#: lib/regcomp.c:164
 msgid "Invalid range end"
 msgstr "無效的範圍結束"
 
-#: lib/regcomp.c:166
+#: lib/regcomp.c:167
 msgid "Memory exhausted"
 msgstr "記憶體已耗盡"
 
-#: lib/regcomp.c:169
+#: lib/regcomp.c:170
 msgid "Invalid preceding regular expression"
 msgstr "無效的前繼正規表示式"
 
-#: lib/regcomp.c:172
+#: lib/regcomp.c:173
 msgid "Premature end of regular expression"
 msgstr "過早結束的正規表示式"
 
-#: lib/regcomp.c:175
+#: lib/regcomp.c:176
 msgid "Regular expression too big"
 msgstr "正規表示式太大"
 
-#: lib/regcomp.c:178
+#: lib/regcomp.c:179
 msgid "Unmatched ) or \\)"
 msgstr "不符合的 ) 或 \\)"
 
-#: lib/regcomp.c:703
+#: lib/regcomp.c:707
 msgid "No previous regular expression"
 msgstr "無前一個正規表示式"
 
@@ -203,7 +203,7 @@ msgstr "無前一個正規表示式"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^yesexpr='
-#: lib/rpmatch.c:147
+#: lib/rpmatch.c:150
 msgid "^[yY]"
 msgstr "^[yY]"
 
@@ -213,7 +213,7 @@ msgstr "^[yY]"
 #. To enquire the regular expression that your system uses for this
 #. purpose, you can use the command
 #. locale -k LC_MESSAGES | grep '^noexpr='
-#: lib/rpmatch.c:160
+#: lib/rpmatch.c:163
 msgid "^[nN]"
 msgstr "^[nN]"
 
@@ -394,77 +394,77 @@ msgid "memory exhausted"
 msgstr "記憶體已耗盡"
 
 #: lib/xstrtol-error.c:63
-#, fuzzy, c-format
+#, c-format
 msgid "invalid %s%s argument '%s'"
-msgstr "無效的 %s%s 引數「%s」"
+msgstr "無效的 %s%s 引數 %s"
 
 #: lib/xstrtol-error.c:68
-#, fuzzy, c-format
+#, c-format
 msgid "invalid suffix in %s%s argument '%s'"
-msgstr "在 %s%s 的引數「%s」中有無效的字尾"
+msgstr "在 %s%s 的引數 %s 中有無效的字尾"
 
 #: lib/xstrtol-error.c:72
-#, fuzzy, c-format
+#, c-format
 msgid "%s%s argument '%s' too large"
-msgstr "%s%s 的引數「%s」太大"
+msgstr "%s%s 引數 %s 太大"
 
 #: libparted/arch/beos.c:245
 msgid "Disk Image"
 msgstr "磁碟影像"
 
 #: libparted/arch/beos.c:346 libparted/arch/gnu.c:277
-#: libparted/arch/linux.c:1558
+#: libparted/arch/linux.c:1639
 #, c-format
 msgid "Error opening %s: %s"
 msgstr "開啟 %s 時出錯:%s"
 
 #: libparted/arch/beos.c:357 libparted/arch/gnu.c:287
-#: libparted/arch/linux.c:1569
+#: libparted/arch/linux.c:1650
 #, c-format
 msgid "Unable to open %s read-write (%s).  %s has been opened read-only."
 msgstr "無法開啟 %s 以讀寫 (%s)。%s 已用唯讀的方式開啟。"
 
-#: libparted/arch/beos.c:419 libparted/arch/linux.c:1727
+#: libparted/arch/beos.c:419 libparted/arch/linux.c:1806
 #, c-format
 msgid "%s during seek for read on %s"
 msgstr "在為讀取 %2$s 而呼叫 seek 時 %1$s"
 
 #: libparted/arch/beos.c:452 libparted/arch/gnu.c:465 libparted/arch/gnu.c:564
-#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1687
-#: libparted/arch/linux.c:1768
+#: libparted/arch/gnu.c:692 libparted/arch/linux.c:1766
+#: libparted/arch/linux.c:1847
 #, c-format
 msgid "%s during read on %s"
 msgstr "在讀取 %2$s 期間 %1$s"
 
 #: libparted/arch/beos.c:488 libparted/arch/gnu.c:525
-#: libparted/arch/linux.c:1844
+#: libparted/arch/linux.c:1923
 #, c-format
 msgid "Can't write to %s, because it is opened read-only."
 msgstr "由於 %s 是以唯讀方式開啟,因此無法寫入。"
 
-#: libparted/arch/beos.c:504 libparted/arch/linux.c:1869
+#: libparted/arch/beos.c:504 libparted/arch/linux.c:1948
 #, c-format
 msgid "%s during seek for write on %s"
 msgstr "在為寫入 %2$s 呼叫 seek 時 %1$s"
 
 #: libparted/arch/beos.c:541 libparted/arch/gnu.c:601 libparted/arch/gnu.c:646
-#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1817
-#: libparted/arch/linux.c:1911 libparted/arch/linux.c:1983
+#: libparted/arch/gnu.c:723 libparted/arch/linux.c:1896
+#: libparted/arch/linux.c:1990 libparted/arch/linux.c:2062
 #, c-format
 msgid "%s during write on %s"
 msgstr "在寫入 %2$s 時 %1$s"
 
-#: partprobe/partprobe.c:137
+#: partprobe/partprobe.c:143
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "嘗試「%s --help」以獲得更多資訊。\n"
 
-#: partprobe/partprobe.c:141
+#: partprobe/partprobe.c:147
 #, c-format
 msgid "Usage: %s [OPTION] [DEVICE]...\n"
 msgstr "用法:%s [選項] [裝置]…\n"
 
-#: partprobe/partprobe.c:142
+#: partprobe/partprobe.c:148
 msgid ""
 "Inform the operating system about partition table changes.\n"
 "\n"
@@ -480,7 +480,7 @@ msgstr ""
 "  -h, --help       顯示這個說明然後離開\n"
 "  -v, --version    輸出版本資訊然後離開\n"
 
-#: partprobe/partprobe.c:150
+#: partprobe/partprobe.c:156
 msgid ""
 "\n"
 "When no DEVICE is given, probe all partitions.\n"
@@ -488,7 +488,7 @@ msgstr ""
 "\n"
 "如果沒有指定任何裝置,就探查所有分割區。\n"
 
-#: partprobe/partprobe.c:154
+#: partprobe/partprobe.c:160
 #, c-format
 msgid ""
 "\n"
@@ -530,7 +530,7 @@ msgstr ""
 "%s 上的分割區表無法被重新讀取 (%s)。這意味著 Hurd 不知道任何您所作的修改。您"
 "應該在對 %s 做任何操作之前重新啟動您的電腦。"
 
-#: libparted/arch/gnu.c:396 parted/parted.c:2140
+#: libparted/arch/gnu.c:396 parted/parted.c:2262
 msgid ""
 "You should reinstall your boot loader before rebooting.  Read section 4 of "
 "the Parted User documentation for more information."
@@ -543,17 +543,17 @@ msgstr ""
 msgid "%s trying to sync %s to disk"
 msgstr "%s 試圖將 %s 同步到磁碟上"
 
-#: libparted/arch/linux.c:529
+#: libparted/arch/linux.c:622
 #, c-format
 msgid "Could not stat device %s - %s."
 msgstr "無法對設備 %s - %s 進行 stat 操作。"
 
-#: libparted/arch/linux.c:586
+#: libparted/arch/linux.c:679
 #, c-format
 msgid "Unable to determine the dm type of %s."
 msgstr "無法決定 %s 的 dm 型態。"
 
-#: libparted/arch/linux.c:677
+#: libparted/arch/linux.c:757
 #, c-format
 msgid ""
 "Could not determine sector size for %s: %s.\n"
@@ -562,7 +562,7 @@ msgstr ""
 "無法決定用於 %s:%s 的磁區大小。\n"
 "使用預設磁區大小 (%lld)。"
 
-#: libparted/arch/linux.c:698
+#: libparted/arch/linux.c:778
 #, c-format
 msgid ""
 "Could not determine physical sector size for %s.\n"
@@ -571,21 +571,21 @@ msgstr ""
 "無法決定 %s 的實體磁區大小。\n"
 "將使用邏輯磁區大小 (%lld)。"
 
-#: libparted/arch/linux.c:754
+#: libparted/arch/linux.c:834
 #, c-format
 msgid "Unable to determine the size of %s (%s)."
 msgstr "無法確定 %s (%s) 的大小。"
 
-#: libparted/arch/linux.c:840
+#: libparted/arch/linux.c:920
 #, c-format
 msgid "Could not get identity of device %s - %s"
 msgstr "無法獲取設備 %s - %s 的標識"
 
-#: libparted/arch/linux.c:849
+#: libparted/arch/linux.c:929
 msgid "Generic IDE"
 msgstr "一般 IDE"
 
-#: libparted/arch/linux.c:870
+#: libparted/arch/linux.c:950
 #, c-format
 msgid ""
 "Device %s has multiple (%d) logical sectors per physical sector.\n"
@@ -598,12 +598,12 @@ msgstr ""
 "ext2/3。\n"
 "請參照網頁以獲得最新的資訊。"
 
-#: libparted/arch/linux.c:1047
+#: libparted/arch/linux.c:1127
 #, c-format
 msgid "Error initialising SCSI device %s - %s"
 msgstr "初始化 SCSI 設備 %s - %s 時出錯"
 
-#: libparted/arch/linux.c:1111
+#: libparted/arch/linux.c:1191
 #, c-format
 msgid ""
 "The device %s is so small that it cannot possibly store a file system or "
@@ -611,7 +611,7 @@ msgid ""
 msgstr ""
 "裝置 %s 太小,因此可能無法保存檔案系統或分割區表。 也許您選擇了錯誤的裝置?"
 
-#: libparted/arch/linux.c:1224
+#: libparted/arch/linux.c:1304
 #, c-format
 msgid ""
 "Unable to determine geometry of file/device %s.  You should not use Parted "
@@ -619,86 +619,86 @@ msgid ""
 msgstr ""
 "無法決定檔案/裝置 %s 的幾何位置。您不應使用 Parted 除非您真的知道在做什麼!"
 
-#: libparted/arch/linux.c:1284
+#: libparted/arch/linux.c:1364
 msgid "Generic SD/MMC Storage Card"
 msgstr "通用 SD/MMC 記憶卡"
 
-#: libparted/arch/linux.c:1337
+#: libparted/arch/linux.c:1421
 msgid "DAC960 RAID controller"
 msgstr "DAC960 RAID 控制器"
 
-#: libparted/arch/linux.c:1342
+#: libparted/arch/linux.c:1426
 msgid "Promise SX8 SATA Device"
 msgstr "Promise SX8 SATA 裝置"
 
-#: libparted/arch/linux.c:1347
+#: libparted/arch/linux.c:1431
 msgid "ATA over Ethernet Device"
 msgstr "乙太網路 ATA 裝置"
 
-#: libparted/arch/linux.c:1353
+#: libparted/arch/linux.c:1437
 msgid "IBM S390 DASD drive"
 msgstr "IBM S390 DASD 磁碟機"
 
-#: libparted/arch/linux.c:1359
+#: libparted/arch/linux.c:1443
 msgid "IBM iSeries Virtual DASD"
 msgstr "IBM iSeries 虛擬 DASD"
 
-#: libparted/arch/linux.c:1364
+#: libparted/arch/linux.c:1448
 msgid "Compaq Smart Array"
 msgstr "Compaq 智慧型陣列"
 
-#: libparted/arch/linux.c:1369
+#: libparted/arch/linux.c:1453
 msgid "ATARAID Controller"
 msgstr "ATARAID 控制器"
 
-#: libparted/arch/linux.c:1374
+#: libparted/arch/linux.c:1458
 msgid "I2O Controller"
 msgstr "I2O 控制器"
 
-#: libparted/arch/linux.c:1379
+#: libparted/arch/linux.c:1463
 msgid "User-Mode Linux UBD"
 msgstr "使用者模式 Linux UBD"
 
-#: libparted/arch/linux.c:1389
+#: libparted/arch/linux.c:1473
 msgid "Loopback device"
-msgstr ""
+msgstr "迴路裝置"
 
-#: libparted/arch/linux.c:1397
+#: libparted/arch/linux.c:1481
 #, c-format
 msgid "Linux device-mapper (%s)"
 msgstr "Linux 裝置映射程式 (%s)"
 
-#: libparted/arch/linux.c:1408
+#: libparted/arch/linux.c:1492
 msgid "Xen Virtual Block Device"
 msgstr "Xen 虛擬區段裝置"
 
-#: libparted/arch/linux.c:1413
+#: libparted/arch/linux.c:1497
 msgid "Unknown"
 msgstr "未知"
 
-#: libparted/arch/linux.c:1422
+#: libparted/arch/linux.c:1506
 msgid "Virtio Block Device"
 msgstr "Virtio 區塊裝置"
 
-#: libparted/arch/linux.c:1427
+#: libparted/arch/linux.c:1511
 msgid "Linux Software RAID Array"
 msgstr "Linux 軟體 RAID 陣列"
 
-#: libparted/arch/linux.c:1434
+#: libparted/arch/linux.c:1518
 msgid "ped_device_new()  Unsupported device type"
 msgstr "ped_device_new()  不支援的設備類型"
 
-#: libparted/arch/linux.c:1531 libparted/arch/linux.c:1603
+#: libparted/arch/linux.c:1612 libparted/arch/linux.c:1682
 #, c-format
 msgid "Error fsyncing/closing %s: %s"
 msgstr "檔案同步/關閉 %s 時發生錯誤:%s"
 
-#: libparted/arch/linux.c:1767
-#, fuzzy, c-format
+#: libparted/arch/linux.c:1846
+#, c-format
 msgid "%0.0send of file while reading %s"
-msgstr "讀取 %s 時出現檔案結尾"
+msgstr "%0.0s 出現檔案結尾於讀取 %s 時"
 
-#: libparted/arch/linux.c:2388
+#: libparted/arch/linux.c:2564
 #, c-format
 msgid ""
 "Error informing the kernel about modifications to partition %s -- %s.  This "
@@ -709,17 +709,12 @@ msgstr ""
 "道您針對 %s 所作的任何修改 - 所以您也不能在重新啟動之前掛載或以任何方式使用"
 "它。"
 
-#: libparted/arch/linux.c:2517
-#, fuzzy, c-format
-msgid "Unable to determine the start and length of %s."
-msgstr "無法決定 %s 的大小和長度。"
-
-#: libparted/arch/linux.c:2632
+#: libparted/arch/linux.c:2683
 #, c-format
-msgid "Failed to add partition %d (%s)"
-msgstr "加入分割區 %d (%s) 時失敗"
+msgid "Unable to determine the start and length of %s."
+msgstr "無法決定 %s 的啟始和長度。"
 
-#: libparted/arch/linux.c:2659
+#: libparted/arch/linux.c:3080
 #, c-format
 msgid ""
 "Partition(s) %s on %s have been written, but we have been unable to inform "
@@ -731,30 +726,17 @@ msgstr ""
 "們正在使用中,結果造成繼續使用舊的分割區。在進行進一步的變更之前,您應該立刻"
 "重新開機。"
 
-#: libparted/arch/linux.c:2785
-#, c-format
-msgid ""
-"parted was unable to re-read the partition table on %s (%s).  This means "
-"Linux won't know anything about the modifications you made. "
-msgstr ""
-"parted 無法重新讀取 %s (%s) 上的分割表區表。 這意味著 Linux 在您重新啟動之前"
-"無法知道任何修改。"
-
-#: libparted/cs/geom.c:161
+#: libparted/cs/geom.c:162
 #, c-format
 msgid "Can't have the end before the start! (start sector=%jd length=%jd)"
 msgstr "結束不可位於開始之前!(起始磁區=%jd 長度=%jd)"
 
-#: libparted/cs/geom.c:169
-msgid "Can't have a partition outside the disk!"
-msgstr "無法讓分割區超出磁碟!"
-
-#: libparted/cs/geom.c:384
+#: libparted/cs/geom.c:378
 #, c-format
 msgid "Attempt to write sectors %ld-%ld outside of partition on %s."
 msgstr "試圖寫入 %3$s 上分割區之外的磁區 %1$ld-%2$ld。"
 
-#: libparted/cs/geom.c:424
+#: libparted/cs/geom.c:418
 msgid "checking for bad blocks"
 msgstr "檢查壞區塊"
 
@@ -768,160 +750,177 @@ msgstr "回溯區有 %d 個呼叫關於堆疊:\n"
 msgid "Assertion (%s) at %s:%d in function %s() failed."
 msgstr "判定 (%s) 於 %s:%d 在函式 %s() 中失敗。"
 
-#: libparted/disk.c:192
+#: libparted/disk.c:193
 #, c-format
 msgid "%s: unrecognised disk label"
 msgstr "%s: 無法辨識的磁碟標籤"
 
-#: libparted/disk.c:484
+#: libparted/disk.c:486
 #, c-format
 msgid ""
 "This libparted doesn't have write support for %s.  Perhaps it was compiled "
 "read-only."
 msgstr "這個 libparted 不支援對 %s 的寫入操作。也許它是以唯讀方式編譯。"
 
-#: libparted/disk.c:629
+#: libparted/disk.c:631
 #, c-format
 msgid "Partition %d is %s, but the file system is %s."
 msgstr "分割區 %d 大小為 %s,但檔案系統大小為 %s。"
 
-#: libparted/disk.c:838
+#: libparted/disk.c:840
 msgid "cylinder_alignment"
 msgstr "cylinder_alignment"
 
-#: libparted/disk.c:840
-#, fuzzy
+#: libparted/disk.c:842
 msgid "pmbr_boot"
-msgstr "啟動"
+msgstr "pmbr_boot"
 
-#: libparted/disk.c:845
+#: libparted/disk.c:847
 #, c-format
 msgid "Unknown disk flag, %d."
 msgstr "不明的磁碟旗標,%d。"
 
-#: libparted/disk.c:1284
+#: libparted/disk.c:1288
 #, c-format
 msgid "%s disk labels do not support extended partitions."
 msgstr "%s 磁碟標籤不支援擴充分割區。"
 
-#: libparted/disk.c:1859
+#: libparted/disk.c:1820
 #, c-format
 msgid "%s disk labels don't support logical or extended partitions."
 msgstr "%s 磁碟標籤不支援邏輯或擴充分割區。"
 
-#: libparted/disk.c:1872
+#: libparted/disk.c:1833
 msgid "Too many primary partitions."
 msgstr "過多的主分割區。"
 
-#: libparted/disk.c:1881
+#: libparted/disk.c:1842
 #, c-format
 msgid ""
 "Can't add a logical partition to %s, because there is no extended partition."
 msgstr "由於沒有擴充分割區,無法將邏輯分割區添加到 %s。"
 
-#: libparted/disk.c:1905
+#: libparted/disk.c:1866
 #, c-format
 msgid "Can't have more than one extended partition on %s."
 msgstr "%s 上不能含有多於一個的擴充分割區。"
 
-#: libparted/disk.c:1915
+#: libparted/disk.c:1876
 msgid "Can't have logical partitions outside of the extended partition."
 msgstr "邏輯分割區不能位於擴充分割區之外。"
 
-#: libparted/disk.c:1940
+#: libparted/disk.c:1901
 #, c-format
 msgid "Can't have a logical partition outside of the extended partition on %s."
 msgstr "%s 上的邏輯分割區不能位於擴充分割區之外。"
 
-#: libparted/disk.c:1950 libparted/disk.c:2009 libparted/disk.c:2188
-msgid "Can't have overlapping partitions."
-msgstr "分割區不能重疊。"
-
-#: libparted/disk.c:1958
+#: libparted/disk.c:1911
 msgid "Can't have a primary partition inside an extended partition."
 msgstr "擴充分割區中不能含有主分割區。"
 
-#: libparted/disk.c:2389
+#: libparted/disk.c:1920
+msgid "Can't have a partition outside the disk!"
+msgstr "無法讓分割區超出磁碟!"
+
+#: libparted/disk.c:1971 libparted/disk.c:2149
+msgid "Can't have overlapping partitions."
+msgstr "分割區不能重疊。"
+
+#: libparted/disk.c:2350
 msgid "metadata"
 msgstr "中繼資料"
 
-#: libparted/disk.c:2391
+#: libparted/disk.c:2352
 msgid "free"
 msgstr "自由空間"
 
-#: libparted/disk.c:2393 parted/ui.c:1226 parted/ui.c:1254
+#: libparted/disk.c:2354 parted/ui.c:1222 parted/ui.c:1250
 msgid "extended"
 msgstr "擴充分割區"
 
-#: libparted/disk.c:2395 parted/ui.c:1230 parted/ui.c:1258
+#: libparted/disk.c:2356 parted/ui.c:1226 parted/ui.c:1254
 msgid "logical"
 msgstr "邏輯分割區"
 
-#: libparted/disk.c:2397 parted/ui.c:1222 parted/ui.c:1250
+#: libparted/disk.c:2358 parted/ui.c:1218 parted/ui.c:1246
 msgid "primary"
 msgstr "主分割區"
 
-#: libparted/disk.c:2413
+#: libparted/disk.c:2374
 msgid "boot"
 msgstr "啟動"
 
-#: libparted/disk.c:2415
+#: libparted/disk.c:2376
 msgid "bios_grub"
 msgstr "bios_grub"
 
-#: libparted/disk.c:2417
+#: libparted/disk.c:2378
 msgid "root"
 msgstr "根"
 
-#: libparted/disk.c:2419
+#: libparted/disk.c:2380
 msgid "swap"
 msgstr "交換分割區"
 
-#: libparted/disk.c:2421
+#: libparted/disk.c:2382
 msgid "hidden"
 msgstr "隱藏分割區"
 
-#: libparted/disk.c:2423
+#: libparted/disk.c:2384
 msgid "raid"
 msgstr "raid"
 
-#: libparted/disk.c:2425
+#: libparted/disk.c:2386
 msgid "lvm"
 msgstr "lvm"
 
-#: libparted/disk.c:2427
+#: libparted/disk.c:2388
 msgid "lba"
 msgstr "lba"
 
-#: libparted/disk.c:2429
+#: libparted/disk.c:2390
 msgid "hp-service"
 msgstr "hp-服務"
 
-#: libparted/disk.c:2431
+#: libparted/disk.c:2392
 msgid "palo"
 msgstr "palo"
 
-#: libparted/disk.c:2433
+#: libparted/disk.c:2394
 msgid "prep"
 msgstr "prep"
 
-#: libparted/disk.c:2435
+#: libparted/disk.c:2396
 msgid "msftres"
 msgstr "msftres"
 
-#: libparted/disk.c:2437
+#: libparted/disk.c:2398
+#, fuzzy
+msgid "msftdata"
+msgstr "中繼資料"
+
+#: libparted/disk.c:2400
 msgid "atvrecv"
 msgstr "atvrecv"
 
-#: libparted/disk.c:2439
+#: libparted/disk.c:2402
 msgid "diag"
 msgstr "diag"
 
-#: libparted/disk.c:2441
+#: libparted/disk.c:2404
 msgid "legacy_boot"
 msgstr "legacy_boot"
 
-#: libparted/disk.c:2447
+#: libparted/disk.c:2406
+msgid "irst"
+msgstr ""
+
+#: libparted/disk.c:2408
+#, fuzzy
+msgid "esp"
+msgstr "是"
+
+#: libparted/disk.c:2414
 #, c-format
 msgid "Unknown partition flag, %d."
 msgstr "未知的分割區旗標,%d。"
@@ -1018,10 +1017,10 @@ msgstr "尚未實作支援在 AIX 磁碟標籤中設定分割區的系統類型
 msgid "Support for setting flags in AIX disk labels is not implemented yet."
 msgstr "尚未實作支援在 AIX 磁碟標籤中設定旗標。"
 
-#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:833
-#: libparted/labels/dos.c:2176 libparted/labels/dvh.c:769
-#: libparted/labels/gpt.c:1838 libparted/labels/loop.c:247
-#: libparted/labels/mac.c:1425 libparted/labels/pc98.c:701
+#: libparted/labels/bsd.c:571 libparted/labels/dasd.c:874
+#: libparted/labels/dos.c:2237 libparted/labels/dvh.c:769
+#: libparted/labels/gpt.c:2015 libparted/labels/loop.c:243
+#: libparted/labels/mac.c:1420 libparted/labels/pc98.c:701
 #: libparted/labels/rdb.c:1052 libparted/labels/sun.c:780
 msgid "Unable to satisfy all constraints on the partition."
 msgstr "無法滿足分割區的所有限制。"
@@ -1030,32 +1029,31 @@ msgstr "無法滿足分割區的所有限制。"
 msgid "Unable to allocate a bsd disklabel slot."
 msgstr "無法定位 bsd 磁碟標籤槽。"
 
-#: libparted/labels/dasd.c:859
+#: libparted/labels/dasd.c:900
 msgid "Unable to allocate a dasd disklabel slot"
 msgstr "無法配置 dasd 磁碟標籤槽。"
 
-#: libparted/labels/dos.c:966
+#: libparted/labels/dos.c:1001
 #, c-format
 msgid "Invalid partition table on %s -- wrong signature %x."
 msgstr "%s 上的分割區表無效 - 錯誤的簽名 %x。"
 
-#: libparted/labels/dos.c:994
+#: libparted/labels/dos.c:1029
 #, c-format
 msgid "Invalid partition table - recursive partition on %s."
 msgstr "無效的分割區表 - %s 出現遞歸分割區。"
 
-#: libparted/labels/dos.c:1504
+#: libparted/labels/dos.c:1545
 msgid "Extended partitions cannot be hidden on msdos disk labels."
 msgstr "擴充分割區無法隱藏於 msdos 磁碟標籤之上。"
 
-#: libparted/labels/dos.c:2158
+#: libparted/labels/dos.c:2219
 msgid "Parted can't resize partitions managed by Windows Dynamic Disk."
 msgstr "Parted 無法改變由「視窗動態磁碟」所管理的分割區大小。"
 
-#: libparted/labels/dos.c:2414
-#, fuzzy
+#: libparted/labels/dos.c:2475
 msgid "cannot create any more partitions"
-msgstr "ç\84¡æ³\95建ç«\8bæ\9b´å¤\9aå\88\86å\89²å\8d\80ã\80\82"
+msgstr "ç\84¡æ³\95å\86\8d建ç«\8bä»»ä½\95å\88\86å\89²å\8d\80"
 
 #: libparted/labels/dvh.c:182
 #, c-format
@@ -1091,114 +1089,105 @@ msgstr ""
 msgid "Too many primary partitions"
 msgstr "過多的主分割區"
 
-#: libparted/labels/fdasd.c:98
+#: libparted/labels/fdasd.c:142
 msgid "open error"
 msgstr "開啟錯誤"
 
-#: libparted/labels/fdasd.c:101
+#: libparted/labels/fdasd.c:145
 msgid "seek error"
 msgstr "尋找錯誤"
 
-#: libparted/labels/fdasd.c:104
+#: libparted/labels/fdasd.c:148
 msgid "read error"
 msgstr "讀取錯誤"
 
-#: libparted/labels/fdasd.c:110
+#: libparted/labels/fdasd.c:154
 msgid "ioctl() error"
 msgstr "ioctl() 錯誤"
 
-#: libparted/labels/fdasd.c:114
+#: libparted/labels/fdasd.c:158
 msgid "API version mismatch"
 msgstr "API 版本不符"
 
-#: libparted/labels/fdasd.c:118
+#: libparted/labels/fdasd.c:162
 msgid "Unsupported disk type"
 msgstr "不支援的磁碟型態"
 
-#: libparted/labels/fdasd.c:122
+#: libparted/labels/fdasd.c:166
 msgid "Unsupported disk format"
 msgstr "不支援的磁碟格式"
 
-#: libparted/labels/fdasd.c:126
+#: libparted/labels/fdasd.c:170
 msgid "Disk is in use"
 msgstr "磁碟為正在使用中"
 
-#: libparted/labels/fdasd.c:130
+#: libparted/labels/fdasd.c:174
 msgid "Syntax error in config file"
 msgstr "組配檔案中語法錯誤"
 
-#: libparted/labels/fdasd.c:134
+#: libparted/labels/fdasd.c:178
 msgid "Volume label is corrupted"
 msgstr "卷冊標籤已損壞"
 
-#: libparted/labels/fdasd.c:138
+#: libparted/labels/fdasd.c:182
 msgid "A data set name is corrupted"
 msgstr "資料集名稱已損壞"
 
-#: libparted/labels/fdasd.c:142
+#: libparted/labels/fdasd.c:186
 msgid "Memory allocation failed"
 msgstr "記憶體配置失敗"
 
-#: libparted/labels/fdasd.c:146
+#: libparted/labels/fdasd.c:190
 msgid "Device verification failed"
 msgstr "裝置查核失敗"
 
-#: libparted/labels/fdasd.c:147
+#: libparted/labels/fdasd.c:191
 msgid "The specified device is not a valid DASD device"
 msgstr "指定裝置並非有效的 DASD 裝置"
 
-#: libparted/labels/fdasd.c:150 libparted/labels/vtoc.c:179
+#: libparted/labels/fdasd.c:194 libparted/labels/vtoc.c:179
 msgid "Fatal error"
 msgstr "嚴重錯誤"
 
-#: libparted/labels/fdasd.c:226
+#: libparted/labels/fdasd.c:266
 msgid "No room for volume label."
 msgstr "沒有空間可用於卷冊標籤。"
 
-#: libparted/labels/fdasd.c:234
+#: libparted/labels/fdasd.c:274
 msgid "No room for partition info."
 msgstr "沒有空間可用於分割區資訊。"
 
-#: libparted/labels/fdasd.c:709
+#: libparted/labels/fdasd.c:854
 msgid "Invalid VTOC."
 msgstr "無效的 VTOC。"
 
-#: libparted/labels/fdasd.c:766
+#: libparted/labels/fdasd.c:938
 msgid "Could not retrieve API version."
 msgstr "無法取回 API 版本。"
 
-#: libparted/labels/fdasd.c:769
+#: libparted/labels/fdasd.c:941
 #, c-format
 msgid ""
 "The current API version '%d' doesn't match dasd driver API version '%d'!"
 msgstr "目前的 API 版本「%d」不吻合 dasd 驅動程式 API 版本「%d」!"
 
-#: libparted/labels/fdasd.c:806
+#: libparted/labels/fdasd.c:984
 msgid "Could not retrieve disk geometry information."
 msgstr "無法取回磁碟幾何位置資訊。"
 
-#: libparted/labels/fdasd.c:810
+#: libparted/labels/fdasd.c:988
 msgid "Could not retrieve blocksize information."
 msgstr "無法取回區塊大小資訊。"
 
-#: libparted/labels/fdasd.c:815
+#: libparted/labels/fdasd.c:993
 msgid "Could not retrieve disk information."
 msgstr "無法取回磁碟資訊。"
 
-#: libparted/labels/gpt.c:494
-#, c-format
-msgid ""
-"%s contains GPT signatures, indicating that it has a GPT table.  However, it "
-"does not have a valid fake msdos partition table, as it should.  Perhaps it "
-"was corrupted -- possibly by a program that doesn't understand GPT partition "
-"tables.  Or perhaps you deleted the GPT table, and are now using an msdos "
-"partition table.  Is this a GPT partition table?"
+#: libparted/labels/gpt.c:532
+msgid "device is too small for GPT"
 msgstr ""
-"%s 含有 GPT 簽名,標明它含有 GPT 表。然而,它並不像應該的那樣含有有效的偽 "
-"msdos 分割區表。可能它已經損壞 - 可能是不理解 GPT 分割區表的程式所導致的。或"
-"者您刪除了 GPT 表,而現在使用 msdos 分割區表。這是 GPT 分割區表嗎?"
 
-#: libparted/labels/gpt.c:700
+#: libparted/labels/gpt.c:734
 #, c-format
 msgid ""
 "The format of the GPT partition table is version %x, which is newer than "
@@ -1206,7 +1195,7 @@ msgid ""
 msgstr ""
 "GPT 分割區表的格式版本為 %x,它比 Parted 所能辨識的版本要新。請回報這個狀況!"
 
-#: libparted/labels/gpt.c:746
+#: libparted/labels/gpt.c:770
 #, c-format
 msgid ""
 "Not all of the space available to %s appears to be used, you can fix the GPT "
@@ -1216,16 +1205,16 @@ msgstr ""
 "並非所有可用於 %s 的空間都被用到了,您可以修正 GPT 以使用所有的空間 (額外的 "
 "%llu 區塊),或是繼續使用目前的設定?"
 
-#: libparted/labels/gpt.c:967
+#: libparted/labels/gpt.c:1006
+#, fuzzy
 msgid ""
-"The backup GPT table is not at the end of the disk, as it should be.  This "
-"might mean that another operating system believes the disk is smaller.  Fix, "
+"The backup GPT table is not at the end of the disk, as it should be.  Fix, "
 "by moving the backup to the end (and removing the old backup)?"
 msgstr ""
 "備份 GPT 表不像應該的那樣出現在磁碟的末尾。這可能意味者其它操作系統相信磁碟小"
 "一些。經由將備份移動到末尾 (並刪除舊備份) 來修正它?"
 
-#: libparted/labels/gpt.c:991
+#: libparted/labels/gpt.c:1024
 msgid ""
 "Both the primary and backup GPT tables are corrupt.  Try making a fresh "
 "table, and using Parted's rescue feature to recover partitions."
@@ -1233,22 +1222,27 @@ msgstr ""
 "主 GPT 和備份 GPT 都損壞了。現在試圖建立新表,並使用 Parted 的回復功能以重建"
 "分割區表。"
 
-#: libparted/labels/gpt.c:1002
+#: libparted/labels/gpt.c:1035
 msgid ""
 "The backup GPT table is corrupt, but the primary appears OK, so that will be "
 "used."
 msgstr "GPT 備份表損壞,但是主表似乎是正確的,所以將會使用它。"
 
-#: libparted/labels/gpt.c:1014
+#: libparted/labels/gpt.c:1047
 msgid ""
 "The primary GPT table is corrupt, but the backup appears OK, so that will be "
 "used."
 msgstr "主 GPT 表損壞,但備份似乎是正確的,所以將會使用它。"
 
-#: libparted/labels/gpt.c:1038
+#: libparted/labels/gpt.c:1071
 msgid "primary partition table array CRC mismatch"
 msgstr "主分割表的陣列循環冗餘檢查不匹配"
 
+#: libparted/labels/gpt.c:1901 libparted/labels/gpt.c:1928
+#, fuzzy
+msgid "failed to translate partition name"
+msgstr "無法定位分割區編號。"
+
 #: libparted/labels/mac.c:184
 #, c-format
 msgid "Invalid signature %x for Mac disk labels."
@@ -1263,57 +1257,57 @@ msgstr "分割區映射不含有分割區映射條目!"
 msgid "%s is too small for a Mac disk label!"
 msgstr "%s 對 Mac 磁碟標籤來說太小了!"
 
-#: libparted/labels/mac.c:508
+#: libparted/labels/mac.c:506
 #, c-format
 msgid "Partition %d has an invalid signature %x."
 msgstr "分割區 %d 含有無效的簽名 %x。"
 
-#: libparted/labels/mac.c:526
+#: libparted/labels/mac.c:523
 #, c-format
 msgid "Partition %d has an invalid length of 0 bytes!"
 msgstr "分割區 %d 含有無效的長度 0 位元組!"
 
-#: libparted/labels/mac.c:557
+#: libparted/labels/mac.c:554
 msgid "The data region doesn't start at the start of the partition."
 msgstr "資料區並未從分割區的起點開始。"
 
-#: libparted/labels/mac.c:574
+#: libparted/labels/mac.c:571
 msgid "The boot region doesn't start at the start of the partition."
 msgstr "啟動區域並未從分割區的起點開始。"
 
-#: libparted/labels/mac.c:588
+#: libparted/labels/mac.c:585
 msgid "The partition's boot region doesn't occupy the entire partition."
 msgstr "分割區的啟動區域並未佔用整個分割區。"
 
-#: libparted/labels/mac.c:599
+#: libparted/labels/mac.c:596
 msgid "The partition's data region doesn't occupy the entire partition."
 msgstr "分割區的資料區域並未佔用整個分割區。"
 
-#: libparted/labels/mac.c:652
+#: libparted/labels/mac.c:648
 #, c-format
 msgid ""
 "Weird block size on device descriptor: %d bytes is not divisible by 512."
 msgstr "設備描述中出現古怪的區塊大小:%d 位元組不能被 512 整除。"
 
-#: libparted/labels/mac.c:665
+#: libparted/labels/mac.c:661
 #, c-format
 msgid ""
 "The driver descriptor says the physical block size is %d bytes, but Linux "
 "says it is %d bytes."
 msgstr "磁碟描述表明物理區塊大小為 %d 位元組,但 Linux 認為它是 %d 位元組。"
 
-#: libparted/labels/mac.c:718
+#: libparted/labels/mac.c:714
 msgid "No valid partition map found."
 msgstr "找不到有效的分割區映射。"
 
-#: libparted/labels/mac.c:779
+#: libparted/labels/mac.c:787
 #, c-format
 msgid ""
 "Conflicting partition map entry sizes!  Entry 1 says it is %d, but entry %d "
 "says it is %d!"
 msgstr "分割區映射條目大小發生衝突!條目 1 說它是 %d,但條目 %d 說它是 %d!"
 
-#: libparted/labels/mac.c:810
+#: libparted/labels/mac.c:818
 msgid "Weird!  There are 2 partitions map entries!"
 msgstr "奇怪!兩個分割區映射條目!"
 
@@ -1323,7 +1317,7 @@ msgid ""
 "recognising it as such."
 msgstr "改變根分割區或交換分割區的名稱將導致 Linux 無法辨識它。"
 
-#: libparted/labels/mac.c:1460
+#: libparted/labels/mac.c:1455
 msgid "Can't add another partition -- the partition map is too small!"
 msgstr "無法添加另一個分割區 -- 分割區映射過小!"
 
@@ -1461,56 +1455,61 @@ msgstr "裝置寫入時失敗"
 msgid "reading from device failed"
 msgstr "從裝置讀取時失敗"
 
-#: libparted/labels/vtoc.c:299 libparted/labels/vtoc.c:308
-#: libparted/labels/vtoc.c:329 libparted/labels/vtoc.c:336
+#: libparted/labels/vtoc.c:371 libparted/labels/vtoc.c:380
+#: libparted/labels/vtoc.c:401 libparted/labels/vtoc.c:408
 msgid "Could not read volume label."
 msgstr "無法讀取卷冊標籤。"
 
-#: libparted/labels/vtoc.c:356 libparted/labels/vtoc.c:363
+#: libparted/labels/vtoc.c:428 libparted/labels/vtoc.c:435
 msgid "Could not write volume label."
 msgstr "無法寫入卷冊標籤。"
 
-#: libparted/labels/vtoc.c:469
+#: libparted/labels/vtoc.c:541
 msgid "Could not read VTOC labels."
 msgstr "無法讀取 VTOC 標籤。"
 
-#: libparted/labels/vtoc.c:475
+#: libparted/labels/vtoc.c:547
 msgid "Could not read VTOC FMT1 DSCB."
 msgstr "無法讀取 VTOC FMT1 DSCB。"
 
-#: libparted/labels/vtoc.c:482
+#: libparted/labels/vtoc.c:554
 msgid "Could not read VTOC FMT4 DSCB."
 msgstr "無法讀取 VTOC FMT4 DSCB。"
 
-#: libparted/labels/vtoc.c:489
+#: libparted/labels/vtoc.c:561
 msgid "Could not read VTOC FMT5 DSCB."
 msgstr "無法讀取 VTOC FMT5 DSCB。"
 
-#: libparted/labels/vtoc.c:496
+#: libparted/labels/vtoc.c:568
 msgid "Could not read VTOC FMT7 DSCB."
 msgstr "無法讀取 VTOC FMT7 DSCB。"
 
-#: libparted/labels/vtoc.c:516
+#: libparted/labels/vtoc.c:589
 msgid "Could not write VTOC labels."
 msgstr "無法寫入 VTOC 標籤。"
 
-#: libparted/labels/vtoc.c:522
+#: libparted/labels/vtoc.c:595
 msgid "Could not write VTOC FMT1 DSCB."
 msgstr "無法寫入 VTOC FMT1 DSCB。"
 
-#: libparted/labels/vtoc.c:529
+#: libparted/labels/vtoc.c:602
 msgid "Could not write VTOC FMT4 DSCB."
 msgstr "無法寫入 VTOC FMT4 DSCB。"
 
-#: libparted/labels/vtoc.c:536
+#: libparted/labels/vtoc.c:609
 msgid "Could not write VTOC FMT5 DSCB."
 msgstr "無法寫入 VTOC FMT5 DSCB。"
 
-#: libparted/labels/vtoc.c:543
+#: libparted/labels/vtoc.c:616
 msgid "Could not write VTOC FMT7 DSCB."
 msgstr "無法寫入 VTOC FMT7 DSCB。"
 
-#: libparted/libparted.c:230
+#: libparted/labels/vtoc.c:626
+#, fuzzy
+msgid "Could not write VTOC FMT9 DSCB."
+msgstr "無法寫入 VTOC FMT1 DSCB。"
+
+#: libparted/libparted.c:234
 msgid "Out of memory."
 msgstr "記憶體耗盡。"
 
@@ -1544,27 +1543,27 @@ msgstr "無效的編號。"
 
 #: libparted/unit.c:538
 msgid "Use a smaller unit instead of a value < 1"
-msgstr ""
+msgstr "使用較小單位以代替值 < 1"
 
-#: libparted/fs/amiga/affs.c:62 libparted/fs/amiga/apfs.c:55
-#: libparted/fs/amiga/asfs.c:69
+#: libparted/fs/amiga/affs.c:63 libparted/fs/amiga/apfs.c:57
+#: libparted/fs/amiga/asfs.c:71
 #, c-format
 msgid "%s : Failed to allocate partition block\n"
 msgstr "%s:配置分割區區塊時失敗\n"
 
-#: libparted/fs/amiga/affs.c:77 libparted/fs/amiga/apfs.c:68
-#: libparted/fs/amiga/asfs.c:81
+#: libparted/fs/amiga/affs.c:78 libparted/fs/amiga/apfs.c:70
+#: libparted/fs/amiga/asfs.c:83
 #, c-format
 msgid "%s : Failed to allocate block\n"
 msgstr "%s:配置區塊時失敗\n"
 
-#: libparted/fs/amiga/affs.c:82 libparted/fs/amiga/apfs.c:73
+#: libparted/fs/amiga/affs.c:83 libparted/fs/amiga/apfs.c:75
 #, c-format
 msgid "%s : Couldn't read boot block %llu\n"
 msgstr "%s:無法讀取啟動區塊 %llu\n"
 
-#: libparted/fs/amiga/affs.c:98 libparted/fs/amiga/apfs.c:84
-#: libparted/fs/amiga/asfs.c:87 libparted/fs/amiga/asfs.c:101
+#: libparted/fs/amiga/affs.c:99 libparted/fs/amiga/apfs.c:86
+#: libparted/fs/amiga/asfs.c:89 libparted/fs/amiga/asfs.c:103
 #, c-format
 msgid "%s : Couldn't read root block %llu\n"
 msgstr "%s:無法讀取根區塊 %llu\n"
@@ -1604,86 +1603,69 @@ msgstr "%s:無法找到 rdb 區塊,這不應該發生\n"
 msgid "%s : Failed to read partition block %llu\n"
 msgstr "%s:讀取分割區區塊 %llu 時失敗\n"
 
-#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:819
+#: libparted/fs/fat/fat.c:148 libparted/fs/r/fat/fat.c:811
 msgid ""
 "GNU Parted was miscompiled: the FAT boot sector should be 512 bytes.  FAT "
 "support will be disabled."
 msgstr "GNU parted 編譯錯誤:FAT 啟動磁區應為 512 位元組。FAT 支援將被關閉。"
 
-#: libparted/fs/fat/bootsector.c:49 libparted/fs/fat/bootsector.c:56
-#: libparted/fs/r/fat/bootsector.c:49 libparted/fs/r/fat/bootsector.c:56
+#: libparted/fs/fat/bootsector.c:50 libparted/fs/r/fat/bootsector.c:49
 msgid "File system has an invalid signature for a FAT file system."
 msgstr "檔案系統含有無效的 FAT 檔案系統簽名。"
 
-#: libparted/fs/fat/bootsector.c:64 libparted/fs/r/fat/bootsector.c:64
+#: libparted/fs/fat/bootsector.c:58 libparted/fs/r/fat/bootsector.c:57
 msgid "File system has an invalid sector size for a FAT file system."
 msgstr "檔案系統的磁區大小對 FAT 檔案系統來說無效。"
 
-#: libparted/fs/fat/bootsector.c:71 libparted/fs/r/fat/bootsector.c:71
+#: libparted/fs/fat/bootsector.c:65 libparted/fs/r/fat/bootsector.c:64
 msgid "File system has an invalid cluster size for a FAT file system."
 msgstr "檔案系統的磁簇大小對 FAT 檔案系統來說無效。"
 
-#: libparted/fs/fat/bootsector.c:78 libparted/fs/r/fat/bootsector.c:78
+#: libparted/fs/fat/bootsector.c:72 libparted/fs/r/fat/bootsector.c:71
 msgid ""
 "File system has an invalid number of reserved sectors for a FAT file system."
 msgstr "檔案系統的保留磁區數對 FAT 檔案系統來說無效。"
 
-#: libparted/fs/fat/bootsector.c:85 libparted/fs/r/fat/bootsector.c:85
+#: libparted/fs/fat/bootsector.c:79 libparted/fs/r/fat/bootsector.c:78
 msgid "File system has an invalid number of FATs."
 msgstr "檔案系統的 FAT 數量無效。"
 
-#: libparted/fs/fat/bootsector.c:156 libparted/fs/r/fat/bootsector.c:139
-#, c-format
-msgid ""
-"This file system has a logical sector size of %d.  GNU Parted is known not "
-"to work properly with sector sizes other than 512 bytes."
-msgstr ""
-"此檔案系統的邏輯磁區大小為 %d。GNU Parted 無法在磁區大小不是 512 位元組的情況"
-"下正確工作。"
-
-#: libparted/fs/fat/bootsector.c:180
+#: libparted/fs/fat/bootsector.c:162
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
 "partition table's CHS geometry is (%d, %d, %d)."
 msgstr ""
+"檔案系統的 CHS 位置與尺寸是 (%d, %d, %d),該項無效。 分割表的 CHS 位置與尺寸"
+"是 (%d, %d, %d)。"
 
-#: libparted/fs/fat/bootsector.c:215 libparted/fs/r/fat/bootsector.c:213
+#: libparted/fs/fat/bootsector.c:197 libparted/fs/r/fat/bootsector.c:206
 msgid "FAT boot sector says logical sector size is 0.  This is weird. "
 msgstr "FAT 啟動磁區聲稱邏輯磁區的大小為零。這很奇怪。"
 
-#: libparted/fs/fat/bootsector.c:221 libparted/fs/r/fat/bootsector.c:219
+#: libparted/fs/fat/bootsector.c:203 libparted/fs/r/fat/bootsector.c:212
 msgid "FAT boot sector says there are no FAT tables.  This is weird. "
 msgstr "FAT 啟動磁區聲稱沒有 FAT 表。這很奇怪。"
 
-#: libparted/fs/fat/bootsector.c:227 libparted/fs/r/fat/bootsector.c:225
+#: libparted/fs/fat/bootsector.c:209 libparted/fs/r/fat/bootsector.c:218
 msgid "FAT boot sector says clusters are 0 sectors.  This is weird. "
 msgstr "FAT 啟動磁區聲稱磁簇具有零磁區。這很奇怪。"
 
-#: libparted/fs/fat/bootsector.c:237 libparted/fs/r/fat/bootsector.c:235
+#: libparted/fs/fat/bootsector.c:219 libparted/fs/r/fat/bootsector.c:228
 msgid "File system is FAT12, which is unsupported."
 msgstr "檔案系統為 FAT12,不支援。"
 
-#: libparted/fs/fat/bootsector.c:307 libparted/fs/r/fat/bootsector.c:411
-#, c-format
-msgid ""
-"The information sector has the wrong signature (%x).  Select cancel for now, "
-"and send in a bug report.  If you're desperate, it's probably safe to ignore."
-msgstr ""
-"資訊磁區的簽名錯誤 (%x)。現在選擇取消,並發送程式錯誤報告。如果您不顧一切,選"
-"擇忽略有可能是「安全」的。"
-
-#: libparted/fs/linux_swap/linux_swap.c:247
+#: libparted/fs/linux_swap/linux_swap.c:230
 #, c-format
 msgid "Unrecognised old style linux swap signature '%10s'."
 msgstr "無法辨識的舊式 linux 交換簽名「%10s」。"
 
-#: libparted/fs/linux_swap/linux_swap.c:290
+#: libparted/fs/linux_swap/linux_swap.c:268
 #, c-format
 msgid "Unrecognised new style linux swap signature '%10s'."
 msgstr "無法辨識的新式 linux 交換簽名「%10s」。"
 
-#: libparted/fs/linux_swap/linux_swap.c:330
+#: libparted/fs/linux_swap/linux_swap.c:308
 #, c-format
 msgid "Unrecognised swsusp linux swap signature '%9s'."
 msgstr "無法辨識的 swsusp linux 交換簽名「%9s」。"
@@ -1695,7 +1677,16 @@ msgid ""
 "%d bytes."
 msgstr "Parted 無法在其磁區大小不等於 %d 位元組的磁碟上使用 HFS 檔案系統。"
 
-#: libparted/fs/r/fat/bootsector.c:164
+#: libparted/fs/r/fat/bootsector.c:132
+#, c-format
+msgid ""
+"This file system has a logical sector size of %d.  GNU Parted is known not "
+"to work properly with sector sizes other than 512 bytes."
+msgstr ""
+"此檔案系統的邏輯磁區大小為 %d。GNU Parted 無法在磁區大小不是 512 位元組的情況"
+"下正確工作。"
+
+#: libparted/fs/r/fat/bootsector.c:157
 #, c-format
 msgid ""
 "The file system's CHS geometry is (%d, %d, %d), which is invalid.  The "
@@ -1708,29 +1699,40 @@ msgstr ""
 "為 (%d, %d, %d)。如果您選擇忽略,檔案系統的 CHS 幾何結構將會保留不變。如果您"
 "選擇修復,檔案系統的 CHS 幾何結構將會被設定以符合分割區表的 CHS 幾何結構。"
 
+#: libparted/fs/r/fat/bootsector.c:406
+#, c-format
+msgid ""
+"The information sector has the wrong signature (%x).  Select cancel for now, "
+"and send in a bug report.  If you're desperate, it's probably safe to ignore."
+msgstr ""
+"資訊磁區的簽名錯誤 (%x)。現在選擇取消,並發送程式錯誤報告。如果您不顧一切,選"
+"擇忽略有可能是「安全」的。"
+
 #: libparted/fs/r/fat/calc.c:134
 #, c-format
 msgid ""
 "You need %s of free disk space to shrink this partition to this size.  "
 "Currently, only %s is free."
 msgstr ""
+"您需要 %s 的可用磁碟空間以收縮這個分割區到這個大小。 目前,只有 %s 為可用。"
 
 #: libparted/fs/r/fat/context.c:55
 #, c-format
 msgid ""
 "Cluster start delta = %d, which is not a multiple of the cluster size %d."
-msgstr ""
+msgstr "磁簇啟始 delta = %d,它並非磁簇大小 %d 的倍數。"
 
 #: libparted/fs/r/fat/count.c:143
 #, c-format
 msgid "Bad directory entry for %s: first cluster is the end of file marker."
-msgstr ""
+msgstr "%s 有不當的目錄條目:第一個磁簇是檔案標記的結尾。"
 
 #: libparted/fs/r/fat/count.c:156
 #, c-format
 msgid ""
 "Bad FAT: unterminated chain for %s.  You should run dosfsck or scandisk."
 msgstr ""
+"不當的 FAT 分割表:%s 有未終結的鏈結。 您應該執行 dosfsck 或 scandisk。"
 
 #: libparted/fs/r/fat/count.c:165
 #, c-format
@@ -1738,6 +1740,8 @@ msgid ""
 "Bad FAT: cluster %d outside file system in chain for %s.  You should run "
 "dosfsck or scandisk."
 msgstr ""
+"不當的 FAT 分割表:%2$s 的鏈結中有磁簇 %1$d 位於檔案系統之外。 您應該執行 "
+"dosfsck 或 scandisk。"
 
 #: libparted/fs/r/fat/count.c:175
 #, c-format
@@ -1745,61 +1749,67 @@ msgid ""
 "Bad FAT: cluster %d is cross-linked for %s.  You should run dosfsck or "
 "scandisk."
 msgstr ""
+"不當的 FAT 分割表:%2$s 有磁簇 %1$d 被交叉鏈結。 您應該執行 dosfsck 或 "
+"scandisk。"
 
 #: libparted/fs/r/fat/count.c:194
 #, c-format
 msgid "%s is %dk, but it has %d clusters (%dk)."
-msgstr ""
+msgstr "%s 是 %dk,但是它有 %d 個磁簇 (%dk)。"
 
 #: libparted/fs/r/fat/count.c:257
 #, c-format
 msgid ""
 "The file %s is marked as a system file.  This means moving it could cause "
 "some programs to stop working."
-msgstr ""
+msgstr "檔案 %s 被標記為系統檔案。 這表示移動它可能會造成某些程式停止作用。"
 
-#: libparted/fs/r/fat/fat.c:251
-#, fuzzy, c-format
+#: libparted/fs/r/fat/fat.c:243
+#, c-format
 msgid "Partition too big/small for a %s file system."
-msgstr "å\88\86å\89²å\8d\80 %d å¤§å°\8fç\82º %sï¼\8cä½\86æª\94æ¡\88系統大å°\8fç\82º %s。"
+msgstr "å°\8dæ\96¼ %s æª\94æ¡\88系統è\80\8cè¨\80ï¼\8cå\88\86å\89²å\8d\80太大/太å°\8f。"
 
-#: libparted/fs/r/fat/fat.c:417
+#: libparted/fs/r/fat/fat.c:409
 msgid ""
 "The FATs don't match.  If you don't know what this means, then select "
 "cancel, run scandisk on the file system, and then come back."
 msgstr ""
+"FAT 分割表不匹配。 如果您不知道這表示什麼,就請選取取消、在檔案系統上執行 "
+"scandisk,然後回來。"
 
-#: libparted/fs/r/fat/fat.c:457
+#: libparted/fs/r/fat/fat.c:449
 msgid "There are no possible configurations for this FAT type."
-msgstr ""
+msgstr "對於這個 FAT 分割表類型沒有可能的組態。"
 
-#: libparted/fs/r/fat/fat.c:469
+#: libparted/fs/r/fat/fat.c:461
 #, c-format
 msgid ""
 "File system doesn't have expected sizes for Windows to like it.  Cluster "
 "size is %dk (%dk expected); number of clusters is %d (%d expected); size of "
 "FATs is %d sectors (%d expected)."
 msgstr ""
+"檔案系統不具有可讓 Windows 喜歡的預期大小。 磁簇大小是 %dk (預期為 %dk);磁簇"
+"數量是 %d (預期為 %d);FAT 分割表的大小是 %d 磁區 (預期為 %d)。"
 
-#: libparted/fs/r/fat/fat.c:492
+#: libparted/fs/r/fat/fat.c:484
 #, c-format
 msgid ""
 "File system is reporting the free space as %d clusters, not %d clusters."
-msgstr ""
+msgstr "檔案系統報告指出剩餘空間為 %d 磁簇,並非 %d 磁簇。"
 
 #: libparted/fs/r/fat/resize.c:158
 msgid ""
 "There's not enough room in the root directory for all of the files.  Either "
 "cancel, or ignore to lose the files."
-msgstr ""
+msgstr "在根目錄中空間不足以用於所有的檔案。 可選擇取消,或是忽略而遺失檔案。"
 
 #: libparted/fs/r/fat/resize.c:299
 msgid "Error writing to the root directory."
-msgstr ""
+msgstr "寫入根目錄時發生錯誤。"
 
 #: libparted/fs/r/fat/resize.c:488
 msgid "If you leave your file system as FAT16, then you will have no problems."
-msgstr ""
+msgstr "如果您保留檔案系統為 FAT16, 那麼將不會有問題。"
 
 #: libparted/fs/r/fat/resize.c:491
 msgid ""
@@ -1807,12 +1817,15 @@ msgid ""
 "you must re-install the MS Windows boot loader.  If you want to do this, you "
 "should consult the Parted manual (or your distribution's manual)."
 msgstr ""
+"如果您轉換到 FAT16,而 MS Windows 已被安裝於這個分割,那麼您必須重新安裝 MS "
+"Windows 的開機載入器。 如果您要這樣做,您應該查詢一下 Parted 手冊 (或是發行版"
+"手冊)。"
 
 #: libparted/fs/r/fat/resize.c:499
 msgid ""
 "If you leave your file system as FAT32, then you will not introduce any new "
 "problems."
-msgstr ""
+msgstr "如果您保留檔案系統為 FAT32, 那麼您將不會引入任何新問題。"
 
 #: libparted/fs/r/fat/resize.c:503
 msgid ""
@@ -1822,35 +1835,39 @@ msgid ""
 "converting to FAT32 will make the file system unreadable by MS DOS, MS "
 "Windows 95a, and MS Windows NT."
 msgstr ""
+"如果您轉換到 FAT32,而 MS Windows 已被安裝於這個分割,那麼您必須重新安裝 MS "
+"Windows 的開機載入器。 如果您要這樣做,您應該查詢一下 Parted 手冊 (或是發行版"
+"手冊)。 同時,轉換到 FAT32 將使得檔案系統無法讓 MS DOS、MS Windows 95a 和 MS "
+"Windows NT 讀取。"
 
 #: libparted/fs/r/fat/resize.c:517
 #, c-format
 msgid "%s  %s  %s"
-msgstr ""
+msgstr "%s  %s  %s"
 
 #: libparted/fs/r/fat/resize.c:518
 msgid "Would you like to use FAT32?"
-msgstr ""
+msgstr "您想要使用 FAT32 嗎?"
 
 #: libparted/fs/r/fat/resize.c:549 libparted/fs/r/fat/resize.c:565
 #, c-format
 msgid "%s  %s"
-msgstr ""
+msgstr "%s  %s"
 
 #: libparted/fs/r/fat/resize.c:550
 msgid ""
 "The file system can only be resized to this size by converting to FAT16."
-msgstr ""
+msgstr "檔案系統只能藉由轉換到 FAT16 以調整為這樣的大小。"
 
 #: libparted/fs/r/fat/resize.c:566
 msgid ""
 "The file system can only be resized to this size by converting to FAT32."
-msgstr ""
+msgstr "檔案系統只能藉由轉換到 FAT32 以調整為這樣的大小。"
 
 #: libparted/fs/r/fat/resize.c:579
 msgid ""
 "GNU Parted cannot resize this partition to this size.  We're working on it!"
-msgstr ""
+msgstr "GNU Parted 無法調整這個分割區為這樣的大小。 我們正在努力中!"
 
 #: libparted/fs/r/fat/table.c:136
 #, c-format
@@ -1858,46 +1875,45 @@ msgid ""
 "FAT %d media %x doesn't match the boot sector's media %x.  You should "
 "probably run scandisk."
 msgstr ""
+"FAT 分割表 %d 媒體 %x 並不符合開機磁區的媒體 %x。 您或許應該執行 scandisk。"
 
 #: libparted/fs/r/fat/table.c:268
 #, c-format
 msgid "fat_table_set: cluster %ld outside file system"
-msgstr ""
+msgstr "fat_table_set:磁簇 %ld 位於檔案系統之外"
 
 #: libparted/fs/r/fat/table.c:300
 #, c-format
 msgid "fat_table_get: cluster %ld outside file system"
-msgstr ""
+msgstr "fat_table_get:磁簇 %ld 位於檔案系統之外"
 
 #: libparted/fs/r/fat/table.c:342
 msgid "fat_table_alloc_cluster: no free clusters"
-msgstr ""
+msgstr "fat_table_alloc_cluster:沒有可用的磁簇"
 
 #: libparted/fs/r/filesys.c:151
-#, fuzzy
 msgid "Could not detect file system."
-msgstr "ç\84¡æ³\95å°\8d設å\82\99 %s - %s é\80²è¡\8c stat æ\93\8dä½\9c。"
+msgstr "ç\84¡æ³\95å\81µæ¸¬æª\94æ¡\88系統。"
 
 #: libparted/fs/r/filesys.c:158 libparted/fs/r/filesys.c:285
-#, fuzzy, c-format
+#, c-format
 msgid "resizing %s file systems is not supported"
-msgstr "需要檔案系統類型。"
+msgstr "不支援調整 %s 檔案系統大小"
 
 #: libparted/fs/r/filesys.c:170
-#, fuzzy
 msgid "The file system is bigger than its volume!"
-msgstr "磁碟標籤描述的磁碟大於 %s。"
+msgstr "檔案系統大於所屬的卷冊!"
 
 #: libparted/fs/r/hfs/advfs.c:120 libparted/fs/r/hfs/advfs_plus.c:120
 #: libparted/fs/r/hfs/reloc.c:412 libparted/fs/r/hfs/reloc.c:506
 #: libparted/fs/r/hfs/reloc_plus.c:537 libparted/fs/r/hfs/reloc_plus.c:655
 #: libparted/fs/r/hfs/reloc_plus.c:768
 msgid "The file system contains errors."
-msgstr ""
+msgstr "檔案系統含有錯誤。"
 
 #: libparted/fs/r/hfs/advfs_plus.c:284
 msgid "Bad blocks could not be read."
-msgstr ""
+msgstr "無法讀取不當的區塊。"
 
 #: libparted/fs/r/hfs/cache.c:136
 #, c-format
@@ -1905,6 +1921,8 @@ msgid ""
 "Trying to register an extent starting at block 0x%X, but another one already "
 "exists at this position.  You should check the file system!"
 msgstr ""
+"嘗試登記一個開始於 0x%X 的延伸區塊,但是另一個已經存在於此位置。 您應該檢查一"
+"下檔案系統!"
 
 #: libparted/fs/r/hfs/cache.c:213
 #, c-format
@@ -1912,232 +1930,236 @@ msgid ""
 "Trying to move an extent from block Ox%X to block Ox%X, but another one "
 "already exists at this position.  This should not happen!"
 msgstr ""
+"嘗試將延伸區塊從 Ox%X 移動到 Ox%X,但是另一個已經存在於此位置。 這件事不應該"
+"發生!"
 
 #: libparted/fs/r/hfs/file.c:142
 #, c-format
 msgid "Could not update the extent cache for HFS file with CNID %X."
-msgstr ""
+msgstr "無法更新具有 CNID %X 的 HFS 檔案延伸快取。"
 
 #: libparted/fs/r/hfs/file.c:179
 #, c-format
 msgid "Trying to read HFS file with CNID %X behind EOF."
-msgstr ""
+msgstr "嘗試讀取 EOF 之後具有 CNID %X 的 HFS 檔案。"
 
 #: libparted/fs/r/hfs/file.c:189 libparted/fs/r/hfs/file.c:219
 #, c-format
 msgid "Could not find sector %lli of HFS file with CNID %X."
-msgstr ""
+msgstr "找不到具有 CNID %2$X 的 HFS 檔案磁區 %1$lli。"
 
 #: libparted/fs/r/hfs/file.c:209
 #, c-format
 msgid "Trying to write HFS file with CNID %X behind EOF."
-msgstr ""
+msgstr "嘗試寫入 EOF 之後具有 CNID %X 的 HFS 檔案。"
 
 #: libparted/fs/r/hfs/file_plus.c:156
 #, c-format
 msgid "Could not update the extent cache for HFS+ file with CNID %X."
-msgstr ""
+msgstr "無法更新具有 CNID %X 的 HFS+ 檔案延伸快取。"
 
 #: libparted/fs/r/hfs/file_plus.c:201
 #, c-format
 msgid "Trying to read HFS+ file with CNID %X behind EOF."
-msgstr ""
+msgstr "嘗試讀取 EOF 之後具有 CNID %X 的 HFS+ 檔案。"
 
 #: libparted/fs/r/hfs/file_plus.c:212 libparted/fs/r/hfs/file_plus.c:255
 #, c-format
 msgid "Could not find sector %lli of HFS+ file with CNID %X."
-msgstr ""
+msgstr "找不到具有 CNID %2$X 的 HFS+ 檔案磁區 %1$lli。"
 
 #: libparted/fs/r/hfs/file_plus.c:244
 #, c-format
 msgid "Trying to write HFS+ file with CNID %X behind EOF."
-msgstr ""
+msgstr "嘗試寫入 EOF 之後具有 CNID %X 的 HFS+ 檔案。"
 
 #: libparted/fs/r/hfs/hfs.c:232
 msgid "Sorry, HFS cannot be resized that way yet."
-msgstr ""
+msgstr "抱歉,HFS 尚無法以該種方式調整大小。"
 
 #: libparted/fs/r/hfs/hfs.c:250 libparted/fs/r/hfs/hfs.c:629
 msgid "shrinking"
-msgstr ""
+msgstr "收縮"
 
 #: libparted/fs/r/hfs/hfs.c:262 libparted/fs/r/hfs/hfs.c:641
-#, fuzzy
 msgid "Data relocation has failed."
-msgstr "è¨\98æ\86¶é«\94é\85\8d置失æ\95\97"
+msgstr "è³\87æ\96\99é\87\8då®\9aå\9d\80已失æ\95\97ã\80\82"
 
 #: libparted/fs/r/hfs/hfs.c:281
 msgid "Data relocation left some data in the end of the volume."
-msgstr ""
+msgstr "資料重定址在卷冊末端留下一些資料。"
 
 #: libparted/fs/r/hfs/hfs.c:320
 msgid "writing HFS Master Directory Block"
-msgstr ""
+msgstr "寫入 HFS 主目錄區塊"
 
 #: libparted/fs/r/hfs/hfs.c:468
 msgid "No valid HFS[+X] signature has been found while opening."
-msgstr ""
+msgstr "開啟時找不到任何有效的 HFS[+X] 簽名。"
 
 #: libparted/fs/r/hfs/hfs.c:478
 #, c-format
 msgid "Version %d of HFS+ isn't supported."
-msgstr ""
+msgstr "不支援 HFS+ 的版本 %d。"
 
 #: libparted/fs/r/hfs/hfs.c:489
 #, c-format
 msgid "Version %d of HFSX isn't supported."
-msgstr ""
+msgstr "不支援 HFSX 的版本 %d。"
 
 #: libparted/fs/r/hfs/hfs.c:672
 msgid "Data relocation left some data at the end of the volume."
-msgstr ""
+msgstr "資料重定址在卷冊末端留下一些資料。"
 
 #: libparted/fs/r/hfs/hfs.c:720
 msgid "Error while writing the allocation file."
-msgstr ""
+msgstr "寫入配額檔案時發生錯誤。"
 
 #: libparted/fs/r/hfs/hfs.c:735
 msgid "Error while writing the compatibility part of the allocation file."
-msgstr ""
+msgstr "寫入配額檔案的相容部分時發生錯誤。"
 
 #: libparted/fs/r/hfs/hfs.c:750
 msgid "writing HFS+ Volume Header"
-msgstr ""
+msgstr "寫入 HFS+ 卷冊標頭"
 
 #: libparted/fs/r/hfs/hfs.c:850
 msgid "An error occurred while looking for the mandatory bad blocks file."
-msgstr ""
+msgstr "找尋必要的不當區塊檔案時發生了錯誤。"
 
 #: libparted/fs/r/hfs/hfs.c:904
 msgid ""
 "It seems there is an error in the HFS wrapper: the bad blocks file doesn't "
 "contain the embedded HFS+ volume."
-msgstr ""
+msgstr "在 HFS 包裝程式中似乎出現錯誤:不當區塊檔案並未包含嵌入式 HFS+ 卷冊。"
 
 #: libparted/fs/r/hfs/hfs.c:940
 msgid "Sorry, HFS+ cannot be resized that way yet."
-msgstr ""
+msgstr "抱歉,HFS+ 尚無法以該種方式調整大小。"
 
 #: libparted/fs/r/hfs/hfs.c:975
 msgid "shrinking embedded HFS+ volume"
-msgstr ""
+msgstr "收縮嵌入式 HFS+ 卷冊"
 
 #: libparted/fs/r/hfs/hfs.c:991
 msgid "Resizing the HFS+ volume has failed."
-msgstr ""
+msgstr "調整 HFS+ 卷冊大小已失敗。"
 
 #: libparted/fs/r/hfs/hfs.c:998
 msgid "shrinking HFS wrapper"
-msgstr ""
+msgstr "收縮 HFS 包裝程式"
 
 #: libparted/fs/r/hfs/hfs.c:1007
 msgid "Updating the HFS wrapper has failed."
-msgstr ""
+msgstr "更新 HFS 包裝程式已失敗。"
 
 #: libparted/fs/r/hfs/hfs.c:1109 libparted/fs/r/hfs/hfs.c:1194
 #, c-format
 msgid ""
 "This is not a real %s check.  This is going to extract special low level "
 "files for debugging purposes."
-msgstr ""
+msgstr "這不是真實的 %s 檢查。 這是為了偵錯的目的而抽出特殊的低階檔案。"
 
 #: libparted/fs/r/hfs/journal.c:154
 msgid "Bad block list header checksum."
-msgstr ""
+msgstr "不當區塊清單標頭總和檢查碼。"
 
 #: libparted/fs/r/hfs/journal.c:167
 #, c-format
 msgid ""
 "Invalid size of a transaction block while replaying the journal (%i bytes)."
-msgstr ""
+msgstr "重播日誌時出現無效的異動作業區塊大小 (%i 位元組)。"
 
 #: libparted/fs/r/hfs/journal.c:259
 msgid ""
 "Journal stored outside of the volume are not supported.  Try to desactivate "
 "the journal and run Parted again."
-msgstr ""
+msgstr "不支援儲存於卷冊之外的日誌。 請嘗試停用日誌並再次執行 Parted。"
 
 #: libparted/fs/r/hfs/journal.c:270
 msgid "Journal offset or size is not multiple of the sector size."
-msgstr ""
+msgstr "日誌的偏移值或大小並非磁區大小的倍數。"
 
 #: libparted/fs/r/hfs/journal.c:291
 msgid "Incorrect magic values in the journal header."
-msgstr ""
+msgstr "日誌標頭中有不正確的魔術值。"
 
 #: libparted/fs/r/hfs/journal.c:301
 msgid "Journal size mismatch between journal info block and journal header."
-msgstr ""
+msgstr "日誌資訊區塊與日誌標頭中的日誌大小不匹配。"
 
 #: libparted/fs/r/hfs/journal.c:313
 msgid "Some header fields are not multiple of the sector size."
-msgstr ""
+msgstr "某些標頭欄位不是磁區大小的倍數。"
 
 #: libparted/fs/r/hfs/journal.c:322
 msgid ""
 "The sector size stored in the journal is not 512 bytes.  Parted only "
 "supports 512 bytes length sectors."
 msgstr ""
+"儲存在日誌中的磁區大小不是 512 位元組。 Parted 只支援 512 位元組長度的磁區。"
 
 #: libparted/fs/r/hfs/journal.c:334
 msgid "Bad journal checksum."
-msgstr ""
+msgstr "不當的日誌總和檢查碼。"
 
 #: libparted/fs/r/hfs/journal.c:352
 msgid ""
 "The journal is not empty.  Parted must replay the transactions before "
 "opening the file system.  This will modify the file system."
 msgstr ""
+"日誌並非為空。 Parted 必須於開啟檔案系統之前重播異動作業。 這將會修改檔案系"
+"統。"
 
 #: libparted/fs/r/hfs/journal.c:380
 msgid ""
 "The volume header or the master directory block has changed while replaying "
 "the journal.  You should restart Parted."
-msgstr ""
+msgstr "重播日誌時,卷冊標頭或主目錄區塊已變更。 您應該重新啟動 Parted。"
 
 #: libparted/fs/r/hfs/reloc.c:150 libparted/fs/r/hfs/reloc_plus.c:154
 msgid "An extent has not been relocated."
-msgstr ""
+msgstr "延伸未被重定址。"
 
 #: libparted/fs/r/hfs/reloc.c:249 libparted/fs/r/hfs/reloc_plus.c:306
 msgid ""
 "A reference to an extent comes from a place it should not.  You should check "
 "the file system!"
-msgstr ""
+msgstr "對於一個延伸有它不應該來自的參考地方。 您應該檢查一下檔案系統!"
 
 #: libparted/fs/r/hfs/reloc.c:379
 msgid "This HFS volume has no catalog file.  This is very unusual!"
-msgstr ""
+msgstr "這個 HFS 卷冊沒有任何類別檔。 這是很不尋常的!"
 
 #: libparted/fs/r/hfs/reloc.c:473
 msgid "This HFS volume has no extents overflow file.  This is quite unusual!"
-msgstr ""
+msgstr "這個 HFS 卷冊沒有任何延伸溢位檔案。 這是相當不尋常的!"
 
 #: libparted/fs/r/hfs/reloc.c:515 libparted/fs/r/hfs/reloc_plus.c:665
 msgid ""
 "The extents overflow file should not contain its own extents!  You should "
 "check the file system."
-msgstr ""
+msgstr "延伸溢位檔案不應該包含其本身的延伸! 您應該檢查一下檔案系統。"
 
 #: libparted/fs/r/hfs/reloc.c:572 libparted/fs/r/hfs/reloc_plus.c:843
 msgid "Could not cache the file system in memory."
-msgstr ""
+msgstr "無法將檔案系統快取在記憶體中。"
 
 #: libparted/fs/r/hfs/reloc.c:633 libparted/fs/r/hfs/reloc_plus.c:904
 msgid "Bad blocks list could not be loaded."
-msgstr ""
+msgstr "無法載入不當區塊清單。"
 
 #: libparted/fs/r/hfs/reloc.c:647 libparted/fs/r/hfs/reloc_plus.c:920
 msgid "An error occurred during extent relocation."
-msgstr ""
+msgstr "在延伸重定址的期間發生了錯誤。"
 
 #: libparted/fs/r/hfs/reloc_plus.c:493
 msgid "This HFS+ volume has no catalog file.  This is very unusual!"
-msgstr ""
+msgstr "這個 HFS+ 卷冊沒有任何類別檔。 這是很不尋常的!"
 
 #: libparted/fs/r/hfs/reloc_plus.c:616
 msgid "This HFS+ volume has no extents overflow file.  This is quite unusual!"
-msgstr ""
+msgstr "這個 HFS+ 卷冊沒有任何延伸溢位檔案。 這是相當不尋常的!"
 
 #: parted/parted.c:125
 msgid "displays this help message"
@@ -2175,27 +2197,27 @@ msgstr ""
 msgid "LABEL-TYPE is one of: "
 msgstr "LABEL-TYPE 是以下任意一項:"
 
-#: parted/parted.c:146
+#: parted/parted.c:146 parted/parted.c:147
 msgid "FLAG is one of: "
 msgstr "FLAG 是以下任意一項:"
 
-#: parted/parted.c:147
+#: parted/parted.c:148
 msgid "UNIT is one of: "
 msgstr "UNIT 是以下任意一項:"
 
-#: parted/parted.c:148
+#: parted/parted.c:149
 msgid "desired alignment: minimum or optimal"
 msgstr "設想的對齊:最小或最佳化"
 
-#: parted/parted.c:149
+#: parted/parted.c:150
 msgid "PART-TYPE is one of: primary, logical, extended\n"
 msgstr "PART-TYPE 是主分割區、邏輯分割區、擴充分割區之一\n"
 
-#: parted/parted.c:151
+#: parted/parted.c:152
 msgid "FS-TYPE is one of: "
 msgstr "FS-TYPE 是以下任意一項:"
 
-#: parted/parted.c:152
+#: parted/parted.c:153
 msgid ""
 "START and END are disk locations, such as 4GB or 10%.  Negative values count "
 "from the end of the disk.  For example, -1s specifies exactly the last "
@@ -2204,19 +2226,28 @@ msgstr ""
 "START 和 END 是磁碟用量,像是 4GB 或 10%。負數值則是從磁碟末端起算。例"
 "如,-1s 指定最後一個磁區。\n"
 
-#: parted/parted.c:155
+#: parted/parted.c:156
+#, fuzzy
+msgid ""
+"END is disk location, such as 4GB or 10%.  Negative value counts from the "
+"end of the disk.  For example, -1s specifies exactly the last sector.\n"
+msgstr ""
+"START 和 END 是磁碟用量,像是 4GB 或 10%。負數值則是從磁碟末端起算。例"
+"如,-1s 指定最後一個磁區。\n"
+
+#: parted/parted.c:159
 msgid "STATE is one of: on, off\n"
 msgstr "STATE 為:開、關\n"
 
-#: parted/parted.c:156
+#: parted/parted.c:160
 msgid "DEVICE is usually /dev/hda or /dev/sda\n"
 msgstr "DEVICE 通常為 /dev/hda 或 /dev/sda\n"
 
-#: parted/parted.c:157
+#: parted/parted.c:161
 msgid "NAME is any word you want\n"
 msgstr "NAME 是您需要的任何單詞\n"
 
-#: parted/parted.c:160
+#: parted/parted.c:164
 msgid ""
 "Copyright (C) 1998 - 2006 Free Software Foundation, Inc.\n"
 "This program is free software, covered by the GNU General Public License.\n"
@@ -2236,24 +2267,22 @@ msgstr ""
 "GNU 通用公共授權。\n"
 "\n"
 
-#: parted/parted.c:206
+#: parted/parted.c:211
 #, c-format
 msgid "%0.f%%\t(time left %.2d:%.2d)"
 msgstr "%0.f%%\t(剩餘時間 %.2d:%.2d)"
 
-#: parted/parted.c:225
-#, c-format
-msgid ""
-"Partition %s is being used. You must unmount it before you modify it with "
-"Parted."
+#: parted/parted.c:230
+#, fuzzy, c-format
+msgid "Partition %s is being used. Are you sure you want to continue?"
 msgstr "正在使用分割區 %s。您必須在以 Parted 更改它之前先將它卸載。"
 
-#: parted/parted.c:243
+#: parted/parted.c:251
 #, c-format
 msgid "Partition(s) on %s are being used."
 msgstr "正在使用 %s 上的分割區。"
 
-#: parted/parted.c:255
+#: parted/parted.c:263
 #, c-format
 msgid ""
 "The existing disk label on %s will be destroyed and all data on this disk "
@@ -2261,40 +2290,40 @@ msgid ""
 msgstr ""
 "現有 %s 上的磁碟標籤將被銷毀,而所有在這個磁碟上的資料將會失去。您要繼續嗎?"
 
-#: parted/parted.c:497
+#: parted/parted.c:524
 msgid "New disk label type?"
 msgstr "新的磁碟標籤類型?"
 
-#: parted/parted.c:629
+#: parted/parted.c:661
 msgid "Partition type?"
 msgstr "分割區類型?"
 
-#: parted/parted.c:647 parted/parted.c:841
+#: parted/parted.c:679 parted/parted.c:869
 msgid "Partition name?"
 msgstr "分割區名稱?"
 
-#: parted/parted.c:655
+#: parted/parted.c:687
 msgid "File system type?"
 msgstr "檔案系統類型?"
 
-#: parted/parted.c:661 parted/parted.c:1449
+#: parted/parted.c:693 parted/parted.c:1476
 msgid "Start?"
 msgstr "起始點?"
 
-#: parted/parted.c:664 parted/parted.c:1451
+#: parted/parted.c:696 parted/parted.c:1478 parted/parted.c:1546
 msgid "End?"
 msgstr "結束點?"
 
-#: parted/parted.c:732
-#, fuzzy, c-format
+#: parted/parted.c:764
+#, c-format
 msgid ""
 "You requested a partition from %s to %s (sectors %llu..%llu).\n"
 "The closest location we can manage is %s to %s (sectors %llu..%llu).%s"
 msgstr ""
-"您要求將分割區從 %s 移動到 %s。\n"
-"我們可以管理的最接近分割區是從 %s 到 %s%s"
+"您要求將分割區從 %s 移動到 %s (磁區 %llu..%llu)。\n"
+"我們可以管理的最接近分割區是從 %s 到 %s (磁區 %llu..%llu).%s"
 
-#: parted/parted.c:741
+#: parted/parted.c:773
 msgid ""
 "\n"
 "Is this still acceptable to you?"
@@ -2302,82 +2331,82 @@ msgstr ""
 "\n"
 "這樣您還可以接受嗎?"
 
-#: parted/parted.c:763
+#: parted/parted.c:795
 msgid "The resulting partition is not properly aligned for best performance."
 msgstr "所產生的分割區沒有適當地對齊以獲得最佳效能。"
 
-#: parted/parted.c:838 parted/parted.c:1490 parted/parted.c:1562
-#: parted/parted.c:1633
+#: parted/parted.c:866 parted/parted.c:1539 parted/parted.c:1587
+#: parted/parted.c:1661 parted/parted.c:1725
 msgid "Partition number?"
 msgstr "分割區編號?"
 
-#: parted/parted.c:935
+#: parted/parted.c:960
 #, c-format
 msgid "BIOS cylinder,head,sector geometry: %d,%d,%d.  Each cylinder is %s.\n"
 msgstr "BIOS 的磁柱、磁頭、磁區幾何結構:%d,%d,%d。每圈磁柱是 %s。\n"
 
-#: parted/parted.c:976
+#: parted/parted.c:1001
 #, c-format
 msgid "Model: %s (%s)\n"
 msgstr "型號:%s (%s)\n"
 
-#: parted/parted.c:978
+#: parted/parted.c:1003
 #, c-format
 msgid "Disk %s: %s\n"
 msgstr "磁碟 %s:%s\n"
 
-#: parted/parted.c:979
+#: parted/parted.c:1004
 #, c-format
 msgid "Sector size (logical/physical): %lldB/%lldB\n"
 msgstr "磁區大小 (邏輯/物理):%lldB/%lldB\n"
 
-#: parted/parted.c:991
+#: parted/parted.c:1016
 #, c-format
 msgid "Partition Table: %s\n"
 msgstr "分割區:%s\n"
 
-#: parted/parted.c:992
-#, fuzzy, c-format
+#: parted/parted.c:1017
+#, c-format
 msgid "Disk Flags: %s\n"
-msgstr "磁碟 %s:%s\n"
+msgstr "磁碟旗標:%s\n"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Number"
 msgstr "編號"
 
-#: parted/parted.c:1115 parted/parted.c:1118
+#: parted/parted.c:1139 parted/parted.c:1142
 msgid "Start"
 msgstr "起始點"
 
-#: parted/parted.c:1116 parted/parted.c:1119
+#: parted/parted.c:1140 parted/parted.c:1143
 msgid "End"
 msgstr "結束點"
 
-#: parted/parted.c:1119
+#: parted/parted.c:1143
 msgid "Size"
 msgstr "大小"
 
-#: parted/parted.c:1123
+#: parted/parted.c:1147
 msgid "Type"
 msgstr "類型"
 
-#: parted/parted.c:1125
+#: parted/parted.c:1149
 msgid "File system"
 msgstr "檔案系統"
 
-#: parted/parted.c:1128
+#: parted/parted.c:1152
 msgid "Name"
 msgstr "名稱"
 
-#: parted/parted.c:1130
+#: parted/parted.c:1154
 msgid "Flags"
 msgstr "旗標"
 
-#: parted/parted.c:1187
+#: parted/parted.c:1211
 msgid "Free Space"
 msgstr "可用空間"
 
-#: parted/parted.c:1348
+#: parted/parted.c:1371
 #, c-format
 msgid ""
 "A %s %s partition was found at %s -> %s.  Do you want to add it to the "
@@ -2385,45 +2414,54 @@ msgid ""
 msgstr ""
 "在 %3$s -> %4$s 處找到一個 %1$s %2$s 分割區。您希望將其添加到分割表中嗎?"
 
-#: parted/parted.c:1387
+#: parted/parted.c:1410
 msgid "searching for file systems"
 msgstr "正在搜尋檔案系統"
 
-#: parted/parted.c:1515
+#: parted/parted.c:1513
+msgid "The resize command has been removed in parted 3.0"
+msgstr ""
+
+#: parted/parted.c:1558
+msgid ""
+"Shrinking a partition can cause data loss, are you sure you want to continue?"
+msgstr ""
+
+#: parted/parted.c:1609
 msgid "New device?"
 msgstr "新裝置?"
 
-#: parted/parted.c:1560
+#: parted/parted.c:1659
 msgid "alignment type(min/opt)"
 msgstr "對齊型態 (最小/最佳)"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d aligned\n"
 msgstr "%d 已對齊\n"
 
-#: parted/parted.c:1567
+#: parted/parted.c:1666
 #, c-format
 msgid "%d not aligned\n"
 msgstr "%d 未對齊\n"
 
-#: parted/parted.c:1595 parted/parted.c:1635
+#: parted/parted.c:1690 parted/parted.c:1727
 msgid "Flag to Invert?"
-msgstr "要反的旗標?"
+msgstr "要反的旗標?"
 
-#: parted/parted.c:1600 parted/parted.c:1640
+#: parted/parted.c:1695 parted/parted.c:1732
 msgid "New state?"
 msgstr "新狀態?"
 
-#: parted/parted.c:1689
+#: parted/parted.c:1778
 msgid "Unit?"
 msgstr "單位?"
 
-#: parted/parted.c:1807
+#: parted/parted.c:1913
 msgid "align-check"
 msgstr "對齊檢查"
 
-#: parted/parted.c:1810
+#: parted/parted.c:1916
 msgid ""
 "align-check TYPE N                        check partition N for TYPE(min|"
 "opt) alignment"
@@ -2431,11 +2469,11 @@ msgstr ""
 "對齊檢查型態 N                            檢查分割區 N 是否為 (最小|最佳) 對"
 "齊型態"
 
-#: parted/parted.c:1818
+#: parted/parted.c:1924
 msgid "help"
 msgstr "help"
 
-#: parted/parted.c:1821
+#: parted/parted.c:1927
 msgid ""
 "help [COMMAND]                           print general help, or help on "
 "COMMAND"
@@ -2443,29 +2481,29 @@ msgstr ""
 "help [命令]                              印出一般求助資訊,或關於「命令」的資"
 "訊"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mklabel"
 msgstr "mklabel"
 
-#: parted/parted.c:1827
+#: parted/parted.c:1933
 msgid "mktable"
 msgstr "mktable"
 
-#: parted/parted.c:1830
+#: parted/parted.c:1936
 msgid ""
 "mklabel,mktable LABEL-TYPE               create a new disklabel (partition "
 "table)"
 msgstr "mklabel,mktable LABEL-TYPE               建立新的磁碟標籤 (分割區表)"
 
-#: parted/parted.c:1836
+#: parted/parted.c:1942
 msgid "mkpart"
 msgstr "mkpart"
 
-#: parted/parted.c:1839
+#: parted/parted.c:1945
 msgid "mkpart PART-TYPE [FS-TYPE] START END     make a partition"
 msgstr "mkpart 分割區類型 [檔案系統類型] 起始點 結束點      建立一個分割區"
 
-#: parted/parted.c:1845
+#: parted/parted.c:1951
 msgid ""
 "'mkpart' makes a partition without creating a new file system on the "
 "partition.  FS-TYPE may be specified to set an appropriate partition ID.\n"
@@ -2473,20 +2511,20 @@ msgstr ""
 "「mkpart」建立分割區而不在分割區上建立新檔案系統。「FS-TYPE」可以用於設置適當"
 "的分割區辨識號。\n"
 
-#: parted/parted.c:1850
+#: parted/parted.c:1956
 msgid "name"
 msgstr "name"
 
-#: parted/parted.c:1853
+#: parted/parted.c:1959
 msgid "name NUMBER NAME                         name partition NUMBER as NAME"
 msgstr ""
 "name 編號 名稱                           將指定「編號」的分割區命名為「名稱」"
 
-#: parted/parted.c:1858
+#: parted/parted.c:1964
 msgid "print"
 msgstr "print"
 
-#: parted/parted.c:1861
+#: parted/parted.c:1967
 msgid ""
 "print [devices|free|list,all|NUMBER]     display the partition table, "
 "available devices, free space, all found partitions, or a particular "
@@ -2495,47 +2533,47 @@ msgstr ""
 "print [devices|free|list,all|數字]     顯示分割表、可用裝置、剩餘空間、所有分"
 "割區或特殊分割區"
 
-#: parted/parted.c:1866
+#: parted/parted.c:1972
 msgid ""
 "Without arguments, 'print' displays the entire partition table. However with "
 "the following arguments it performs various other actions.\n"
 msgstr ""
 "「print」不加引數可顯示整個分割區表。然而藉由下列引數它能執行各種其他動作。\n"
 
-#: parted/parted.c:1868
+#: parted/parted.c:1974
 msgid "  devices   : display all active block devices\n"
 msgstr "  devices  :顯示所有作用中區段裝置\n"
 
-#: parted/parted.c:1869
+#: parted/parted.c:1975
 msgid ""
 "  free      : display information about free unpartitioned space on the "
 "current block device\n"
 msgstr "  free     :顯示在目前區段裝置上未分配於分割區的可用空間資訊\n"
 
-#: parted/parted.c:1871
+#: parted/parted.c:1977
 msgid ""
 "  list, all : display the partition tables of all active block devices\n"
 msgstr "  list,all:顯示所有作用中區段裝置的分割區表\n"
 
-#: parted/parted.c:1872
+#: parted/parted.c:1978
 msgid ""
 "  NUMBER    : display more detailed information about this particular "
 "partition\n"
 msgstr "  數字   :顯示此一特殊分割區更詳細的資訊\n"
 
-#: parted/parted.c:1877
+#: parted/parted.c:1983
 msgid "quit"
 msgstr "quit"
 
-#: parted/parted.c:1880
+#: parted/parted.c:1986
 msgid "quit                                     exit program"
 msgstr "quit                                     離開程式"
 
-#: parted/parted.c:1885
+#: parted/parted.c:1991
 msgid "rescue"
 msgstr "rescue"
 
-#: parted/parted.c:1888
+#: parted/parted.c:1994
 msgid ""
 "rescue START END                         rescue a lost partition near START "
 "and END"
@@ -2543,105 +2581,117 @@ msgstr ""
 "rescue 起始點 結束點                     挽救臨近「起始點」、「結束點」的遺失"
 "的分割區"
 
-#: parted/parted.c:1894
+#: parted/parted.c:2000
+msgid "resize"
+msgstr ""
+
+#: parted/parted.c:2003
+msgid "The resize command was removed in parted 3.0\n"
+msgstr ""
+
+#: parted/parted.c:2006
+msgid "resizepart"
+msgstr ""
+
+#: parted/parted.c:2009
+#, fuzzy
+msgid "resizepart NUMBER END                    resize partition NUMBER"
+msgstr "rm 編號                                  刪除指定「編號」的分割區"
+
+#: parted/parted.c:2014
 msgid "rm"
 msgstr "rm"
 
-#: parted/parted.c:1897
+#: parted/parted.c:2017
 msgid "rm NUMBER                                delete partition NUMBER"
 msgstr "rm 編號                                  刪除指定「編號」的分割區"
 
-#: parted/parted.c:1902
+#: parted/parted.c:2022
 msgid "select"
 msgstr "select"
 
-#: parted/parted.c:1905
+#: parted/parted.c:2025
 msgid "select DEVICE                            choose the device to edit"
 msgstr "select 設備                              選擇要編輯的設備"
 
-#: parted/parted.c:1910
+#: parted/parted.c:2030
 msgid "disk_set"
-msgstr ""
+msgstr "disk_set"
 
-#: parted/parted.c:1913
-#, fuzzy
+#: parted/parted.c:2033
 msgid ""
 "disk_set FLAG STATE                      change the FLAG on selected device"
-msgstr "set 編號 旗標 狀態                       改變指定「編號」分割區的旗標"
+msgstr "disk_set 旗標 狀態                       變更已選裝置上的旗標"
 
-#: parted/parted.c:1918
-#, fuzzy
+#: parted/parted.c:2038
 msgid "disk_toggle"
-msgstr "toggle"
+msgstr "disk_toggle"
 
-#: parted/parted.c:1921
-#, fuzzy
+#: parted/parted.c:2041
 msgid ""
 "disk_toggle [FLAG]                       toggle the state of FLAG on "
 "selected device"
-msgstr ""
-"toggle [編號 [旗標]]                     切換「編號」分割區上的「旗標」狀態"
+msgstr "disk_toggle [旗標]                       切換已選裝置上的旗標狀態"
 
-#: parted/parted.c:1927
+#: parted/parted.c:2047
 msgid "set"
 msgstr "set"
 
-#: parted/parted.c:1930
+#: parted/parted.c:2050
 msgid ""
 "set NUMBER FLAG STATE                    change the FLAG on partition NUMBER"
 msgstr "set 編號 旗標 狀態                       改變指定「編號」分割區的旗標"
 
-#: parted/parted.c:1936
+#: parted/parted.c:2056
 msgid "toggle"
 msgstr "toggle"
 
-#: parted/parted.c:1939
+#: parted/parted.c:2059
 msgid ""
 "toggle [NUMBER [FLAG]]                   toggle the state of FLAG on "
 "partition NUMBER"
 msgstr ""
 "toggle [編號 [旗標]]                     切換「編號」分割區上的「旗標」狀態"
 
-#: parted/parted.c:1945
+#: parted/parted.c:2065
 msgid "unit"
 msgstr "unit"
 
-#: parted/parted.c:1948
+#: parted/parted.c:2068
 msgid "unit UNIT                                set the default unit to UNIT"
 msgstr "unit 單位                                設定預設的「單位」"
 
-#: parted/parted.c:1953
+#: parted/parted.c:2073
 msgid "version"
 msgstr "version"
 
-#: parted/parted.c:1956
+#: parted/parted.c:2076
 msgid ""
 "version                                  display the version number and "
 "copyright information of GNU Parted"
 msgstr ""
 "version                                  顯示目前 GNU Parted 的版本與版權資訊"
 
-#: parted/parted.c:1960
+#: parted/parted.c:2080
 msgid ""
 "'version' displays copyright and version information corresponding to this "
 "copy of GNU Parted\n"
 msgstr "version 依據此份 GNU Parted 顯示其版權與版本資訊\n"
 
-#: parted/parted.c:2028
+#: parted/parted.c:2148
 #, c-format
 msgid "Usage: %s [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
-msgstr "用法:%s [-hlmsv] [-a<align>] [裝置 [命令 [參數]]...]\n"
+msgstr "用法:%s [-hlmsv] [-a<align>] [裝置 [命令 [參數]]]\n"
 
-#: parted/parted.c:2072
+#: parted/parted.c:2192
 msgid "No device found"
 msgstr "找不到設備"
 
-#: parted/parted.c:2109
-#, fuzzy
+#: parted/parted.c:2229
 msgid "WARNING: You are not superuser.  Watch out for permissions.\n"
-msgstr "警告:您不是超級使用者。 當心權限。"
+msgstr "警告:您不是系統管理者。 當心權限。\n"
 
-#: parted/parted.c:2147
+#: parted/parted.c:2269
 msgid "You may need to update /etc/fstab.\n"
 msgstr "您也許會需要更新 /etc/fstab。\n"
 
@@ -2897,65 +2947,65 @@ msgstr ""
 "\n"
 "錯誤: 遇到一般的 SIGILL 訊號。"
 
-#: parted/ui.c:891
+#: parted/ui.c:883
 #, c-format
 msgid "invalid token: %s"
 msgstr "無效的字組:%s"
 
-#: parted/ui.c:1051
+#: parted/ui.c:1047
 msgid "Expecting a partition number."
 msgstr "需要分割區編號。"
 
-#: parted/ui.c:1060
+#: parted/ui.c:1056
 msgid "Partition doesn't exist."
 msgstr "分割區不存在。"
 
-#: parted/ui.c:1080
+#: parted/ui.c:1076
 msgid "Expecting a file system type."
 msgstr "需要檔案系統類型。"
 
-#: parted/ui.c:1087
+#: parted/ui.c:1083
 #, c-format
 msgid "Unknown file system type \"%s\"."
 msgstr "未知的檔案系統類型「%s」。"
 
-#: parted/ui.c:1108
+#: parted/ui.c:1104
 msgid "Expecting a disk label type."
 msgstr "需要磁碟標籤類型。"
 
-#: parted/ui.c:1235
+#: parted/ui.c:1231
 msgid "Can't create any more partitions."
 msgstr "無法建立更多分割區。"
 
-#: parted/ui.c:1245
+#: parted/ui.c:1241
 msgid "Expecting a partition type."
 msgstr "需要分割區類型。"
 
-#: parted/ui.c:1393
+#: parted/ui.c:1389
 msgid "on"
 msgstr "開"
 
-#: parted/ui.c:1394
+#: parted/ui.c:1390
 msgid "off"
 msgstr "關"
 
-#: parted/ui.c:1411
+#: parted/ui.c:1407
 msgid "optimal"
 msgstr "最佳"
 
-#: parted/ui.c:1412
+#: parted/ui.c:1408
 msgid "minimal"
 msgstr "最小"
 
-#: parted/ui.c:1545
+#: parted/ui.c:1541
 msgid "OPTIONs:"
 msgstr "選項:"
 
-#: parted/ui.c:1550
+#: parted/ui.c:1546
 msgid "COMMANDs:"
 msgstr "命令:"
 
-#: parted/ui.c:1553
+#: parted/ui.c:1549
 #, c-format
 msgid ""
 "\n"
@@ -2964,11 +3014,32 @@ msgstr ""
 "\n"
 "將錯誤回報給 %s\n"
 
-#: parted/ui.c:1560
+#: parted/ui.c:1556
 #, c-format
 msgid "Using %s\n"
 msgstr "使用 %s\n"
 
-#: parted/ui.c:1634
+#: parted/ui.c:1630
 msgid "This command does not make sense in non-interactive mode.\n"
 msgstr "這個命令在非交談模式中不具任何意義。\n"
+
+#~ msgid "Failed to add partition %d (%s)"
+#~ msgstr "加入分割區 %d (%s) 時失敗"
+
+#~ msgid ""
+#~ "parted was unable to re-read the partition table on %s (%s).  This means "
+#~ "Linux won't know anything about the modifications you made. "
+#~ msgstr ""
+#~ "parted 無法重新讀取 %s (%s) 上的分割表區表。 這意味著 Linux 在您重新啟動之"
+#~ "前無法知道任何修改。"
+
+#~ msgid ""
+#~ "%s contains GPT signatures, indicating that it has a GPT table.  However, "
+#~ "it does not have a valid fake msdos partition table, as it should.  "
+#~ "Perhaps it was corrupted -- possibly by a program that doesn't understand "
+#~ "GPT partition tables.  Or perhaps you deleted the GPT table, and are now "
+#~ "using an msdos partition table.  Is this a GPT partition table?"
+#~ msgstr ""
+#~ "%s 含有 GPT 簽名,標明它含有 GPT 表。然而,它並不像應該的那樣含有有效的偽 "
+#~ "msdos 分割區表。可能它已經損壞 - 可能是不理解 GPT 分割區表的程式所導致的。"
+#~ "或者您刪除了 GPT 表,而現在使用 msdos 分割區表。這是 GPT 分割區表嗎?"
index e62693d5b51a38c875c2bf5715bad3d7b869edca..691749e7ead5d0b05dac642265a54b125b90f4ba 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Copyright (C) 2002-2003, 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2003, 2007, 2009-2014 Free Software Foundation, Inc.
 #
 # This file is part of the GNU ISO C++ Library.  This library is free
 # software; you can redistribute it and/or modify it under the
index 1b37fd91e8090e2cc8b847799217990a9ab6d3cd..b7263665227c301e93463c298105c2f7ba1171cc 100644 (file)
@@ -16,6 +16,7 @@ TESTS = \
   t0202-gpt-pmbr.sh \
   t0203-gpt-tiny-device-abort.sh \
   t0203-gpt-shortened-device-primary-valid.sh \
+  t0203-gpt-create-on-min-sized-device.sh \
   t0205-gpt-list-clobbers-pmbr.sh \
   t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh \
   t0207-IEC-binary-notation.sh \
@@ -26,13 +27,21 @@ TESTS = \
   t0212-gpt-many-partitions.sh \
   t0220-gpt-msftres.sh \
   t0250-gpt.sh \
+  t0251-gpt-unicode.sh \
   t0280-gpt-corrupt.sh \
+  t0281-gpt-grow.sh \
+  t0282-gpt-move-backup.sh \
+  t0283-overlap-partitions.sh \
   t0300-dos-on-gpt.sh \
+  t0301-overwrite-gpt-pmbr.sh \
+  t0350-mac-PT-increases-sector-size.sh \
   t0400-loop-clobber-infloop.sh \
   t0500-dup-clobber.sh \
   t0501-duplicate.sh \
   t1100-busy-label.sh \
   t1101-busy-partition.sh \
+  t1102-loop-label.sh \
+  t1104-remove-and-add-partition.sh \
   t1700-probe-fs.sh \
   t2200-dos-label-recog.sh \
   t2201-pc98-label-recog.sh \
@@ -41,6 +50,7 @@ TESTS = \
   t2400-dos-hfs-partition-type.sh \
   t2500-probe-corrupt-hfs.sh \
   t3000-resize-fs.sh \
+  t3200-resize-partition.sh \
   t3200-type-change.sh \
   t3300-palo-prep.sh \
   t3310-flags.sh \
@@ -55,6 +65,10 @@ TESTS = \
   t5000-tags.sh \
   t6000-dm.sh \
   t6001-psep.sh \
+  t6002-dm-busy.sh \
+  t6003-dm-hide.sh \
+  t6004-dm-many-partitions.sh \
+  t6005-dm-uuid.sh \
   t6100-mdraid-partitions.sh \
   t7000-scripting.sh \
   t8000-loop.sh \
@@ -71,8 +85,9 @@ TESTS = \
   t9050-partition-table-types.sh
 
 EXTRA_DIST = \
-  $(TESTS) lvm-utils.sh t-local.sh t-lvm.sh \
-  init.cfg init.sh t-lib-helpers.sh gpt-header-munge
+  $(TESTS) t-local.sh t-lvm.sh \
+  init.cfg init.sh t-lib-helpers.sh gpt-header-munge \
+  gpt-header-move msdos-overlap
 
 check_PROGRAMS = print-align print-max dup-clobber duplicate fs-resize
 fs_resize_LDADD = \
@@ -106,16 +121,11 @@ TESTS_ENVIRONMENT =                               \
   srcdir='$(srcdir)'                           \
   top_srcdir='$(top_srcdir)'                   \
   AWK='$(AWK)'                                 \
-  CC='$(CC)'                                   \
-  MAKE=$(MAKE)                                 \
   PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'     \
   PACKAGE_VERSION=$(PACKAGE_VERSION)           \
   CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
   ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER) \
   PARTED_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'`\
-  PERL='$(PERL)'                               \
-  PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
-  REPLACE_GETCWD=$(REPLACE_GETCWD)             \
   PATH='$(abs_top_builddir)/parted$(PATH_SEPARATOR)'"$$PATH" \
   VERSION=$(VERSION)                           \
   ; 9>&2
index 2aec813e2113b9436c4a2fdb85a70969df03addc..a0d17adf3b06280ae76b8aabf178574739118883 100644 (file)
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11a from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
 @SET_MAKE@
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
@@ -52,14 +79,14 @@ host_triplet = @host@
 check_PROGRAMS = print-align$(EXEEXT) print-max$(EXEEXT) \
        dup-clobber$(EXEEXT) duplicate$(EXEEXT) fs-resize$(EXEEXT)
 subdir = tests
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/build-aux/depcomp \
        $(top_srcdir)/build-aux/test-driver
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
-       $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
-       $(top_srcdir)/m4/canonicalize.m4 \
+       $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \
+       $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/btowc.m4 \
+       $(top_srcdir)/m4/calloc.m4 $(top_srcdir)/m4/canonicalize.m4 \
        $(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
        $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
        $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
@@ -67,16 +94,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
        $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
        $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
-       $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
-       $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
-       $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
-       $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
-       $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
+       $(top_srcdir)/m4/extensions.m4 \
+       $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \
+       $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fdopen.m4 \
+       $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fstat.m4 \
+       $(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getcwd.m4 \
+       $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getopt.m4 \
        $(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
        $(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
-       $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
+       $(top_srcdir)/m4/include_next.m4 \
        $(top_srcdir)/m4/intlmacosx.m4 \
        $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
        $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
@@ -86,35 +114,36 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
        $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
        $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
        $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
-       $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
-       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
-       $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
-       $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
-       $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
-       $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
-       $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
-       $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
+       $(top_srcdir)/m4/localeconv.m4 $(top_srcdir)/m4/localename.m4 \
+       $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \
+       $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \
+       $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \
+       $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \
+       $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/mkstemp.m4 \
+       $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \
+       $(top_srcdir)/m4/msvc-inval.m4 \
        $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
        $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
        $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
-       $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
-       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
-       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
-       $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
-       $(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
-       $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
-       $(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
-       $(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
-       $(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
-       $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
-       $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
-       $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
-       $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
+       $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/open.m4 \
+       $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
+       $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
+       $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
+       $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/read.m4 \
+       $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/realloc.m4 \
+       $(top_srcdir)/m4/regex.m4 $(top_srcdir)/m4/rpmatch.m4 \
+       $(top_srcdir)/m4/safe-read.m4 \
+       $(top_srcdir)/m4/secure_getenv.m4 $(top_srcdir)/m4/setenv.m4 \
+       $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sleep.m4 \
+       $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
+       $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
+       $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
+       $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
        $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
-       $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
-       $(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
+       $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
        $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
        $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
        $(top_srcdir)/m4/sys_socket_h.m4 \
@@ -144,6 +173,7 @@ dup_clobber_DEPENDENCIES = $(top_builddir)/libparted/libparted.la
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
+am__v_lt_1 = 
 duplicate_SOURCES = duplicate.c
 duplicate_OBJECTS = duplicate.$(OBJEXT)
 duplicate_LDADD = $(LDADD)
@@ -161,6 +191,18 @@ print_max_SOURCES = print-max.c
 print_max_OBJECTS = print-max.$(OBJEXT)
 print_max_LDADD = $(LDADD)
 print_max_DEPENDENCIES = $(top_builddir)/libparted/libparted.la
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -174,9 +216,7 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CC = $(am__v_CC_@AM_V@)
 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 am__v_CC_0 = @echo "  CC      " $@;
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
+am__v_CC_1 = 
 CCLD = $(CC)
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -184,35 +224,56 @@ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 am__v_CCLD_0 = @echo "  CCLD    " $@;
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_CCLD_1 = 
 SOURCES = dup-clobber.c duplicate.c fs-resize.c print-align.c \
        print-max.c
 DIST_SOURCES = dup-clobber.c duplicate.c fs-resize.c print-align.c \
        print-max.c
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
 ETAGS = etags
 CTAGS = ctags
 am__tty_colors_dummy = \
   mgn= red= grn= lgn= blu= brg= std=; \
   am__color_tests=no
-# If stdout is a non-dumb tty, use colors.  If test -t is not supported,
-# then this fails; a conservative approach.  Of course do not redirect
-# stdout here, just stderr.
-am__tty_colors = \
-$(am__tty_colors_dummy); \
-test "X$(AM_COLOR_TESTS)" != Xno \
-&& test "X$$TERM" != Xdumb \
-&& { test "X$(AM_COLOR_TESTS)" = Xalways || test -t 1 2>/dev/null; } \
-&& { \
-  am__color_tests=yes; \
-  red='\e[0;31m'; \
-  grn='\e[0;32m'; \
-  lgn='\e[1;32m'; \
-  blu='\e[1;34m'; \
-  mgn='\e[0;35m'; \
-  brg='\e[1m'; \
-  std='\e[m'; \
+am__tty_colors = { \
+  $(am__tty_colors_dummy); \
+  if test "X$(AM_COLOR_TESTS)" = Xno; then \
+    am__color_tests=no; \
+  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+    am__color_tests=yes; \
+  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+    am__color_tests=yes; \
+  fi; \
+  if test $$am__color_tests = yes; then \
+    red='\e[0;31m'; \
+    grn='\e[0;32m'; \
+    lgn='\e[1;32m'; \
+    blu='\e[1;34m'; \
+    mgn='\e[0;35m'; \
+    brg='\e[1m'; \
+    std='\e[m'; \
+  fi; \
 }
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 am__vpath_adj = case $$p in \
@@ -241,9 +302,85 @@ am__uninstall_files_from_dir = { \
     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
          $(am__cd) "$$dir" && rm -f $$files; }; \
   }
-# Restructured Text title and section.
+am__recheck_rx = ^[    ]*:recheck:[    ]*
+am__global_test_result_rx = ^[         ]*:global-test-result:[         ]*
+am__copy_in_global_log_rx = ^[         ]*:copy-in-global-log:[         ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+  recheck = 1; \
+  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+    { \
+      if (rc < 0) \
+        { \
+          if ((getline line2 < ($$0 ".log")) < 0) \
+           recheck = 0; \
+          break; \
+        } \
+      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+        { \
+          recheck = 0; \
+          break; \
+        } \
+      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+        { \
+          break; \
+        } \
+    }; \
+  if (recheck) \
+    print $$0; \
+  close ($$0 ".trs"); \
+  close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+  print "fatal: making $@: " msg | "cat >&2"; \
+  exit 1; \
+} \
+function rst_section(header) \
+{ \
+  print header; \
+  len = length(header); \
+  for (i = 1; i <= len; i = i + 1) \
+    printf "="; \
+  printf "\n\n"; \
+} \
+{ \
+  copy_in_global_log = 1; \
+  global_test_result = "RUN"; \
+  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+    { \
+      if (rc < 0) \
+         fatal("failed to read from " $$0 ".trs"); \
+      if (line ~ /$(am__global_test_result_rx)/) \
+        { \
+          sub("$(am__global_test_result_rx)", "", line); \
+          sub("[       ]*$$", "", line); \
+          global_test_result = line; \
+        } \
+      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+        copy_in_global_log = 0; \
+    }; \
+  if (copy_in_global_log) \
+    { \
+      rst_section(global_test_result ": " $$0); \
+      while ((rc = (getline line < ($$0 ".log"))) != 0) \
+      { \
+        if (rc < 0) \
+          fatal("failed to read from " $$0 ".log"); \
+        print line; \
+      }; \
+      printf "\n"; \
+    }; \
+  close ($$0 ".trs"); \
+  close ($$0 ".log"); \
+}'
+# Restructured Text title.
 am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
-am__rst_section = { sed 'p;s/./=/g;' && echo; }
 # Solaris 10 'make', and several other traditional 'make' implementations,
 # pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
 # by disabling -e (using the XSI extension "set +e") if it's set.
@@ -265,8 +402,12 @@ $(am__sh_e_setup);                                 \
 $(am__vpath_adj_setup) $(am__vpath_adj)                        \
 $(am__tty_colors);                                     \
 srcdir=$(srcdir); export srcdir;                       \
-am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;           \
-test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?;        \
+case "$@" in                                           \
+  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;   \
+    *) am__odir=.;;                                    \
+esac;                                                  \
+test "x$$am__odir" = x"." || test -d "$$am__odir"      \
+  || $(MKDIR_P) "$$am__odir" || exit $$?;              \
 if test -f "./$$f"; then dir=./;                       \
 elif test -f "$$f"; then dir=;                         \
 else dir="$(srcdir)/"; fi;                             \
@@ -289,7 +430,7 @@ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
 # '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
 # since that might cause problem with VPATH rewrites for suffix-less tests.
-# See also 'test-harness-vpath-rewrite.test' and 'test-trs-basic.test'.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
 am__set_TESTS_bases = \
   bases='$(TEST_LOGS)'; \
   bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
@@ -391,7 +532,6 @@ GNULIB_FCNTL = @GNULIB_FCNTL@
 GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
 GNULIB_FDOPEN = @GNULIB_FDOPEN@
 GNULIB_FFLUSH = @GNULIB_FFLUSH@
-GNULIB_FFS = @GNULIB_FFS@
 GNULIB_FFSL = @GNULIB_FFSL@
 GNULIB_FFSLL = @GNULIB_FFSLL@
 GNULIB_FGETC = @GNULIB_FGETC@
@@ -428,7 +568,6 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
 GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
-GNULIB_GETS = @GNULIB_GETS@
 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
 GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@
 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
@@ -444,6 +583,7 @@ GNULIB_LCHMOD = @GNULIB_LCHMOD@
 GNULIB_LCHOWN = @GNULIB_LCHOWN@
 GNULIB_LINK = @GNULIB_LINK@
 GNULIB_LINKAT = @GNULIB_LINKAT@
+GNULIB_LOCALECONV = @GNULIB_LOCALECONV@
 GNULIB_LSEEK = @GNULIB_LSEEK@
 GNULIB_LSTAT = @GNULIB_LSTAT@
 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
@@ -519,6 +659,7 @@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
 GNULIB_RMDIR = @GNULIB_RMDIR@
 GNULIB_RPMATCH = @GNULIB_RPMATCH@
 GNULIB_SCANF = @GNULIB_SCANF@
+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@
 GNULIB_SETENV = @GNULIB_SETENV@
 GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
 GNULIB_SETLOCALE = @GNULIB_SETLOCALE@
@@ -643,7 +784,6 @@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
 HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
-HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
@@ -667,7 +807,6 @@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
 HAVE_FCNTL = @HAVE_FCNTL@
 HAVE_FDATASYNC = @HAVE_FDATASYNC@
 HAVE_FEATURES_H = @HAVE_FEATURES_H@
-HAVE_FFS = @HAVE_FFS@
 HAVE_FFSL = @HAVE_FFSL@
 HAVE_FFSLL = @HAVE_FFSLL@
 HAVE_FSEEKO = @HAVE_FSEEKO@
@@ -741,6 +880,7 @@ HAVE_READLINKAT = @HAVE_READLINKAT@
 HAVE_REALPATH = @HAVE_REALPATH@
 HAVE_RENAMEAT = @HAVE_RENAMEAT@
 HAVE_RPMATCH = @HAVE_RPMATCH@
+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@
 HAVE_SETENV = @HAVE_SETENV@
 HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
@@ -750,10 +890,8 @@ HAVE_SLEEP = @HAVE_SLEEP@
 HAVE_STDINT_H = @HAVE_STDINT_H@
 HAVE_STPCPY = @HAVE_STPCPY@
 HAVE_STPNCPY = @HAVE_STPNCPY@
-HAVE_STRCASECMP = @HAVE_STRCASECMP@
 HAVE_STRCASESTR = @HAVE_STRCASESTR@
 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
-HAVE_STRINGS_H = @HAVE_STRINGS_H@
 HAVE_STRPBRK = @HAVE_STRPBRK@
 HAVE_STRPTIME = @HAVE_STRPTIME@
 HAVE_STRSEP = @HAVE_STRSEP@
@@ -883,7 +1021,6 @@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
 NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
 NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
-NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@
 NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
 NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@
@@ -903,7 +1040,6 @@ NEXT_STDDEF_H = @NEXT_STDDEF_H@
 NEXT_STDINT_H = @NEXT_STDINT_H@
 NEXT_STDIO_H = @NEXT_STDIO_H@
 NEXT_STDLIB_H = @NEXT_STDLIB_H@
-NEXT_STRINGS_H = @NEXT_STRINGS_H@
 NEXT_STRING_H = @NEXT_STRING_H@
 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
@@ -967,21 +1103,26 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
 REPLACE_FSTATAT = @REPLACE_FSTATAT@
 REPLACE_FTELL = @REPLACE_FTELL@
 REPLACE_FTELLO = @REPLACE_FTELLO@
+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
 REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
 REPLACE_GETCWD = @REPLACE_GETCWD@
 REPLACE_GETDELIM = @REPLACE_GETDELIM@
 REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
+REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@
 REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
 REPLACE_GETLINE = @REPLACE_GETLINE@
 REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+REPLACE_GMTIME = @REPLACE_GMTIME@
 REPLACE_ISATTY = @REPLACE_ISATTY@
 REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
 REPLACE_LCHOWN = @REPLACE_LCHOWN@
 REPLACE_LINK = @REPLACE_LINK@
 REPLACE_LINKAT = @REPLACE_LINKAT@
+REPLACE_LOCALECONV = @REPLACE_LOCALECONV@
+REPLACE_LOCALTIME = @REPLACE_LOCALTIME@
 REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
 REPLACE_LSEEK = @REPLACE_LSEEK@
 REPLACE_LSTAT = @REPLACE_LSTAT@
@@ -1010,6 +1151,7 @@ REPLACE_PERROR = @REPLACE_PERROR@
 REPLACE_POPEN = @REPLACE_POPEN@
 REPLACE_PREAD = @REPLACE_PREAD@
 REPLACE_PRINTF = @REPLACE_PRINTF@
+REPLACE_PTSNAME = @REPLACE_PTSNAME@
 REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
 REPLACE_PUTENV = @REPLACE_PUTENV@
 REPLACE_PWRITE = @REPLACE_PWRITE@
@@ -1044,6 +1186,8 @@ REPLACE_STRSTR = @REPLACE_STRSTR@
 REPLACE_STRTOD = @REPLACE_STRTOD@
 REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
 REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
+REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
+REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@
 REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@
 REPLACE_SYMLINK = @REPLACE_SYMLINK@
 REPLACE_TIMEGM = @REPLACE_TIMEGM@
@@ -1093,6 +1237,8 @@ VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
 WERROR_CFLAGS = @WERROR_CFLAGS@
+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
 WINT_T_SUFFIX = @WINT_T_SUFFIX@
 XGETTEXT = @XGETTEXT@
 XGETTEXT_015 = @XGETTEXT_015@
@@ -1149,6 +1295,7 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -1174,6 +1321,7 @@ TESTS = \
   t0202-gpt-pmbr.sh \
   t0203-gpt-tiny-device-abort.sh \
   t0203-gpt-shortened-device-primary-valid.sh \
+  t0203-gpt-create-on-min-sized-device.sh \
   t0205-gpt-list-clobbers-pmbr.sh \
   t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh \
   t0207-IEC-binary-notation.sh \
@@ -1184,13 +1332,21 @@ TESTS = \
   t0212-gpt-many-partitions.sh \
   t0220-gpt-msftres.sh \
   t0250-gpt.sh \
+  t0251-gpt-unicode.sh \
   t0280-gpt-corrupt.sh \
+  t0281-gpt-grow.sh \
+  t0282-gpt-move-backup.sh \
+  t0283-overlap-partitions.sh \
   t0300-dos-on-gpt.sh \
+  t0301-overwrite-gpt-pmbr.sh \
+  t0350-mac-PT-increases-sector-size.sh \
   t0400-loop-clobber-infloop.sh \
   t0500-dup-clobber.sh \
   t0501-duplicate.sh \
   t1100-busy-label.sh \
   t1101-busy-partition.sh \
+  t1102-loop-label.sh \
+  t1104-remove-and-add-partition.sh \
   t1700-probe-fs.sh \
   t2200-dos-label-recog.sh \
   t2201-pc98-label-recog.sh \
@@ -1199,6 +1355,7 @@ TESTS = \
   t2400-dos-hfs-partition-type.sh \
   t2500-probe-corrupt-hfs.sh \
   t3000-resize-fs.sh \
+  t3200-resize-partition.sh \
   t3200-type-change.sh \
   t3300-palo-prep.sh \
   t3310-flags.sh \
@@ -1213,6 +1370,10 @@ TESTS = \
   t5000-tags.sh \
   t6000-dm.sh \
   t6001-psep.sh \
+  t6002-dm-busy.sh \
+  t6003-dm-hide.sh \
+  t6004-dm-many-partitions.sh \
+  t6005-dm-uuid.sh \
   t6100-mdraid-partitions.sh \
   t7000-scripting.sh \
   t8000-loop.sh \
@@ -1229,8 +1390,9 @@ TESTS = \
   t9050-partition-table-types.sh
 
 EXTRA_DIST = \
-  $(TESTS) lvm-utils.sh t-local.sh t-lvm.sh \
-  init.cfg init.sh t-lib-helpers.sh gpt-header-munge
+  $(TESTS) t-local.sh t-lvm.sh \
+  init.cfg init.sh t-lib-helpers.sh gpt-header-munge \
+  gpt-header-move msdos-overlap
 
 fs_resize_LDADD = \
   $(top_builddir)/libparted/fs/libparted-fs-resize.la \
@@ -1264,16 +1426,11 @@ TESTS_ENVIRONMENT = \
   srcdir='$(srcdir)'                           \
   top_srcdir='$(top_srcdir)'                   \
   AWK='$(AWK)'                                 \
-  CC='$(CC)'                                   \
-  MAKE=$(MAKE)                                 \
   PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'     \
   PACKAGE_VERSION=$(PACKAGE_VERSION)           \
   CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
   ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER) \
   PARTED_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'`\
-  PERL='$(PERL)'                               \
-  PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
-  REPLACE_GETCWD=$(REPLACE_GETCWD)             \
   PATH='$(abs_top_builddir)/parted$(PATH_SEPARATOR)'"$$PATH" \
   VERSION=$(VERSION)                           \
   ; 9>&2
@@ -1322,18 +1479,23 @@ clean-checkPROGRAMS:
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
        echo " rm -f" $$list; \
        rm -f $$list
+
 dup-clobber$(EXEEXT): $(dup_clobber_OBJECTS) $(dup_clobber_DEPENDENCIES) $(EXTRA_dup_clobber_DEPENDENCIES) 
        @rm -f dup-clobber$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(dup_clobber_OBJECTS) $(dup_clobber_LDADD) $(LIBS)
+
 duplicate$(EXEEXT): $(duplicate_OBJECTS) $(duplicate_DEPENDENCIES) $(EXTRA_duplicate_DEPENDENCIES) 
        @rm -f duplicate$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(duplicate_OBJECTS) $(duplicate_LDADD) $(LIBS)
+
 fs-resize$(EXEEXT): $(fs_resize_OBJECTS) $(fs_resize_DEPENDENCIES) $(EXTRA_fs_resize_DEPENDENCIES) 
        @rm -f fs-resize$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(fs_resize_OBJECTS) $(fs_resize_LDADD) $(LIBS)
+
 print-align$(EXEEXT): $(print_align_OBJECTS) $(print_align_DEPENDENCIES) $(EXTRA_print_align_DEPENDENCIES) 
        @rm -f print-align$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(print_align_OBJECTS) $(print_align_LDADD) $(LIBS)
+
 print-max$(EXEEXT): $(print_max_OBJECTS) $(print_max_DEPENDENCIES) $(EXTRA_print_max_DEPENDENCIES) 
        @rm -f print-max$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(print_max_OBJECTS) $(print_max_LDADD) $(LIBS)
@@ -1351,22 +1513,25 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/print-max.Po@am__quote@
 
 .c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
 
 .c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
 .c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@am__fastdepCC_TRUE@   $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
@@ -1377,26 +1542,15 @@ mostlyclean-libtool:
 clean-libtool:
        -rm -rf .libs _libs
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
        set x; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       $(am__define_uniq_tagged_files); \
        shift; \
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
@@ -1408,15 +1562,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
              $$unique; \
          fi; \
        fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
        test -z "$(CTAGS_ARGS)$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$unique
@@ -1425,9 +1575,10 @@ GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && $(am__cd) $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
 
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
        case "$(srcdir)" in \
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
          *) sdir=$(subdir)/$(srcdir) ;; \
@@ -1451,6 +1602,12 @@ distclean-tags:
        rm -f $< $@
        $(MAKE) $(AM_MAKEFLAGS) $<
 
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+       @:
+
 $(TEST_SUITE_LOG): $(TEST_LOGS)
        @$(am__set_TESTS_bases); \
        am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
@@ -1475,9 +1632,9 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
          errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
          for i in $$redo_bases; do \
            test -f $$i.trs && test -r $$i.trs \
-             || { echo "$$errmsg $$i.trs"; st=1; }; \
+             || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
            test -f $$i.log && test -r $$i.log \
-             || { echo "$$errmsg $$i.log"; st=1; }; \
+             || { echo "$$errmsg $$i.log" >&2; st=1; }; \
          done; \
          test $$st -eq 0 || exit 1; \
        fi
@@ -1533,22 +1690,9 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
          echo;                                                         \
          echo ".. contents:: :depth: 2";                               \
          echo;                                                         \
-         for i in $$bases; do                                          \
-           if grep "^$$ws*:copy-in-global-log:$$ws*no$$ws*$$" $$i.trs \
-                >/dev/null; then continue; \
-           fi; \
-           glob_res=`sed -n -e "s/$$ws*$$//" \
-                            -e "s/^$$ws*:global-test-result:$$ws*//p" \
-                       $$i.trs`; \
-           test -n "$$glob_res" || glob_res=RUN; \
-           echo "$$glob_res: $$i" | $(am__rst_section); \
-           if test ! -r $$i.log; then \
-             echo "fatal: making $@: $$i.log is unreadable" >&2; \
-             exit 1; \
-           fi; \
-           cat $$i.log; echo; \
-         done; \
-       } >$(TEST_SUITE_LOG).tmp;                                       \
+         for b in $$bases; do echo $$b; done                           \
+           | $(am__create_global_log);                                 \
+       } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
        mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
        if $$success; then                                              \
          col="$$grn";                                                  \
@@ -1570,41 +1714,27 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
        fi;                                                             \
        $$success || exit 1
 
-check-TESTS recheck:
-       @if test $@ != recheck; then \
-          list='$(RECHECK_LOGS)'; \
-          test -z "$$list" || rm -f $$list; \
-        fi
-       @if test $@ != recheck; then \
-          list='$(RECHECK_LOGS:.log=.trs)'; \
-          test -z "$$list" || rm -f $$list; \
-        fi
+check-TESTS:
+       @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
+       @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
-       @ws='[  ]'; \
-       log_list='' trs_list=''; $(am__set_TESTS_bases); \
-       for i in $$bases; do \
-         if test $@ = recheck; then \
-           test -f $$i.trs || test -f $$i.log || continue; \
-           grep "^$$ws*:recheck:$$ws*no$$ws*$$" $$i.trs \
-             >/dev/null 2>&1 && continue; \
-         else :; fi; \
-         if test -z "$$log_list"; then \
-           log_list="$$i.log"; \
-         else \
-           log_list="$$log_list $$i.log"; \
-         fi; \
-         if test -z "$$trs_list"; then \
-           trs_list="$$i.trs"; \
-         else \
-           trs_list="$$trs_list $$i.trs"; \
-         fi; \
-       done; \
-       if test $@ != recheck || $(am__make_dryrun); then :; else \
-         test -z "$$log_list" || rm -f $$log_list; \
-         test -z "$$trs_list" || rm -f $$trs_list; \
-       fi; \
-       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"
-recheck: $(check_PROGRAMS)
+       @set +e; $(am__set_TESTS_bases); \
+       log_list=`for i in $$bases; do echo $$i.log; done`; \
+       trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+       log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+       exit $$?;
+recheck: all $(check_PROGRAMS)
+       @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+       @set +e; $(am__set_TESTS_bases); \
+       bases=`for i in $$bases; do echo $$i; done \
+                | $(am__list_recheck_tests)` || exit 1; \
+       log_list=`for i in $$bases; do echo $$i.log; done`; \
+       log_list=`echo $$log_list`; \
+       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+               am__force_recheck=am--force-recheck \
+               TEST_LOGS="$$log_list"; \
+       exit $$?
 .sh.log:
        @p='$<'; \
        $(am__set_b); \
@@ -1762,9 +1892,9 @@ uninstall-am:
 
 .MAKE: check-am install-am install-strip
 
-.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
-       clean-checkPROGRAMS clean-generic clean-libtool cscopelist \
-       ctags distclean distclean-compile distclean-generic \
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
+       clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
+       ctags ctags-am distclean distclean-compile distclean-generic \
        distclean-libtool distclean-tags distdir dvi dvi-am html \
        html-am info info-am install install-am install-data \
        install-data-am install-dvi install-dvi-am install-exec \
@@ -1774,7 +1904,7 @@ uninstall-am:
        installcheck-am installdirs maintainer-clean \
        maintainer-clean-generic mostlyclean mostlyclean-compile \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       recheck tags uninstall uninstall-am
+       recheck tags tags-am uninstall uninstall-am
 
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
index 129537cb3ab3b5f95fd251680597fcea5a9e7d34..a9dde840d2ae14cc2fbc1dfc770ae970861cbb95 100644 (file)
@@ -50,7 +50,7 @@ main (int argc, char **argv)
   const PedGeometry *geometry = ped_geometry_new (dev, 34, 1024);
   assert (geometry);
   PedPartition *part = ped_partition_new (disk, part_type, fs_type,
-                                         geometry->start, geometry->end);
+                                          geometry->start, geometry->end);
   assert (part);
   PedConstraint *constraint = ped_constraint_exact (geometry);
   assert (constraint);
@@ -65,6 +65,22 @@ main (int argc, char **argv)
   if (ped_partition_is_flag_available (part, PED_PARTITION_LBA))
     ped_partition_set_flag (part, PED_PARTITION_LBA, 1);
 
+  /* Add a 2nd partition with a name (when supported) */
+  geometry = ped_geometry_new (dev, 1500, 500);
+  assert (geometry);
+  part = ped_partition_new (disk, part_type, fs_type,
+                            geometry->start, geometry->end);
+  assert (part);
+  constraint = ped_constraint_exact (geometry);
+  assert (constraint);
+  assert (ped_disk_add_partition (disk, part, constraint));
+  ped_constraint_destroy (constraint);
+  assert (ped_partition_set_system (part, fs_type));
+  if (ped_partition_is_flag_available (part, PED_PARTITION_LBA))
+    ped_partition_set_flag (part, PED_PARTITION_LBA, 1);
+  if (ped_disk_type_check_feature (part->disk->type, PED_DISK_TYPE_PARTITION_NAME))
+    ped_partition_set_name(part, "foobarbaz");
+
   assert (ped_disk_commit(disk));
 
   /* Duplicate it */
@@ -114,14 +130,23 @@ main (int argc, char **argv)
 
     /* Check the flags */
     for (PedPartitionFlag flag = PED_PARTITION_FIRST_FLAG;
-        flag <= PED_PARTITION_LAST_FLAG; flag++) {
+        flag <= PED_PARTITION_LAST_FLAG; flag++)
+    {
       if (!ped_partition_is_flag_available(disk_part, flag))
         continue;
       fprintf (stderr, "Checking partition flag %d\n", flag);
       fprintf (stderr, "%d ? %d\n", ped_partition_get_flag (disk_part, flag),
-              ped_partition_get_flag (copy_part, flag));
+               ped_partition_get_flag (copy_part, flag));
       assert (ped_partition_get_flag (disk_part, flag)
-             == ped_partition_get_flag (copy_part, flag));
+              == ped_partition_get_flag (copy_part, flag));
+    }
+
+    /* Check the name, if supported */
+    if (ped_disk_type_check_feature (part->disk->type, PED_DISK_TYPE_PARTITION_NAME))
+    {
+      const char *disk_name = ped_partition_get_name(disk_part);
+      const char *copy_name = ped_partition_get_name(copy_part);
+      assert (strcmp (disk_name, copy_name) == 0);
     }
   }
 
diff --git a/tests/gpt-header-move b/tests/gpt-header-move
new file mode 100755 (executable)
index 0000000..05cdc65
--- /dev/null
@@ -0,0 +1,41 @@
+#!/usr/bin/python
+
+# open img file, subtract 33 from altlba address, and move the last 33 sectors
+# back by 33 sectors
+
+from struct import *
+from zipfile import crc32
+import array
+import sys
+file = open(sys.argv[1],'rb+')
+file.seek(512)
+gptheader = file.read(512)
+altlba = unpack_from('<q', gptheader,offset=32)[0]
+gptheader = array.array('c',gptheader)
+pack_into('<Q', gptheader, 32, altlba-33)
+#zero header crc
+pack_into('<L', gptheader, 16, 0)
+#compute new crc
+newcrc = ((crc32(buffer(gptheader,0,92))) & 0xFFFFFFFF)
+pack_into('<L', gptheader, 16, newcrc)
+file.seek(512)
+file.write(gptheader)
+file.seek(512*altlba)
+gptheader = file.read(512)
+file.seek(512*(altlba-32))
+backup = file.read(512*32)
+altlba -= 33
+gptheader = array.array('c',gptheader)
+#update mylba
+pack_into('<Q', gptheader, 24, altlba)
+#update table lba
+pack_into('<Q', gptheader, 72, altlba-32)
+#zero header crc
+pack_into('<L', gptheader, 16, 0)
+#compute new crc
+newcrc = ((crc32(buffer(gptheader,0,92))) & 0xFFFFFFFF)
+pack_into('<L', gptheader, 16, newcrc)
+file.seek(512*(altlba-32))
+file.write(backup)
+file.write(gptheader)
+file.write("\0" * (512 * 33))
index e7d3d43b3795f0076fe1e49d3ac4ae4d9b9c87bb..5c0dd80eca9d6f0c4dd143b4929c4967c732c385 100755 (executable)
@@ -107,7 +107,7 @@ sub check_GPT_header ($$$)
     }
 
   # Save a copy of the CRC, then zero that field, bytes 16..19:
-  my $orig_crc = unpack ('L', substr ($buf, 16, 4));
+  my $orig_crc = unpack ('L<', substr ($buf, 16, 4));
   substr ($buf, 16, 4) = "\0" x 4;
 
   # Compute CRC32 of header: it'd better match.
@@ -133,7 +133,7 @@ sub set_CRCs ($$$$)
 
   # Compute CRC of primary partition array and put it in substr ($pri, 88, 4)
   my $pa_crc = partition_array_crc $pri_or_backup, $n_pe, $in;
-  substr ($$buf, 88, 4) = pack ('L', $pa_crc);
+  substr ($$buf, 88, 4) = pack ('L<', $pa_crc);
 
   # In the backup header, we must also set the 8-byte "Partition entries
   # starting LBA number" field to reflect our new value of $n_pe.
@@ -151,7 +151,7 @@ sub set_CRCs ($$$$)
   # slot into which we'll store the result.
   substr ($$buf, 16, 4) = "\0" x 4;
   my $crc = crc32($$buf);
-  substr ($$buf, 16, 4) = pack ('L', $crc);
+  substr ($$buf, 16, 4) = pack ('L<', $crc);
 }
 
 sub usage ($)
index 8b118244d11ee0c8f6960c822f9399d809003fee..dd32c9faeb8c0fa84e2c61ea8cf2f9f85ff0bae2 100755 (executable)
@@ -2,7 +2,7 @@
 # Make sure all these programs work properly
 # when invoked with --help or --version.
 
-# Copyright (C) 2000-2012 Free Software Foundation, Inc.
+# Copyright (C) 2000-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 24b10bceb3b7c430b0e777e8c5b8845d8823abfe..dc8b2bcfaefe7c27db3b1ad2fc75688b74e60ffa 100644 (file)
@@ -120,8 +120,9 @@ require_erasable_()
 # At least Fedora 16 (kernel 3.1.6-1.fc16.x86_64) fails this test.
 require_partitionable_loop_device_()
 {
-  case $(cat /sys/devices/virtual/block/$(basename $1)/ext_range) in
-    0|1) skip_ your system does not support loop partitioning;;
+  local f=/sys/devices/virtual/block/$(basename $1)/ext_range
+  case $(cat "$f") in
+    ''|0|1) skip_ your system is not configured to partition loop devices;;
   esac
 }
 
index ae867144d0383aa1535249c1a635d887ef70a1ce..b5c2e3f1882edbb80dca5a1b191d715704a6dc89 100644 (file)
@@ -1,6 +1,6 @@
 # source this file; set up for tests
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -207,6 +207,14 @@ else
   fi
 fi
 
+# If this is bash, turn off all aliases.
+test -n "$BASH_VERSION" && unalias -a
+
+# Note that when supporting $EXEEXT (transparently mapping from PROG_NAME to
+# PROG_NAME.exe), we want to support hyphen-containing names like test-acos.
+# That is part of the shell-selection test above.  Why use aliases rather
+# than functions?  Because support for hyphen-containing aliases is more
+# widespread than that for hyphen-containing function names.
 test -n "$EXEEXT" && shopt -s expand_aliases
 
 # Enable glibc's malloc-perturbing option.
@@ -403,8 +411,7 @@ path_prepend_ ()
     case $path_dir_ in
       '') fail_ "invalid path dir: '$1'";;
       /*) abs_path_dir_=$path_dir_;;
-      *) abs_path_dir_=`cd "$initial_cwd_/$path_dir_" && echo "$PWD"` \
-           || fail_ "invalid path dir: $path_dir_";;
+      *) abs_path_dir_=$initial_cwd_/$path_dir_;;
     esac
     case $abs_path_dir_ in
       *:*) fail_ "invalid path dir: '$abs_path_dir_'";;
@@ -440,7 +447,7 @@ setup_ ()
   pfx_=`testdir_prefix_`
   test_dir_=`mktempd_ "$initial_cwd_" "$pfx_-$ME_.XXXX"` \
     || fail_ "failed to create temporary directory in $initial_cwd_"
-  cd "$test_dir_"
+  cd "$test_dir_" || fail_ "failed to cd to temporary directory"
 
   # As autoconf-generated configure scripts do, ensure that IFS
   # is defined initially, so that saving and restoring $IFS works.
diff --git a/tests/lvm-utils.sh b/tests/lvm-utils.sh
deleted file mode 100644 (file)
index 456d265..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-# Put lvm-related utilities here.
-# This file is sourced from test infrastructure.
-
-# Copyright (C) 2007-2010 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use,
-# modify, copy, or redistribute it subject to the terms and conditions
-# of the GNU General Public License v.2.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-export LVM_SUPPRESS_FD_WARNINGS=1
-
-ME=$(basename "$0")
-warn() { echo >&2 "$ME: $@"; }
-
-unsafe_losetup_()
-{
-  f=$1
-
-  test -n "$G_dev_" \
-    || fail_ "Internal error: unsafe_losetup_ called before init_root_dir_"
-
-  # Iterate through $G_dev_/loop{,/}{0,1,2,3,4,5,6,7,8,9}
-  for slash in '' /; do
-    for i in 0 1 2 3 4 5 6 7 8 9; do
-      dev=$G_dev_/loop$slash$i
-      losetup $dev > /dev/null 2>&1 && continue;
-      losetup "$dev" "$f" > /dev/null && { echo "$dev"; return 0; }
-      break
-    done
-  done
-
-  return 1
-}
-
-loop_setup_()
-{
-  file=$1
-  dd if=/dev/zero of="$file" bs=1M count=1 seek=1000 > /dev/null 2>&1 \
-    || { warn "loop_setup_ failed: Unable to create tmp file $file"; return 1; }
-
-  # NOTE: this requires a new enough version of losetup
-  dev=$(unsafe_losetup_ "$file") \
-    || { warn "loop_setup_ failed: Unable to create loopback device"; return 1; }
-
-  echo "$dev"
-  return 0;
-}
-
-compare_two_fields_()
-{
-    local cmd1=$1;
-    local obj1=$2;
-    local field1=$3;
-    local cmd2=$4;
-    local obj2=$5;
-    local field2=$6;
-    local val1;
-    local val2;
-
-    val1=$($cmd1 --noheadings -o $field1 $obj1)
-    val2=$($cmd2 --noheadings -o $field2 $obj2)
-if test "$verbose" = "t"
-then
-  echo "compare_two_fields_ $obj1($field1): $val1 $obj2($field2): $val2"
-fi
-  test $val1 = $val2
-}
-
-compare_vg_field_()
-{
-    local vg1=$1;
-    local vg2=$2;
-    local field=$3;
-    local val1;
-    local val2;
-
-    val1=$(vgs --noheadings -o $field $vg1)
-    val2=$(vgs --noheadings -o $field $vg2)
-if test "$verbose" = "t"
-then
-  echo "compare_vg_field_ VG1: $val1 VG2: $val2"
-fi
-  test $val1 = $val2
-}
-
-check_vg_field_()
-{
-    local vg=$1;
-    local field=$2;
-    local expected=$3;
-    local actual;
-
-    actual=$(vgs --noheadings -o $field $vg)
-if test "$verbose" = "t"
-then
-  echo "check_vg_field_ VG=$vg, field=$field, actual=$actual, expected=$expected"
-fi
-  test $actual = $expected
-}
-
-check_pv_field_()
-{
-    local pv=$1;
-    local field=$2;
-    local expected=$3;
-    local actual;
-
-    actual=$(pvs --noheadings -o $field $pv)
-if test "$verbose" = "t"
-then
-  echo "check_pv_field_ PV=$pv, field=$field, actual=$actual, expected=$expected"
-fi
-    test $actual = $expected
-}
-
-check_lv_field_()
-{
-    local lv=$1;
-    local field=$2;
-    local expected=$3;
-    local actual;
-
-    actual=$(lvs --noheadings -o $field $lv)
-if test "$verbose" = "t"
-then
-  echo "check_lv_field_ LV=$lv, field=$field, actual=$actual, expected=$expected"
-fi
-  test $actual = $expected
-}
-
-vg_validate_pvlv_counts_()
-{
-       local local_vg=$1
-       local num_pvs=$2
-       local num_lvs=$3
-       local num_snaps=$4
-
-       check_vg_field_ $local_vg pv_count $num_pvs &&
-       check_vg_field_ $local_vg lv_count $num_lvs &&
-       check_vg_field_ $local_vg snap_count $num_snaps
-}
-
-dmsetup_has_dm_devdir_support_()
-{
-  # Detect support for the envvar.  If it's supported, the
-  # following command will fail with the expected diagnostic.
-  out=$(DM_DEV_DIR=j dmsetup version 2>&1)
-  test "$?:$out" = "1:Invalid DM_DEV_DIR envvar value." ||
-  test "$?:$out" = "1:Invalid DM_DEV_DIR environment variable value."
-}
-
-# set up private /dev and /etc
-init_root_dir_()
-{
-  test -n "$test_dir_" \
-    || fail_ "Internal error: called init_root_dir_ before" \
-      "defining \$test_dir_"
-
-  # Define these two globals.
-  G_root_=$test_dir_/root
-  G_dev_=$G_root_/dev
-
-  export LVM_SYSTEM_DIR=$G_root_/etc
-  export DM_DEV_DIR=$G_dev_
-
-  # Only the first caller does anything.
-  mkdir -p $G_root_/etc $G_dev_ $G_dev_/mapper $G_root_/lib
-  for i in 0 1 2 3 4 5 6 7; do
-    mknod $G_root_/dev/loop$i b 7 $i
-  done
-  for i in $abs_top_builddir/dmeventd/mirror/*.so $abs_top_builddir/dmeventd/snapshot/*.so
-  do
-    # NOTE: This check is necessary because the loop above will give us the value
-    # "$abs_top_builddir/dmeventd/mirror/*.so" if no files ending in 'so' exist.
-    # This is the best way I could quickly determine to skip over this bogus value.
-    if [ -f $i ]; then
-      echo Setting up symlink from $i to $G_root_/lib
-      ln -s $i $G_root_/lib
-    fi
-  done
-  cat > $G_root_/etc/lvm.conf <<-EOF
-  devices {
-    dir = "$G_dev_"
-    scan = "$G_dev_"
-    filter = [ "a/loop/", "a/mirror/", "a/mapper/", "r/.*/" ]
-    cache_dir = "$G_root_/etc"
-    sysfs_scan = 0
-  }
-  log {
-    verbose = $verboselevel
-    syslog = 0
-    indent = 1
-  }
-  backup {
-    backup = 0
-    archive = 0
-  }
-  global {
-    library_dir = "$G_root_/lib"
-  }
-EOF
-}
-
-init_root_dir_
diff --git a/tests/msdos-overlap b/tests/msdos-overlap
new file mode 100755 (executable)
index 0000000..5bddfb0
--- /dev/null
@@ -0,0 +1,25 @@
+#!/usr/bin/python
+"""
+    Write an overlapping partition to a msdos disk
+
+    Call with disk image/device to mangle
+"""
+import sys
+
+BAD_ENTRY = (0x72, 0xf5, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+             0x01, 0x10, 0x83, 0x03, 0x20, 0x4f, 0x00, 0x08,
+             0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00,
+             0x00, 0x50, 0x83, 0x00, 0x0a, 0x7a, 0xff, 0x27,
+             0x00, 0x00, 0x0a, 0x15, 0x00, 0x00, 0x00, 0x00 )
+OFFSET = 0x1b8
+
+if len(sys.argv) < 2:
+    print "%s: <image or device>"
+    sys.exit(1)
+
+data = "".join(chr(c) for c in BAD_ENTRY)
+with open(sys.argv[1], "rb+") as f:
+    f.seek(OFFSET, 0)
+    f.write(data)
+
+sys.exit(0)
index 7560d494f8b62149464179ada439d6a916bb6c4c..41aa8c6f9984017e26165c604094f57e5352cb08 100644 (file)
@@ -2,9 +2,11 @@
 #include <parted/parted.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <errno.h>
 
 #include "closeout.h"
 #include "progname.h"
+#include "error.h"
 
 int
 main (int argc, char **argv)
@@ -26,8 +28,16 @@ main (int argc, char **argv)
   PedSector max_length = ped_disk_max_partition_length (disk);
   PedSector max_start_sector = ped_disk_max_partition_start_sector (disk);
 
+  if (!ped_device_open(dev))
+    error (EXIT_FAILURE, errno, "failed to open %s\n", dev_name);
+  int max_n_partitions;
+  bool ok = ped_disk_get_max_supported_partition_count (disk,
+                                                       &max_n_partitions);
+
   printf ("max len: %llu\n", (unsigned long long) max_length);
   printf ("max start sector: %llu\n", (unsigned long long) max_start_sector);
+  printf ("max number of partitions: %d\n",
+         ok ? max_n_partitions : -1);
 
   ped_disk_destroy (disk);
   ped_device_destroy (dev);
index 4b3c122f0a024c0f6bef19a38896112993e8d26d..4e83a05e07bcee6d03a8975e8c6661874caac1d0 100644 (file)
@@ -395,6 +395,18 @@ wait_for_dev_to_disappear_()
 
 device_mapper_required_()
 {
-  . "$abs_top_srcdir/tests/lvm-utils.sh" \
-       || fail_ "device mapper setup failed"
+  . "$abs_top_srcdir/tests/t-lvm.sh"
+  lvm_init_root_dir_ || fail_ "device mapper setup failed"
+}
+
+# Require a 64bit system
+require_64bit_()
+{
+  case $(uname -m) in
+      x86_64|ppc64)
+          return 0;;
+      *)
+          skip_ "This test requires a 64 bit system"
+          ;;
+  esac
 }
index dde1b8d5b73f1f2462761b6d5b525a65f501ca2f..b40a5a0ebbf5fc351d5ba070523b454203993564 100644 (file)
@@ -100,7 +100,7 @@ scsi_debug_setup_()
   modprobe scsi_debug "$@" || { rm -f stamp; return 1; }
   scsi_debug_modprobe_succeeded_=1
   test "$VERBOSE" = yes \
-    && warn_ $ME_ modprobe scsi_debug succeeded
+    && echo $ME_ modprobe scsi_debug succeeded 1>&2
 
   # Wait up to 2s (via .1s increments) for the list of devices to change.
   # Sleeping for a fraction of a second requires GNU sleep, so fall
index b08f934e3ee5759d362624636cde5e876054d6e4..001523b791652b4194b99466c84c00c79a984734 100644 (file)
@@ -1,7 +1,7 @@
 # Put lvm-related utilities here.
 # This file is sourced from test infrastructure.
 
-# Copyright (C) 2007, 2008, 2010 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2007-2012 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,
 # modify, copy, or redistribute it subject to the terms and conditions
 
 export LVM_SUPPRESS_FD_WARNINGS=1
 
-ME=$(basename "$0")
-warn() { echo >&2 "$ME: $@"; }
-
-unsafe_losetup_()
-{
-  f=$1
-
-  test -n "$G_dev_" \
-    || error "Internal error: unsafe_losetup_ called before init_root_dir_"
-
-  # Iterate through $G_dev_/loop{,/}{0,1,2,3,4,5,6,7,8,9}
-  for slash in '' /; do
-    for i in 0 1 2 3 4 5 6 7 8 9; do
-      dev=$G_dev_/loop$slash$i
-      losetup $dev > /dev/null 2>&1 && continue;
-      losetup "$dev" "$f" > /dev/null && { echo "$dev"; return 0; }
-      break
-    done
-  done
-
-  return 1
-}
-
 loop_setup_()
 {
   file=$1
-  dd if=/dev/zero of="$file" bs=1M count=1 seek=1000 > /dev/null 2>&1 \
-    || { warn "loop_setup_ failed: Unable to create tmp file $file"; return 1; }
+  dd if=/dev/null of="$file" bs=1M count=1 seek=1000 > /dev/null 2>&1 \
+    || { warn_ "loop_setup_ failed: Unable to create tmp file $file"; return 1; }
 
   # NOTE: this requires a new enough version of losetup
-  dev=$(unsafe_losetup_ "$file" 2>/dev/null) \
-    || { warn "loop_setup_ failed: Unable to create loopback device"; return 1; }
+  dev=$(losetup --show -f "$file") \
+    || { warn_ "loop_setup_ failed: Unable to create loopback device"; return 1; }
 
   echo "$dev"
   return 0;
index 8178ff363e3b8345e88b95009eb6ceddcf90aa60..d0107af59b39de38cef9fd4bf9522eff91301a7f 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that a simple command using -s succeeds with no prompt
 
-# Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 977433ef408e3d0b4df510e47b145e30ca309d3a..8abc43a01b6a4b6e2ae170d73776b6a3a2c6eebe 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # operate on a very small (1-sector) "disk"
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 7ee43a1b5f16d19f71b5b7dceabe6d1fd08b883c..0d7d13f5158c415c102deb33711fb80dedec8473 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that printing with -s outputs no readline control chars
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 41d40606f2a52403c8a1443be15f31eaba1784d8..61c6d9377a9be625f499fd7819daf536e4c517c2 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # the most basic 'print' test
-# Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 7833a6dd017a229b7cb8afcc0cbe22f218aa9673..3d9a8c93cfc4cdd1dba9fb9ea837c0f6c2753609 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # test 'parted $dev print' on empty device (without label)
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 62d6a234f786387dec7978fcba759ab779822b96..c3bd1aa2433bc6319514357d16466a0ec996b234 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that printing a GPT partition table does not modify it.
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 4223ab583d74e45efbc6d732ef3bbfbfde080172..f24caf0e0046b0cdfef7e2464072da937d1dcd65 100755 (executable)
@@ -2,7 +2,7 @@
 # avoid failed assertion when creating a GPT on top of an old one for a
 # larger device
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 07866f33cfeb8bcacfeaa8d07ce7601461ea79ef..28f644f6251e387e2340c3012b8d6f56e4bf3e21 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Preserve first 446B of the Protected MBR for gpt partitions.
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/tests/t0203-gpt-create-on-min-sized-device.sh b/tests/t0203-gpt-create-on-min-sized-device.sh
new file mode 100644 (file)
index 0000000..e2c93bc
--- /dev/null
@@ -0,0 +1,46 @@
+#!/bin/sh
+# parted 3.1 and prior would exit with no diagnostic when failing
+# to create a GPT partition table on a device that was too small.
+
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+require_512_byte_sector_size_
+
+dev=loop-file
+ss=$sector_size_
+
+# Create the smallest file that can accommodate a GPT partition table.
+dd if=/dev/null of=$dev bs=$ss seek=68 || framework_failure
+
+# create a GPT partition table
+parted -s $dev mklabel gpt > out 2>&1 || fail=1
+# expect no output
+compare /dev/null out || fail=1
+
+# Create a file that is 1 sector smaller, and require failure,
+# *with* a diagnostic.
+rm -f $dev
+dd if=/dev/null of=$dev bs=$ss seek=67 || framework_failure
+
+echo Error: device is too small for GPT > exp || framework_failure
+
+# Try to create a GPT partition table in too little space.  This must fail.
+parted -s $dev mklabel gpt > out 2>&1 && fail=1
+# There must be a diagnostic.
+compare exp out || fail=1
+
+Exit $fail
index f59d86926e9bb8d9ecc34ab2a2d9c327759f3089..3dd28f8daea10b878bb96e17d70a37a705dc7d70 100755 (executable)
@@ -2,7 +2,7 @@
 # Demonstrate that placing a valid gpt-labeled image on a shorter device
 # does not invalidate the primary GPT header.
 
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 7283c55c72f7dbbccc3d32fae79330d6c67627df..6a08f32c316de2bcbe55f72f63df00f0dcb2d737 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/sh
-# parted before 3.1 could abort for a pathologically small device with
-# a valid primary GPT header but no room for the backup header.
+# parted before 3.1 could abort while reading a pathologically small device
+# with a valid primary GPT header but no room for the backup header.
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 763802be4f131dd99cf39d529234dca5a4b07694..615d83cff5a170f6cd2d657eb6cc7a8b95d645d2 100644 (file)
@@ -5,7 +5,7 @@
 # GPT/MBR table, merely listing the table with Parted-2.1 would clobber
 # the MBR part.
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 402451cb138ab6a0c1c42f1f6c85c6f587144420..311c5f40e520b164c474d3c1da14075792bf4d48 100755 (executable)
@@ -3,7 +3,7 @@
 # Much like t0205, but with the addition of a corrupt PTE in primary table,
 # "parted $device print" would modify $device.
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 1298be38289df933ba5ccbee9052057da5094088..41f1d3369d58520a479d04490fa60ee2da8f1126 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Show how parted treats a starting or ending sector number w/IEC units.
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index c24818f565fe92fc4a4f86893050897650e50e5e..ffcb480dd261a5bb6d6055da98865fa7a9cf3fde 100644 (file)
@@ -2,7 +2,7 @@
 # Make sure parted mkpart ends the partition one sector before the specified
 # value if end is specified with IEC units.
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index d62d1cd367b3d95f32ebe3582562a8a4db0d44b9..bb6eb313f4e4e59f022800edb3c010dd45dfa7d8 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that pmbr_boot flag can be set
 
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 29efa1612b6b32e636c3c1c582dd2d91e1b047d4..2efc3ca334dcfc1e6446c9a66384d964c4da307a 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # exercise GPT handling of n_partition_array_entries != 128
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -19,6 +19,9 @@
 . "${srcdir=.}/init.sh"; path_prepend_ ../parted $srcdir
 require_perl_digest_crc_
 
+# gpt-header-munge won't work on 32bit systems
+require_64bit_
+
 ss=$sector_size_
 
 N=2M
index 85fe5a23f87ba5d06bc6c40b31cc46c31685cd45..c747a49de1fa6e9f952d52cc063173d019e0db67 100644 (file)
@@ -5,7 +5,7 @@
 # header to the end of the device.  Before parted-3.1, when it attempted
 # to do that, starting with a 9-PTE array, it would render the result invalid.
 
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -23,6 +23,9 @@
 . "${srcdir=.}/init.sh"; path_prepend_ ../parted $srcdir
 require_perl_digest_crc_
 
+# gpt-header-munge won't work on 32bit systems
+require_64bit_
+
 ss=$sector_size_
 
 ns=100         # Initial number of sectors.
index cf0a45d9636b77e983decf47d7c13509044f0657..0b764f931cfbdee5176799f5f5ae371cd9c2417d 100644 (file)
@@ -2,7 +2,7 @@
 # gpt: create many partitions
 # Before parted-3.1, this would provoke an invalid free.
 
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index d522aec72cac3ee96f8713b83bd2c83a851bc84f..79518ae6b3425eddf22dd9ab951de4766b1a0c46 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # gpt default "flag" for a partition must not be msftres
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -56,7 +56,8 @@ printf "BYT;\n$dev:${n_sectors}s:file:$ss:$ss:gpt::;\n" > exp
 i=1
 for type in $fs_types; do
   end=$(expr $start + $part_size - 1)
-  echo "$i:${start}s:${end}s:${part_size}s::$type:;" >> exp || fail=1
+  case $type in fat*|NTFS) flag=msftdata;; *) flag=;; esac
+  echo "$i:${start}s:${end}s:${part_size}s::$type:$flag;" >> exp || fail=1
   parted -s $dev mkpart p-name $type ${start}s ${end}s > err 2>&1 || fail=1
   compare /dev/null err || fail=1
   parted -s $dev name $i $type > err 2>&1 || fail=1
index 2ab0b69593106310b37b78188c7bcec2de6b0e17..c3dd93c57e5bfa668e6c76f7f5ad212258c448af 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # very basic GPT table
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/tests/t0251-gpt-unicode.sh b/tests/t0251-gpt-unicode.sh
new file mode 100755 (executable)
index 0000000..c845950
--- /dev/null
@@ -0,0 +1,38 @@
+#!/bin/sh
+# Test unicode partition names
+# Copyright (C) 2013-2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+
+dev=loop-file
+
+# create zeroed device
+truncate -s 10m $dev || fail=1
+
+export LC_ALL=C.UTF-8
+# create gpt label with named partition
+part_name=$(printf 'foo\341\264\244')
+parted -s $dev mklabel gpt mkpart primary ext2 1MiB 2MiB name 1 $part_name > empty 2>&1 || fail=1
+
+# ensure there was no output
+compare /dev/null empty || fail=1
+
+# check for expected output
+dd if=$dev bs=1 skip=$(($sector_size_+$sector_size_+56)) count=10 2>/dev/null | od -An -tx1 > out || fail=1
+echo ' 66 00 6f 00 6f 00 24 1d 00 00' >> exp
+compare exp out || fail=1
+
+Exit $fail
index f646a6812932f56791bb835b5eba778216c25112..a7c8d82291e542a816da30a883955d09a5293ed2 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # corrupt a GPT table; ensure parted takes notice
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/tests/t0281-gpt-grow.sh b/tests/t0281-gpt-grow.sh
new file mode 100644 (file)
index 0000000..36a2530
--- /dev/null
@@ -0,0 +1,100 @@
+#!/bin/sh
+# grow a gpt disk, ensure that parted offers to update the gpt size
+
+# Copyright (C) 2009-2012, 2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+require_512_byte_sector_size_
+dev=loop-file
+
+ss=$sector_size_
+n_sectors=5000
+
+dd if=/dev/null of=$dev bs=$ss seek=$n_sectors || fail=1
+
+# create gpt label
+parted -s $dev mklabel gpt > empty 2>&1 || fail=1
+compare /dev/null empty || fail=1
+
+# print the empty table
+parted -m -s $dev unit s print > t 2>&1 || fail=1
+sed "s,.*/$dev:,$dev:," t > out || fail=1
+
+# check for expected output
+printf "BYT;\n$dev:${n_sectors}s:file:$sector_size_:$sector_size_:gpt::;\n" \
+  > exp || fail=1
+compare exp out || fail=1
+
+# grow disk
+n_sectors=5500
+dd if=/dev/null of=$dev bs=$ss seek=$n_sectors || fail=1
+
+# printing must warn, but not fix in script mode
+parted -s $dev print > out 2>&1 || fail=1
+
+# Transform the actual output, to avoid spurious differences when
+# $PWD contains a symlink-to-dir.  Also, remove the ^M      ...^M bogosity.
+# normalize the actual output
+mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,\r   *\r,,g;s, $,," \
+                      -e "s,^.*/lt-parted: ,parted: ," o2 > out
+
+# check for expected diagnostic
+cat <<EOF > exp || fail=1
+Warning: Not all of the space available to DEVICE appears to be used, you can fix the GPT to use all of the space (an extra 500 blocks) or continue with the current setting?
+Model:  (file)
+Disk DEVICE: 2816kB
+Sector size (logical/physical): 512B/512B
+Partition Table: gpt
+Disk Flags:
+
+Number  Start  End  Size  File system  Name  Flags
+
+EOF
+compare exp out || fail=1
+
+# now we fix
+printf 'f\n' | parted ---pretend-input-tty $dev print > out 2>&1 || fail=1
+
+# Transform the actual output, to avoid spurious differences when
+# $PWD contains a symlink-to-dir.  Also, remove the ^M      ...^M bogosity.
+# normalize the actual output
+mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,\r   *\r,,g;s, $,," \
+                      -e "s,^.*/lt-parted: ,parted: ," o2 > out
+
+# check for expected diagnostic
+emit_superuser_warning > exp || fail=1
+cat <<EOF >> exp || fail=1
+Warning: Not all of the space available to DEVICE appears to be used, you can fix the GPT to use all of the space (an extra 500 blocks) or continue with the current setting?
+Fix/Ignore? f
+Model:  (file)
+Disk DEVICE: 2816kB
+Sector size (logical/physical): 512B/512B
+Partition Table: gpt
+Disk Flags:
+
+Number  Start  End  Size  File system  Name  Flags
+
+EOF
+compare exp out || fail=1
+
+
+# Now should not warn
+
+parted -s $dev print > err 2>&1 || fail=1
+grep Warning: err > k ; mv k err
+compare /dev/null err || fail=1
+
+Exit $fail
diff --git a/tests/t0282-gpt-move-backup.sh b/tests/t0282-gpt-move-backup.sh
new file mode 100644 (file)
index 0000000..c197279
--- /dev/null
@@ -0,0 +1,100 @@
+#!/bin/sh
+# put backup copy gpt in the wrong place, ensure that
+# parted offers to fix
+
+# Copyright (C) 2009-2012, 2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted $srcdir
+require_512_byte_sector_size_
+dev=loop-file
+
+ss=$sector_size_
+n_sectors=5000
+
+dd if=/dev/null of=$dev bs=$ss seek=$n_sectors || fail=1
+
+# create gpt label
+parted -s $dev mklabel gpt > empty 2>&1 || fail=1
+compare /dev/null empty || fail=1
+
+# print the empty table
+parted -m -s $dev unit s print > t 2>&1 || fail=1
+sed "s,.*/$dev:,$dev:," t > out || fail=1
+
+# check for expected output
+printf "BYT;\n$dev:${n_sectors}s:file:$sector_size_:$sector_size_:gpt::;\n" \
+  > exp || fail=1
+compare exp out || fail=1
+
+# move the backup
+gpt-header-move $dev || fail=1
+
+# printing must warn, but not fix in script mode
+parted -s $dev print > out 2>&1 || fail=1
+
+# Transform the actual output, to avoid spurious differences when
+# $PWD contains a symlink-to-dir.  Also, remove the ^M      ...^M bogosity.
+# normalize the actual output
+mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,\r   *\r,,g;s, $,," \
+                      -e "s,^.*/lt-parted: ,parted: ," o2 > out
+
+# check for expected diagnostic
+cat <<EOF > exp || fail=1
+Error: The backup GPT table is not at the end of the disk, as it should be.  Fix, by moving the backup to the end (and removing the old backup)?
+Model:  (file)
+Disk DEVICE: 2560kB
+Sector size (logical/physical): 512B/512B
+Partition Table: gpt
+Disk Flags:
+
+Number  Start  End  Size  File system  Name  Flags
+
+EOF
+compare exp out || fail=1
+
+# now we fix
+printf 'f\n' | parted ---pretend-input-tty $dev print > out 2>&1 || fail=1
+
+# Transform the actual output, to avoid spurious differences when
+# $PWD contains a symlink-to-dir.  Also, remove the ^M      ...^M bogosity.
+# normalize the actual output
+mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,\r   *\r,,g;s, $,," \
+                      -e "s,^.*/lt-parted: ,parted: ," o2 > out
+
+# check for expected diagnostic
+emit_superuser_warning > exp || fail=1
+cat <<EOF >> exp || fail=1
+Error: The backup GPT table is not at the end of the disk, as it should be.  Fix, by moving the backup to the end (and removing the old backup)?
+Fix/Ignore? f
+Model:  (file)
+Disk DEVICE: 2560kB
+Sector size (logical/physical): 512B/512B
+Partition Table: gpt
+Disk Flags:
+
+Number  Start  End  Size  File system  Name  Flags
+
+EOF
+compare exp out || fail=1
+
+
+# Now should not warn
+
+parted -s $dev print > err 2>&1 || fail=1
+grep Error: err > k ; mv k err
+compare /dev/null err || fail=1
+
+Exit $fail
diff --git a/tests/t0283-overlap-partitions.sh b/tests/t0283-overlap-partitions.sh
new file mode 100644 (file)
index 0000000..7928c94
--- /dev/null
@@ -0,0 +1,105 @@
+#!/bin/sh
+# ensure parted can ignore partitions that overlap or are
+# longer than the disk and remove them
+
+# Copyright (C) 2009-2012, 2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted $srcdir
+require_512_byte_sector_size_
+dev=loop-file
+
+truncate -s 10m $dev || framework_failure
+parted -s $dev mklabel msdos || framework_failure
+msdos-overlap $dev || framework_failure
+
+# print the empty table
+parted ---pretend-input-tty $dev <<EOF > out 2>&1 || fail=1
+print
+ignore
+rm
+2
+EOF
+
+# $PWD contains a symlink-to-dir.  Also, remove the ^M      ...^M bogosity.
+# normalize the actual output
+mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,\r   *\r,,g;s, $,," \
+                      -e "s,^.*/lt-parted: ,parted: ," -e "s/^GNU Parted .*$/GNU Parted VERSION/" o2 > out
+
+# check for expected output
+emit_superuser_warning > exp || fail=1
+cat <<EOF >> exp || fail=1
+GNU Parted VERSION
+Using DEVICE
+Welcome to GNU Parted! Type 'help' to view a list of commands.
+(parted) print
+Error: Can't have overlapping partitions.
+Ignore/Cancel? ignore
+Model:  (file)
+Disk DEVICE: 10.5MB
+Sector size (logical/physical): 512B/512B
+Partition Table: msdos
+Disk Flags:
+
+Number  Start   End     Size    Type     File system  Flags
+ 1      1049kB  5243kB  4194kB  primary
+ 2      5242kB  8000kB  2758kB  primary
+
+(parted) rm
+Partition number? 2
+(parted)
+EOF
+compare exp out || fail=1
+
+truncate -s 3m $dev || fail=1
+
+# print the table, verify error, ignore it, and remove the partition
+parted ---pretend-input-tty $dev <<EOF > out 2>&1 || fail=1
+print
+ignore
+rm
+1
+EOF
+
+# $PWD contains a symlink-to-dir.  Also, remove the ^M      ...^M bogosity.
+# normalize the actual output
+mv out o2 && sed -e "s,/.*/$dev,DEVICE,;s,\r   *\r,,g;s, $,," \
+                      -e "s,^.*/lt-parted: ,parted: ," -e "s/^GNU Parted .*$/GNU Parted VERSION/" o2 > out
+
+# check for expected output
+emit_superuser_warning > exp || fail=1
+cat <<EOF >> exp || fail=1
+GNU Parted VERSION
+Using DEVICE
+Welcome to GNU Parted! Type 'help' to view a list of commands.
+(parted) print
+Error: Can't have a partition outside the disk!
+Ignore/Cancel? ignore
+Model:  (file)
+Disk DEVICE: 3146kB
+Sector size (logical/physical): 512B/512B
+Partition Table: msdos
+Disk Flags:
+
+Number  Start   End     Size    Type     File system  Flags
+ 1      1049kB  5243kB  4194kB  primary
+
+(parted) rm
+Partition number? 1
+(parted)
+EOF
+compare exp out || fail=1
+
+Exit $fail
index 41bc391d07b818f303e4715dcee0f937d320e817..05f9cc6440fd1deaef614469de14fb22f4489499 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # avoid segfault creating a dos PT on top of a gpt one
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 . "${srcdir=.}/init.sh"; path_prepend_ ../parted
-
-PARTED_SECTOR_SIZE=4096
-export PARTED_SECTOR_SIZE
+ss=$sector_size_
 
 dev=loop-file
 # create a backing file large enough for a GPT partition table
-dd if=/dev/null of=$dev seek=4001 2> /dev/null || framework_failure
+dd if=/dev/null of=$dev bs=$ss seek=80 2> /dev/null || framework_failure
 
 # create a GPT partition table
 parted -s $dev mklabel gpt > out 2>&1 || fail=1
diff --git a/tests/t0301-overwrite-gpt-pmbr.sh b/tests/t0301-overwrite-gpt-pmbr.sh
new file mode 100755 (executable)
index 0000000..50a40ec
--- /dev/null
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Test creating a msdos partition over a GPT partition with
+# fdisk which doesn't remove the GPT partitions, only the PMBR
+
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+
+ss=$sector_size_
+dev=loop-file
+
+# Create a GPT partition table.
+dd if=/dev/null of=$dev bs=$ss seek=80 2> /dev/null || framework_failure
+parted -s $dev mklabel gpt > out 2>&1 || framework_failure_
+compare /dev/null out || framework_failure_
+
+# Create an MSDOS partition table in another file.
+dd if=/dev/null of=m bs=$ss seek=80 2> /dev/null || framework_failure
+parted -s m mklabel msdos > out 2>&1 || framework_failure_
+compare /dev/null out || framework_failure_
+
+# Transplant the MSDOS MBR into the GPT-formatted image.
+dd if=m of=$dev bs=$ss count=1 conv=notrunc || framework_failure_
+
+# Now, try to create a GPT partition table in $dev.
+# Before, parted would prompt, asking about the apparent inconsistency.
+parted -s $dev mklabel gpt > out 2>&1 || fail=1
+# expect no output
+compare /dev/null out || fail=1
+
+Exit $fail
diff --git a/tests/t0350-mac-PT-increases-sector-size.sh b/tests/t0350-mac-PT-increases-sector-size.sh
new file mode 100644 (file)
index 0000000..b8b507c
--- /dev/null
@@ -0,0 +1,49 @@
+#!/bin/sh
+# With parted-3.1, a MAC partition table that specified a sector size (B)
+# larger than what the kernel told us (SS) would cause parted to read B
+# bytes into a smaller, SS-byte buffer, clobbering heap storage.
+
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+require_512_byte_sector_size_
+
+dev=loop-file
+ss=$sector_size_
+
+dd if=/dev/null of=$dev bs=$ss seek=2000 || framework_failure
+parted -s $dev mklabel mac > out 2>&1 || fail=1
+# expect no output
+compare /dev/null out || fail=1
+
+# Poke a big-endian 1024 into the 2-byte block_size slot.
+perl -e 'print pack("S>", 1024)'|dd of=$dev bs=1 seek=2 count=2 conv=notrunc \
+  || fail=1
+
+printf 'ignore\ncancel\n' > in || framework_failure
+
+cat <<EOF > exp
+BYT;
+FILE:2000s:file:1024:512:unknown::;
+EOF
+
+parted -m ---pretend-input-tty $dev u s p < in > err 2>&1 || fail=1
+sed 's,\r   *\r,,g;s!^/[^:]*:!FILE:!' err \
+  | grep -Evi '^(ignore|fix|error|warning)' \
+  > k && mv k err || fail=1
+compare exp err || fail=1
+
+Exit $fail
index 4e35f758e68437adbe0a5eb44d20380110724785..7c595c5188ae547e047c82372ccb65f5aa0ffd9d 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # do not infloop in loop_clobber
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index a29716d88911bb211770f987b064ca69f7bb90a1..d85b5f71770aa0de009f764ca36583f0421e458e 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Drive the dup-clobber program.
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 966e5fba8c06396c310b9a5dc19e46043cfa417e..66d321a2e78de6b911db0165bad9dce1e53b475d 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Drive the dup-clobber program.
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 9e371da4512be3a45c58c35cc62fb5138ab02a2a..4e256d32a010ffa6234e060739d32e54b0e78d07 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # partitioning (parted -s DEV mklabel) a busy disk must fail.
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 710c396fadadd9330c28b5e1a784bc906edb322d..ad091f738468b8d2c2e853a15019c6ec1703a2ff 100755 (executable)
@@ -2,7 +2,7 @@
 # test for Debian bug #582818 (http://bugs.debian.org/582818); forbid
 # the removal of a mounted partition.
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@ scsi_debug_setup_ dev_size_mb=80 > dev-name ||
 dev=$(cat dev-name)
 
 cat <<EOF > exp-error || framework_failure
-Error: Partition ${dev}2 is being used. You must unmount it before you modify it with Parted.
+Warning: Partition ${dev}2 is being used. Are you sure you want to continue?
 EOF
 
 parted -s "$dev" mklabel msdos > out 2>&1 || fail=1
diff --git a/tests/t1102-loop-label.sh b/tests/t1102-loop-label.sh
new file mode 100644 (file)
index 0000000..9752002
--- /dev/null
@@ -0,0 +1,103 @@
+#!/bin/sh
+# make sure that loop labels work correctly
+# create an actual partition
+
+# Copyright (C) 2013-2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+path_prepend_ ../partprobe
+require_root_
+require_scsi_debug_module_
+ss=$sector_size_
+
+scsi_debug_setup_ sector_size=$ss dev_size_mb=90 > dev-name ||
+  skip_ 'failed to create scsi_debug device'
+dev=$(cat dev-name)
+
+mke2fs -F $dev
+parted -s "$dev" print > out 2>&1 || fail=1
+cat <<EOF > exp
+Model: Linux scsi_debug (scsi)
+Disk DEVICE: 94.4MB
+Sector size (logical/physical): ${ss}B/${ss}B
+Partition Table: loop
+Disk Flags:
+
+Number  Start  End     Size    File system  Flags
+ 1      0.00B  94.4MB  94.4MB  ext2
+
+EOF
+mv out o2 && sed -e "s,$dev,DEVICE,;s/  *$//" o2 > out
+
+compare exp out || fail=1
+parted -s $dev rm 1 || fail=1
+if [ -e ${dev}1 ]; then
+    echo "Partition should not exist on loop device"
+    fail=1
+fi
+partprobe $dev || fail=1
+if [ -e ${dev}1 ]; then
+    echo "Partition should not exist on loop device"
+    fail=1
+fi
+
+mount_point="`pwd`/mnt"
+
+# Be sure to unmount upon interrupt, failure, etc.
+cleanup_fn_() { umount "$mount_point" > /dev/null 2>&1; }
+
+# create mount point dir. and mount the just-created partition on it
+mkdir $mount_point || fail=1
+mount -t ext2 "${dev}" $mount_point || fail=1
+
+# now that a partition is mounted, mklabel attempt must fail
+parted -s "$dev" mklabel msdos > out 2>&1; test $? = 1 || fail=1
+
+# create expected output file
+echo "Error: Partition(s) on $dev are being used." > exp
+compare exp out || fail=1
+
+# make sure partition busy check works ( mklabel checks whole disk )
+parted -s "$dev" rm 1 > out 2>&1; test $? = 1 || fail=1
+# create expected output file
+echo "Warning: Partition ${dev} is being used. Are you sure you want to continue?" > exp
+compare exp out || fail=1
+
+umount "$mount_point"
+
+# make sure partprobe cleans up stale partition devices
+parted -s $dev mklabel msdos mkpart primary ext2 0% 100% || fail=1
+if [ ! -e ${dev}1 ]; then
+    echo "Partition doesn't exist on loop device"
+    fail=1
+fi
+
+mke2fs -F $dev
+partprobe $dev || fail=1
+if [ -e ${dev}1 ]; then
+    echo "Partition should not exist on loop device"
+    fail=1
+fi
+
+# make sure new loop label removes old partitions > 1
+parted -s $dev mklabel msdos mkpart primary ext2 0% 50% mkpart primary ext2 50% 100% || fail=1
+parted -s $dev mklabel loop || fail=1
+if [ -e ${dev}2 ]; then
+    echo "Partition 2 not removed"
+    fail=1
+fi
+
+Exit $fail
diff --git a/tests/t1104-remove-and-add-partition.sh b/tests/t1104-remove-and-add-partition.sh
new file mode 100644 (file)
index 0000000..61cc392
--- /dev/null
@@ -0,0 +1,50 @@
+#!/bin/sh
+# make sure that removing a higher numbered partition and adding a lower
+# one using that space at the same time works
+
+# Copyright (C) 2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+path_prepend_ ../partprobe
+require_root_
+ss=$sector_size_
+
+d1= f1=
+cleanup_fn_()
+{
+  test -n "$d1" && losetup -d "$d1"
+  rm -f "$f1"
+}
+
+f1=$(pwd)/1; d1=$(loop_setup_ "$f1") \
+  || skip_ "is this partition mounted with 'nodev'?"
+
+require_partitionable_loop_device_ $d1
+
+# create one big partition
+parted -s $d1 mklabel msdos mkpart primary ext2 1m 10m || fail=1
+
+# save this table
+dd if=$d1 of=saved count=1 || fail=1
+
+# create two small partitions
+parted -s $d1 mklabel msdos mkpart primary ext2 1m 5m mkpart primary ext2 5m 10m || fail=1
+
+# restore first table and make sure partprobe works
+dd if=saved of=$d1 || fail=1
+partprobe $d1 || fail=1
+
+Exit $fail
index c40bc7ab5fc4f43081d578eeae1a72788148cd2d..574d6fefae15aa1152609a0bf5d325f2b8fdf67d 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Probe Ext2, Ext3 and Ext4 file systems
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -21,29 +21,43 @@ require_512_byte_sector_size_
 
 dev=loop-file
 ss=$sector_size_
+n_sectors=$((257*1024))
 
-for type in ext2 ext3 ext4 nilfs2; do
+for type in ext2 ext3 ext4 btrfs xfs nilfs2 ntfs vfat hfsplus; do
 
-  ( mkfs.$type -V ) >/dev/null 2>&1 \
+  ( mkfs.$type 2>&1 | grep -i '^usage' ) > /dev/null \
       || { warn_ "$ME: no $type support"; continue; }
 
-  case $type in ext*) n_sectors=8000 force=-F;;
-      *) n_sectors=$((257*1024)) force=;; esac
+  fsname=$type
+  force=
+  case $type in
+      ext*) force=-F;;
+      xfs) force=-f;;
+      nilfs2) force=-f;;
+      ntfs) force=-F;;
+      vfat) fsname=fat16;;
+      hfsplus) fsname=hfs+;;
+  esac
 
   # create an $type file system
-  dd if=/dev/zero of=$dev bs=$ss count=$n_sectors >/dev/null || fail=1
-  mkfs.$type $force $dev || { warn_ $ME: mkfs.$type failed; fail=1; continue; }
+  if [ "$type" = "xfs" ]; then
+      # Work around a problem with s390
+      mkfs.xfs -ssize=$ss -dfile,name=$dev,size=${n_sectors}s || fail=1
+  else
+      dd if=/dev/null of=$dev bs=$ss seek=$n_sectors >/dev/null || fail=1
+      mkfs.$type $force $dev || { warn_ $ME: mkfs.$type failed; fail=1; continue; }
+  fi
 
   # probe the $type file system
   parted -m -s $dev u s print >out 2>&1 || fail=1
-  grep '^1:.*:'$type'::;$' out || { cat out; fail=1; }
-
+  grep '^1:.*:'$fsname'::;$' out || { cat out; fail=1; }
+  rm $dev
 done
 
 # Some features should indicate ext4 by themselves.
 for feature in uninit_bg flex_bg; do
   # create an ext3 file system
-  dd if=/dev/zero of=$dev bs=1024 count=4096 >/dev/null || fail=1
+  dd if=/dev/null of=$dev bs=1024 seek=4096 >/dev/null || fail=1
   mkfs.ext3 -F $dev >/dev/null || skip_ "mkfs.ext3 failed"
 
   # set the feature
@@ -52,6 +66,7 @@ for feature in uninit_bg flex_bg; do
   # probe the file system, which should now be ext4
   parted -m -s $dev u s print >out 2>&1 || fail=1
   grep '^1:.*:ext4::;$' out || fail=1
+  rm $dev
 done
 
 Exit $fail
index 478ca674b6fa1261958d24bbb0588acdcb2d9cd3..6a929e5a598bf72d6737083a70c71a77fe05a678 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # improved MSDOS partition-table recognition
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 8aed7afdbb8bdf92b4e5cfa878ad31d733eed60b..623886fadfaddf17798b0e043860cd04b49cced1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Recognize PC98 labeled disks
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index c2955d4c07ad029ab5e355e41fcee9e72dcdf0ce..cdc1190c2c037c51d754ccd71ade718655a501fa 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure parted preserves bootcode in extended partition.
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 89453ae7bdeac15c30ba92cfb29cb9c06453f808..10e2e6aacb45bda522f0312627a4d80204ec4379 100644 (file)
@@ -1,10 +1,8 @@
 #!/bin/sh
-# Ensure that parted leaves at least 2 sectors between the beginning
+# Ensure that parted allows a single sector between the beginning
 # of an extended partition and the first logical partition.
-# Before parted-2.3, it could be made to leave just one, and that
-# would cause trouble with the Linux kernel.
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -25,7 +23,8 @@ require_root_
 require_scsi_debug_module_
 
 # create memory-backed device
-scsi_debug_setup_ dev_size_mb=1 > dev-name ||
+ss=$sector_size_
+scsi_debug_setup_ sector_size=$ss dev_size_mb=1 > dev-name ||
   skip_ 'failed to create scsi_debug device'
 scsi_dev=$(cat dev-name)
 p1=${scsi_dev}1
@@ -33,14 +32,9 @@ p5=${scsi_dev}5
 
 cat <<EOF > exp || framework_failure
 BYT;
-$scsi_dev:2048s:scsi:512:512:msdos:Linux scsi_debug:;
+$scsi_dev:$((2048*512/$ss))s:scsi:$ss:$ss:msdos:Linux scsi_debug:;
 1:64s:128s:65s:::lba;
-5:66s:128s:63s:::;
-EOF
-
-cat <<EOF > err.exp || framework_failure
-Error: Error informing the kernel about modifications to partition $p5 -- Device or resource busy.  This means Linux won't know about any changes you made to $p5 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
-Error: Failed to add partition 5 (Device or resource busy)
+5:65s:128s:64s:::;
 EOF
 
 # Create a DOS label with an extended partition starting at sector 64.
@@ -49,15 +43,9 @@ parted --align=min -s $scsi_dev mkpart extended 64s 128s> out 2>&1 || fail=1
 parted -m -s $scsi_dev u s print
 compare /dev/null out || fail=1
 
-# Provoke a failure by trying to create a partition that starts just
+# Trying to create a partition that starts just
 # one sector after the start of the extended partition.
-parted --align=min -s $scsi_dev mkpart logical 65s 128s > err 2>&1 && fail=1
-compare err.exp err || fail=1
-
-# The above failed, but created the partition nonetheless.  Remove it.
-parted -s $scsi_dev rm 5 || fail=1
-
-parted --align=min -s $scsi_dev mkpart logical 66s 128s > out 2>&1 || fail=1
+parted --align=min -s $scsi_dev mkpart logical 65s 128s > out 2>&1 || fail=1
 compare /dev/null out || fail=1
 
 parted -m -s $scsi_dev u s print > out 2>&1
index 59f2b025c5a4f90eb691cd5505a071cf17380458..85d5a5fa1a7d0997e83775ee968fdd745cfb3d6d 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that an HFS partition in a dos table gets the right ID
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 90003660e53b9c267e7a51ad8eb3b6b63d372a5c..403c566803ea8c638af8ea0aa87881ec4fe10796 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Do not misbehave when probing a corrupt HFS partition.
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 2fd36a56c6130c55e8f95416869ae8d46614628d..8cab476a51b954a5e0f3000c2db35d8c048a047e 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # exercise the resize library; FAT and HFS+ only
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/tests/t3200-resize-partition.sh b/tests/t3200-resize-partition.sh
new file mode 100755 (executable)
index 0000000..251b545
--- /dev/null
@@ -0,0 +1,89 @@
+#!/bin/sh
+# exercise the resize sub-command
+# based on t3000-resize-fs.sh test
+
+# Copyright (C) 2009-2011 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+
+require_root_
+require_scsi_debug_module_
+
+ss=$sector_size_
+
+default_start=1024s
+default_end=2048s
+
+# create memory-backed device
+scsi_debug_setup_ dev_size_mb=5 > dev-name ||
+  skip_ 'failed to create scsi_debug device'
+dev=$(cat dev-name)
+
+# TODO test simple shrink
+# TODO test expand past end of the disk
+# TODO test expand past begin of next partition
+# TODO test shrink before start
+# TODO test everything with GPT
+# TODO more tests with extended/logical partitions
+
+parted -s $dev mklabel msdos > out 2> err || fail=1
+# expect no output
+compare /dev/null out || fail=1
+compare /dev/null err || fail=1
+
+# ensure that the disk is large enough
+dev_n_sectors=$(parted -s $dev u s p|sed -n '2s/.* \([0-9]*\)s$/\1/p')
+device_sectors_required=$(echo $default_end | sed 's/s$//')
+# Ensure that $dev is large enough for this test
+test $device_sectors_required -le $dev_n_sectors || fail=1
+
+# create an empty partition
+parted -a minimal -s $dev mkpart primary $default_start $default_end > out 2>&1 || fail=1
+compare /dev/null out || fail=1
+
+# print partition table
+parted -m -s $dev u s p > out 2>&1 || fail=1
+
+# FIXME: check expected output
+
+# wait for new partition device to appear
+wait_for_dev_to_appear_ ${dev}1 || { warn_ "${dev}1 did not appear"  fail=1; }
+sleep 1
+
+
+# extend the filesystem to end on sector 4096
+new_end=4096s
+parted -s $dev resizepart 1 $new_end > out 2> err || fail=1
+# expect no output
+compare /dev/null out || fail=1
+compare /dev/null err || fail=1
+
+# print partition table
+parted -m -s $dev u s p > out 2>&1 || fail=1
+
+sed -n 3p out > k && mv k out || fail=1
+printf "1:$default_start:$new_end:3073s:::$ms;\n" > exp || fail=1
+compare exp out || fail=1
+
+# Remove the partition explicitly, so that mklabel doesn't evoke a warning.
+parted -s $dev rm 1 || fail=1
+
+# Create a clean partition table for the next iteration.
+parted -s $dev mklabel msdos > out 2>&1 || fail=1
+# expect no output
+compare /dev/null out || fail=1
+
+Exit $fail
index 2b1ee004fb5a2a0b68aae613f8ea448d7eae3341..24854f509028fd34b8082b2c1c409b6c048c7f58 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure parted doesn't change the type of a partition to match its FS.
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index c690ad70b2c5aa641d4cba498f4fe9f4e3651218..8f2890b68b470beab5531df6cd68ad2041acbd8b 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that palo and prep types work properly.
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -20,9 +20,9 @@
 ss=$sector_size_
 
 cat > exp <<EOF || framework_failure
-1:2048s:4095s:2048s:::palo;
-1:2048s:4095s:2048s:::prep;
-1:2048s:4095s:2048s:::palo;
+1:2048s:4095s:2048s:ext2::lba, palo;
+1:2048s:4095s:2048s:ext2::lba, prep;
+1:2048s:4095s:2048s:ext2::lba, palo;
 EOF
 
 dev=dev-file
@@ -37,7 +37,7 @@ parted -m -s $dev mklabel msdos \
   set 1 palo on u s print \
     > out 2> err || fail=1
 
-grep -E '^1:2048s:4095s:2048s:::p...;$' out > k; mv k out
+grep -E '^1:2048s:4095s:2048s:ext2::lba, p...;$' out > k; mv k out
 
 compare exp out || fail=1
 
index 10997ef5312649c8e4e000e699a87c3596955ebe..cb3024ad11c77a85e13414ad90b1073035c28493 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Exercise the exclusive, single-bit flags.
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index d0a12311f7aa7850ae7ac8e5ecfa1f8b55e49686..18da752a1a4237d42c8e02ded1120f21d6ec8daa 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that a whole-disk FAT partition is detected.
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index a38000fd2c4bac537987f87b3d1aaead4bed2090..858b96c7318dce3908b165f992a67faeff1ed7b7 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # RAID support on sun disk type
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 328e9ba7bde11cce35cb69a440610a64f6b35747..d70817db7122abc9a40de8612e0f1c51c87e8eb3 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that Sun VTOC is properly initialized.
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index d8855024de22e525a817e7cb9abc3b2e4078f9f8..cd89acbdde84bd2a042c89d16f3f180172acf7f2 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # enforce limits on partition start sector and length
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -37,8 +37,7 @@ mp=`pwd`/mount-point
 n=4096
 
 # create an XFS file system
-dd if=/dev/zero of=$fs bs=1MB count=2 seek=20 || fail=1
-mkfs.xfs -f -q $fs || fail=1
+mkfs.xfs -dfile,name=$fs,size=100m || fail=1
 mkdir "$mp" || fail=1
 
 # Unmount upon interrupt, failure, etc., as well as upon normal completion.
index ec1854fd7702a6e748840e0027f5e029b42f624d..28b45607d76c6be274ebe57afb23558102ee119a 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # enforce limits on partition start sector and length
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -37,8 +37,7 @@ mp=`pwd`/mount-point
 n=4096
 
 # create an XFS file system
-dd if=/dev/zero of=$fs bs=1MB count=2 seek=20 || fail=1
-mkfs.xfs -f -q $fs || fail=1
+mkfs.xfs -dfile,name=$fs,size=100m || fail=1
 mkdir "$mp" || fail=1
 
 # Unmount upon interrupt, failure, etc., as well as upon normal completion.
index d4facfea96b7ea9a6f11e8fdcf4ab370bc5d4400..974c8e0161a2851012ee2c76b5ed4a8056710466 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Consistency in msdos free space starting sector.
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 26f0e7e2dff04f3920dc15a610e39dc2408deb5d..261d0e70621772f41941cd3bfef43e4e372e8462 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # partprobe must not examine more than 16 partitions
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index b58e733b7b6c5b068f71ed0bef0497062359a525..0c954ec7026192c7eafb88bea48d175ee72b3599 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Trigger a nilfs2-related bug.
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index a5e49a10cb4296153cfb0978d757f73523c55760..121e8e73e542948de29a4e1b4913462b9ba6be19 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # test bios_grub flag in gpt labels
 
-# Copyright (C) 2007-2012 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 8ba0c3e281026eb1dc9b0b1ab4ffd666a2b620f6..5b29660b0ebb0a4db6c39600c5045d52fc8a79ff 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # ensure that parted can distinguish device map types: linear, multipath
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -47,6 +47,12 @@ f1=$(pwd)/1; d1=$(loop_setup_ "$f1") \
 f2=$(pwd)/2 && d2=$(loop_setup_ "$f2") || fail=1
 f3=$(pwd)/3 && d3=$(loop_setup_ "$f3") || fail=1
 
+# In the output of parted's print -s command,
+# replace (possibly varying) $dev name with '...'.
+sanitize() {
+  sed 's,^Disk .*: \([0-9][0-9]*\),Disk ...: \1,;s/ *$//' "$@"
+}
+
 # This loop used to include "multipath", but lvm2 changed
 # in such a way that that no longer works with loop devices.
 # FIXME: use two scsi_debug devices instead.
@@ -72,12 +78,12 @@ for type in linear ; do
   compare /dev/null out || fail=1
 
   parted -s "$dev" print > out 2>&1 || fail=1
-  sed 's/ $//' out > k && mv k out || fail=1 # Remove trailing blank.
+  sanitize out > k && mv k out || fail=1
 
   # Create expected output file.
   cat <<EOF >> exp || fail=1
 Model: Linux device-mapper ($type) (dm)
-Disk $dev: 524kB
+Disk ...: 524kB
 Sector size (logical/physical): 512B/512B
 Partition Table: msdos
 Disk Flags:
index 490c6d23093e132fa021e43794b2a1c922fc04fc..f15090abb3e716dacfe4bba6940f31479ecf2220 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # ensure that parted names partitions on dm disks correctly
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 . "${srcdir=.}/init.sh"; path_prepend_ ../parted
 
 require_root_
-lvm_init_root_dir_
-
-test "x$ENABLE_DEVICE_MAPPER" = xyes \
-  || skip_ "no device-mapper support"
+(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
 
 # Device maps names - should be random to not conflict with existing ones on
 # the system
@@ -41,29 +38,19 @@ cleanup_fn_() {
     rm -f "$f1 $f2";
 }
 
-# create a file of size N bytes
-N=10M
-
-# create the test file
-f1=$(pwd)/1; dd if=/dev/null of=$f1 bs=1 seek=$N 2> /dev/null || fail=1
-f2=$(pwd)/2; dd if=/dev/null of=$f2 bs=1 seek=$N 2> /dev/null || fail=1
+loop_file_1=loop-file-1-$$
+loop_file_2=loop-file-2-$$
 
-d1=$(loop_setup_ "$f1") \
-  || skip_ "is this partition mounted with 'nodev'?"
+d1=$(loop_setup_ $loop_file_1) || framework_failure
+d1_size=$(blockdev --getsz $d1)
+d2=$(loop_setup_ $loop_file_2) || framework_failure
+d2_size=$(blockdev --getsz $d2)
 
-d2=$(loop_setup_ "$f2") \
-  || skip_ "is this partition mounted with 'nodev'?"
-
-dmsetup_cmd="0 `blockdev --getsz $d1` linear $d1 0"
-# setup: create a mapping
-echo "$dmsetup_cmd" | dmsetup create "$linear_" || fail=1
-dev="$DM_DEV_DIR/mapper/$linear_"
+dmsetup create $linear_ --table "0 $d1_size linear $d1 0" || framework_failure
+dev="/dev/mapper/$linear_"
 
 # Create msdos partition table
-parted -s $dev mklabel msdos > out 2>&1 || fail=1
-compare /dev/null out || fail=1
-
-parted -s $dev mkpart primary fat32 1m 5m > out 2>&1 || fail=1
+parted -s $dev mklabel msdos mkpart primary fat32 1m 5m > out 2>&1 || fail=1
 compare /dev/null out || fail=1
 
 #make sure device name is correct
@@ -71,17 +58,18 @@ test -e ${dev}p1 || fail=1
 
 #repeat on name not ending in a digit
 # setup: create a mapping
-echo "$dmsetup_cmd" | dmsetup create "$linear2_" || fail=1
-dev="$DM_DEV_DIR/mapper/$linear2_"
+dmsetup create $linear2_ --table "0 $d2_size linear $d2 0" || framework_failure
+dev="/dev/mapper/$linear2_"
 
 # Create msdos partition table
-parted -s $dev mklabel msdos > out 2>&1 || fail=1
-compare /dev/null out || fail=1
-
-parted -s $dev mkpart primary fat32 1m 5m > out 2>&1 || fail=1
+parted -s $dev mklabel msdos mkpart primary fat32 1m 5m > out 2>&1 || fail=1
 compare /dev/null out || fail=1
 
 #make sure device name is correct
 test -e ${dev}1 || fail=1
 
+if [ -n "$fail" ]; then
+    ls /dev/mapper
+fi
+
 Exit $fail
diff --git a/tests/t6002-dm-busy.sh b/tests/t6002-dm-busy.sh
new file mode 100644 (file)
index 0000000..723dd30
--- /dev/null
@@ -0,0 +1,92 @@
+#!/bin/sh
+# ensure that parted can alter a partition on a dmraid disk
+# while another one is mounted
+
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+
+require_root_
+
+# We could make this work for arbitrary sector size, but I'm lazy.
+require_512_byte_sector_size_
+
+test "x$ENABLE_DEVICE_MAPPER" = xyes \
+  || skip_ "no device-mapper support"
+
+# Device maps names - should be random to not conflict with existing ones on
+# the system
+linear_=plinear-$$
+
+d1=
+f1=
+dev=
+cleanup_fn_() {
+    umount "${dev}p2" > /dev/null 2>&1
+    dmsetup remove ${linear_}p1
+    dmsetup remove ${linear_}p2
+    dmsetup remove $linear_
+    test -n "$d1" && losetup -d "$d1"
+    rm -f "$f1"
+}
+
+f1=$(pwd)/1; d1=$(loop_setup_ "$f1") \
+  || fail=1
+
+# setup: create a mapping
+n=204800
+echo "0 $n linear $d1 0" | dmsetup create $linear_ || fail=1
+dev="/dev/mapper/$linear_"
+
+# Create msdos partition table
+parted -s $dev mklabel msdos > out 2>&1 || fail=1
+compare /dev/null out || fail=1
+
+parted -s $dev -a none mkpart primary fat32 1s 1000s > out 2>&1 || fail=1
+compare /dev/null out || fail=1
+
+parted -s $dev -a none mkpart primary fat32 1001s 200000s > out 2>&1 || fail=1
+compare /dev/null out || fail=1
+
+# wait for new partition device to appear
+wait_for_dev_to_appear_ ${dev}p2 || fail_ ${dev}p2 did not appear
+
+mkfs.vfat -F 32 ${dev}p2 || fail_ mkfs.vfat failed
+
+mount_point=$(pwd)/mnt
+
+mkdir $mount_point || fail=1
+mount "${dev}p2" "$mount_point" || fail=1
+
+# Removal of unmounted partition must succeed.
+parted -s "$dev" rm 1 > /dev/null 2>&1 || fail=1
+
+# Removal of mounted partition must fail.
+parted -s "$dev" rm 2 > /dev/null 2>&1 && fail=1
+
+parted -m -s "$dev" u s print > out 2>&1 || fail=1
+sed "s,^$dev,DEV," out > k; mv k out
+
+# Create expected output file.
+cat <<EOF >> exp || fail=1
+BYT;
+DEV:${n}s:dm:512:512:msdos:Linux device-mapper (linear):;
+2:1001s:200000s:199000s:fat32::lba;
+EOF
+
+compare exp out || fail=1
+
+Exit $fail
diff --git a/tests/t6003-dm-hide.sh b/tests/t6003-dm-hide.sh
new file mode 100644 (file)
index 0000000..fb3b041
--- /dev/null
@@ -0,0 +1,67 @@
+#!/bin/sh
+# ensure that parted -l only shows dmraid device-mapper devices
+
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+
+require_root_
+
+test "x$ENABLE_DEVICE_MAPPER" = xyes \
+  || skip_ "no device-mapper support"
+
+# Device maps names - should be random to not conflict with existing ones on
+# the system
+linear_=plinear-$$
+
+d1=
+f1=
+dev=
+cleanup_fn_() {
+    # Insist.  Sometimes the initial removal fails (race?).
+    # When that happens, a second removal appears to be sufficient.
+    dmsetup remove $linear_ || dmsetup remove $linear_
+
+    test -n "$d1" && losetup -d "$d1"
+    rm -f "$f1"
+}
+
+f1=$(pwd)/1; d1=$(loop_setup_ "$f1") \
+  || fail=1
+
+# setup: create a mapping
+echo 0 2048 linear $d1 0 | dmsetup create $linear_ || fail=1
+dev=/dev/mapper/$linear_
+
+# No "DMRAID-" UUID prefix, hence the device should not show up.
+parted -s -l >out 2>&1
+grep "^Disk $dev:" out && fail=1
+
+# Unless we perform both dmsetup-remove *and* losetup -d,
+# the following dmsetup-create would fail with EBUSY.
+dmsetup remove $linear_
+losetup -d "$d1" || fail=1
+# Reopen (or get new) loop device.
+d1=$(loop_setup_ "$f1") || fail=1
+
+# This time, use a fake UUID.
+echo 0 2048 linear $d1 0 | dmsetup create $linear_ -u "DMRAID-fake-$$" || fail=1
+
+# Thus, the device should now show up.
+parted -s -l >out 2>&1
+grep "^Disk $dev:" out || fail=1
+
+Exit $fail
diff --git a/tests/t6004-dm-many-partitions.sh b/tests/t6004-dm-many-partitions.sh
new file mode 100755 (executable)
index 0000000..8d291ef
--- /dev/null
@@ -0,0 +1,60 @@
+#!/bin/sh
+# device-mapper: create many partitions
+# This would not create partitions > 16 when using device-mapper
+
+# Copyright (C) 2012, 2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+
+require_root_
+(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
+
+ss=$sector_size_
+ns=300
+n_partitions=20
+start_sector=34
+loop_file=loop-file-$$
+dm_name=dm-test-$$
+
+cleanup_() {
+    dmsetup remove $dm_name
+    test -n "$dev" && losetup -d "$dev"
+    rm -f $loop_file;
+}
+
+# create a file large enough to hold a GPT partition table
+dd if=/dev/null of=$loop_file bs=$ss seek=$ns || framework_failure
+dev=$(losetup --show -f $loop_file) || framework_failure
+dmsetup create $dm_name --table "0 $ns linear $dev 0" || framework_failure
+
+cmd=
+for ((i=1; i<=$n_partitions; i+=1)); do
+  s=$((start_sector + i - 1))
+  cmd="$cmd mkpart p$i ${s}s ${s}s"
+done
+parted -m -a min -s /dev/mapper/$dm_name mklabel gpt $cmd > /dev/null 2>&1 || fail=1
+
+# Make sure all the partitions appeared under /dev/mapper/
+for ((i=1; i<=$n_partitions; i+=1)); do
+    if [ ! -e "/dev/mapper/${dm_name}p$i" ]; then
+        fail=1
+        break
+    fi
+    # remove the partitions as we go, otherwise cleanup won't work.
+    dmsetup remove /dev/mapper/${dm_name}p$i
+done
+
+Exit $fail
diff --git a/tests/t6005-dm-uuid.sh b/tests/t6005-dm-uuid.sh
new file mode 100755 (executable)
index 0000000..ce1251a
--- /dev/null
@@ -0,0 +1,58 @@
+#!/bin/sh
+# device-mapper: preserve uuid
+# The dm's partitions uuid would be removed when creating new partitions
+
+# Copyright (C) 2012, 2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
+
+require_root_
+(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
+
+ss=$sector_size_
+ns=300
+n_partitions=3
+start_sector=34
+loop_file=loop-file-$$
+dm_name=dm-test-$$
+
+cleanup_() {
+    dmsetup remove $dm_name
+    test -n "$dev" && losetup -d "$dev"
+    rm -f $loop_file;
+}
+
+# create a file large enough to hold a GPT partition table
+dev=$(loop_setup_ $loop_file) || framework_failure
+dmsetup create $dm_name --table "0 $ns linear $dev 0" || framework_failure
+dmsetup rename $dm_name --setuuid f139317b-f98a-45d7-ab3b-9b4e0a336872 || framework_failure
+
+cmd=
+for ((i=1; i<=$n_partitions; i+=1)); do
+  s=$((start_sector + i - 1))
+  cmd="$cmd mkpart p$i ${s}s ${s}s"
+done
+parted -m -a min -s /dev/mapper/$dm_name mklabel gpt $cmd > /dev/null 2>&1 || fail=1
+
+# Make sure all the partitions have UUIDs
+for ((i=1; i<=$n_partitions; i+=1)); do
+    dmsetup info /dev/mapper/${dm_name}p$i | grep UUID || fail=1
+
+    # remove the partitions as we go, otherwise cleanup won't work.
+    dmsetup remove /dev/mapper/${dm_name}p$i
+done
+
+Exit $fail
index aedf69be50bbfec4ded8fa41517a091207eb6118..6f08442dd66d1b6918d7d5bcb44f197a0d097016 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # verify that new kernel is informed about partitions on mdraid devices
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index e64814bf1be790e3344b88a016e72fbaed2ea202..b939d1df865258ac975a7779175defbb00d4bab2 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Make sure the scripting option works (-s) properly.
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -47,7 +47,7 @@ for mkpart in mkpart; do
   dd if=/dev/zero of=testfile bs=${ss}c count=$N 2> /dev/null || fail=1
 
   # Test the scripting mode of $mkpart.
-  parted -s testfile -- mklabel gpt "$mkpart" p-name ext3 1s -1s > out 2>&1
+  parted -s testfile -- mklabel gpt "$mkpart" p-name ext3 1s -34s > out 2>&1
   test $? = 1 || fail=1
 
   # Compare the real error and the expected one
@@ -60,8 +60,8 @@ for mkpart in mkpart; do
   dd if=/dev/zero of=testfile bs=${ss}c count=$N 2> /dev/null || fail=1
   # Test the interactive mode of $mkpart
   echo n | \
-    parted ---pretend-input-tty testfile \
-      "mklabel gpt '$mkpart' p-name ext3 1s -1s" > out 2>&1 && fail=1
+    parted ---pretend-input-tty -- testfile \
+      mklabel gpt $mkpart p-name ext3 1s -34s > out 2>&1 && fail=1
 
   # We have to format the output before comparing.
   # normalize the actual output
index 0939b6fe95fe84bb85c83f00182767f0f82fffca..ba08a94226aa999ad462c519f9f1e92abb77bb35 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Test usage of loop devices
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index deef18bca2a34a1b2da3499c11eec97288f57f16..1363ac2d66ead1548a9a66ed90895d74de63a219 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Test support for partitions on loop devices
 
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -20,6 +20,7 @@
 
 require_root_
 require_udevadm_settle_
+lvm_init_root_dir_
 
 cleanup_fn_()
 {
@@ -27,21 +28,14 @@ cleanup_fn_()
     && { udevadm settle --timeout=3; losetup -d "$loopdev"; }
 }
 
-# If the loop module is loaded, unload it first
-if lsmod | grep '^loop[[:space:]]'; then
-    rmmod loop || fail=1
-fi
-
-# Insert loop module with max_part > 1
-modprobe loop max_part=7 || fail=1
-
 # Create backing file
 dd if=/dev/zero of=backing_file bs=1M count=4 >/dev/null 2>&1 || fail=1
 
 # Set up loop device on top of backing file
-loopdev=$(losetup -f --show backing_file)
+loopdev=$(loop_setup_ backing_file)
 test -z "$loopdev" && fail=1
 
+# Skip this test if loop devices are not partitionable.
 require_partitionable_loop_device_ $loopdev
 
 # Expect this to succeed
index a81b9ab9b4e1405d876967a31b691609fe39ec56..10e2d513d52ce96ce18a87aa96861330722dd616 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # check physical sector size as reported by 'print'
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 47b445febf15c034dc741dbaec454869d869de83..9ea6eb0660704ed52900b1e5b70020dc2b378f13 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # verify that new alignment-querying functions work
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@ scsi_debug_setup_ physblk_exp=3 lowest_aligned=7 num_parts=4 > dev-name ||
 scsi_dev=$(cat dev-name)
 
 # print alignment info
-"$abs_srcdir/print-align" $scsi_dev > out 2>&1 || fail=1
+../print-align $scsi_dev > out 2>&1 || fail=1
 
 compare exp out || fail=1
 
index 057058572c9a44983ac4194cb5c633a59204e596..510e6c22884a0edc80d079fc63e236eb75d1e941 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # verify that partition maxima-querying functions work
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -23,6 +23,27 @@ dev=dev-file
 PATH="..:$PATH"
 export PATH
 
+max_n_partitions()
+{
+  case $1 in
+
+    # Technically, msdos partition tables have no limit on the maximum number
+    # of partitions, but we pretend it is 64 due to implementation details.
+    msdos) m=64;;
+
+    gpt) m=128;;
+    dvh) m=16;;
+    sun) m=8;;
+    mac) m=65536;;
+    bsd) m=8;;
+    amiga) m=128;;
+    loop) m=1;;
+    pc98) case $ss in 512) m=16;; *) m=64;; esac;;
+    *) warn_ invalid partition table type: $1 1>&2; exit 1;;
+  esac
+  echo $m
+}
+
 # FIXME: add aix when/if it's supported again
 for t in msdos gpt dvh sun mac bsd amiga loop pc98; do
     echo $t
@@ -40,8 +61,11 @@ for t in msdos gpt dvh sun mac bsd amiga loop pc98; do
     esac
 
     print-max $dev > out 2>&1 || fail=1
+    m=$(max_n_partitions $t) || fail=1
     printf '%s\n' "max len: $max_len" \
-       "max start sector: $max_start" > exp || fail=1
+       "max start sector: $max_start" \
+       "max number of partitions: $m" \
+      > exp || fail=1
     compare exp out || fail=1
 done
 
index 9ebc53efbe2cc78b2453659c36910d12e58d0849..9b014e6d36827e0b34b892b79f2a6a5b3d324874 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Confirm that specifying 1 unit snaps to the correct value
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 8877c7e364cc7970451b4d517e7e5f6d39e43df4..964657dea1c7a3a767b3698ef3df648c20f62a4d 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Confirm that a value between 0 and 1 throws an error
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index b3618a71be14cd4c28821d3868e61f83948f8569..eed3975932bb0b2bbdaa1d6db0d1171ecb3024f2 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # exercise the align-check command
 
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -49,7 +49,8 @@ while :; do
   test $i = 70 && break
 
   # Wait up to 10s for the partition file to disappear.
-  wait_for_dev_to_disappear_ $p1 10 || { fail=1; warn $p1 failed to disappear; }
+  wait_for_dev_to_disappear_ $p1 10 \
+    || { fail=1; warn_ $ME_ $p1 failed to disappear; }
 done
 
 Exit $fail
index 8949310c313c5fca7feb1ec034352e49df21de03..a3af5e711dd44821aac02cddbf9e678249b3fded 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that creating many partitions works.
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 6ddc7d82c4ecf76b75e1df5acab0be00b818099a..edaae1bf81163f2379bb02751961880c9003c77a 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that parted knows when N'th (N>=16) partition is mounted
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -87,8 +87,8 @@ for part_dev in $partitions; do
   # Removal of mounted partition must fail.
   parted -s $scsi_dev rm $n > out 2>&1 && fail=1
 
-  echo "Error: Partition $part_dev is being used." \
-         'You must unmount it before you modify it with Parted.' \
+  echo "Warning: Partition $part_dev is being used." \
+          'Are you sure you want to continue?' \
     > exp-error || framework_failure_
 
   # expect error
index 67ea86d2cec10654aad5cca1f4144a5d24cb303d..b01828c7f165847cade19f5e1d7b91cb0894a7f8 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that parted enforces msdos partition limit
 
-# Copyright (C) 2010-2012 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 04dc5c6942f965fcaa4a67bd0d5ae7ea1449d644..390cedf945b1eb0d3869167c3975f16a1ba63483 100755 (executable)
@@ -3,7 +3,7 @@
 # I.e., write a partition table of type T, and then overwrite it
 # with one of type V, for every permutation of T and V.
 
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by