SHA256
1
0
forked from pool/parted
OBS User unknown 2007-01-15 14:29:14 +00:00 committed by Git OBS Bridge
commit 3b57cfea9c
15 changed files with 1467 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

70
always-resize-part.dif Normal file
View File

@ -0,0 +1,70 @@
--- parted/parted.c
+++ parted/parted.c 2006/03/22 10:06:03
@@ -1573,7 +1573,7 @@
{
PedDisk *disk;
PedPartition *part = NULL;
- PedFileSystem *fs;
+ PedFileSystem *fs = NULL;
PedConstraint *constraint;
PedSector start, end;
PedGeometry *range_start = NULL, *range_end = NULL;
@@ -1610,21 +1610,38 @@
goto error_destroy_constraint;
ped_partition_set_system (part, NULL);
} else {
+ int always_resize = getenv( "YAST_IS_RUNNING" ) != NULL;
+ const char* fsname = "";
+ if( always_resize )
+ {
+ PedFileSystemType* fst = ped_file_system_probe( &part->geom );
+ if( fst )
+ fsname = fst->name;
+ }
fs = ped_file_system_open (&part->geom);
- if (!fs)
+ if (!fs && (!always_resize || strncmp(fsname,"fat",3)==0) )
goto error_destroy_disk;
- constraint = constraint_intersect_and_destroy (
- ped_file_system_get_resize_constraint (fs),
- constraint_from_start_end (
- *dev, range_start, range_end));
+ if (fs)
+ constraint = constraint_intersect_and_destroy (
+ ped_file_system_get_resize_constraint (fs),
+ constraint_from_start_end (
+ *dev, range_start, range_end));
+ else
+ {
+ new_geom.start = part->geom.start;
+ constraint = ped_constraint_exact(&new_geom);
+ }
if (!ped_disk_set_partition_geom (disk, part, constraint,
new_geom.start, new_geom.end))
goto error_close_fs;
- if (!ped_file_system_resize (fs, &part->geom, timer))
- goto error_close_fs;
- /* may have changed... eg fat16 -> fat32 */
- ped_partition_set_system (part, fs->type);
- ped_file_system_close (fs);
+ if(fs)
+ {
+ if (!ped_file_system_resize (fs, &part->geom, timer))
+ goto error_close_fs;
+ /* may have changed... eg fat16 -> fat32 */
+ ped_partition_set_system (part, fs->type);
+ ped_file_system_close (fs);
+ }
}
ped_disk_commit (disk);
@@ -1637,7 +1654,8 @@
return 1;
error_close_fs:
- ped_file_system_close (fs);
+ if (fs)
+ ped_file_system_close (fs);
error_destroy_constraint:
ped_constraint_destroy (constraint);
error_destroy_disk:

24
always_print_geom.diff Normal file
View File

