Репозитории ALT
S: | 2.39.2-alt1 |
5.1: | 2.16.1-alt1 |
4.1: | 2.13-alt8 |
4.0: | 2.12r-alt6 |
3.0: | 2.12q-alt1 |
Группа :: Система/Основа
Пакет: util-linux
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: util-linux-2.12a-rh-partlimit.patch
Скачать
Скачать
--- util-linux-2.14.1/fdisk/fdisk.h.fix53 2009-01-25 19:42:46 +0300
+++ util-linux-2.14.1/fdisk/fdisk.h 2009-01-25 19:42:48 +0300
@@ -4,9 +4,9 @@
#define DEFAULT_SECTOR_SIZE 512
#define MAX_SECTOR_SIZE 2048
#define SECTOR_SIZE 512 /* still used in BSD code */
-#define MAXIMUM_PARTS 60
+#define MAXIMUM_PARTS 15
#define ACTIVE_FLAG 0x80
#define EXTENDED 0x05
--- util-linux-2.14.1/fdisk/fdisk.8.fix53 2009-01-25 19:42:46 +0300
+++ util-linux-2.14.1/fdisk/fdisk.8 2009-01-25 19:45:42 +0300
@@ -61,8 +61,9 @@ is a
.I device
name followed by a partition number. For example,
.B /dev/sda1
is the first partition on the first hard disk in the system.
+Disks can have up to 15 partitions.
See also Linux kernel documentation (the Documentation/devices.txt file).
A BSD/SUN type disklabel can describe 8 partitions,
the third of which should be a `whole disk' partition.