Commit graph

1481 commits

Author SHA1 Message Date
Piotr Drąg
d0e315c6c8 Updated Polish translation 2010-09-16 15:57:58 +02:00
Mario Blättermann
42a7597df4 [i18n] Updated German translation 2010-09-16 12:48:43 +02:00
Gabor Kelemen
8a62da95ad Updated Hungarian translation 2010-09-14 02:25:35 +02:00
Milo Casagrande
eb5b4cf8d6 [l10n] Updated Italian translation 2010-09-13 22:40:30 +02:00
Carlos José Pereira
5fa69f0aeb Updated Brazilian Portuguese translation 2010-09-13 17:21:40 -03:00
Markus Elfring
c1e72d04ca Bug #622598: Complete quoting for macro parameters
Some square brackets were added to be more explicit where macro expansion
will not be required.
http://autogen.sourceforge.net/acquoting.html
http://www.gnu.org/software/autoconf/manual/m4/Quoting-Arguments.html

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2010-09-11 16:57:59 -06:00
Curtis Gedak
a30f991ca5 Fix size reduced by 1 MiB when created after cylinder aligned partition
Prior to this enhancement creating a new partition aligned to MiB
after a partition aligned to cylinder would result in the creation of
a partition that was 1 MiB smaller in size than requested.  In the
case of a 1 MiB new partition, a warning message would be displayed
indicating that "A partition cannot have a length of 0 sectors".

