Deleted Added
full compact
makefs.c (330449) makefs.c (330976)
1/* $NetBSD: makefs.c,v 1.26 2006/10/22 21:11:56 christos Exp $ */
2
3/*-
4 * SPDX-License-Identifier: BSD-4-Clause
5 *
6 * Copyright (c) 2001-2003 Wasabi Systems, Inc.
7 * All rights reserved.
8 *

--- 24 unchanged lines hidden (view full) ---

33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 * POSSIBILITY OF SUCH DAMAGE.
38 */
39
40#include <sys/cdefs.h>
1/* $NetBSD: makefs.c,v 1.26 2006/10/22 21:11:56 christos Exp $ */
2
3/*-
4 * SPDX-License-Identifier: BSD-4-Clause
5 *
6 * Copyright (c) 2001-2003 Wasabi Systems, Inc.
7 * All rights reserved.
8 *

--- 24 unchanged lines hidden (view full) ---

33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 * POSSIBILITY OF SUCH DAMAGE.
38 */
39
40#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: stable/11/usr.sbin/makefs/makefs.c 330449 2018-03-05 07:26:05Z eadler $");
41__FBSDID("$FreeBSD: stable/11/usr.sbin/makefs/makefs.c 330976 2018-03-15 09:04:23Z eadler $");
42
43#include <sys/types.h>
44#include <sys/stat.h>
45#include <assert.h>
46#include <ctype.h>
47#include <errno.h>
48#include <limits.h>
49#include <stdio.h>

--- 350 unchanged lines hidden (view full) ---

400
401static void
402usage(void)
403{
404 const char *prog;
405
406 prog = getprogname();
407 fprintf(stderr,
42
43#include <sys/types.h>
44#include <sys/stat.h>
45#include <assert.h>
46#include <ctype.h>
47#include <errno.h>
48#include <limits.h>
49#include <stdio.h>

--- 350 unchanged lines hidden (view full) ---

400
401static void
402usage(void)
403{
404 const char *prog;
405
406 prog = getprogname();
407 fprintf(stderr,
408"usage: %s [-t fs-type] [-o fs-options] [-d debug-mask] [-B endian]\n"
409"\t[-S sector-size] [-M minimum-size] [-m maximum-size] [-R roundup-size]\n"
410"\t[-s image-size] [-b free-blocks] [-f free-files] [-F mtree-specfile]\n"
411"\t[-xZ] [-N userdb-dir] [-T <timestamp/file>]\n"
408"usage: %s [-xZ] [-B endian] [-b free-blocks] [-d debug-mask]\n"
409"\t[-F mtree-specfile] [-f free-files] [-M minimum-size] [-m maximum-size]\n"
410"\t[-N userdb-dir] [-o fs-options] [-R roundup-size] [-S sector-size]\n"
411"\t[-s image-size] [-T <timestamp/file>] [-t fs-type]\n"
412"\timage-file directory | manifest [extra-directory ...]\n",
413 prog);
414 exit(1);
415}
412"\timage-file directory | manifest [extra-directory ...]\n",
413 prog);
414 exit(1);
415}