@ -0,0 +1,24 @@
--- parted/parted.c
+++ parted/parted.c 2006/03/22 11:09:18
@@ -1231,7 +1231,21 @@
disk = ped_disk_new (*dev);
if (!disk)
+ {
+ if (ped_unit_get_default () == PED_UNIT_CHS ||
+ ped_unit_get_default () == PED_UNIT_CYLINDER)
+ {
+ PedCHSGeometry* chs = &(*dev)->bios_geom;
+ char* cyl_size = ped_unit_format_custom (*dev,
+ chs->heads * chs->sectors,
+ PED_UNIT_KILOBYTE);
+ printf (_("BIOS cylinder,head,sector geometry: %d,%d,%d. "
+ "Each cylinder is %s.\n"),
+ chs->cylinders, chs->heads, chs->sectors, cyl_size);
+ ped_free (cyl_size);
+ }
goto error;
+ }
peek_word = command_line_peek_word ();
if (peek_word) {

22
device_map_support.diff Normal file
View File

@ -0,0 +1,22 @@
--- parted/Makefile.am
+++ parted/Makefile.am 2006/12/04 12:19:17
@@ -16,7 +16,7 @@
parted_CFLAGS = -DBUILDINFO=
parted_LDADD = @INTLLIBS@ @LIBS@ $(top_builddir)/libparted/libparted.la \
- @PARTED_LIBS@
+ @PARTED_LIBS@ -ldevmapper
parted_LDFLAGS = @PARTEDLDFLAGS@
--- config.h.in
+++ config.h.in 2006/12/04 12:20:25
@@ -10,7 +10,7 @@
#undef DYNAMIC_LOADING
/* device mapper (libdevmapper) support */
-#undef ENABLE_DEVICE_MAPPER
+#define ENABLE_DEVICE_MAPPER 1
/* Include file system support. i.e. libparted/fs_... */
#undef ENABLE_FS

20
disable_FAT_check.diff Normal file
View File

@ -0,0 +1,20 @@
--- libparted/labels/dos.c
+++ libparted/labels/dos.c 2005/01/11 14:39:51
@@ -170,6 +170,9 @@
if (PED_BE32_TO_CPU (*(unsigned int*)(part_table.boot_code)) == AIXIPLRECID)
return 0;
+/* disable this check since it makes parted fail on some IDE disks with
+TurboLinux installed */
+#if 0
/* if this is a FAT fs, fail here. Note that the Smart Boot Manager
* Loader (SBML) signature indicates a partition table, not a file
* system.
@@ -178,6 +181,7 @@
&& strncmp (part_table.boot_code + 0x40, "SBML", 4) != 0)
|| !strncmp (part_table.boot_code + 0x52, "FAT", 3))
return 0;
+#endif
/* If this is a GPT disk, fail here */
for (i = 0; i < 4; i++) {

42
etherd_support.diff Normal file
View File

@ -0,0 +1,42 @@
--- include/parted/device.h
+++ include/parted/device.h 2006/12/04 11:54:55
@@ -50,6 +50,8 @@
,
PED_DEVICE_DM = 12
#endif
+ ,
+ PED_DEVICE_AOE = 13
} PedDeviceType;
typedef struct _PedDevice PedDevice;
--- libparted/arch/linux.c
+++ libparted/arch/linux.c 2006/12/04 11:57:25
@@ -260,6 +260,7 @@
#define I2O_MAJOR7 86
#define I2O_MAJOR8 87
#define UBD_MAJOR 98
+#define AOE_MAJOR 152
#define DASD_MAJOR 94
#define VIODASD_MAJOR 112
#define SX8_MAJOR1 160
@@ -452,6 +453,8 @@
dev->type = PED_DEVICE_DAC960;
} else if (dev_major == ATARAID_MAJOR && (dev_minor % 0x10 == 0)) {
dev->type = PED_DEVICE_ATARAID;
+ } else if (dev_major == AOE_MAJOR && (dev_minor % 0x10 == 0)) {
+ dev->type = PED_DEVICE_AOE;
} else if (dev_major == DASD_MAJOR && (dev_minor % 0x4 == 0)) {
dev->type = PED_DEVICE_DASD;
} else if (dev_major == VIODASD_MAJOR && (dev_minor % 0x8 == 0)) {
@@ -1120,6 +1123,11 @@
goto error_free_arch_specific;
break;
+ case PED_DEVICE_AOE:
+ if (!init_generic (dev, _("AoE Driver")))
+ goto error_free_arch_specific;
+ break;
+
case PED_DEVICE_DASD:
if (!init_dasd (dev, _("IBM S390 DASD drive")))
goto error_free_arch_specific;

67
fat16_hfs_fix.dif Normal file
View File

@ -0,0 +1,67 @@
--- parted-1.6.22/libparted/labels/mac.c
+++ parted-1.6.22/libparted/labels/mac.c
@@ -444,7 +444,7 @@
return _rawpart_cmp_type (raw_part, "Apple_Void");
}
-/* returns 1 if the raw_part represents a partition that is "unused space", or
+/* returns 0 if the raw_part represents a partition that is "unused space", or
* doesn't represent a partition at all. NOTE: some people make Apple_Free
* partitions with MacOS, because they can't select another type. So, if the
* name is anything other than "Extra" or "", it is treated as a "real"
@@ -489,6 +489,13 @@
if (!part)
goto error;
+ /* Check for Apple_Free and set type to PED_PARTITION_FREESPACE */
+ if (_rawpart_cmp_type (raw_part, "Apple_Free")
+ && (strcmp (raw_part->name, "Extra") == 0))
+ part->type = PED_PARTITION_FREESPACE;
+ else
+ part->type = PED_PARTITION_NORMAL;
+
mac_part_data = part->disk_specific;
strncpy (mac_part_data->volume_name, raw_part->name, 32);
--- parted-1.6.22/libparted/fs/fat/calc.c
+++ parted-1.6.22/libparted/fs/fat/calc.c
@@ -26,7 +26,7 @@
fat_min_cluster_size (FatType fat_type) {
switch (fat_type) {
case FAT_TYPE_FAT12: return 1;
- case FAT_TYPE_FAT16: return 1024/512;
+ case FAT_TYPE_FAT16: return 1; // in KByte
case FAT_TYPE_FAT32: return 4096/512;
}
return 0;
@@ -62,7 +62,7 @@
fat_max_cluster_size (FatType fat_type) {
switch (fat_type) {
case FAT_TYPE_FAT12: return 1; /* dunno... who cares? */
- case FAT_TYPE_FAT16: return 32768/512;
+ case FAT_TYPE_FAT16: return 32768/1024; // = 32
case FAT_TYPE_FAT32: return 65536/512;
}
return 0;
@@ -74,7 +74,7 @@
switch (fat_type) {
case FAT_TYPE_FAT12:
case FAT_TYPE_FAT16:
- return fat_max_cluster_count (fat_type) / 2;
+ return 1024; // http://members.tripod.com/~averstak/fatdox/bootsec.htm
case FAT_TYPE_FAT32: return 0xfff0;
}
--- parted-1.6.22/libparted/fs/fat/fat.c
+++ parted-1.6.22/libparted/fs/fat/fat.c
@@ -763,8 +763,8 @@
if (!min_size)
return NULL;
#else
- min_size = 65794;
- max_size = 2097153;
+ min_size = 4096; // http://members.tripod.com/~averstak/fatdox/bootsec.htm
+ max_size = 2097153; // 32 KByte je Cluster (2^16)
#endif
return ped_constraint_new (

3
parted-1.8.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9db477bf4e8b48bd3f0ad5dc9a10fde45298ed996b9b27ceaff2759d3fc7d6c4
size 1117372

171
parted-mac.patch Normal file
View File

@ -0,0 +1,171 @@
--- parted-1.6.2/libparted/disk.c.mac Tue Aug 6 13:13:27 2002
+++ parted-1.6.2/libparted/disk.c Tue Aug 6 13:55:05 2002
@@ -1014,6 +1014,41 @@
return part->disk->type->ops->partition_get_name (part);
}
+const char*
+ped_partition_get_system_name (const PedPartition* part)
+{
+ PED_ASSERT (part != NULL, return NULL);
+ PED_ASSERT (part->disk != NULL, return 0);
+ PED_ASSERT (ped_partition_is_active (part), return 0);
+
+ if (!ped_disk_type_check_feature (
+ part->disk->type, PED_DISK_TYPE_SYSTEM_NAME))
+ return NULL; /* silent skip */
+
+ PED_ASSERT (part->disk->type->ops->partition_get_system_name != NULL,
+ return NULL);
+ return part->disk->type->ops->partition_get_system_name (part);
+}
+
+int
+ped_partition_set_system_name (PedPartition* part, const char* name)
+{
+ PED_ASSERT (part != NULL, return 0);
+ PED_ASSERT (part->disk != NULL, return 0);
+ PED_ASSERT (ped_partition_is_active (part), return 0);
+ PED_ASSERT (name != NULL, return 0);
+
+ if (!ped_disk_type_check_feature (
+ part->disk->type, PED_DISK_TYPE_SYSTEM_NAME))
+ return 0; /* silent skip */
+
+ PED_ASSERT (part->disk->type->ops->partition_set_system_name != NULL,
+ return 0);
+ part->disk->type->ops->partition_set_system_name (part, name);
+ return 1;
+}
+
+
PedPartition*
ped_disk_extended_partition (const PedDisk* disk)
{
--- parted-1.6.2/libparted/labels/mac.c.mac Mon Apr 8 12:08:03 2002
+++ parted-1.6.2/libparted/labels/mac.c Tue Aug 6 14:00:09 2002
@@ -1209,6 +1209,36 @@
return mac_data->volume_name;
}
+/* we do not really want to call this ... yet */
+static void
+mac_partition_set_system_name (PedPartition* part, const char* name)
+{
+ MacPartitionData* mac_data;
+ int i;
+
+ PED_ASSERT (part != NULL, return);
+ PED_ASSERT (part->disk_specific != NULL, return);
+ mac_data = part->disk_specific;
+
+ strncpy (mac_data->system_name, name, 32);
+ mac_data->system_name [32] = 0;
+ for (i = strlen (mac_data->system_name) - 1;
+ mac_data->system_name[i] == ' '; i--)
+ mac_data->system_name [i] = 0;
+}
+
+static const char*
+mac_partition_get_system_name (const PedPartition* part)
+{
+ MacPartitionData* mac_data;
+
+ PED_ASSERT (part != NULL, return NULL);
+ PED_ASSERT (part->disk_specific != NULL, return NULL);
+ mac_data = part->disk_specific;
+
+ return mac_data->system_name;
+}
+
static PedConstraint*
_primary_constraint (PedDisk* disk)
{
@@ -1423,6 +1453,8 @@
partition_is_flag_available: mac_partition_is_flag_available,
partition_set_name: mac_partition_set_name,
partition_get_name: mac_partition_get_name,
+ partition_set_system_name: mac_partition_set_system_name,
+ partition_get_system_name: mac_partition_get_system_name,
partition_align: mac_partition_align,
partition_enumerate: mac_partition_enumerate,
@@ -1435,7 +1467,7 @@
next: NULL,
name: "mac",
ops: &mac_disk_ops,
- features: PED_DISK_TYPE_PARTITION_NAME
+ features: PED_DISK_TYPE_PARTITION_NAME | PED_DISK_TYPE_SYSTEM_NAME
};
void
--- parted-1.6.2/include/parted/disk.h.mac Tue Aug 6 13:13:27 2002
+++ parted-1.6.2/include/parted/disk.h Tue Aug 6 13:58:09 2002
@@ -71,10 +71,11 @@
typedef enum {
PED_DISK_TYPE_EXTENDED=1, /**< supports extended partitions */
- PED_DISK_TYPE_PARTITION_NAME=2 /**< supports partition names */
+ PED_DISK_TYPE_PARTITION_NAME=2, /**< supports partition names */
+ PED_DISK_TYPE_SYSTEM_NAME=4 /**< supports system names */
} PedDiskTypeFeature;
#define PED_DISK_TYPE_FIRST_FEATURE PED_DISK_TYPE_EXTENDED
-#define PED_DISK_TYPE_LAST_FEATURE PED_DISK_TYPE_PARTITION_NAME
+#define PED_DISK_TYPE_LAST_FEATURE PED_DISK_TYPE_SYSTEM_NAME
/** @} */
@@ -170,6 +171,9 @@
/* other */
int (*alloc_metadata) (PedDisk* disk);
int (*get_max_primary_partition_count) (const PedDisk* disk);
+
+ void (*partition_set_system_name) (PedPartition* part, const char* name);
+ const char* (*partition_get_system_name) (const PedPartition* part);
};
struct _PedDiskType {
@@ -241,7 +245,9 @@
extern int ped_partition_set_system (PedPartition* part,
const PedFileSystemType* fs_type);
extern int ped_partition_set_name (PedPartition* part, const char* name);
+extern int ped_partition_set_system_name (PedPartition* part, const char* name);
extern const char* ped_partition_get_name (const PedPartition* part);
+extern const char* ped_partition_get_system_name (const PedPartition* part);
extern int ped_partition_is_busy (const PedPartition* part);
extern char* ped_partition_get_path (const PedPartition* part);
--- parted-1.6.2/parted/parted.c.mac Tue Aug 6 13:13:27 2002
+++ parted-1.6.2/parted/parted.c Tue Aug 6 13:13:27 2002
@@ -1088,6 +1088,7 @@
const char* name;
char* res = ped_malloc(1);
void* _res = res;
+ const char* sysname;
*res = '\0';
@@ -1125,6 +1126,23 @@
}
}
+ sysname = ped_partition_get_system_name( part );
+ if (sysname) {
+ if (first_flag)
+ first_flag = 0;
+ else {
+ _res = res;
+ ped_realloc (&_res, strlen (res)
+ + 1 + 2);
+ res = _res;
+ strncat (res, ", ", 2);
+ }
+ _res = res;
+ ped_realloc (&_res, strlen (res) + 6 + strlen(sysname));
+ res = _res;
+ strcat (res, "type=");
+ strcat (res, sysname);
+ }
return res;
}

