partition : add support for sysv68 partitions
PATCH 1/1 partition : add support for sysv68 partitions
Hi all,
Add support for the Motorola sysv68 disk partition (slices in motorola doc).
Signed-off-by Philippe De Muyter <[email protected]>
partitions/check.c renamed from partitionsbk/check.c +4 -0
@@ -34,6 +34,7 @@#include "ultrix.h" #include "efi.h" #include "karma.h" +#include "sysv68.h" #ifdef CONFIG_BLK_DEV_MD extern void md_autodetect_dev (dev_t dev);
@@ -105,6 +106,9 @@#ifdef CONFIG_KARMA_PARTITION karma_partition,#endif +#ifdef CONFIG_SYSV68_PARTITION + sysv68_partition, +#endifNULL };
partitions/Kconfig renamed from partitionsbk/Kconfig +9 -0
@@ -237,3 +237,12 @@ Say Y here if you would like to use hard disks under Linux which were partitioned using EFI GPT. Presently only useful on the IA-64 platform. + +config SYSV68_PARTITION + bool "SYSV68 partition table support" if PARTITION_ADVANCED + default y if M68K + help + Say Y here if you would like to be able to read the hard disk + partition table format used by Motorola Delta machines (using + sysv68). + Otherwise, say N.
partitions/Makefile renamed from partitionsbk/Makefile +1 -0
@@ -17,3 +17,4 @@ obj-$(CONFIG_IBM_PARTITION) += ibm.o obj-$(CONFIG_EFI_PARTITION) += efi.o obj-$(CONFIG_KARMA_PARTITION) += karma.o +obj-$(CONFIG_SYSV68_PARTITION) += sysv68.o
partitions/sysv68.c renamed from partitionsbk/sysv68.c +92 -0
92 lines not on this page · raw message
partitions/sysv68.h renamed from partitionsbk/sysv68.h +1 -0
@@ -0,0 +1 @@ +extern int sysv68_partition (struct parsed_partitions *state,struct block_device *bdev);
Signature · 2 lines
Philippe De Muyter phdm at macqel dot be Tel +32 27029044 Macq Electronique SA rue de l'Aeronef 2 B-1140 Bruxelles Fax +32 27029077