Deleted Added
full compact
zfs_cmd.c (332128) zfs_cmd.c (344377)
1/*-
2 * Copyright (c) 2018 Warner Losh <imp@freebd.org>
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

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2018 Warner Losh <imp@freebd.org>
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

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: stable/11/stand/common/zfs_cmd.c 332128 2018-04-06 18:40:24Z kevans $");
28__FBSDID("$FreeBSD: stable/11/stand/common/zfs_cmd.c 344377 2019-02-20 19:13:09Z kevans $");
29
30/*
31 * MD bootstrap main() and assorted miscellaneous
32 * commands.
33 */
34
35#include <stand.h>
36#include <stddef.h>
37#include <sys/disk.h>
38#include <sys/reboot.h>
39
40#include "bootstrap.h"
41
42#ifdef LOADER_ZFS_SUPPORT
29
30/*
31 * MD bootstrap main() and assorted miscellaneous
32 * commands.
33 */
34
35#include <stand.h>
36#include <stddef.h>
37#include <sys/disk.h>
38#include <sys/reboot.h>
39
40#include "bootstrap.h"
41
42#ifdef LOADER_ZFS_SUPPORT
43#include "../zfs/libzfs.h"
43#include "libzfs.h"
44#endif
45
46COMMAND_SET(lszfs, "lszfs", "list child datasets of a zfs dataset",
47 command_lszfs);
48
49static int
50command_lszfs(int argc, char *argv[])
51{

--- 57 unchanged lines hidden ---
44#endif
45
46COMMAND_SET(lszfs, "lszfs", "list child datasets of a zfs dataset",
47 command_lszfs);
48
49static int
50command_lszfs(int argc, char *argv[])
51{

--- 57 unchanged lines hidden ---