fdisk.c (e6fb3dde93b16494b706152dcdca671ca1f6b6f9) | fdisk.c (f10f160d82479f0f47e4af7f9a378111b09b5eeb) |
---|---|
1/* 2 * Mach Operating System 3 * Copyright (c) 1992 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 12 unchanged lines hidden (view full) --- 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie Mellon 24 * the rights to redistribute these changes. 25 */ 26 27#ifndef lint 28static const char rcsid[] = | 1/* 2 * Mach Operating System 3 * Copyright (c) 1992 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 12 unchanged lines hidden (view full) --- 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie Mellon 24 * the rights to redistribute these changes. 25 */ 26 27#ifndef lint 28static const char rcsid[] = |
29 "$Id: fdisk.c,v 1.29 1999/06/27 19:29:15 rnordier Exp $"; | 29 "$Id: fdisk.c,v 1.30 1999/08/23 11:06:19 phk Exp $"; |
30#endif /* not lint */ 31 32#include <sys/disklabel.h> 33#include <sys/stat.h> 34#include <ctype.h> 35#include <fcntl.h> 36#include <err.h> 37#include <errno.h> --- 345 unchanged lines hidden (view full) --- 383 384 exit(0); 385} 386 387static void 388usage() 389{ 390 fprintf(stderr, "%s%s", | 30#endif /* not lint */ 31 32#include <sys/disklabel.h> 33#include <sys/stat.h> 34#include <ctype.h> 35#include <fcntl.h> 36#include <err.h> 37#include <errno.h> --- 345 unchanged lines hidden (view full) --- 383 384 exit(0); 385} 386 387static void 388usage() 389{ 390 fprintf(stderr, "%s%s", |
391 "usage: fdisk [-Baitu] [-b bootcode] [-1234] [disk]\n", | 391 "usage: fdisk [-Baeitu] [-b bootcode] [-1234] [disk]\n", |
392 " fdisk -f configfile [-itv] [disk]\n"); 393 exit(1); 394} 395 396static void 397print_s0(int which) 398{ 399int i; --- 919 unchanged lines hidden --- | 392 " fdisk -f configfile [-itv] [disk]\n"); 393 exit(1); 394} 395 396static void 397print_s0(int which) 398{ 399int i; --- 919 unchanged lines hidden --- |