[BusyBox-cvs] busybox/util-linux fdisk.c,NONE,1.1 Makefile.in,1.2,1.3 config.in,1.8,1.9

Glenn McGrath bug1 at busybox.net
Tue Nov 26 22:00:25 UTC 2002


Update of /var/cvs/busybox/util-linux
In directory winder:/tmp/cvs-serv10444/util-linux

Modified Files:
	Makefile.in config.in 
Added Files:
	fdisk.c 
Log Message:
fdisk applet by Vladimir N. Oleynik


--- NEW FILE: fdisk.c ---
/* fdisk.c -- Partition table manipulator for Linux.
 *
 * Copyright (C) 1992  A. V. Le Blanc (LeBlanc at mcc.ac.uk)
 *
 * This program is free software.  You can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation: either version 1 or
 * (at your option) any later version.
 *
 * For detailed old history, see older versions.
 * Contributions before 2001 by faith at cs.unc.edu, Michael Bischoff,
 * LeBlanc at mcc.ac.uk, martin at cs.unc.edu, leisner at sdsp.mc.xerox.com,
 * esr at snark.thyrsus.com, aeb at cwi.nl, quinlan at yggdrasil.com,
 * fasten at cs.bonn.edu, orschaer at cip.informatik.uni-erlangen.de,
 * jj at sunsite.mff.cuni.cz, fasten at shw.com, ANeuper at GUUG.de,
 * kgw at suse.de, kalium at gmx.de, dhuggins at linuxcare.com,
 * michal at ellpspace.math.ualberta.ca and probably others.
 *
 * Vladimir Oleynik <dzo at simtreas.ru> 2001,2002 Busybox port
[...5860 lines suppressed...]
#ifdef CONFIG_FEATURE_FDISK_ADVANCED
		case 'x':
#ifdef CONFIG_FEATURE_SGI_LABEL
			if (sgi_label) {
				fprintf(stderr,
					_("\n\tSorry, no experts menu for SGI "
					"partition tables available.\n\n"));
			} else
#endif

				xselect();
			break;
#endif
		default:
			unknown_command(c);
			menu();
		}
	}
	return 0;
}

Index: Makefile.in
===================================================================
RCS file: /var/cvs/busybox/util-linux/Makefile.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.in	21 Jul 2002 16:50:49 -0000	1.2
+++ Makefile.in	26 Nov 2002 22:00:21 -0000	1.3
@@ -26,6 +26,7 @@
 UTILLINUX-$(CONFIG_DMESG)		+= dmesg.o
 UTILLINUX-$(CONFIG_FBSET)		+= fbset.o
 UTILLINUX-$(CONFIG_FDFLUSH)		+= fdflush.o
+UTILLINUX-$(CONFIG_FDISK)               += fdisk.o
 UTILLINUX-$(CONFIG_FREERAMDISK)	+= freeramdisk.o
 UTILLINUX-$(CONFIG_FSCK_MINIX)	+= fsck_minix.o
 UTILLINUX-$(CONFIG_GETOPT)		+= getopt.o

Index: config.in
===================================================================
RCS file: /var/cvs/busybox/util-linux/config.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- config.in	1 Sep 2002 06:45:51 -0000	1.8
+++ config.in	26 Nov 2002 22:00:21 -0000	1.9
@@ -14,6 +14,14 @@
     bool '  Turn on fbset readmode support'	CONFIG_FEATURE_FBSET_READMODE
 fi
 bool 'fdflush'		    CONFIG_FDFLUSH
+bool 'fdisk'                CONFIG_FDISK
+if [ "$CONFIG_FDISK" = "y" ]; then
+    bool '  Support AIX disklabels'        CONFIG_FEATURE_AIX_LABEL
+    bool '  Support SGI disklabels'        CONFIG_FEATURE_SGI_LABEL
+    bool '  Support SUN disklabels'        CONFIG_FEATURE_SUN_LABEL
+    bool '  Support BSD disklabels'        CONFIG_FEATURE_OSF_LABEL
+    bool '  Support expext mode'           CONFIG_FEATURE_FDISK_ADVANCED
+fi
 bool 'freeramdisk'	    CONFIG_FREERAMDISK
 bool 'fsck_minix'	    CONFIG_FSCK_MINIX
 bool 'mkfs_minix'	    CONFIG_MKFS_MINIX




More information about the busybox-cvs mailing list