mdmfs.c (126255) | mdmfs.c (129322) |
---|---|
1/* 2 * Copyright (c) 2001 Dima Dorfman. 3 * 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 --- 17 unchanged lines hidden (view full) --- 26 27/* 28 * mdmfs (md/MFS) is a wrapper around mdconfig(8), 29 * newfs(8), and mount(8) that mimics the command line option set of 30 * the deprecated mount_mfs(8). 31 */ 32 33#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 2001 Dima Dorfman. 3 * 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 --- 17 unchanged lines hidden (view full) --- 26 27/* 28 * mdmfs (md/MFS) is a wrapper around mdconfig(8), 29 * newfs(8), and mount(8) that mimics the command line option set of 30 * the deprecated mount_mfs(8). 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sbin/mdmfs/mdmfs.c 126255 2004-02-26 01:15:47Z rwatson $"); | 34__FBSDID("$FreeBSD: head/sbin/mdmfs/mdmfs.c 129322 2004-05-17 07:07:20Z ru $"); |
35 36#include <sys/param.h> 37#include <sys/mdioctl.h> 38#include <sys/stat.h> 39#include <sys/wait.h> 40 41#include <assert.h> 42#include <err.h> --- 617 unchanged lines hidden (view full) --- 660 const char *name; 661 662 if (compat) 663 name = getprogname(); 664 else 665 name = "mdmfs"; 666 if (!compat) 667 fprintf(stderr, | 35 36#include <sys/param.h> 37#include <sys/mdioctl.h> 38#include <sys/stat.h> 39#include <sys/wait.h> 40 41#include <assert.h> 42#include <err.h> --- 617 unchanged lines hidden (view full) --- 660 const char *name; 661 662 if (compat) 663 name = getprogname(); 664 else 665 name = "mdmfs"; 666 if (!compat) 667 fprintf(stderr, |
668"usage: %s [-DLMNSUX] [-a maxcontig [-b block-size] [-c cylinders]\n" | 668"usage: %s [-DLlMNSUX] [-a maxcontig [-b block-size] [-c cylinders]\n" |
669"\t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n" 670"\t[-m percent-free] [-n rotational-positions] [-O optimization]\n" 671"\t[-o mount-options] [-p permissions] [-s size] [-w user:group]\n" 672"\tmd-device mount-point\n", name); 673 fprintf(stderr, | 669"\t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n" 670"\t[-m percent-free] [-n rotational-positions] [-O optimization]\n" 671"\t[-o mount-options] [-p permissions] [-s size] [-w user:group]\n" 672"\tmd-device mount-point\n", name); 673 fprintf(stderr, |
674"usage: %s -C [-NU] [-a maxcontig] [-b block-size] [-c cylinders]\n" | 674"usage: %s -C [-lNU] [-a maxcontig] [-b block-size] [-c cylinders]\n" |
675"\t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n" 676"\t[-m percent-free] [-n rotational-positions] [-O optimization]\n" 677"\t[-o mount-options] [-s size] md-device mount-point\n", name); 678 exit(1); 679} | 675"\t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n" 676"\t[-m percent-free] [-n rotational-positions] [-O optimization]\n" 677"\t[-o mount-options] [-s size] md-device mount-point\n", name); 678 exit(1); 679} |