zfs_main.c (205199) | zfs_main.c (207627) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 1776 unchanged lines hidden (view full) --- 1785 1786static int 1787zfs_do_list(int argc, char **argv) 1788{ 1789 int c; 1790 boolean_t scripted = B_FALSE; 1791 static char default_fields[] = 1792 "name,used,available,referenced,mountpoint"; | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 1776 unchanged lines hidden (view full) --- 1785 1786static int 1787zfs_do_list(int argc, char **argv) 1788{ 1789 int c; 1790 boolean_t scripted = B_FALSE; 1791 static char default_fields[] = 1792 "name,used,available,referenced,mountpoint"; |
1793 int types = ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME; | 1793 int types = ZFS_TYPE_DATASET; |
1794 boolean_t types_specified = B_FALSE; 1795 char *fields = NULL; 1796 list_cbdata_t cb = { 0 }; 1797 char *value; 1798 int limit = 0; 1799 int ret; 1800 zfs_sort_column_t *sortcol = NULL; 1801 int flags = ZFS_ITER_PROP_LISTSNAPS | ZFS_ITER_ARGS_CAN_BE_PATHS; --- 2542 unchanged lines hidden --- | 1794 boolean_t types_specified = B_FALSE; 1795 char *fields = NULL; 1796 list_cbdata_t cb = { 0 }; 1797 char *value; 1798 int limit = 0; 1799 int ret; 1800 zfs_sort_column_t *sortcol = NULL; 1801 int flags = ZFS_ITER_PROP_LISTSNAPS | ZFS_ITER_ARGS_CAN_BE_PATHS; --- 2542 unchanged lines hidden --- |