main.c (203459) | main.c (217769) |
---|---|
1/*- 2 * Copyright (c) 1980, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 24 unchanged lines hidden (view full) --- 33 The Regents of the University of California. All rights reserved.\n"; 34#endif /* not lint */ 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95"; 39#endif 40static const char rcsid[] = | 1/*- 2 * Copyright (c) 1980, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 24 unchanged lines hidden (view full) --- 33 The Regents of the University of California. All rights reserved.\n"; 34#endif /* not lint */ 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95"; 39#endif 40static const char rcsid[] = |
41 "$FreeBSD: head/sbin/dump/main.c 203459 2010-02-03 23:56:12Z delphij $"; | 41 "$FreeBSD: head/sbin/dump/main.c 217769 2011-01-24 06:17:05Z mckusick $"; |
42#endif /* not lint */ 43 44#include <sys/param.h> 45#include <sys/stat.h> | 42#endif /* not lint */ 43 44#include <sys/param.h> 45#include <sys/stat.h> |
46#include <sys/time.h> | |
47#include <sys/mount.h> 48#include <sys/disklabel.h> 49 50#include <ufs/ufs/dinode.h> 51#include <ufs/ufs/ufsmount.h> 52#include <ufs/ffs/fs.h> 53 54#include <protocols/dumprestore.h> --- 4 unchanged lines hidden (view full) --- 59#include <fcntl.h> 60#include <fstab.h> 61#include <limits.h> 62#include <signal.h> 63#include <stdint.h> 64#include <stdio.h> 65#include <stdlib.h> 66#include <string.h> | 46#include <sys/mount.h> 47#include <sys/disklabel.h> 48 49#include <ufs/ufs/dinode.h> 50#include <ufs/ufs/ufsmount.h> 51#include <ufs/ffs/fs.h> 52 53#include <protocols/dumprestore.h> --- 4 unchanged lines hidden (view full) --- 58#include <fcntl.h> 59#include <fstab.h> 60#include <limits.h> 61#include <signal.h> 62#include <stdint.h> 63#include <stdio.h> 64#include <stdlib.h> 65#include <string.h> |
66#include <time.h> |
|
67#include <timeconv.h> 68#include <unistd.h> 69 70#include "dump.h" 71#include "pathnames.h" 72 73int notify = 0; /* notify operator flag */ 74int snapdump = 0; /* dumping live filesystem, so use snapshot */ --- 704 unchanged lines hidden --- | 67#include <timeconv.h> 68#include <unistd.h> 69 70#include "dump.h" 71#include "pathnames.h" 72 73int notify = 0; /* notify operator flag */ 74int snapdump = 0; /* dumping live filesystem, so use snapshot */ --- 704 unchanged lines hidden --- |