1/* 2 * Copyright (c) 2000 Christoph Herrmann, Thomas-Henning von Kamptz 3 * Copyright (c) 1980, 1989, 1993 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Christoph Herrmann and Thomas-Henning von Kamptz, Munich and Frankfurt. 8 * --- 34 unchanged lines hidden (view full) --- 43static const char copyright[] = 44"@(#) Copyright (c) 2000 Christoph Herrmann, Thomas-Henning von Kamptz\n\ 45Copyright (c) 1980, 1989, 1993 The Regents of the University of California.\n\ 46All rights reserved.\n"; 47#endif /* not lint */ 48 49#ifndef lint 50static const char rcsid[] = |
51 "$FreeBSD: head/sbin/growfs/growfs.c 92806 2002-03-20 17:55:10Z obrien $"; |
52#endif /* not lint */ 53 54/* ********************************************************** INCLUDES ***** */ 55#include <sys/param.h> 56#include <sys/disklabel.h> 57#include <sys/ioctl.h> 58#include <sys/stat.h> 59 --- 296 unchanged lines hidden (view full) --- 356 * provisions for that case are removed here. 357 */ 358static void 359initcg(int cylno, time_t utime, int fso, unsigned int Nflag) 360{ 361 DBG_FUNC("initcg") 362 daddr_t cbase, d, dlower, dupper, dmax, blkno; 363 int i; |
364 struct csum *cs; |
365#ifdef FSIRAND 366 int j; 367#endif 368 369 DBG_ENTER; 370 371 /* 372 * Determine block bounds for cylinder group. --- 2165 unchanged lines hidden --- |