This problem is avoided by applying similar logic as was used to
address the following bug:
Bug #626946 - Destination partition smaller than source partition
2010-09-09 13:18:02 -06:00
Curtis Gedak
b77a5e229d Fix paste destination partition smaller than source (#626946)
Prior to this enhancement when copying and pasting a partition
after a cylinder aligned partition, the destination partition
would become smaller than the source partition if align to MiB
was selected.

Closes bug #626946 - Destination partition smaller than source
                     partition.
2010-09-09 13:18:01 -06:00
Curtis Gedak
c17df56af0 Ensure default partition alignment is mebibyte 2010-09-09 13:18:01 -06:00
Bruno Brouard
4d4096617e Updated French translation 2010-09-08 23:01:57 +02:00
Curtis Gedak
9d4ae28759 Fix numerical mismatch when graphically moving logical partition (#628554) 2010-09-07 17:01:08 -06:00
Yaron Shahrabani
e172ebbb2e Updated Hebrew translation. 2010-09-06 11:50:06 +03:00
Daniel Nylander
69776ed0e8 Updated Swedish translation 2010-09-05 23:13:48 +02:00
Jorge González
53401a5d9c Updated Spanish translation 2010-09-04 09:41:05 +02:00
Matej Urbančič
2aa72c1280 Updated Slovenian translation 2010-09-03 18:34:36 +02:00
Curtis Gedak
aa14b25f1b Warn partition move queued that might break boot process (#627199) 2010-09-01 13:56:29 -06:00
Takayuki KUSANO
27d818bbf3 Updated Japanese translation. 2010-08-29 00:08:39 +09:00
Curtis Gedak
cf68fc0704 Enable to work with new dmraid and parted without dmraid support
Newer versions (dmraid-1.0.0-rc16?) of dmraid default to always
creating partition names by inserting the letter 'p' between the
device name and the partition number.  Since this is not
consistent with older versions of dmraid, add extra logic to
ensure that newer versions of dmraid do not insert this extra
letter 'p'.

Rename method get_udev_name to get_udev_dm_name and enhance to
retrieve the property DM_NAME.

Handle situation where parted, and hence libparted, has been
configured with --disable-device-mapper.  In this situation on
some distros the device name could be /dev/dm-0.  This results in
invalid partition names such as /dev/dm-0p1.  Add logic to decode
the actual /dev/mapper name.
2010-08-25 10:33:02 -06:00
Curtis Gedak
545a8583aa Minor cosmetic formatting change 2010-08-25 09:36:13 -06:00
Curtis Gedak
c55a8de305 Remove dependency on kpartx for fake RAID support
With this patch the commands required to support motherboard BIOS
RAID, also known as fake RAID, are dmraid and dmsetup.

If the kpartx command is available, it will be used to maintain
device entries that follow the naming convention used by kpartx.

Closes Ubuntu launchpad bug 554582 - GParted does not list dmraid
devices
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/554582
2010-08-17 10:36:00 -06:00
Curtis Gedak
81986c0990 Ensure partition path name is compatible with dmraid (#622217)
This patch along with a few preceding patches address the
following bug reports:

Closes bug #622217 - gparted live 0.6.0-1 incompatibility with
AMD RAID (SB750 southbridge)

Closes Ubuntu launchpad bug 600729 - Gparted not usable on
fakeraid arrays
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/600729
2010-08-17 10:36:00 -06:00
Curtis Gedak
73e7f85a2f Create new method make_path_dmraid_compatible
This method will be used to ensure that the partition path
matches the name that would be created by the dmraid command.
2010-08-17 10:36:00 -06:00
Curtis Gedak
cf264a05bb Replace function ped_partition_get_path with method get_partition_path 2010-08-17 10:36:00 -06:00
Curtis Gedak
9bd8b14871 Create new method get_partition_path
This method will be used as an entry point to the libparted
function ped_partition_get_path
2010-08-17 10:36:00 -06:00
Curtis Gedak
53c49349f7 Simplify logic in set_device_partitions method
Also clean up some white space
2010-08-17 10:36:00 -06:00
Daniel Nylander
4349e7cd5d Updated Swedish translation 2010-08-16 13:39:07 +02:00
Christian Kirbach
d6c7022ee9 Updated German translation 2010-08-14 00:55:11 +02:00
Matej Urbančič
9d0ac4020b Updated Slovenian translation 2010-08-12 14:11:47 +02:00
Jorge González
4da650f580 Updated Spanish translation 2010-08-11 20:03:03 +02:00
Yaron Shahrabani
001d8a5a05 Updated Hebrew translation. 2010-08-11 02:07:13 +03:00
Curtis Gedak
72d5de8bc1 Update README with udisks command usage note 2010-08-10 14:38:23 -06:00
Curtis Gedak
2d4c4017ca Prevent partition table creation if partitions are active
Prevent creating new partition tables on devices that have
mounted file systems, or enabled swap space.

Closes Ubuntu launchpad bug #503125 - gparted allows user to
overwrite active mounted partition
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/503125
2010-08-10 13:01:40 -06:00
Curtis Gedak
f7cb37831a Add new method active_partitions_on_device_count 2010-08-10 13:01:40 -06:00
Curtis Gedak
d5064dfe03 Move method to match header file
Also update copyright year
2010-08-10 13:01:40 -06:00
Milo Casagrande
99cc68d410 [l10n] Updated Italian translation 2010-08-10 19:11:53 +02:00
Curtis Gedak
a4e01bc1d6 Prevent swapon and mount if partition in operation queue (#611431) 2010-08-09 13:37:08 -06:00
Curtis Gedak
44698448aa Add new method partition_in_operation_queue_count 2010-08-09 13:33:28 -06:00
Mike Fleetwood
3194121496 Add labelling of linux-swap
When found, use external swaplabel command to label linux-swap
partitions.  (Available from util-linux-ng 2.18 released 30 Jun 2010).
2010-08-08 10:36:34 -06:00
Daniel Nylander
a4ece9d3bc Updated Swedish translation 2010-08-06 16:00:59 +02:00
Curtis Gedak
36c1c1a084 Append -git to version for continuing development 2010-08-01 11:02:38 -06:00
Curtis Gedak
5f04965ae0 ========== gparted-0.6.2 ========== 2010-08-01 10:51:14 -06:00
Aron Xu
57b7475447 Change 你 to 您. 2010-07-31 12:21:53 +08:00
Aron Xu
3df74734e5 Update Simplified Chinese translation. 2010-07-31 11:20:37 +08:00
Curtis Gedak
a3d70a1fbf Ensure original partition boundaries kept on rollback of failed move 2010-07-22 17:18:48 -06:00
Curtis Gedak
c3a06ffd6c Fix problem with logical partition move overwriting EBR (#623630)
Prevent overwriting meta data (Extended Boot Rectors) for logical
partitions by temporarily increasing the size of the logical
partition to encompass all of the space involved in the move
operation.  The libparted library will move the EBR as needed to
permit this to happen.  After the move the logical partition is
set to the proper size.

This fixes bug #623630 - Move logical partition to right yields
invalid partition table on /dev/sda - wrong signature 0
2010-07-22 17:18:48 -06:00
Curtis Gedak
a92f2dad39 Re-enable MiB partition alignment option 2010-07-22 17:18:48 -06:00
Curtis Gedak
280f532f4a Re-word comment for gparted invocation using udisks and hal-lock 2010-07-21 10:37:58 -06:00
Curtis Gedak
f242ccba46 If available use both udisks and hal-lock to prevent auto-mounting 2010-07-21 10:32:06 -06:00
Dimitris Tsiolis
eb94b9c7a4 Updated Greek translation for gparted 2010-07-18 17:51:13 +03:00
Baurzhan Muftakhidinov
ea162d09b1 Updated Kazakh translation for gparted 2010-07-12 16:25:00 +03:00