134
parted-type.patch Normal file
View File

@ -0,0 +1,134 @@
--- parted-1.6.11/libparted/disk.c.type Fri May 24 00:32:16 2002
+++ parted-1.6.11/libparted/disk.c Wed Jul 24 13:47:58 2002
@@ -1761,6 +1761,8 @@
return N_("lba");
case PED_PARTITION_HPSERVICE:
return N_("hp-service");
+ case PED_PARTITION_TYPE:
+ return N_("type");
case PED_PARTITION_PALO:
return N_("palo");
--- parted-1.6.11/libparted/labels/dos.c.type Mon Apr 8 12:07:38 2002
+++ parted-1.6.11/libparted/labels/dos.c Wed Jul 24 13:47:58 2002
@@ -952,6 +952,10 @@
disk = part->disk;
switch (flag) {
+ case PED_PARTITION_TYPE:
+ dos_data->system = state;
+ return 1;
+
case PED_PARTITION_HIDDEN:
if (part->type == PED_PARTITION_EXTENDED) {
ped_exception_throw (
@@ -1350,6 +1350,9 @@
case PED_PARTITION_LBA:
return dos_data->lba;
+ case PED_PARTITION_TYPE:
+ return dos_data->system;
+
case PED_PARTITION_PALO:
return dos_data->palo;
@@ -1374,6 +1374,7 @@
case PED_PARTITION_RAID:
case PED_PARTITION_LVM:
case PED_PARTITION_LBA:
+ case PED_PARTITION_TYPE:
case PED_PARTITION_PALO:
return 1;
--- parted-1.6.2/parted/ui.c.type Wed Jul 3 02:59:11 2002
+++ parted-1.6.2/parted/ui.c Wed Jul 24 13:47:58 2002
@@ -519,7 +519,10 @@
NULL, 1);
if (!input)
return 0;
- valid = sscanf (input, "%d", value);
+ if (strstr(input, "0x") == input)
+ valid = sscanf (input, "%x", value);
+ else
+ valid = sscanf (input, "%d", value);
free (input);
return valid;
}
--- parted-1.6.11/include/parted/disk.h.type Wed Apr 10 03:23:11 2002
+++ parted-1.6.11/include/parted/disk.h Wed Jul 24 13:47:58 2002
@@ -62,8 +62,9 @@
PED_PARTITION_LBA=7,
PED_PARTITION_HPSERVICE=8,
PED_PARTITION_PALO=9,
- PED_PARTITION_PREP=10,
- PED_PARTITION_MSFT_RESERVED=11
+ PED_PARTITION_TYPE=10,
+ PED_PARTITION_PREP=11,
+ PED_PARTITION_MSFT_RESERVED=12
} PedPartitionFlag;
#define PED_PARTITION_FIRST_FLAG PED_PARTITION_BOOT
#define PED_PARTITION_LAST_FLAG PED_PARTITION_MSFT_RESERVED
--- parted-1.6.2/parted/parted.c.type Wed Jul 24 13:47:58 2002
+++ parted-1.6.2/parted/parted.c Wed Jul 24 14:26:45 2002
@@ -1094,17 +1094,28 @@
first_flag = 1;
for (flag = ped_partition_flag_next (0); flag;
flag = ped_partition_flag_next (flag)) {
- if (ped_partition_get_flag (part, flag)) {
- if (first_flag)
- first_flag = 0;
- else {
- _res = res;
- ped_realloc (&_res, strlen (res)
- + 1 + 2);
- res = _res;
- strncat (res, ", ", 2);
- }
-
+ if (first_flag)
+ first_flag = 0;
+ else {
+ _res = res;
+ ped_realloc (&_res, strlen (res)
+ + 1 + 2);
+ res = _res;
+ strncat (res, ", ", 2);
+ }
+ if (flag == PED_PARTITION_TYPE) {
+ int xtype = ped_partition_get_flag (part, flag);
+ if (xtype) {
+ char tmpstr[21];
+ int len = snprintf(tmpstr,sizeof(tmpstr)-1,"type=%02x",xtype);
+ _res = res;
+ ped_realloc (&_res, strlen (res) + 1 +
+ ((len>sizeof(tmpstr))?sizeof(tmpstr):len) );
+ res = _res;
+ strncat (res, tmpstr, 21);
+ }
+ }
+ else if (ped_partition_get_flag (part, flag)) {
name = _(ped_partition_flag_get_name (flag));
_res = res;
ped_realloc (&_res, strlen (res) + 1
@@ -1726,12 +1737,19 @@
goto error_destroy_disk;
if (!command_line_get_part_flag (_("Flag to Invert?"), part, &flag))
goto error_destroy_disk;
- state = (ped_partition_get_flag (part, flag) == 0 ? 1 : 0);
+ if( flag == PED_PARTITION_TYPE )
+ state = ped_partition_get_flag (part, flag);
+ else
+ state = (ped_partition_get_flag (part, flag) == 0 ? 1 : 0);
- if (!is_toggle_mode) {
+ if (!is_toggle_mode && flag != PED_PARTITION_TYPE ) {
if (!command_line_get_state (_("New state?"), &state))
goto error_destroy_disk;
}
+ else if( flag == PED_PARTITION_TYPE ) {
+ if (!command_line_get_integer (_("New type?"), &state))
+ goto error_destroy_disk;
+ }
if (!ped_partition_set_flag (part, flag, state))
goto error_destroy_disk;

34
parted-wipeaix.patch Normal file
View File

@ -0,0 +1,34 @@
--- parted-1.6.3/libparted/labels/dos.c 2002-09-23 14:32:38.000000000 +0000
+++ parted-1.6.3/libparted/labels/dos.c 2002-09-23 14:26:07.000000000 +0000
@@ -51,6 +51,8 @@
#define MSDOS_MAGIC 0xAA55
#define PARTITION_MAGIC_MAGIC 0xf6f6
+#define AIXIPLRECID 0xc9c2d4c1 /* Value is EBCIDIC 'IBMA' */
+
#define PARTITION_EMPTY 0x00
#define PARTITION_FAT12 0x01
#define PARTITION_FAT16_SM 0x04
@@ -166,6 +166,10 @@
if (PED_LE16_TO_CPU (part_table.magic) != MSDOS_MAGIC)
return 0;
+ /* Is this an AIX IPL label? Then just go away. */
+ if (PED_BE32_TO_CPU (*(unsigned int*)(part_table.boot_code)) == AIXIPLRECID)
+ return 0;
+
/* if this is a FAT fs, fail here. Note that the Smart Boot Manager
* Loader (SBML) signature indicates a partition table, not a file
* system.
@@ -784,7 +786,10 @@
ped_device_read (disk->dev, &table, 0, 1);
- if (!table.boot_code[0]) {
+ /* either no bootrecord at all, or AIX IPL signature ... */
+ if ((!table.boot_code[0]) ||
+ (PED_BE32_TO_CPU (*(unsigned int*)(table.boot_code)) == AIXIPLRECID)
+ ) {
memset (table.boot_code, 0, 512);
memcpy (table.boot_code, MBR_BOOT_CODE,
sizeof (MBR_BOOT_CODE));

490
parted.changes Normal file
View File

@ -0,0 +1,490 @@
-------------------------------------------------------------------
Mon Jan 15 11:51:21 CET 2007 - fehr@suse.de
- Update to new version 1.8.2
libparted:
- Add the ped_device_cache_remove() function to remove a device from the
cache. This is necessary for some things that use libparted, including
pyparted.
- Fix a segfault in ped_assert() where the wrong pointer is freed in the
backtrace handler.
- Only call _disk_warn_loss(disk) in do_mklabel() if disk is not NULL.
Fixes a segfault when initializing new volumes.
- Dynamically allocate space for exception messages.
- Output a backtrace when catching SEGV_MAPPER or a general SIGSEGV.
parted:
- Destroy all objects before return when called with --list or --all option.
- Zero sized device is shown as 0.00B and not -0.00kB.
- Implement 'print devices' command.
- Alias 'print list' to 'print all'.
- Alias 'mktable' to 'mklabel'.
-------------------------------------------------------------------
Tue Dec 5 11:11:59 CET 2006 - fehr@suse.de
- Update to new version 1.8.1
libparted
Rework backtrace support
Disable ext2fs resize for now, tell user to use resize2fs
GPT fixes
Prevent SIGFPE when FAT sector size is 0
DASD support for IBM zSeries systems
AIX disk label support
Detect Promise SX8 storage devices
Macintosh (ppc and x86) disk label improvements
Add support binary units (MiB, KiB, GiB)
Fix geometry read problems on 64-bit Macs
Add support for /dev/mapper devices via libdevmapper library
Detect Apple_Boot partition types correctly on MacOS X 10.4 systems
parted
Fix loop in print_all().
Introduce the -list command-line switch.
Warn before mklabel and mkfs.
Proper print when there are no extended partitions, but partition names.
-------------------------------------------------------------------
Mon May 29 16:15:21 CEST 2006 - fehr@suse.de
- Update to new version 1.7.1
Tue Nov 7 13:46:13 CET 2006 - ro@suse.de
- fix manpage permissions
-------------------------------------------------------------------
Fri Jul 21 11:15:27 CEST 2006 - olh@suse.de
- keep kernel interface to extended partition on Linux
-------------------------------------------------------------------
Tue Jul 18 09:04:11 CEST 2006 - olh@suse.de
- build with make -j
add parted-mac_data-init.patch
add parted-mac-set-type-corruption.patch (#192082)
-------------------------------------------------------------------
Mon May 29 16:15:21 CEST 2006 - fehr@suse.de
- Update to new version 1.7.1
libparted: bug fixes related to linking, HFS, ext2, the Mac disk label
parted: signal handling bug fix
-------------------------------------------------------------------
Thu May 18 12:40:04 CEST 2006 - fehr@suse.de
- Update to new version 1.7.0
libparted:
* support for Apple GUIDs to GPT code
* probe /dev/hd? before /dev/sd?
* prefer /sys/block to /proc/partitions where possible
* fix of ext2 "strange layout" bug (EXPERIMENTAL)
* handling of sector sizes not equal to 512
* added ped_device_get_constraint to support device-dependent constraints
parted:
* new formatter for "print" command
* SIGSEGV handler
* fixed "rescue" command core dump
* fixes for 'mkpart' and 'mkpartfs' and 'print'
* position and size of partitions are displayed with up to two
digits after the decimal dot (depending on the unit and value)
manual:
* cut down substantially.
Lots of general content will be moved to the GNU Storage Guide.
-------------------------------------------------------------------
Tue Apr 25 12:52:33 CEST 2006 - fehr@suse.de
- Update to new version 1.7.0rc5
-------------------------------------------------------------------
Mon Mar 6 15:07:05 CET 2006 - schwab@suse.de
- Fix format string.
-------------------------------------------------------------------
Wed Jan 25 21:39:16 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Tue Dec 6 14:47:16 CET 2005 - fehr@suse.de
- update to new version 1.6.25.1
-------------------------------------------------------------------
Wed Nov 9 17:51:06 CET 2005 - fehr@suse.de
- update to new version 1.6.25
- make parted correctly refuse to resize inconsistent fat
filesystems even if env var YAST_IS_RUNNING is set (#132967)
-------------------------------------------------------------------
Thu Sep 8 16:15:51 CEST 2005 - fehr@suse.de
- fix wrong permissions of brazilian man page (#114849)
-------------------------------------------------------------------
Mon Aug 15 17:00:04 CEST 2005 - fehr@suse.de
- update to new version 1.6.24
-------------------------------------------------------------------
Wed Aug 3 18:04:19 CEST 2005 - fehr@suse.de
- make parted print BIOS geometry also if no disk label is present
(#100444)
-------------------------------------------------------------------
Thu Jul 28 11:34:35 CEST 2005 - fehr@suse.de
- update to new version 1.6.23
--------------------------------------------------------------------
Thu Jul 19 16:37:13 CEST 2005 - pkirsch@suse.de
- fix fat16 minimum requirements
- fix mac partition handling
-------------------------------------------------------------------
Thu Apr 7 16:47:33 CEST 2005 - fehr@suse.de
- update to new version 1.6.22
-------------------------------------------------------------------
Wed Mar 16 14:57:55 CET 2005 - fehr@suse.de
- prevent shifted start sect when resizing with unknown fs (#73008)
-------------------------------------------------------------------
Mon Jan 17 11:04:06 CET 2005 - fehr@suse.de
- fix typo in input_sector.patch
- update to new version 1.6.21
-------------------------------------------------------------------
Thu Jan 13 19:30:31 CET 2005 - fehr@suse.de
- allow creation of partitions by exact sector number (#49276)
-------------------------------------------------------------------
Tue Jan 11 15:55:35 CET 2005 - fehr@suse.de
- update to new version 1.6.20
-------------------------------------------------------------------
Mon Nov 29 12:52:46 CET 2004 - fehr@suse.de
- update to new version 1.6.19
- add reiserfs to needforbuild
-------------------------------------------------------------------
Mon Nov 22 13:04:06 CET 2004 - fehr@suse.de
- update to new version 1.6.18
-------------------------------------------------------------------
Mon Nov 8 12:23:48 CET 2004 - fehr@suse.de
- update to new version 1.6.16
-------------------------------------------------------------------
Tue Oct 26 17:34:49 CEST 2004 - fehr@suse.de
- add patch by SGI for documentation of dvh-disklabel (#47611)
-------------------------------------------------------------------
Wed Sep 29 12:49:24 CEST 2004 - fehr@suse.de
- add support for ATA over ethernet
- add support for partitioning device-mapper devices (for dmraid)
-------------------------------------------------------------------
Mon Sep 20 11:27:45 CEST 2004 - fehr@suse.de
- update to new version 1.6.15
-------------------------------------------------------------------
Thu Sep 16 14:39:40 CEST 2004 - fehr@suse.de
- greatly simplify always-resize-part.dif by using
ped_constraint_exact
-------------------------------------------------------------------
Wed Sep 15 14:31:48 CEST 2004 - fehr@suse.de
- prevent unwanted modifying of partition start and end due to
alignment constraints during resize (#45013, #44699)
-------------------------------------------------------------------
Mon Sep 6 14:02:14 CEST 2004 - fehr@suse.de
- update to new version 1.6.14
-------------------------------------------------------------------
Mon Sep 6 11:50:37 CEST 2004 - fehr@suse.de
- update to new version 1.6.13
-------------------------------------------------------------------
Mon Aug 16 11:00:02 CEST 2004 - fehr@suse.de
- update to new version 1.6.12
-------------------------------------------------------------------
Mon Apr 26 13:11:08 CEST 2004 - fehr@suse.de
- update to new version 1.6.11
-------------------------------------------------------------------
Wed Mar 31 15:40:43 CEST 2004 - meissner@suse.de
- Detect viodasd virtual disks on iSeries. #37521
-------------------------------------------------------------------
Sat Jan 10 15:37:29 CET 2004 - adrian@suse.de
- add %run_ldconfig
-------------------------------------------------------------------
Mon Oct 20 17:02:46 CEST 2003 - fehr@suse.de
- fix printing of partitions larger than 1TB in size (#32319)
-------------------------------------------------------------------
Fri Sep 12 10:02:43 CEST 2003 - fehr@suse.de
- extend parted to handle User-mode virtual block devices (#30375)
-------------------------------------------------------------------
Mon Sep 8 15:56:38 CEST 2003 - fehr@suse.de
- do not warning about too new GPT version if running under YaST2
and too new version is 0x00010200 (#29563)
-------------------------------------------------------------------
Mon Jul 28 11:20:02 CEST 2003 - fehr@suse.de
- update to new version 1.6.6
-------------------------------------------------------------------
Thu Jun 19 21:27:33 CEST 2003 - ro@suse.de
- build with current gettext
-------------------------------------------------------------------
Thu Jun 12 15:14:32 CEST 2003 - fehr@suse.de
- add missing dir to filelist
-------------------------------------------------------------------
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
-------------------------------------------------------------------
Thu Mar 20 16:21:20 CET 2003 - fehr@suse.de
- display also partitions of type Apple_Free on Macintosh
-------------------------------------------------------------------
Mon Feb 24 10:27:08 CET 2003 - fehr@suse.de
- update to new version 1.6.5
-------------------------------------------------------------------
Mon Feb 17 12:21:05 CET 2003 - fehr@suse.de
- Use env var YAST_IS_RUNNING instead if YAST2_RUNNING for checking
if parted is called by YAST2
-------------------------------------------------------------------
Fri Feb 7 15:19:46 CET 2003 - fehr@suse.de
- Use %install_info macro
-------------------------------------------------------------------
Mon Feb 3 14:35:20 CET 2003 - fehr@suse.de
- disable check for string "FAT" in boot sector since it makes
parted fail on some IDE disks with TurboLinux installed (#19401)
-------------------------------------------------------------------
Tue Dec 10 10:52:42 CET 2002 - fehr@suse.de
- update to new version 1.6.4
-------------------------------------------------------------------
Mon Nov 18 16:38:27 CET 2002 - schwab@suse.de
- Add AM_GNU_GETTEXT_VERSION.
-------------------------------------------------------------------
Mon Sep 23 18:11:04 CEST 2002 - meissner@suse.de
- recognize AIX IPL signatures in MSDOS labels and mark these labels
invalid. Also overwrite the AIX IPL signature on "mklabel" (#20039).
-------------------------------------------------------------------
Mon Sep 2 15:44:17 CEST 2002 - fehr@suse.de
- fix bug occuring sometimes when resizing reiserfs from YaST2
(bug was in patch always-resize-part.dif)
-------------------------------------------------------------------
Tue Aug 13 11:18:27 CEST 2002 - fehr@suse.de
- update to parted 1.6.3
-------------------------------------------------------------------
Thu Aug 8 08:42:34 CEST 2002 - fehr@suse.de
- add patch to ignore /proc/sys/kernel/real-root-dev and do a stat
on "/" instead. real-root-dev does not always contain a valid
entry
-------------------------------------------------------------------
Tue Aug 6 14:08:43 CEST 2002 - meissner@suse.de
- redid patch for partition ids on MAC with some API additions
to make it 64bit clean.
-------------------------------------------------------------------
Thu Aug 1 11:57:35 CEST 2002 - fehr@suse.de
- add patch by Marcus Meissner to show partition type on MACs
-------------------------------------------------------------------
Thu Jul 25 19:06:20 CEST 2002 - fehr@suse.de
- add patch by Marcus Meissner to show and set partition id on dos
label
-------------------------------------------------------------------
Tue Jul 16 11:11:21 CEST 2002 - schwab@suse.de
- Update to parted 1.6.2, needed for ia64.
-------------------------------------------------------------------
Tue Jul 2 15:49:47 CEST 2002 - meissner@suse.de
- rerun auto* tools
-------------------------------------------------------------------
Thu Jun 27 11:18:53 CEST 2002 - fehr@suse.de
- make setting flags lvm and raid to off work
-------------------------------------------------------------------
Mon Jun 10 12:55:00 CEST 2002 - fehr@suse.de
- add patch to resize also partitions with unkown fs under YaST2
-------------------------------------------------------------------
Tue May 7 13:04:28 CEST 2002 - fehr@suse.de
- update to 1.4.24
- add patch to be verbose when resizing fat under YaST2
------------------------------------------------------------
Tue May 7 12:53:46 CEST 2002 - ro@suse.de
- fixed specfile: no macro allowed in Version: line
-------------------------------------------------------------------
Fri Apr 26 13:34:03 CEST 2002 - coolo@suse.de
- use %_libdir
-------------------------------------------------------------------
Mon Sep 3 17:33:29 CEST 2001 - kkaempf@suse.de
- update to 1.4.18
compiles now with gcc 3.x and new autoconf/automake.
support for ext3.
lots of minor fixes, see ChangeLog in source.
-------------------------------------------------------------------
Thu May 10 17:55:18 CEST 2001 - freitag@suse.de
- Added documentation to filelist, Bug# 6115
-------------------------------------------------------------------
Thu May 10 01:02:44 CEST 2001 - mfabian@suse.de
- bzip2 sources
-------------------------------------------------------------------
Mon Apr 30 17:39:26 MEST 2001 - tom@suse.de
- Change to new version 1.4.11
Removed configure patch (not needed anymore)
Removed gettextize (doesn't build)
Changed shared libraries to new state in file list
-------------------------------------------------------------------
Thu Apr 12 17:23:04 CEST 2001 - ro@suse.de
- gettextize for new gettext
-------------------------------------------------------------------
Wed Apr 4 16:19:29 CEST 2001 - kukuk@suse.de
- Add shared libraries to filelist for intel
-------------------------------------------------------------------
Fri Mar 23 15:16:38 CET 2001 - schwab@suse.de
- Fix configure check for sizeof off_t.
- Enable shared libs for x86 now that llseek.c rubbish is not
needed any more.
-------------------------------------------------------------------
Fri Feb 23 11:52:57 CET 2001 - uli@suse.de
- enabled shared libs for non-x86 archs (see libparted/llseek.c for
explanation why this doesn't work for x86)
-------------------------------------------------------------------
Fri Feb 23 00:10:25 CET 2001 - ro@suse.de
- added readline/readline-devel to neededforbuild (split from bash)
-------------------------------------------------------------------
Fri Jan 12 20:13:33 MET 2001 - tom@suse.de
- update to version 1.4.6
-------------------------------------------------------------------
Wed Jan 3 20:11:02 MET 2001 - tom@suse.de
- update to version 1.4.5
-------------------------------------------------------------------
Mon Dec 4 19:16:51 CET 2000 - schwab@suse.de
- Add %suse_update_config.
-------------------------------------------------------------------
Fri Dec 1 15:11:14 MET 2000 - tom@suse.de
- update to version 1.4.4
-------------------------------------------------------------------
Tue Nov 21 14:20:36 CET 2000 - tom@suse.de
- update to version 1.4.2
-------------------------------------------------------------------
Thu Nov 9 09:58:25 CET 2000 - ro@suse.de
- fixed neededforbuild
-------------------------------------------------------------------
Tue Oct 10 15:56:16 MEST 2000 - tom@suse.de
- initial version, GNU parted 1.2.9

366
parted.spec Normal file
View File

@ -0,0 +1,366 @@
#
# spec file for package parted (Version 1.8.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: parted
BuildRequires: device-mapper device-mapper-devel e2fsprogs-devel libreiserfs readline-devel reiserfs
%define aclocaldir /usr/share/aclocal
License: GNU General Public License (GPL)
Group: System/Filesystems
Summary: GNU partitioner
Version: 1.8.2
Release: 1
Source0: %{name}-%{version}.tar.bz2
Patch: always-resize-part.dif
Patch1: parted-type.patch
Patch2: parted-mac.patch
Patch3: parted-wipeaix.patch
Patch4: disable_FAT_check.diff
Patch6: etherd_support.diff
Patch7: device_map_support.diff
Patch8: fat16_hfs_fix.dif
Patch9: always_print_geom.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://www.gnu.org/software/parted/
PreReq: %install_info_prereq
%description
GNU Parted is a program for creating, destroying, resizing, checking,
and copying partitions, and the file systems on them.
Authors:
--------
Andrew Clausen <clausen@gnu.org>
%package devel
Summary: Include Files and Libraries mandatory for Development.
Group: System/Filesystems
Requires: e2fsprogs-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Andrew Clausen <clausen@gnu.org>
Lennert Buytenhek <buytenh@gnu.org>
Matthew Wilson <msw@redhat.com>
Masahiro Sakai <ZVM01052@nifty.ne.jp>
Ben Collins <vincent.stelhe@free.fr>
Matt Domsch <Matt_Domsch@dell.com>
%prep
%setup -q
%patch
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4
%patch6 -p0
%patch7 -p0
%patch8 -p1
%patch9
%build
autoreconf --force --install
test -f po/Makevars || mv po/Makevars.template po/Makevars
CFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=%{_prefix} \
--sbindir=%{_sbindir} \
--infodir=%{_infodir} \
--mandir=%{_mandir} \
--libdir=%_libdir \
--disable-Werror
make %{?jobs:-j%jobs}
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf "$RPM_BUILD_ROOT"
%post
/sbin/ldconfig
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
/sbin/ldconfig
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
%{_prefix}/share/locale/*/*/*
%{_sbindir}/*
%{_mandir}/man8/part*.8.gz
%{_libdir}/*.so.*
%doc %{_infodir}/*.info*
%files devel
%defattr(-,root,root)
%doc doc/API doc/FAT
%{_prefix}/include/*
%{aclocaldir}/*
%{_libdir}/*.a*
%{_libdir}/*.la*
%{_libdir}/*.so
%changelog -n parted
* Mon Jan 15 2007 - fehr@suse.de
- Update to new version 1.8.2
libparted:
- Add the ped_device_cache_remove() function to remove a device from the
cache. This is necessary for some things that use libparted, including
pyparted.
- Fix a segfault in ped_assert() where the wrong pointer is freed in the
backtrace handler.
- Only call _disk_warn_loss(disk) in do_mklabel() if disk is not NULL.
Fixes a segfault when initializing new volumes.
- Dynamically allocate space for exception messages.
- Output a backtrace when catching SEGV_MAPPER or a general SIGSEGV.
parted:
- Destroy all objects before return when called with --list or --all option.
- Zero sized device is shown as 0.00B and not -0.00kB.
- Implement 'print devices' command.
- Alias 'print list' to 'print all'.
- Alias 'mktable' to 'mklabel'.
* Tue Dec 05 2006 - fehr@suse.de
- Update to new version 1.8.1
libparted
Rework backtrace support
Disable ext2fs resize for now, tell user to use resize2fs
GPT fixes
Prevent SIGFPE when FAT sector size is 0
DASD support for IBM zSeries systems
AIX disk label support
Detect Promise SX8 storage devices
Macintosh (ppc and x86) disk label improvements
Add support binary units (MiB, KiB, GiB)
Fix geometry read problems on 64-bit Macs
Add support for /dev/mapper devices via libdevmapper library
Detect Apple_Boot partition types correctly on MacOS X 10.4 systems
parted
Fix loop in print_all().
Introduce the -list command-line switch.
Warn before mklabel and mkfs.
Proper print when there are no extended partitions, but partition names.
* Tue Nov 07 2006 - ro@suse.de
- fix manpage permissions
* Fri Jul 21 2006 - olh@suse.de
- keep kernel interface to extended partition on Linux
* Tue Jul 18 2006 - olh@suse.de
- build with make -j
add parted-mac_data-init.patch
add parted-mac-set-type-corruption.patch (#192082)
* Mon May 29 2006 - fehr@suse.de
- Update to new version 1.7.1
- Update to new version 1.7.1
libparted: bug fixes related to linking, HFS, ext2, the Mac disk label
parted: signal handling bug fix
* Thu May 18 2006 - fehr@suse.de
- Update to new version 1.7.0
libparted:
* support for Apple GUIDs to GPT code
* probe /dev/hd? before /dev/sd?
* prefer /sys/block to /proc/partitions where possible
* fix of ext2 "strange layout" bug (EXPERIMENTAL)
* handling of sector sizes not equal to 512
* added ped_device_get_constraint to support device-dependent constraints
parted:
* new formatter for "print" command
* SIGSEGV handler
* fixed "rescue" command core dump
* fixes for 'mkpart' and 'mkpartfs' and 'print'
* position and size of partitions are displayed with up to two
digits after the decimal dot (depending on the unit and value)
manual:
* cut down substantially.
Lots of general content will be moved to the GNU Storage Guide.
* Tue Apr 25 2006 - fehr@suse.de
- Update to new version 1.7.0rc5
* Mon Mar 06 2006 - schwab@suse.de
- Fix format string.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Dec 06 2005 - fehr@suse.de
- update to new version 1.6.25.1
* Wed Nov 09 2005 - fehr@suse.de
- update to new version 1.6.25
- make parted correctly refuse to resize inconsistent fat
filesystems even if env var YAST_IS_RUNNING is set (#132967)
* Thu Sep 08 2005 - fehr@suse.de
- fix wrong permissions of brazilian man page (#114849)
* Mon Aug 15 2005 - fehr@suse.de
- update to new version 1.6.24
* Wed Aug 03 2005 - fehr@suse.de
- make parted print BIOS geometry also if no disk label is present
(#100444)
* Thu Jul 28 2005 - fehr@suse.de
- update to new version 1.6.23
* Tue Jul 19 2005 - pkirsch@suse.de
- fix fat16 minimum requirements
- fix mac partition handling
* Thu Apr 07 2005 - fehr@suse.de
- update to new version 1.6.22
* Wed Mar 16 2005 - fehr@suse.de
- prevent shifted start sect when resizing with unknown fs (#73008)
* Mon Jan 17 2005 - fehr@suse.de
- fix typo in input_sector.patch
- update to new version 1.6.21
* Thu Jan 13 2005 - fehr@suse.de
- allow creation of partitions by exact sector number (#49276)
* Tue Jan 11 2005 - fehr@suse.de
- update to new version 1.6.20
* Mon Nov 29 2004 - fehr@suse.de
- update to new version 1.6.19
- add reiserfs to needforbuild
* Mon Nov 22 2004 - fehr@suse.de
- update to new version 1.6.18
* Mon Nov 08 2004 - fehr@suse.de
- update to new version 1.6.16
* Tue Oct 26 2004 - fehr@suse.de
- add patch by SGI for documentation of dvh-disklabel (#47611)
* Wed Sep 29 2004 - fehr@suse.de
- add support for ATA over ethernet
- add support for partitioning device-mapper devices (for dmraid)
* Mon Sep 20 2004 - fehr@suse.de
- update to new version 1.6.15
* Thu Sep 16 2004 - fehr@suse.de
- greatly simplify always-resize-part.dif by using
ped_constraint_exact
* Wed Sep 15 2004 - fehr@suse.de
- prevent unwanted modifying of partition start and end due to
alignment constraints during resize (#45013, #44699)
* Mon Sep 06 2004 - fehr@suse.de
- update to new version 1.6.14
* Mon Sep 06 2004 - fehr@suse.de
- update to new version 1.6.13
* Mon Aug 16 2004 - fehr@suse.de
- update to new version 1.6.12
* Mon Apr 26 2004 - fehr@suse.de
- update to new version 1.6.11
* Wed Mar 31 2004 - meissner@suse.de
- Detect viodasd virtual disks on iSeries. #37521
* Sat Jan 10 2004 - adrian@suse.de
- add %%run_ldconfig
* Mon Oct 20 2003 - fehr@suse.de
- fix printing of partitions larger than 1TB in size (#32319)
* Fri Sep 12 2003 - fehr@suse.de
- extend parted to handle User-mode virtual block devices (#30375)
* Mon Sep 08 2003 - fehr@suse.de
- do not warning about too new GPT version if running under YaST2
and too new version is 0x00010200 (#29563)
* Mon Jul 28 2003 - fehr@suse.de
- update to new version 1.6.6
* Thu Jun 19 2003 - ro@suse.de
- build with current gettext
* Thu Jun 12 2003 - fehr@suse.de
- add missing dir to filelist
* Thu Apr 24 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
* Thu Mar 20 2003 - fehr@suse.de
- display also partitions of type Apple_Free on Macintosh
* Mon Feb 24 2003 - fehr@suse.de
- update to new version 1.6.5
* Mon Feb 17 2003 - fehr@suse.de
- Use env var YAST_IS_RUNNING instead if YAST2_RUNNING for checking
if parted is called by YAST2
* Fri Feb 07 2003 - fehr@suse.de
- Use %%install_info macro
* Mon Feb 03 2003 - fehr@suse.de
- disable check for string "FAT" in boot sector since it makes
parted fail on some IDE disks with TurboLinux installed (#19401)
* Tue Dec 10 2002 - fehr@suse.de
- update to new version 1.6.4
* Mon Nov 18 2002 - schwab@suse.de
- Add AM_GNU_GETTEXT_VERSION.
* Mon Sep 23 2002 - meissner@suse.de
- recognize AIX IPL signatures in MSDOS labels and mark these labels
invalid. Also overwrite the AIX IPL signature on "mklabel" (#20039).
* Mon Sep 02 2002 - fehr@suse.de
- fix bug occuring sometimes when resizing reiserfs from YaST2
(bug was in patch always-resize-part.dif)
* Tue Aug 13 2002 - fehr@suse.de
- update to parted 1.6.3
* Thu Aug 08 2002 - fehr@suse.de
- add patch to ignore /proc/sys/kernel/real-root-dev and do a stat
on "/" instead. real-root-dev does not always contain a valid
entry
* Tue Aug 06 2002 - meissner@suse.de
- redid patch for partition ids on MAC with some API additions
to make it 64bit clean.
* Thu Aug 01 2002 - fehr@suse.de
- add patch by Marcus Meissner to show partition type on MACs
* Thu Jul 25 2002 - fehr@suse.de
- add patch by Marcus Meissner to show and set partition id on dos
label
* Tue Jul 16 2002 - schwab@suse.de
- Update to parted 1.6.2, needed for ia64.
* Tue Jul 02 2002 - meissner@suse.de
- rerun auto* tools
* Thu Jun 27 2002 - fehr@suse.de
- make setting flags lvm and raid to off work
* Mon Jun 10 2002 - fehr@suse.de
- add patch to resize also partitions with unkown fs under YaST2
* Tue May 07 2002 - fehr@suse.de
- update to 1.4.24
- add patch to be verbose when resizing fat under YaST2
* Tue May 07 2002 - ro@suse.de
- fixed specfile: no macro allowed in Version: line
* Fri Apr 26 2002 - coolo@suse.de
- use %%_libdir
* Mon Sep 03 2001 - kkaempf@suse.de
- update to 1.4.18
compiles now with gcc 3.x and new autoconf/automake.
support for ext3.
lots of minor fixes, see ChangeLog in source.
* Thu May 10 2001 - freitag@suse.de
- Added documentation to filelist, Bug# 6115
* Thu May 10 2001 - mfabian@suse.de
- bzip2 sources
* Mon Apr 30 2001 - tom@suse.de
- Change to new version 1.4.11
Removed configure patch (not needed anymore)
Removed gettextize (doesn't build)
Changed shared libraries to new state in file list
* Thu Apr 12 2001 - ro@suse.de
- gettextize for new gettext
* Wed Apr 04 2001 - kukuk@suse.de
- Add shared libraries to filelist for intel
* Fri Mar 23 2001 - schwab@suse.de
- Fix configure check for sizeof off_t.
- Enable shared libs for x86 now that llseek.c rubbish is not
needed any more.
* Fri Feb 23 2001 - uli@suse.de
- enabled shared libs for non-x86 archs (see libparted/llseek.c for
explanation why this doesn't work for x86)
* Fri Feb 23 2001 - ro@suse.de
- added readline/readline-devel to neededforbuild (split from bash)
* Fri Jan 12 2001 - tom@suse.de
- update to version 1.4.6
* Wed Jan 03 2001 - tom@suse.de
- update to version 1.4.5
* Mon Dec 04 2000 - schwab@suse.de
- Add %%suse_update_config.
* Fri Dec 01 2000 - tom@suse.de
- update to version 1.4.4
* Tue Nov 21 2000 - tom@suse.de
- update to version 1.4.2
* Thu Nov 09 2000 - ro@suse.de
- fixed neededforbuild
* Tue Oct 10 2000 - tom@suse.de
- initial version, GNU parted 1.2.9

0
ready Normal file
View File