"-a print all the subvolumes in the filesystem and",
" distinguish absolute and relative path with respect",
" to the given <path>",
+ "-c print the ogeneration of the subvolume",
"-g print the generation of the subvolume",
"-o print only subvolumes bellow specified path",
"-u print the uuid of subvolumes (and snapshots)",
optind = 1;
while(1) {
c = getopt_long(argc, argv,
- "agopqsurG:C:t", long_options, NULL);
+ "acgopqsurG:C:t", long_options, NULL);
if (c < 0)
break;
case 'a':
is_list_all = 1;
break;
+ case 'c':
+ btrfs_list_setup_print_column(BTRFS_LIST_OGENERATION);
+ break;
case 'g':
btrfs_list_setup_print_column(BTRFS_LIST_GENERATION);
break;