forked from pool/parted
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
|
From 2d81422f3caea30d9d65ec343a34bc1f447a4f01 Mon Sep 17 00:00:00 2001
|
||
|
From: Jim Meyering <meyering@redhat.com>
|
||
|
Date: Thu, 11 Mar 2010 19:01:41 +0100
|
||
|
Subject: [PATCH] libparted: remove "HIGHLY EXPERIMENTAL" warning for >512B-sector devices
|
||
|
|
||
|
* libparted/arch/linux.c (_device_set_sector_size): Remove the
|
||
|
"HIGHLY EXPERIMENTAL" warning, now that support for >512-byte sectors
|
||
|
seems to be usable. Suggested by Colin Watson.
|
||
|
---
|
||
|
|
||
|
Index: parted-2.2/libparted/arch/linux.c
|
||
|
===================================================================
|
||
|
--- parted-2.2.orig/libparted/arch/linux.c 2010-04-02 09:53:02.000000000 +0200
|
||
|
+++ parted-2.2/libparted/arch/linux.c 2010-04-02 09:53:43.000000000 +0200
|
||
|
@@ -688,16 +688,6 @@ _device_set_sector_size (PedDevice* dev)
|
||
|
dev->sector_size = PED_SECTOR_SIZE_DEFAULT;
|
||
|
}
|
||
|
#endif
|
||
|
-
|
||
|
- if (dev->sector_size != PED_SECTOR_SIZE_DEFAULT) {
|
||
|
- ped_exception_throw (
|
||
|
- PED_EXCEPTION_WARNING,
|
||
|
- PED_EXCEPTION_OK,
|
||
|
- _("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"),
|
||
|
- dev->path, dev->sector_size);
|
||
|
- }
|
||
|
}
|
||
|
|
||
|
static int
|