OSDN Git Service
Debarshi Ray [Thu, 15 Feb 2007 04:55:41 +0000 (10:25 +0530)]
Deprecating ped_[register|unregister]_disk_type in favour of ped_disk_type_[register|unregister].
Jim Meyering [Tue, 13 Feb 2007 21:51:56 +0000 (22:51 +0100)]
Use lighter-weight fputs and putchar in place of printf, when possible.
* parted/ui.c (wipe_line, _dump_history, reset_env):
(sigsegv_handler, sigfpe_handler, sigill_handler, _readline):
(help_msg, interactive_mode, non_interactive_mode): Use puts,
fputs, and putchar in place of printf, when possible.
(reset_env): Correct misleading indentation.
(wipe_line): Split a long string.
Signed-off-by: Jim Meyering <jim@meyering.net>
Jim Meyering [Wed, 14 Feb 2007 11:37:45 +0000 (12:37 +0100)]
Make it so "make distcheck" passes.
* doc/po4a.mk (updatepo): Don't choke when *.$(lang).po matches no file.
* doc/C/Makefile.am (updatepo): Don't do anything when $(srcdir) is not writable.
Signed-off-by: Jim Meyering <jim@meyering.net>
Debarshi Ray [Wed, 14 Feb 2007 16:49:42 +0000 (22:19 +0530)]
Fixed the copyright notices.
Debarshi Ray [Wed, 14 Feb 2007 16:09:57 +0000 (21:39 +0530)]
Cleaned up the formatting of AUTHORS.
Debarshi Ray [Wed, 14 Feb 2007 14:55:12 +0000 (20:25 +0530)]
Tidying up the formatting and comments in linux_swap.c.
Jim Meyering [Tue, 13 Feb 2007 20:02:08 +0000 (21:02 +0100)]
Don't define _GNU_SOURCE manually.
It's better not to define _GNU_SOURCE manually.
By using AC_GNU_SOURCE, you get the definition in exactly one place:
in config.h. I verified that each affected file also includes config.h.
Don't define _GNU_SOURCE manually.
* configure.ac: Use AC_GNU_SOURCE instead.
* libparted/arch/gnu.c: Remove definition of _GNU_SOURCE.
* libparted/arch/linux.c: Likewise.
* libparted/device.c: Likewise.
* parted/table.c: Likewise.
* parted/table.h: Likewise.
Signed-off-by: Jim Meyering <jim@meyering.net>
Jim Meyering [Tue, 13 Feb 2007 16:10:18 +0000 (17:10 +0100)]
Remove some #ifdefs
Remove some #ifdefs.
* parted/table.c (L_): define.
Remove in-function #ifdefs; use L_(str) instead.
Signed-off-by: Jim Meyering <jim@meyering.net>
Jim Meyering [Tue, 13 Feb 2007 16:08:35 +0000 (17:08 +0100)]
* libparted/labels/fdasd.c (GETARG): Remove unused definition.
A tiny change...
Signed-off-by: Jim Meyering <jim@meyering.net>
Otavio Salvador [Tue, 13 Feb 2007 11:44:33 +0000 (09:44 -0200)]
Create 'm4' directory when generating the building system
Jim Meyering [Mon, 12 Feb 2007 22:30:46 +0000 (23:30 +0100)]
Work with automake-1.10.
I've just tried building parted from scratch (running ./autogen.sh
after git-clone) and hit a couple of snags:
Without aclocal's -I m4, ./autogen.sh produced this:
configure.ac:192: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
configure.ac:193: warning: macro `AM_GNU_GETTEXT' not found in library
configure.ac:192: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
With automake-1.10, I got this:
parted/Makefile.am:5: compiling `command.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
Here's a patch that fixes those and also removes some trailing blanks.
Jim Meyering [Mon, 12 Feb 2007 22:35:30 +0000 (23:35 +0100)]
Compile warning-free with "gcc -Wall -Wshadow".
Hello,
I find that keeping code warning-free (wrt gcc -Wall -Wshadow)
makes it easier to avoid certain classes of bugs.
Compiling with gcc -Wall -Wshadow evoked a few warnings
on a Debian/unstable system. Here are patches to fix those:
* libparted/exception.c (default_handler): Rename parameter "ex"
to "e", to avoid shadowing file-scoped global.
* libparted/fs/linux_swap/linux_swap.c (_generic_swap_probe): Add a
"can't happen" (with current callers) "default: goto error" clause
in a switch to avoid a may-be-used-uninitialized warning.
(_generic_swap_clobber): Likewise.
* libparted/fs/hfs/reloc_plus.c (hfsplus_pack_free_space_from_block):
Rename local variable "div" to "divisor", to avoid shadowing
the function in <stdlib.h>.
* libparted/fs/hfs/reloc.c (hfs_pack_free_space_from_block): Likewise.
* libparted/fs/hfs/cache.c (hfsc_cache_add_extent): Rename parameter
"index" to "ref_index" to avoid shadowing the <string.h> function.
* libparted/labels/sun.c (sun_partition_enumerate): Rename local
variable "i" to "j", to avoid shadowing another local.
Signed-off-by: Jim Meyering <jim@meyering.net>
Jim Meyering [Mon, 12 Feb 2007 22:38:07 +0000 (23:38 +0100)]
configure.ac: Add LOCALEDIR definition to CFLAGS only once.
I noticed that there were two identical lines in configure.ac,
adding the same LOCALEDIR definition to CFLAGS.
This change removes the latter.
* configure.ac: Add LOCALEDIR definition to CFLAGS only once.
Signed-off-by: Jim Meyering <jim@meyering.net>
Riccardo Setti [Mon, 12 Feb 2007 12:24:29 +0000 (13:24 +0100)]
Added a pkgconfig file for libparted, adjusted Makefile.am and configure.ac for reflect the canges
modified: Makefile.am
modified: configure.ac
new file: libparted.pc.in
Debarshi Ray [Tue, 30 Jan 2007 20:31:43 +0000 (02:01 +0530)]
Renaming PARTITION_EXT to PARTITION_DOS_EXT in MSDOS disk-label code, to maintain similarity with Linux v2.6.18.2
Debarshi Ray [Wed, 17 Jan 2007 13:26:46 +0000 (18:56 +0530)]
Enable support for swsusp partitions, and the ability to differentiate between old and new versions of linux-swap partitions. Changed the swap_init signature and removed extra ped_geometry_read from _swap*_open.
Debarshi Ray [Tue, 16 Jan 2007 17:43:09 +0000 (23:13 +0530)]
Synchronize the linux-swap (new version) header according to the Linux kernel sources.
Debarshi Ray [Tue, 16 Jan 2007 17:11:47 +0000 (22:41 +0530)]
Debarshi Ray [Tue, 16 Jan 2007 01:13:36 +0000 (06:43 +0530)]
Add stdint.h stdlib.h & string.h to include/parted/parted.h and remove them from other files.
Debarshi Ray [Sun, 14 Jan 2007 15:36:58 +0000 (21:06 +0530)]
Synchronise manual page and --help documentation.
David Cantrell [Fri, 12 Jan 2007 17:47:13 +0000 (12:47 -0500)]
Updated i18n information.
David Cantrell [Fri, 12 Jan 2007 15:05:08 +0000 (10:05 -0500)]
Add ped_device_cache_remove() prototype.
(cherry picked from commit
cb53b87ab2f779633f152f478c7f8c99c2fd1817)
David Cantrell [Fri, 12 Jan 2007 15:06:40 +0000 (10:06 -0500)]
Only call _disk_warn_loss(disk) in do_mklabel() if disk is not NULL. Fixes a segfault when initializing new volumes.
(cherry picked from commit
70e3bf5e7818df49a11e203ac8519e037818d592)
David Cantrell [Fri, 12 Jan 2007 15:07:17 +0000 (10:07 -0500)]
Fix a segfault in ped_assert() where the wrong pointer is freed in the backtrace.
(cherry picked from commit
63f7b33b352d0d699efeb1095340ed6139c49e3b)
David Cantrell [Fri, 12 Jan 2007 15:07:45 +0000 (10:07 -0500)]
Add the ped_device_cache_remove() function to remove a device from the cache.
(cherry picked from commit
5fb6658d124050a9dc27a87f2e1c3ffd3d1ad7c0)
David Cantrell [Fri, 12 Jan 2007 15:10:07 +0000 (10:10 -0500)]
Updated the AUTHORS file.
(cherry picked from commit
7ab32d423cc43a5e9372a7dc000feb183db9a89a)
Debarshi Ray [Fri, 12 Jan 2007 02:40:15 +0000 (08:10 +0530)]
Debarshi Ray [Fri, 12 Jan 2007 01:05:58 +0000 (06:35 +0530)]
Update doc/C/parted.8 to document --list.
Otavio Salvador [Sat, 16 Dec 2006 20:47:53 +0000 (18:47 -0200)]
parted/parted.c: Destroy all objects before return when called with --list or --all option.
Anant Narayanan [Fri, 5 Jan 2007 18:12:23 +0000 (23:42 +0530)]
Dump readline history on crash
Anant Narayanan [Thu, 14 Dec 2006 16:30:59 +0000 (22:00 +0530)]
Loosen requirement for the 'check' library.
Debarshi Ray [Thu, 14 Dec 2006 19:56:03 +0000 (01:26 +0530)]
Update AUTHORS.
Leslie P. Polzer [Wed, 13 Dec 2006 16:23:15 +0000 (17:23 +0100)]
added scripts/update-po
David Cantrell [Wed, 13 Dec 2006 00:26:09 +0000 (19:26 -0500)]
Merge branches 'master' and 'master' of git+ssh://dcantrell-guest@git.debian.org/git/parted/parted
Leslie P. Polzer [Mon, 11 Dec 2006 17:00:00 +0000 (18:00 +0100)]
Updated translations.
Debarshi Ray [Fri, 8 Dec 2006 19:41:49 +0000 (01:11 +0530)]
Alias 'print list' with 'print all'.
Otavio Salvador [Mon, 11 Dec 2006 09:46:34 +0000 (07:46 -0200)]
Include a disk probing test
Otavio Salvador [Mon, 11 Dec 2006 09:46:34 +0000 (07:46 -0200)]
If CHECK is installed on configure time, build our unittest framework
Otavio Salvador [Mon, 11 Dec 2006 09:46:33 +0000 (07:46 -0200)]
Add CHECK unittext library detection to Autoconf script
Leslie P. Polzer [Sat, 9 Dec 2006 09:51:43 +0000 (10:51 +0100)]
Release script: cannot call "return" from top level; replaced with "exit".
Debarshi Ray [Thu, 7 Dec 2006 19:21:06 +0000 (00:51 +0530)]
Zero sized device is shown as 0.00B and not -0.00kB.
Otavio Salvador [Thu, 7 Dec 2006 01:33:52 +0000 (23:33 -0200)]
libparted/exception.c: Dynamically allow space of exception message.
Otavio Salvador [Thu, 7 Dec 2006 00:44:40 +0000 (22:44 -0200)]
Output a backtrace when catching SEGV_MAPERR or a general SIGSEGV signals.
Debarshi Ray [Thu, 7 Dec 2006 02:01:39 +0000 (07:31 +0530)]
Implement 'print devices'.
Benno Schulenberg [Tue, 5 Dec 2006 23:00:03 +0000 (00:00 +0100)]
Translate the copyright message, and hard wrap it
Otavio Salvador [Tue, 5 Dec 2006 17:32:26 +0000 (15:32 -0200)]
libparted/disk.c: Standarize the way we walk throught the disk types overall the code
Otavio Salvador [Tue, 5 Dec 2006 16:16:04 +0000 (14:16 -0200)]
Revert "Add check unittest support and a initial test for a resizing bug."
This code wasn't ready for commit yet.
This reverts commit
ba43cb6ff7bb1d945062e25b94efecb1b84c0c33.
Otavio Salvador [Tue, 5 Dec 2006 16:12:24 +0000 (14:12 -0200)]
parted/parted.c: Remove useless line break
Otavio Salvador [Tue, 5 Dec 2006 01:40:54 +0000 (23:40 -0200)]
Add check unittest support and a initial test for a resizing bug.
David Cantrell [Mon, 4 Dec 2006 03:20:25 +0000 (22:20 -0500)]
Fix the upload script to correctly reference the sig files.
David Cantrell [Mon, 4 Dec 2006 01:31:10 +0000 (20:31 -0500)]
Remove ChangeLog, doc/mdate-sh, and doc/texinfo.tex since they are unmanaged files and get generated automatically at release time.
David Cantrell [Mon, 4 Dec 2006 01:30:44 +0000 (20:30 -0500)]
Generate ChangeLog before running the autogen tools because we need a file called 'ChangeLog' to exist when running those tools.
David Cantrell [Sun, 3 Dec 2006 23:37:45 +0000 (18:37 -0500)]
Pass git changelog through 'fold -s' to wrap long lines.
David Cantrell [Sun, 3 Dec 2006 23:25:41 +0000 (18:25 -0500)]
Added the --enable-selinux switch to the configure script. If set, it adds -lselinux and -lsepol to the list of libraries to link libparted with. Bumped the version number to 1.9.9 since this is the edge branch.
David Cantrell [Sun, 3 Dec 2006 23:09:54 +0000 (18:09 -0500)]
Rename all old ChangeLog files to ChangeLog.0. Added code to the tarball_upload.sh script to generate a toplevel ChangeLog from the git changelog.
Leslie P. Polzer [Sat, 2 Dec 2006 20:43:02 +0000 (21:43 +0100)]
Updated URL of static parted in docs.
Anant Narayanan [Sat, 2 Dec 2006 20:15:14 +0000 (01:45 +0530)]
Make parted ignore '-i' option instead of failing
Anant Narayanan [Sat, 2 Dec 2006 18:54:34 +0000 (00:24 +0530)]
Support machine parseable output.
Debarshi Ray [Thu, 30 Nov 2006 02:39:08 +0000 (08:09 +0530)]
Cleanup _partition_warn_busy, _disk_warn_busy, _partition_warn_loss and _disk_warn_loss.
Otavio Salvador [Wed, 29 Nov 2006 00:26:50 +0000 (22:26 -0200)]
Proper print when there're no extended partitions, but partition names (patch from Sven Luther)
Otavio Salvador [Tue, 28 Nov 2006 19:36:03 +0000 (17:36 -0200)]
libparted/arch/linux.c: initialize task point to please GCC
Otavio Salvador [Tue, 28 Nov 2006 19:35:00 +0000 (17:35 -0200)]
Don't enforce libselinux and libsepol linking when using device-mapper support
Debarshi Ray [Tue, 28 Nov 2006 22:13:05 +0000 (03:43 +0530)]
Warn before mklabel and mkfs.
Debarshi Ray [Tue, 28 Nov 2006 18:40:04 +0000 (00:10 +0530)]
Make mktable aliased to mklabel.
Otavio Salvador [Tue, 28 Nov 2006 00:06:20 +0000 (22:06 -0200)]
Fix 'print' command help
'print' command help was missing a new line at end and then breaking
the help printing.
Leslie P. Polzer [Mon, 27 Nov 2006 16:59:14 +0000 (17:59 +0100)]
Updated translations.
Otavio Salvador [Mon, 27 Nov 2006 00:47:11 +0000 (22:47 -0200)]
Remove doc/mdate-sh and doc/texinfo.tex since they are included when we run autogen.sh
Anant Narayanan [Thu, 23 Nov 2006 08:16:13 +0000 (13:46 +0530)]
Introduce the -list command-line switch, patch by Debarshi Ray
Otavio Salvador [Wed, 22 Nov 2006 20:38:59 +0000 (18:38 -0200)]
Avoid warning about user permissions when using --version
Otavio Salvador [Wed, 22 Nov 2006 20:22:39 +0000 (18:22 -0200)]
parted/parted.c: Remove redeclaration of current_dev fixing a compilation error
Otavio Salvador [Wed, 22 Nov 2006 17:40:44 +0000 (15:40 -0200)]
Readd the 'return 0;' to please GCC
The commit
d000de8f062ce070d5310f164ebf4f5ed26fcad0 included a
compilation warning that makes sense when Parted is built without
debugging. To solve the warning and ensure that when running without
debugging we return a sinsible value I've reverted
d000de8f062ce070d5310f164ebf4f5ed26fcad0 change and added a nice
comment to avoid misunderstandings again.
Anant [Wed, 22 Nov 2006 19:42:04 +0000 (01:12 +0530)]
Fix loop in print_all, thanks to Debarshi Ray for the patch.
Otavio Salvador [Mon, 20 Nov 2006 23:45:13 +0000 (21:45 -0200)]
Remove useless 'return 0;' call
Since PED_ASSERT will always be run, the return 0 is useless, hence
removed.
Otavio Salvador [Mon, 20 Nov 2006 23:44:13 +0000 (21:44 -0200)]
Remove useless semicolon from PED_ASSERT calls
David Cantrell [Mon, 20 Nov 2006 17:34:49 +0000 (12:34 -0500)]
Generate SHA-1 digests of the archive files and upload those along with the actual archive files.
Otavio Salvador [Mon, 20 Nov 2006 20:16:12 +0000 (18:16 -0200)]
Rework backtrace support
While doing a deeply check about the backtrace support I found that
-rdynamic is useless on CFLAGS and my previous change was wrong since
it wasn't avoiding -rdynamic on LFLAGS if the running system missed
the execinfo.h support. That would probably cause a build error on
some systems.
David Cantrell [Fri, 17 Nov 2006 15:42:05 +0000 (15:42 +0000)]
Final changes for parted-1.8.0
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@896
2d424fd7-7fe2-0310-af74-
8bc65edeb173
Otavio Salvador [Sat, 11 Nov 2006 20:30:57 +0000 (20:30 +0000)]
Apply changes done on Darcs and suitable for release on 1.8 final:
Sat Nov 11 18:09:17 BRST 2006 Otavio Salvador <otavio@debian.org>
* Enable backtrace just if it's has support on libc.
Sat Nov 11 17:41:12 BRST 2006 Otavio Salvador <otavio@debian.org>
* Add -rdynamic to LDFLAGS.
Sat Nov 11 17:40:19 BRST 2006 Otavio Salvador <otavio@debian.org>
* Add -rdynamic to CFLAGS
Sat Nov 11 17:38:11 BRST 2006 Otavio Salvador <otavio@debian.org>
* Print backtrace stack when throwing an exception
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@895
2d424fd7-7fe2-0310-af74-
8bc65edeb173
Otavio Salvador [Sat, 11 Nov 2006 17:23:46 +0000 (17:23 +0000)]
Remove files that can be generated.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@894
2d424fd7-7fe2-0310-af74-
8bc65edeb173
Otavio Salvador [Sat, 11 Nov 2006 12:45:23 +0000 (12:45 +0000)]
Changes done on darcs repository suitable for 1.8 release:
Sat Nov 11 10:41:54 BRST 2006 Otavio Salvador <otavio@debian.org>
* Break lines bigger then 80 columns.
Sat Nov 11 02:02:26 BRST 2006 Otavio Salvador <otavio@debian.org>
* Fix autogen.sh script to call autopoint with -f
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@892
2d424fd7-7fe2-0310-af74-
8bc65edeb173
Otavio Salvador [Sat, 11 Nov 2006 01:32:58 +0000 (01:32 +0000)]
Changes done on darcs repository suitable for 1.8 release:
Fri Nov 10 23:19:15 BRST 2006 Otavio Salvador <otavio@debian.org>
* Code clean-up on registering and unregistering of disks
* libparted/disk.c (ped_register_disk_type, ped_unregister_disk_type):
Clean-up. Patch sent by Debarshi 'Rishi' Ray <debarshi.ray@gmail.com>.
Fri Nov 10 23:14:58 BRST 2006 Otavio Salvador <otavio@debian.org>
* Fix filesystem unregistering
* libparted/filesys.c (ped_file_system_type_unregister): Handle
instances where fs_types == NULL and the given fs_type is not in
the list of registered file-system types. Some code clean-up.
Patch sent by Debarshi 'Rishi' Ray <debarshi.ray@gmail.com>.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@891
2d424fd7-7fe2-0310-af74-
8bc65edeb173
Otavio Salvador [Fri, 10 Nov 2006 14:05:18 +0000 (14:05 +0000)]
Changes done on darcs repository suitable for 1.8 release:
Wed Nov 8 20:40:43 BRST 2006 Otavio Salvador <otavio@debian.org>
* Merge libparted/ChangeLog conflict caused by Subversion syncing
Wed Nov 8 21:15:58 BRST 2006 Otavio Salvador <otavio@debian.org>
* doc/C/parted.8: small documentation simplification
Wed Nov 8 20:09:03 BRST 2006 Otavio Salvador <otavio@debian.org>
* libparted/fs/hfs/probe.c: Fix a segmentation fault when running without debug
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@890
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Mon, 6 Nov 2006 00:34:57 +0000 (00:34 +0000)]
Updates for parted-1.8.0rc3
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@882
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Mon, 6 Nov 2006 00:01:01 +0000 (00:01 +0000)]
* 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
David Cantrell [Thu, 2 Nov 2006 23:35:31 +0000 (23:35 +0000)]
* 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
David Cantrell [Tue, 31 Oct 2006 20:06:25 +0000 (20:06 +0000)]
2048 -> 1024
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@871
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Tue, 31 Oct 2006 20:05:55 +0000 (20:05 +0000)]
* device.c (canonicalize_file_name): calloc should use sizeof(char)
instead of 1 (from Debarshi Ray).
* arch/linux.c (readFD): Use a 1KB buffer to read /proc/devices
rather than a 16KB buffer. Init filesize to zero at declaration.
Combine error and EOF check for read() loop. Memory cleanups at
function exit. Use malloc() instead of calloc() (from Debarshi
Ray).
* arch/linux.c (_is_dm_major): Test expression and loop cleanups
(from Debarshi Ray).
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@870
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Tue, 31 Oct 2006 20:05:42 +0000 (20:05 +0000)]
* parted.c (do_print): Add device-mapper type to the transport type
list (from Debarshi Ray).
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@869
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Thu, 26 Oct 2006 20:23:20 +0000 (20:23 +0000)]
* arch/linux.c: Go to error_free_arch_specific rather than
error_free_dev for init_generic() failure on PED_DEVICE_UBD.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@866
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Thu, 26 Oct 2006 20:22:59 +0000 (20:22 +0000)]
Line length fixes.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@865
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Wed, 11 Oct 2006 20:52:58 +0000 (20:52 +0000)]
Need the filename: directive as well.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@858
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Wed, 11 Oct 2006 20:35:24 +0000 (20:35 +0000)]
Set directive file version to 1.1.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@855
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Wed, 11 Oct 2006 19:55:58 +0000 (19:55 +0000)]
Conditionalize the device-mapper stuff.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@852
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Wed, 11 Oct 2006 19:48:29 +0000 (19:48 +0000)]
i18n updates.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@850
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Wed, 11 Oct 2006 19:46:07 +0000 (19:46 +0000)]
Bump version.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@849
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Wed, 11 Oct 2006 19:45:52 +0000 (19:45 +0000)]
Updates for 1.8.0rc2 release.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@848
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Wed, 11 Oct 2006 19:42:08 +0000 (19:42 +0000)]
Added /dev/mapper device support (patch from Peter Jones).
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@847
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Mon, 9 Oct 2006 18:33:48 +0000 (18:33 +0000)]
* cs/geom.c (ped_geometry_read): Do not throw PED_EXCEPTION_ERROR here
if accessing sectors outside of partition boundary. Returning false
causes ped_geometry_check() to shift correctly anyway. This occurs
on current Mac disklabels, among other systems.
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@845
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Mon, 9 Oct 2006 18:29:22 +0000 (18:29 +0000)]
* disk.c (ped_unregister_disk_type): Handle instances where disk_types
== NULL and the given type is not in the list of registered disk types
(from Debarshi Ray).
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@844
2d424fd7-7fe2-0310-af74-
8bc65edeb173
David Cantrell [Mon, 9 Oct 2006 18:25:06 +0000 (18:25 +0000)]
* parted.c (do_print): Define transport type list and display disk
model type and transport type (from Debarshi Ray).
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@843
2d424fd7-7fe2-0310-af74-
8bc65edeb173