Commit Graph

1666 Commits

Author SHA1 Message Date
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
Petr Kovar 55f4caeb54 Update Czech help translation by Marek Cernocky 2010-07-11 18:13:55 +02:00
Jorge González fade613fbb Updated Spanish translation 2010-07-10 11:19:29 +02:00
Curtis Gedak 95adfb30a4 Append -git to version for continuing development 2010-07-08 14:14:05 -06:00
Curtis Gedak 298165511c ========== gparted-0.6.1 ========== 2010-07-08 13:24:25 -06:00
Curtis Gedak 1e1ea1f09c Disable MiB alignment temporarily until bug #623630 can be fixed 2010-07-08 09:22:43 -06:00
Adrian Guniš 7e48e49fd1 Update Czech translation 2010-07-08 11:17:20 +02:00
Curtis Gedak e810b7f7f0 Fix crash moving partitions when size is a multiple of 16 MiB (#623697) 2010-07-06 13:12:19 -06:00
Yaron Shahrabani 410d0d2461 Updated Hebrew translation. 2010-07-06 11:00:34 +03:00
Fran Diéguez 6d1782f044 Update Galician translations 2010-06-20 02:38:25 +02:00
Curtis Gedak 3e0fc23af8 Append -git to version for continuing development 2010-06-18 10:12:51 -06:00
Curtis Gedak 932aaf44fb ========== gparted-0.6.0 ========== 2010-06-18 09:10:11 -06:00
Piotr Drąg 5dc7df4631 Updated Polish translation 2010-06-16 15:19:24 +02:00
Chao-Hsiung Liao db5610344e Updated Traditional Chinese translation(Hong Kong and Taiwan) 2010-06-16 14:44:49 +08:00
Djavan Fagundes 08b0af5d3f Updated Brazilian Portuguese translation 2010-06-15 19:13:25 -03:00
Milo Casagrande a91ec20a23 [l10n] Updated Italian translation 2010-06-14 22:22:21 +02:00